H A D | slab.c | 227 struct kmem_cache *cachep; member in struct:slab_rcu 294 static void free_block(struct kmem_cache *cachep, void **objpp, int len, 296 static int enable_cpucache(struct kmem_cache *cachep, gfp_t gfp); 341 #define MAKE_LIST(cachep, listp, slab, nodeid) \ 344 list_splice(&(cachep->nodelists[nodeid]->slab), listp); \ 347 #define MAKE_ALL_LISTS(cachep, ptr, nodeid) \ 349 MAKE_LIST((cachep), (&(ptr)->slabs_full), slabs_full, nodeid); \ 350 MAKE_LIST((cachep), (&(ptr)->slabs_partial), slabs_partial, nodeid); \ 351 MAKE_LIST((cachep), (&(ptr)->slabs_free), slabs_free, nodeid); \ 415 * 0 .. cachep 425 obj_offset(struct kmem_cache *cachep) argument 430 obj_size(struct kmem_cache *cachep) argument 435 dbg_redzone1(struct kmem_cache *cachep, void *objp) argument 442 dbg_redzone2(struct kmem_cache *cachep, void *objp) argument 453 dbg_userword(struct kmem_cache *cachep, void *objp) argument 470 slab_buffer_size(struct kmem_cache *cachep) argument 671 cpu_cache_get(struct kmem_cache *cachep) argument 779 __slab_error(const char *function, struct kmem_cache *cachep, char *msg) argument 924 cache_free_alien(struct kmem_cache *cachep, void *objp) argument 929 alternate_node_alloc(struct kmem_cache *cachep, gfp_t flags) argument 935 ____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) argument 982 __drain_alien_cache(struct kmem_cache *cachep, struct array_cache *ac, int node) argument 1006 reap_alien(struct kmem_cache *cachep, struct kmem_list3 *l3) argument 1020 drain_alien_cache(struct kmem_cache *cachep, struct array_cache **alien) argument 1037 cache_free_alien(struct kmem_cache *cachep, void *objp) argument 1085 struct kmem_cache *cachep; local 1122 struct kmem_cache *cachep; local 1187 struct kmem_cache *cachep; local 1333 struct kmem_cache *cachep; local 1390 init_list(struct kmem_cache *cachep, struct kmem_list3 *list, int nodeid) argument 1412 set_up_list3s(struct kmem_cache *cachep, int index) argument 1615 struct kmem_cache *cachep; local 1670 kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nodeid) argument 1717 kmem_freepages(struct kmem_cache *cachep, void *addr) argument 1744 struct kmem_cache *cachep = slab_rcu->cachep; local 1754 store_stackinfo(struct kmem_cache *cachep, unsigned long *addr, unsigned long caller) argument 1787 poison_obj(struct kmem_cache *cachep, void *addr, unsigned char val) argument 1830 print_objinfo(struct kmem_cache *cachep, void *objp, int lines) argument 1859 check_poison_obj(struct kmem_cache *cachep, void *objp) argument 1922 slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slabp) argument 1951 slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slabp) argument 1965 slab_destroy(struct kmem_cache *cachep, struct slab *slabp) argument 1984 __kmem_cache_destroy(struct kmem_cache *cachep) argument 2018 calculate_slab_order(struct kmem_cache *cachep, size_t size, size_t align, unsigned long flags) argument 2075 setup_cpu_cache(struct kmem_cache *cachep, gfp_t gfp) argument 2163 struct kmem_cache *cachep = NULL, *pc; local 2443 check_spinlock_acquired(struct kmem_cache *cachep) argument 2451 check_spinlock_acquired_node(struct kmem_cache *cachep, int node) argument 2472 struct kmem_cache *cachep = arg; local 2484 drain_cpu_caches(struct kmem_cache *cachep) argument 2546 __cache_shrink(struct kmem_cache *cachep) argument 2574 kmem_cache_shrink(struct kmem_cache *cachep) argument 2604 kmem_cache_destroy(struct kmem_cache *cachep) argument 2643 alloc_slabmgmt(struct kmem_cache *cachep, void *objp, int colour_off, gfp_t local_flags, int nodeid) argument 2680 cache_init_objs(struct kmem_cache *cachep, struct slab *slabp) argument 2727 kmem_flagcheck(struct kmem_cache *cachep, gfp_t flags) argument 2737 slab_get_obj(struct kmem_cache *cachep, struct slab *slabp, int nodeid) argument 2754 slab_put_obj(struct kmem_cache *cachep, struct slab *slabp, void *objp, int nodeid) argument 2802 cache_grow(struct kmem_cache *cachep, gfp_t flags, int nodeid, void *objp) argument 2918 cache_free_debugcheck(struct kmem_cache *cachep, void *objp, void *caller) argument 2965 check_slabp(struct kmem_cache *cachep, struct slab *slabp) argument 2998 cache_alloc_refill(struct kmem_cache *cachep, gfp_t flags) argument 3091 cache_alloc_debugcheck_before(struct kmem_cache *cachep, gfp_t flags) argument 3101 cache_alloc_debugcheck_after(struct kmem_cache *cachep, gfp_t flags, void *objp, void *caller) argument 3159 slab_should_failslab(struct kmem_cache *cachep, gfp_t flags) argument 3167 ____cache_alloc(struct kmem_cache *cachep, gfp_t flags) argument 3205 alternate_node_alloc(struct kmem_cache *cachep, gfp_t flags) argument 3307 ____cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) argument 3379 __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, void *caller) argument 3458 __do_cache_alloc(struct kmem_cache *cachep, gfp_t flags) argument 3466 __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) argument 3499 free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, int node) argument 3543 cache_flusharray(struct kmem_cache *cachep, struct array_cache *ac) argument 3598 __cache_free(struct kmem_cache *cachep, void *objp) argument 3637 kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) argument 3649 kmem_cache_alloc_notrace(struct kmem_cache *cachep, gfp_t flags) argument 3669 kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) argument 3687 kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid) argument 3701 kmem_cache_alloc_node_notrace(struct kmem_cache *cachep, gfp_t flags, int nodeid) argument 3714 struct kmem_cache *cachep; local 3760 struct kmem_cache *cachep; local 3809 kmem_cache_free(struct kmem_cache *cachep, void *objp) argument 3852 kmem_cache_size(struct kmem_cache *cachep) argument 3858 kmem_cache_name(struct kmem_cache *cachep) argument 3867 alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) argument 3953 struct kmem_cache *cachep; member in struct:ccupdate_struct 3970 do_tune_cpucache(struct kmem_cache *cachep, int limit, int batchcount, int shared, gfp_t gfp) argument 4013 enable_cpucache(struct kmem_cache *cachep, gfp_t gfp) argument 4071 drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, struct array_cache *ac, int force, int node) argument 4211 struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); local 4340 struct kmem_cache *cachep; local 4461 struct kmem_cache *cachep = list_entry(p, struct kmem_cache, next); local [all...] |