Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/lib/
Dargv_split.c66 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Drw26.c349 #ifdef KMALLOC_MAX_SIZE
350 #define MAX_MALLOC KMALLOC_MAX_SIZE
/linux-4.4.14/drivers/md/bcache/
Dutil.h47 if (_bytes < KMALLOC_MAX_SIZE) \
141 if (_bytes < KMALLOC_MAX_SIZE) \
/linux-4.4.14/include/linux/
Dslab.h226 #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX) macro
/linux-4.4.14/net/rds/
Dmessage.c197 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) in rds_message_alloc()
/linux-4.4.14/mm/
Dslab_common.c75 size > KMALLOC_MAX_SIZE) { in kmem_cache_sanity_check()
852 if (unlikely(size > KMALLOC_MAX_SIZE)) { in kmalloc_slab()
/linux-4.4.14/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.c149 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.4.14/drivers/mtd/
Dmtdcore.c1231 *size = min_t(size_t, *size, KMALLOC_MAX_SIZE); in mtd_kmalloc_up_to()
/linux-4.4.14/net/core/
Dethtool.c554 if (info.rule_cnt <= KMALLOC_MAX_SIZE / sizeof(u32)) in ethtool_get_rxnfc()
/linux-4.4.14/fs/gfs2/
Ddir.c1291 if (size < KMALLOC_MAX_SIZE) in gfs2_alloc_sort_buffer()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c253 if (size < KMALLOC_MAX_SIZE) in ip_set_alloc()
/linux-4.4.14/net/
Dsocket.c2701 if (rule_cnt > KMALLOC_MAX_SIZE / sizeof(u32)) in ethtool_ioctl()