Lines Matching refs:nodeid
242 #define MAKE_LIST(cachep, listp, slab, nodeid) \ argument
245 list_splice(&get_node(cachep, nodeid)->slab, listp); \
248 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ argument
250 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \
251 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \
252 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \
629 gfp_t flags, int nodeid) in ____cache_alloc_node() argument
1166 int nodeid) in init_list() argument
1170 ptr = kmalloc_node(sizeof(struct kmem_cache_node), GFP_NOWAIT, nodeid); in init_list()
1179 MAKE_ALL_LISTS(cachep, ptr, nodeid); in init_list()
1180 cachep->node[nodeid] = ptr; in init_list()
1328 slab_out_of_memory(struct kmem_cache *cachep, gfp_t gfpflags, int nodeid) in slab_out_of_memory() argument
1341 nodeid, gfpflags, &gfpflags); in slab_out_of_memory()
1371 int nodeid) in kmem_getpages() argument
1377 page = __alloc_pages_node(nodeid, flags, cachep->gfporder); in kmem_getpages()
1379 slab_out_of_memory(cachep, flags, nodeid); in kmem_getpages()
2295 gfp_t local_flags, int nodeid) in alloc_slabmgmt() argument
2308 local_flags, nodeid); in alloc_slabmgmt()
2566 gfp_t flags, int nodeid) in cache_grow_begin() argument
2593 page = kmem_getpages(cachep, local_flags, nodeid); in cache_grow_begin()
3165 int nodeid) in ____cache_alloc_node() argument
3172 VM_BUG_ON(nodeid < 0 || nodeid >= MAX_NUMNODES); in ____cache_alloc_node()
3173 n = get_node(cachep, nodeid); in ____cache_alloc_node()
3182 check_spinlock_acquired_node(cachep, nodeid); in ____cache_alloc_node()
3201 page = cache_grow_begin(cachep, gfp_exact_node(flags), nodeid); in ____cache_alloc_node()
3212 slab_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, size_t orig_size, in slab_alloc_node() argument
3233 if (nodeid == NUMA_NO_NODE) in slab_alloc_node()
3234 nodeid = slab_node; in slab_alloc_node()
3236 if (unlikely(!get_node(cachep, nodeid))) { in slab_alloc_node()
3242 if (nodeid == slab_node) { in slab_alloc_node()
3254 ptr = ____cache_alloc_node(cachep, flags, nodeid); in slab_alloc_node()
3597 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) in kmem_cache_alloc_node() argument
3599 void *ret = slab_alloc_node(cachep, flags, nodeid, cachep->object_size, _RET_IP_); in kmem_cache_alloc_node()
3603 flags, nodeid); in kmem_cache_alloc_node()
3612 int nodeid, in kmem_cache_alloc_node_trace() argument
3617 ret = slab_alloc_node(cachep, flags, nodeid, size, _RET_IP_); in kmem_cache_alloc_node_trace()
3622 flags, nodeid); in kmem_cache_alloc_node_trace()