Searched refs:KMALLOC_MAX_SIZE (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/net/sctp/
H A Dssnmap.c59 if (size <= KMALLOC_MAX_SIZE) sctp_ssnmap_new()
75 if (size <= KMALLOC_MAX_SIZE) sctp_ssnmap_new()
119 if (size <= KMALLOC_MAX_SIZE) sctp_ssnmap_free()
/linux-4.1.27/lib/
H A Dargv_split.c66 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); argv_split()
/linux-4.1.27/drivers/md/bcache/
H A Dutil.h46 if (_bytes < KMALLOC_MAX_SIZE) \
143 if (_bytes < KMALLOC_MAX_SIZE) \
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Drw26.c349 #ifdef KMALLOC_MAX_SIZE
350 #define MAX_MALLOC KMALLOC_MAX_SIZE
/linux-4.1.27/net/rds/
H A Dmessage.c197 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) rds_message_alloc()
/linux-4.1.27/drivers/md/
H A Ddm-switch.c255 {1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number of paths"}, switch_ctr()
H A Ddm-stats.c142 if (alloc_size <= KMALLOC_MAX_SIZE) { dm_kvzalloc()
H A Ddm-ioctl.c1716 if (param_kernel->data_size <= KMALLOC_MAX_SIZE) { copy_params()
/linux-4.1.27/mm/
H A Dslab_common.c76 size > KMALLOC_MAX_SIZE) { kmem_cache_sanity_check()
765 if (unlikely(size > KMALLOC_MAX_SIZE)) { kmalloc_slab()
/linux-4.1.27/include/linux/
H A Dslab.h208 #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX) macro
/linux-4.1.27/drivers/mtd/
H A Dmtdcore.c1188 *size = min_t(size_t, *size, KMALLOC_MAX_SIZE); mtd_kmalloc_up_to()
/linux-4.1.27/net/core/
H A Dethtool.c543 if (info.rule_cnt <= KMALLOC_MAX_SIZE / sizeof(u32)) ethtool_get_rxnfc()
/linux-4.1.27/fs/gfs2/
H A Ddir.c1286 if (size < KMALLOC_MAX_SIZE) gfs2_alloc_sort_buffer()
/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_core.c251 if (size < KMALLOC_MAX_SIZE) ip_set_alloc()
/linux-4.1.27/net/
H A Dsocket.c2710 if (rule_cnt > KMALLOC_MAX_SIZE / sizeof(u32)) ethtool_ioctl()

Completed in 1189 milliseconds