Home
last modified time | relevance | path

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

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