Searched refs:KMALLOC_MAX_SIZE (Results 1 – 25 of 31) sorted by relevance
12
380 if (*size > KMALLOC_MAX_SIZE) { in kasan_cache_create()440 if (*size > KMALLOC_MAX_SIZE) { in kasan_cache_create()449 if (optimal_size > KMALLOC_MAX_SIZE) in kasan_cache_create()450 optimal_size = KMALLOC_MAX_SIZE; in kasan_cache_create()
67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
70 LANDLOCK_PATH_MAX_SIZE) <= KMALLOC_MAX_SIZE);
20 #define KMALLOC_MAX_SIZE SIZE_MAX macro
110 (KMALLOC_MAX_SIZE - MAX_BPF_STACK - \
469 if (size > KMALLOC_MAX_SIZE / sizeof(void *)) in __ptr_ring_init_queue_alloc_noprof()
562 #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX) macro
96 if (len > KMALLOC_MAX_SIZE) in qrtr_tun_write_iter()
424 if (pt_size > KMALLOC_MAX_SIZE) { in is_gpt_valid()426 (unsigned long long)pt_size, KMALLOC_MAX_SIZE); in is_gpt_valid()
86 if (attr->value_size > KMALLOC_MAX_SIZE) in bloom_map_alloc_check()
56 if (attr->value_size > KMALLOC_MAX_SIZE) in queue_stack_map_alloc_check()
560 #define LPM_VAL_SIZE_MAX (KMALLOC_MAX_SIZE - LPM_DATA_SIZE_MAX - \
146 if (len >= KMALLOC_MAX_SIZE) in handle_policy_update()
267 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole()268 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole()818 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in drunk_hole()819 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in drunk_hole()
256 …{1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number o… in switch_ctr()
1194 if (c->block_size <= KMALLOC_MAX_SIZE && in alloc_buffer_data()2539 if (block_size <= KMALLOC_MAX_SIZE && !is_power_of_2(block_size)) { in dm_bufio_client_create()
288 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) in rds_message_alloc()
103 if (!name || in_interrupt() || size > KMALLOC_MAX_SIZE) { in kmem_cache_sanity_check()748 if (size && size <= KMALLOC_MAX_SIZE) in kmalloc_size_roundup()
378 if (plr->size > KMALLOC_MAX_SIZE) { in pseudo_lock_region_alloc()
151 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t)) in relay_create_buf()
235 #define MAX_DUMP_ALLOC_SIZE (KMALLOC_MAX_SIZE - SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
582 if (count >= KMALLOC_MAX_SIZE) in proc_sys_call_handler()
1081 vc->vc_screenbuf_size > KMALLOC_MAX_SIZE || !vc->vc_screenbuf_size) in vc_allocate()1172 if (new_screen_size > KMALLOC_MAX_SIZE || !new_screen_size) in vc_do_resize()
1391 if (unlikely(cmd.optlen > KMALLOC_MAX_SIZE)) in ucma_set_option()
1328 if (size < KMALLOC_MAX_SIZE) in gfs2_alloc_sort_buffer()