Searched refs:KMALLOC_MAX_SIZE (Results 1 – 25 of 25) sorted by relevance
67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
20 #define KMALLOC_MAX_SIZE SIZE_MAX macro
426 if (pt_size > KMALLOC_MAX_SIZE) { in is_gpt_valid()428 (unsigned long long)pt_size, KMALLOC_MAX_SIZE); in is_gpt_valid()
58 if (attr->value_size > KMALLOC_MAX_SIZE) in queue_stack_map_alloc_check()
529 #define LPM_VAL_SIZE_MAX (KMALLOC_MAX_SIZE - LPM_DATA_SIZE_MAX - \
62 if (attr->value_size > KMALLOC_MAX_SIZE) in array_map_alloc_check()
283 if (attr->value_size >= KMALLOC_MAX_SIZE - in htab_map_alloc_check()
234 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in lowlevel_hole()235 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in lowlevel_hole()736 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32)) in drunk_hole()737 hole_size = KMALLOC_MAX_SIZE / sizeof(u32); in drunk_hole()
281 #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX) macro
468 if (size > KMALLOC_MAX_SIZE / sizeof(void *)) in __ptr_ring_init_queue_alloc()
255 …{1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number o… in switch_ctr()
383 if (c->block_size <= KMALLOC_MAX_SIZE && in alloc_buffer_data()1658 if (block_size <= KMALLOC_MAX_SIZE && in dm_bufio_client_create()
2787 if (unlikely(tag_len > KMALLOC_MAX_SIZE) || in crypt_map()
288 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) in rds_message_alloc()
279 *size = min_t(unsigned int, KMALLOC_MAX_SIZE, in kasan_cache_create()
622 if (attr->value_size >= KMALLOC_MAX_SIZE - in bpf_sk_storage_map_alloc_check()
945 if (info.rule_cnt <= KMALLOC_MAX_SIZE / sizeof(u32)) in ethtool_get_rxnfc()
356 if (plr->size > KMALLOC_MAX_SIZE) { in pseudo_lock_region_alloc()
166 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t *)) in relay_create_buf()
89 size > KMALLOC_MAX_SIZE) { in kmem_cache_sanity_check()
1895 *size = min_t(size_t, *size, KMALLOC_MAX_SIZE); in mtd_kmalloc_up_to()
1334 if (unlikely(cmd.optlen > KMALLOC_MAX_SIZE)) in ucma_set_option()
1330 if (size < KMALLOC_MAX_SIZE) in gfs2_alloc_sort_buffer()
254 if (size < KMALLOC_MAX_SIZE) in ip_set_alloc()
3040 if (rule_cnt > KMALLOC_MAX_SIZE / sizeof(u32)) in ethtool_ioctl()