Home
last modified time | relevance | path

Searched refs:allocflags (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A Dslab_def.h31 gfp_t allocflags; member
H A Dslub_def.h101 gfp_t allocflags; /* gfp flags to use on each alloc */ member
/kernel/linux/linux-5.10/drivers/of/
H A Ddynamic.c369 * @allocflags: Allocation flags (typically pass GFP_KERNEL)
378 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) in __of_prop_dup() argument
382 new = kzalloc(sizeof(*new), allocflags); in __of_prop_dup()
392 new->name = kstrdup(prop->name, allocflags); in __of_prop_dup()
393 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup()
H A Dof_private.h116 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
/kernel/linux/linux-6.6/drivers/of/
H A Ddynamic.c394 * @allocflags: Allocation flags (typically pass GFP_KERNEL)
403 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags) in __of_prop_dup() argument
407 new = kzalloc(sizeof(*new), allocflags); in __of_prop_dup()
417 new->name = kstrdup(prop->name, allocflags); in __of_prop_dup()
418 new->value = kmemdup(prop->value, prop->length, allocflags); in __of_prop_dup()
H A Dof_private.h125 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
/kernel/linux/linux-6.6/include/linux/
H A Dslab_def.h32 gfp_t allocflags; member
H A Dslub_def.h119 gfp_t allocflags; /* gfp flags to use on each alloc */ member
/kernel/linux/linux-5.10/mm/
H A Dslab.c1374 flags |= cachep->allocflags; in kmem_getpages()
2052 cachep->allocflags = __GFP_COMP; in __kmem_cache_create()
2054 cachep->allocflags |= GFP_DMA; in __kmem_cache_create()
2056 cachep->allocflags |= GFP_DMA32; in __kmem_cache_create()
2058 cachep->allocflags |= __GFP_RECLAIMABLE; in __kmem_cache_create()
H A Dslub.c1756 flags |= s->allocflags; in allocate_slab()
3763 s->allocflags = 0; in calculate_sizes()
3765 s->allocflags |= __GFP_COMP; in calculate_sizes()
3768 s->allocflags |= GFP_DMA; in calculate_sizes()
3771 s->allocflags |= GFP_DMA32; in calculate_sizes()
3774 s->allocflags |= __GFP_RECLAIMABLE; in calculate_sizes()
/kernel/linux/linux-6.6/mm/
H A Dslab.c1354 flags |= cachep->allocflags; in kmem_getpages()
2037 cachep->allocflags = __GFP_COMP; in __kmem_cache_create()
2039 cachep->allocflags |= GFP_DMA; in __kmem_cache_create()
2041 cachep->allocflags |= GFP_DMA32; in __kmem_cache_create()
2043 cachep->allocflags |= __GFP_RECLAIMABLE; in __kmem_cache_create()
H A Dslub.c2007 flags |= s->allocflags; in allocate_slab()
4487 s->allocflags = 0; in calculate_sizes()
4489 s->allocflags |= __GFP_COMP; in calculate_sizes()
4492 s->allocflags |= GFP_DMA; in calculate_sizes()
4495 s->allocflags |= GFP_DMA32; in calculate_sizes()
4498 s->allocflags |= __GFP_RECLAIMABLE; in calculate_sizes()

Completed in 30 milliseconds