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

12

/linux-master/lib/
H A Dargv_split.c67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp);
/linux-master/mm/kasan/
H A Dgeneric.c380 if (*size > KMALLOC_MAX_SIZE) {
437 if (*size > KMALLOC_MAX_SIZE) {
445 /* Limit it with KMALLOC_MAX_SIZE. */
446 if (optimal_size > KMALLOC_MAX_SIZE)
447 optimal_size = KMALLOC_MAX_SIZE;
/linux-master/tools/virtio/ringtest/
H A Dptr_ring.c20 #define KMALLOC_MAX_SIZE SIZE_MAX macro
/linux-master/net/qrtr/
H A Dtun.c96 if (len > KMALLOC_MAX_SIZE)
/linux-master/include/linux/
H A Dbpf_local_storage.h104 (KMALLOC_MAX_SIZE - MAX_BPF_STACK - \
H A Dptr_ring.h469 if (size > KMALLOC_MAX_SIZE / sizeof(void *))
H A Dslab.h354 #define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX) macro
/linux-master/block/partitions/
H A Defi.c424 if (pt_size > KMALLOC_MAX_SIZE) {
426 (unsigned long long)pt_size, KMALLOC_MAX_SIZE);
/linux-master/kernel/bpf/
H A Dqueue_stack_maps.c55 if (attr->value_size > KMALLOC_MAX_SIZE)
H A Dbloom_filter.c86 if (attr->value_size > KMALLOC_MAX_SIZE)
H A Dlpm_trie.c535 #define LPM_VAL_SIZE_MAX (KMALLOC_MAX_SIZE - LPM_DATA_SIZE_MAX - \
/linux-master/net/rds/
H A Dmessage.c288 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message))
/linux-master/drivers/md/
H A Ddm-switch.c256 {1, (KMALLOC_MAX_SIZE - sizeof(struct switch_ctx)) / sizeof(struct switch_path), "Invalid number of paths"},
H A Ddm-bufio.c1187 if (c->block_size <= KMALLOC_MAX_SIZE &&
2524 if (block_size <= KMALLOC_MAX_SIZE &&
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c267 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32))
268 hole_size = KMALLOC_MAX_SIZE / sizeof(u32);
816 if (hole_size > KMALLOC_MAX_SIZE / sizeof(u32))
817 hole_size = KMALLOC_MAX_SIZE / sizeof(u32);
/linux-master/mm/
H A Dslab_common.c93 if (!name || in_interrupt() || size > KMALLOC_MAX_SIZE) {
710 if (size && size <= KMALLOC_MAX_SIZE)
/linux-master/kernel/
H A Drelay.c151 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t))
/linux-master/arch/x86/kernel/cpu/resctrl/
H A Dpseudo_lock.c372 * KMALLOC_MAX_SIZE.
374 if (plr->size > KMALLOC_MAX_SIZE) {
/linux-master/drivers/infiniband/core/
H A Ducma.c1389 if (unlikely(cmd.optlen > KMALLOC_MAX_SIZE))
/linux-master/fs/gfs2/
H A Ddir.c1325 if (size < KMALLOC_MAX_SIZE)
/linux-master/fs/proc/
H A Dproc_sysctl.c576 if (count >= KMALLOC_MAX_SIZE)
/linux-master/net/ipv4/
H A Dinet_diag.c235 #define MAX_DUMP_ALLOC_SIZE (KMALLOC_MAX_SIZE - SKB_DATA_ALIGN(sizeof(struct skb_shared_info)))
/linux-master/drivers/tty/vt/
H A Dvt.c1081 vc->vc_screenbuf_size > KMALLOC_MAX_SIZE || !vc->vc_screenbuf_size)
1172 if (new_screen_size > KMALLOC_MAX_SIZE || !new_screen_size)
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_queue_pair.c542 if (queue_size + queue_page_size > KMALLOC_MAX_SIZE)
/linux-master/drivers/mtd/
H A Dmtdcore.c2447 *size = min_t(size_t, *size, KMALLOC_MAX_SIZE);

Completed in 453 milliseconds

12