Searched refs:slab (Results 1 - 25 of 8977) sorted by relevance

1234567891011>>

/linux-master/tools/testing/memblock/lib/
H A Dslab.c2 #include <linux/slab.h>
/linux-master/mm/
H A Dslab.h16 * Internal slab definitions
52 struct slab { struct
62 struct slab *next;
96 static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl))
104 static_assert(sizeof(struct slab) <= sizeof(struct page));
106 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(freelist_aba_t)));
110 * folio_slab - Converts from folio to slab.
113 * Currently struct slab is a different representation of a folio where
116 * Return: The slab which contains this folio.
119 const struct folio *: (const struct slab *)(foli
167 slab_test_pfmemalloc(const struct slab *slab) argument
172 slab_set_pfmemalloc(struct slab *slab) argument
177 slab_clear_pfmemalloc(struct slab *slab) argument
182 __slab_clear_pfmemalloc(struct slab *slab) argument
187 slab_address(const struct slab *slab) argument
192 slab_nid(const struct slab *slab) argument
197 slab_pgdat(const struct slab *slab) argument
212 slab_order(const struct slab *slab) argument
217 slab_size(const struct slab *slab) argument
321 nearest_obj(struct kmem_cache *cache, const struct slab *slab, void *x) argument
341 obj_to_index(const struct kmem_cache *cache, const struct slab *slab, void *obj) argument
349 objs_per_slab(const struct kmem_cache *cache, const struct slab *slab) argument
547 slab_objcgs(struct slab *slab) argument
563 slab_objcgs(struct slab *slab) argument
568 memcg_alloc_slab_cgroups(struct slab *slab, struct kmem_cache *s, gfp_t gfp, bool new_slab) argument
[all...]
H A Dslub.c3 * SLUB: A slab allocator that limits cache line use instead of queuing
6 * The allocator synchronizes using per slab locks or atomic operations
20 #include <linux/slab.h>
21 #include "slab.h"
56 * 4. slab_lock(slab) (Only on some arches)
62 * and to synchronize major metadata changes to slab cache structures.
73 * A. slab->freelist -> List of free objects in a slab
74 * B. slab->inuse -> Number of objects in use
75 * C. slab
392 struct slab *slab; /* The slab from which we are allocating */ member in struct:kmem_cache_cpu
617 slab_lock(struct slab *slab) argument
625 slab_unlock(struct slab *slab) argument
634 __update_freelist_fast(struct slab *slab, void *freelist_old, unsigned long counters_old, void *freelist_new, unsigned long counters_new) argument
649 __update_freelist_slow(struct slab *slab, void *freelist_old, unsigned long counters_old, void *freelist_new, unsigned long counters_new) argument
674 __slab_update_freelist(struct kmem_cache *s, struct slab *slab, void *freelist_old, unsigned long counters_old, void *freelist_new, unsigned long counters_new, const char *n) argument
704 slab_update_freelist(struct kmem_cache *s, struct slab *slab, void *freelist_old, unsigned long counters_old, void *freelist_new, unsigned long counters_new, const char *n) argument
739 __fill_map(unsigned long *obj_map, struct kmem_cache *s, struct slab *slab) argument
820 check_valid_pointer(struct kmem_cache *s, struct slab *slab, void *object) argument
959 print_slab_info(const struct slab *slab) argument
1047 print_trailer(struct kmem_cache *s, struct slab *slab, u8 *p) argument
1089 object_err(struct kmem_cache *s, struct slab *slab, u8 *object, char *reason) argument
1100 freelist_corrupted(struct kmem_cache *s, struct slab *slab, void **freelist, void *nextfree) argument
1114 slab_err(struct kmem_cache *s, struct slab *slab, const char *fmt, ...) argument
1166 check_bytes_and_report(struct kmem_cache *s, struct slab *slab, u8 *object, char *what, u8 *start, unsigned int value, unsigned int bytes) argument
1238 check_pad_bytes(struct kmem_cache *s, struct slab *slab, u8 *p) argument
1260 slab_pad_check(struct kmem_cache *s, struct slab *slab) argument
1295 check_object(struct kmem_cache *s, struct slab *slab, void *object, u8 val) argument
1374 check_slab(struct kmem_cache *s, struct slab *slab) argument
1403 on_freelist(struct kmem_cache *s, struct slab *slab, void *search) argument
1452 trace(struct kmem_cache *s, struct slab *slab, void *object, int alloc) argument
1473 add_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) argument
1483 remove_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) argument
1523 setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) argument
1533 alloc_consistency_checks(struct kmem_cache *s, struct slab *slab, void *object) argument
1550 alloc_debug_processing(struct kmem_cache *s, struct slab *slab, void *object, int orig_size) argument
1578 free_consistency_checks(struct kmem_cache *s, struct slab *slab, void *object, unsigned long addr) argument
1825 setup_slab_debug(struct kmem_cache *s, struct slab *slab, void *addr) argument
1827 alloc_debug_processing(struct kmem_cache *s, struct slab *slab, void *object, int orig_size) argument
1830 free_debug_processing(struct kmem_cache *s, struct slab *slab, void *head, void *tail, int *bulk_cnt, unsigned long addr, depot_stack_handle_t handle) argument
1834 slab_pad_check(struct kmem_cache *s, struct slab *slab) argument
1835 check_object(struct kmem_cache *s, struct slab *slab, void *object, u8 val) argument
1840 add_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) argument
1842 remove_full(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab) argument
1860 freelist_corrupted(struct kmem_cache *s, struct slab *slab, void **freelist, void *nextfree) argument
1875 memcg_free_slab_cgroups(struct slab *slab) argument
1949 struct slab *slab; local
1986 __memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, int objects, struct obj_cgroup **objcgs) argument
2008 memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, int objects) argument
2031 memcg_free_slab_cgroups(struct slab *slab) argument
2050 memcg_slab_free_hook(struct kmem_cache *s, struct slab *slab, void **p, int objects) argument
2172 struct slab *slab; local
2253 shuffle_freelist(struct kmem_cache *s, struct slab *slab) argument
2291 shuffle_freelist(struct kmem_cache *s, struct slab *slab) argument
2297 account_slab(struct slab *slab, int order, struct kmem_cache *s, gfp_t gfp) argument
2307 unaccount_slab(struct slab *slab, int order, struct kmem_cache *s) argument
2319 struct slab *slab; local
2395 __free_slab(struct kmem_cache *s, struct slab *slab) argument
2413 struct slab *slab = container_of(h, struct slab, rcu_head); local
2418 free_slab(struct kmem_cache *s, struct slab *slab) argument
2434 discard_slab(struct kmem_cache *s, struct slab *slab) argument
2444 slab_test_node_partial(const struct slab *slab) argument
2449 slab_set_node_partial(struct slab *slab) argument
2454 slab_clear_node_partial(struct slab *slab) argument
2463 __add_partial(struct kmem_cache_node *n, struct slab *slab, int tail) argument
2473 add_partial(struct kmem_cache_node *n, struct slab *slab, int tail) argument
2480 remove_partial(struct kmem_cache_node *n, struct slab *slab) argument
2495 alloc_single_from_partial(struct kmem_cache *s, struct kmem_cache_node *n, struct slab *slab, int orig_size) argument
2524 alloc_single_from_new_slab(struct kmem_cache *s, struct slab *slab, int orig_size) argument
2561 put_cpu_partial(struct kmem_cache *s, struct slab *slab, int drain) argument
2573 struct slab *slab, *slab2, *partial = NULL; local
2636 struct slab *slab; local
2695 struct slab *slab; local
2789 deactivate_slab(struct kmem_cache *s, struct slab *slab, void *freelist) argument
2873 struct slab *slab, *slab_to_discard = NULL; local
2946 put_cpu_partial(struct kmem_cache *s, struct slab *slab, int drain) argument
2997 struct slab *slab; local
3021 struct slab *slab = c->slab; local
3136 node_match(struct slab *slab, int node) argument
3146 count_free(struct slab *slab) argument
3157 free_debug_processing(struct kmem_cache *s, struct slab *slab, void *head, void *tail, int *bulk_cnt, unsigned long addr, depot_stack_handle_t handle) argument
3221 struct slab *slab; local
3271 pfmemalloc_match(struct slab *slab, gfp_t gfpflags) argument
3300 get_freelist(struct kmem_cache *s, struct slab *slab) argument
3328 freeze_slab(struct kmem_cache *s, struct slab *slab) argument
3375 struct slab *slab; local
3621 struct slab *slab; local
3696 struct slab *slab; local
4014 free_to_partial_list( struct kmem_cache *s, struct slab *slab, void *head, void *tail, int bulk_cnt, unsigned long addr) argument
4083 __slab_free(struct kmem_cache *s, struct slab *slab, void *head, void *tail, int cnt, unsigned long addr) argument
4211 do_slab_free(struct kmem_cache *s, struct slab *slab, void *head, void *tail, int cnt, unsigned long addr) argument
4266 do_slab_free(struct kmem_cache *s, struct slab *slab, void *head, void *tail, int cnt, unsigned long addr) argument
4275 slab_free(struct kmem_cache *s, struct slab *slab, void *object, unsigned long addr) argument
4285 slab_free_bulk(struct kmem_cache *s, struct slab *slab, void *head, void *tail, void **p, int cnt, unsigned long addr) argument
4306 struct slab *slab; local
4373 struct slab *slab; local
4395 struct slab *slab; member in struct:detached_freelist
4833 struct slab *slab; local
5144 list_slab_objects(struct kmem_cache *s, struct slab *slab, const char *text) argument
5175 struct slab *slab, *h; local
5224 __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) argument
5333 __check_heap_object(const void *ptr, unsigned long n, const struct slab *slab, bool to_user) argument
5390 struct slab *slab; local
5721 count_inuse(struct slab *slab) argument
5726 count_total(struct slab *slab) argument
5733 validate_slab(struct kmem_cache *s, struct slab *slab, unsigned long *obj_map) argument
5757 struct slab *slab; local
5959 process_slab(struct loc_track *t, struct kmem_cache *s, struct slab *slab, enum track_item alloc, unsigned long *obj_map) argument
6013 struct slab *slab; local
6239 struct slab *slab; local
6254 struct slab *slab; local
7004 struct slab *slab; local
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dslab-depot.c6 #include "slab-depot.h"
42 * get_lock() - Get the lock object for a slab journal block by sequence number.
54 static bool is_slab_open(struct vdo_slab *slab) argument
56 return (!vdo_is_state_quiescing(&slab->state) &&
57 !vdo_is_state_quiescent(&slab->state));
64 * Return: true if there are no entry waiters, or if the slab is unrecovered.
68 return ((journal->slab->status != VDO_SLAB_REBUILDING) &&
111 * @journal: The slab journal for the block.
129 * is_slab_journal_blank() - Check whether a slab's journal is blank.
131 * A slab journa
135 is_slab_journal_blank(const struct vdo_slab *slab) argument
169 check_if_slab_drained(struct vdo_slab *slab) argument
359 update_slab_summary_entry(struct vdo_slab *slab, struct vdo_waiter *waiter, tail_block_offset_t tail_block_offset, bool load_ref_counts, bool is_clean, block_count_t free_blocks) argument
625 struct vdo_slab *slab = journal->slab; local
659 reopen_slab_journal(struct vdo_slab *slab) argument
957 vdo_attempt_replay_into_slab(struct vdo_slab *slab, physical_block_number_t pbn, enum journal_operation operation, bool increment, struct journal_point *recovery_point, struct vdo_completion *parent) argument
1017 struct vdo_slab *slab = container_of(waiter, struct vdo_slab, summary_waiter); local
1043 struct vdo_slab *slab = context; local
1054 save_dirty_reference_blocks(struct vdo_slab *slab) argument
1071 struct vdo_slab *slab = block->slab; local
1170 struct vdo_slab *slab = ((struct reference_block *) completion->parent)->slab; local
1223 struct vdo_slab *slab = journal->slab; local
1280 get_reference_block(struct vdo_slab *slab, slab_block_number index) argument
1295 slab_block_number_from_pbn(struct vdo_slab *slab, physical_block_number_t pbn, slab_block_number *slab_block_number_ptr) argument
1318 get_reference_counter(struct vdo_slab *slab, physical_block_number_t pbn, vdo_refcount_t **counter_ptr) argument
1333 calculate_slab_priority(struct vdo_slab *slab) argument
1372 prioritize_slab(struct vdo_slab *slab) argument
1385 adjust_free_block_count(struct vdo_slab *slab, bool incremented) argument
1420 increment_for_data(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct pbn_lock *lock, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1468 decrement_for_data(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct reference_updater *updater, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1531 increment_for_block_map(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct pbn_lock *lock, bool normal_operation, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1591 update_reference_count(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, const struct journal_point *slab_journal_point, struct reference_updater *updater, bool normal_operation, bool adjust_block_count, bool *provisional_decrement_ptr) argument
1628 adjust_reference_count(struct vdo_slab *slab, struct reference_updater *updater, const struct journal_point *slab_journal_point) argument
1853 struct vdo_slab *slab = journal->slab; local
1891 reset_search_cursor(struct vdo_slab *slab) argument
1909 advance_search_cursor(struct vdo_slab *slab) argument
1948 struct vdo_slab *slab = vdo_get_slab(depot, pbn); local
1979 replay_reference_count_change(struct vdo_slab *slab, const struct journal_point *entry_point, struct slab_journal_entry entry) argument
2047 find_free_block(const struct vdo_slab *slab, slab_block_number *index_ptr) argument
2104 search_current_reference_block(const struct vdo_slab *slab, slab_block_number *free_index_ptr) argument
2123 search_reference_blocks(struct vdo_slab *slab, slab_block_number *free_index_ptr) argument
2142 make_provisional_reference(struct vdo_slab *slab, slab_block_number block_number) argument
2161 dirty_all_reference_blocks(struct vdo_slab *slab) argument
2203 struct vdo_slab *slab = block->slab; local
2243 struct vdo_slab *slab = block->slab; local
2287 load_reference_blocks(struct vdo_slab *slab) argument
2307 drain_slab(struct vdo_slab *slab) argument
2359 allocate_slab_counters(struct vdo_slab *slab) argument
2400 allocate_counters_if_clean(struct vdo_slab *slab) argument
2412 struct vdo_slab *slab = journal->slab; local
2469 struct vdo_slab *slab = journal->slab; local
2493 load_slab_journal(struct vdo_slab *slab) argument
2518 register_slab_for_scrubbing(struct vdo_slab *slab, bool high_priority) argument
2544 queue_slab(struct vdo_slab *slab) argument
2598 struct vdo_slab *slab = container_of(state, struct vdo_slab, state); local
2633 struct vdo_slab *slab; local
2734 struct vdo_slab *slab = scrubber->slab; local
2776 apply_block_entries(struct packed_slab_journal_block *block, journal_entry_count_t entry_count, sequence_number_t block_number, struct vdo_slab *slab) argument
2827 struct vdo_slab *slab = scrubber->slab; local
2918 struct vdo_slab *slab = scrubber->slab; local
2937 struct vdo_slab *slab; local
3000 register_slab_with_allocator(struct block_allocator *allocator, struct vdo_slab *slab) argument
3047 struct vdo_slab *slab = iterator->next; local
3087 struct vdo_slab *slab = next_slab(&iterator); local
3106 vdo_acquire_provisional_reference(struct vdo_slab *slab, physical_block_number_t pbn, struct pbn_lock *lock) argument
3134 allocate_slab_block(struct vdo_slab *slab, physical_block_number_t *block_number_ptr) argument
3164 open_slab(struct vdo_slab *slab) argument
3242 struct vdo_slab *slab = vdo_get_slab(completion->vdo->depot, updater->zpbn.pbn); local
3366 struct vdo_slab *slab = next_slab(&iterator); local
3416 struct vdo_slab *slab; local
3533 struct vdo_slab *slab; local
3585 struct vdo_slab *slab = next_slab(&iterator); local
3645 free_slab(struct vdo_slab *slab) argument
3658 initialize_slab_journal(struct vdo_slab *slab) argument
3722 struct vdo_slab *slab; local
4132 struct vdo_slab *slab = depot->new_slabs[i]; local
4367 struct vdo_slab *slab = vdo_get_slab(depot, pbn); local
4727 struct vdo_slab *slab = depot->new_slabs[i]; local
[all...]
/linux-master/sound/usb/6fire/
H A Dcommon.h13 #include <linux/slab.h>
/linux-master/arch/x86/xen/
H A Ddebugfs.c4 #include <linux/slab.h>
/linux-master/net/ceph/
H A Dauth_none.h5 #include <linux/slab.h>
/linux-master/arch/csky/include/asm/
H A Dpci.h7 #include <linux/slab.h>
/linux-master/sound/ac97/
H A Dcodec.c10 #include <linux/slab.h>
/linux-master/include/net/
H A Dgro_cells.h6 #include <linux/slab.h>
/linux-master/drivers/video/fbdev/via/
H A Dvia_aux_vt1621.c9 #include <linux/slab.h>
H A Dvia_aux_vt1622.c9 #include <linux/slab.h>
H A Dvia_aux_vt1625.c9 #include <linux/slab.h>
H A Dvia_aux_ch7301.c9 #include <linux/slab.h>
/linux-master/drivers/video/
H A Ddisplay_timing.c9 #include <linux/slab.h>
/linux-master/arch/arm64/include/asm/
H A Dpci.h6 #include <linux/slab.h>
H A Ddmi.h18 #include <linux/slab.h>
/linux-master/arch/xtensa/include/asm/
H A Dpci.h31 #include <linux/slab.h>
/linux-master/fs/smb/server/mgmt/
H A Dksmbd_ida.h9 #include <linux/slab.h>
/linux-master/tools/mm/
H A Dslabinfo.c54 struct slabinfo *slab; member in struct:aliasinfo
114 "slabinfo [-aABDefhilLnoPrsStTUvXz1] [N=K] [-dafzput] [slab-regexp]\n"
244 snprintf(x, 128, "/sys/kernel/debug/slab/%s/%s", s->name, name);
349 * Find the shortest alias of a slab
357 if (a->slab == find &&
795 fprintf(stderr, "%s can only enable trace for one slab at a time\n", s->name);
816 /* Number of slabs in a slab cache */
820 /* Size of the whole slab */
824 /* Bytes used for object storage in a slab */
831 /* Number of objects in a slab */
1206 slab_mismatch(char *slab) argument
1215 struct slabinfo *slab = slabinfo; local
1321 struct slabinfo *slab; local
[all...]
/linux-master/lib/
H A Dsg_pool.c5 #include <linux/slab.h>
13 struct kmem_cache *slab; member in struct:sg_pool
150 sgp->slab = kmem_cache_create(sgp->name, size, 0,
152 if (!sgp->slab) {
153 printk(KERN_ERR "SG_POOL: can't init sg slab %s\n",
159 sgp->slab);
174 kmem_cache_destroy(sgp->slab);
/linux-master/drivers/gpu/drm/amd/acp/
H A Dacp_hw.c25 #include <linux/slab.h>
/linux-master/include/linux/
H A Dtaskstats_kern.h13 #include <linux/slab.h>
/linux-master/drivers/hsi/
H A Dhsi_boardinfo.c11 #include <linux/slab.h>
/linux-master/arch/arm/include/asm/
H A Ddmi.h7 #include <linux/slab.h>

Completed in 233 milliseconds

1234567891011>>