| /linux/kernel/bpf/ |
| H A D | percpu_freelist.c | 10 s->freelist = alloc_percpu(struct pcpu_freelist_head); in pcpu_freelist_init() 11 if (!s->freelist) in pcpu_freelist_init() 15 struct pcpu_freelist_head *head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_init() 25 free_percpu(s->freelist); in pcpu_freelist_destroy() 51 if (___pcpu_freelist_push(this_cpu_ptr(s->freelist), node)) in pcpu_freelist_try_push_extra() 58 head = per_cpu_ptr(s->freelist, cpu); in ___pcpu_freelist_push_nmi() 89 head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_push() 107 head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_populate()
|
| H A D | percpu_freelist.h | 16 struct pcpu_freelist_head __percpu *freelist; 15 struct pcpu_freelist_head __percpu *freelist; global() member
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_io.c | 16 struct list_head freelist; member 33 INIT_LIST_HEAD(&io_pool->freelist); in efct_io_pool_create() 69 list_add_tail(&io->list_entry, &io_pool->freelist); in efct_io_pool_create() 115 if (!list_empty(&io_pool->freelist)) { in efct_io_pool_io_alloc() 116 io = list_first_entry(&io_pool->freelist, struct efct_io, in efct_io_pool_io_alloc() 160 list_add(&io->list_entry, &io_pool->freelist); in efct_io_pool_io_free()
|
| /linux/drivers/md/bcache/ |
| H A D | util.h | 247 type *freelist; \ 253 typeof((array)->freelist) _ret = (array)->freelist; \ 256 (array)->freelist = *((typeof((array)->freelist) *) _ret);\ 263 typeof((array)->freelist) _ptr = ptr; \ 265 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ 266 (array)->freelist = _ptr; \ 271 typeof((array)->freelist) _i; \ 274 (array)->freelist = NULL; \ 282 #define array_freelist_empty(array) ((array)->freelist == NULL)
|
| /linux/mm/ |
| H A D | slub.c | 76 * A. slab->freelist -> List of free objects in a slab 87 * processors may put objects onto the freelist but the processor that 89 * slab's freelist. 132 * taken but it still utilizes the freelist for the common operations. 179 * freelist that allows lockless access to 180 * free objects in addition to the regular freelist 380 ALLOC_REFILL, /* Refill cpu slab from slab freelist */ 392 CMPXCHG_DOUBLE_FAIL, /* Failures of slab freelist update */ 416 void *freelist; /* Pointer to next available object */ member 424 * When changing the layout, make sure freelist an 1230 freelist_corrupted(struct kmem_cache * s,struct slab * slab,void ** freelist,void * nextfree) freelist_corrupted() argument 2025 freelist_corrupted(struct kmem_cache * s,struct slab * slab,void ** freelist,void * nextfree) freelist_corrupted() argument 3733 deactivate_slab(struct kmem_cache * s,struct slab * slab,void * freelist) deactivate_slab() argument 3978 void *freelist; flush_slab() local 4000 void *freelist = c->freelist; __flush_cpu_slab() local 4465 void *freelist; ___slab_alloc() local 6591 void **freelist; do_slab_free() local 7264 void *freelist; global() member [all...] |
| H A D | compaction.c | 559 struct list_head *freelist, in isolate_freepages_block() argument 634 list_add_tail(&page->lru, &freelist[order]); in isolate_freepages_block() 1430 move_freelist_head(struct list_head *freelist, struct page *freepage) in move_freelist_head() argument 1434 if (!list_is_first(&freepage->buddy_list, freelist)) { in move_freelist_head() 1435 list_cut_before(&sublist, freelist, &freepage->buddy_list); in move_freelist_head() 1436 list_splice_tail(&sublist, freelist); in move_freelist_head() 1447 move_freelist_tail(struct list_head *freelist, struct page *freepage) in move_freelist_tail() argument 1451 if (!list_is_last(&freepage->buddy_list, freelist)) { in move_freelist_tail() 1452 list_cut_position(&sublist, freelist, &freepage->buddy_list); in move_freelist_tail() 1453 list_splice_tail(&sublist, freelist); in move_freelist_tail() [all …]
|
| H A D | slab.h | 46 void *freelist; member 113 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(struct freelist_counters)));
|
| /linux/drivers/android/ |
| H A D | binder_alloc.h | 116 struct list_lru *freelist; member 183 void __binder_alloc_init(struct binder_alloc *alloc, struct list_lru *freelist);
|
| H A D | binder_alloc.c | 211 ret = list_lru_add(alloc->freelist, in binder_lru_freelist_add() 410 on_lru = list_lru_del(alloc->freelist, in binder_lru_freelist_del() 1010 on_lru = list_lru_del(alloc->freelist, in binder_alloc_deferred_release() 1234 struct list_lru *freelist) in __binder_alloc_init() argument 1241 alloc->freelist = freelist; in __binder_alloc_init()
|
| /linux/fs/jfs/ |
| H A D | jfs_dtree.c | 838 if (p->header.freelist == 0) in dtInsert() 1426 rp->header.freelist = fsi; in dtSplitPage() 1568 fsi = rp->header.freelist; in dtSplitPage() 1781 last = sp->header.freelist; in dtExtendPage() 1786 sp->header.freelist = last; in dtExtendPage() 1800 fsi = sp->header.freelist; in dtExtendPage() 1802 sp->header.freelist = n; in dtExtendPage() 1825 if (sp->header.freelist < n) in dtExtendPage() 1972 fsi = sp->header.freelist; in dtSplitRoot() 1974 rp->header.freelist = n; in dtSplitRoot() [all …]
|
| H A D | jfs_dtree.h | 139 s8 freelist; /* 1: freelist header */ member 188 s8 freelist; /* 1: slot index of head of freelist */ member
|
| /linux/drivers/android/tests/ |
| H A D | binder_alloc_kunit.c | 211 while ((count = list_lru_count(alloc->freelist))) { in binder_alloc_test_free_page() 212 list_lru_walk(alloc->freelist, binder_alloc_free_page, in binder_alloc_test_free_page() 264 failures = list_lru_count(alloc->freelist); in binder_alloc_test_alloc_free() 416 KUNIT_EXPECT_PTR_EQ(test, priv->alloc.freelist, in binder_alloc_test_init_freelist()
|
| /linux/drivers/iommu/riscv/ |
| H A D | iommu.c | 1092 struct iommu_pages_list *freelist) in riscv_iommu_pte_free() argument 1106 riscv_iommu_pte_free(domain, pte, freelist); in riscv_iommu_pte_free() 1109 if (freelist) in riscv_iommu_pte_free() 1110 iommu_pages_list_add(freelist, ptr); in riscv_iommu_pte_free() 1200 struct iommu_pages_list freelist = IOMMU_PAGES_LIST_INIT(freelist); in riscv_iommu_map_pages() local 1221 riscv_iommu_pte_free(domain, old, &freelist); in riscv_iommu_map_pages() 1231 if (!iommu_pages_list_empty(&freelist)) { in riscv_iommu_map_pages() 1240 iommu_put_pages_list(&freelist); in riscv_iommu_map_pages()
|
| /linux/drivers/iommu/ |
| H A D | dma-iommu.c | 109 struct iommu_pages_list freelist; member 153 iommu_put_pages_list(&fq->entries[idx].freelist); in fq_ring_free_locked() 158 fq->entries[idx].freelist = in fq_ring_free_locked() 159 IOMMU_PAGES_LIST_INIT(fq->entries[idx].freelist); in fq_ring_free_locked() 199 struct iommu_pages_list *freelist) in queue_iova() argument 238 iommu_pages_list_splice(freelist, &fq->entries[idx].freelist); in queue_iova() 254 iommu_put_pages_list(&fq->entries[idx].freelist); in iommu_dma_free_fq_single() 267 iommu_put_pages_list(&fq->entries[idx].freelist); in iommu_dma_free_fq_percpu() 296 fq->entries[i].freelist = in iommu_dma_init_one_fq() 297 IOMMU_PAGES_LIST_INIT(fq->entries[i].freelist); in iommu_dma_init_one_fq() [all …]
|
| /linux/io_uring/ |
| H A D | zcrx.h | 36 u32 *freelist; member
|
| H A D | zcrx.c | 403 kvfree(area->freelist); in io_zcrx_free_area() 445 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in io_zcrx_create_area() 447 if (!area->freelist) in io_zcrx_create_area() 459 area->freelist[i] = i; in io_zcrx_create_area() 558 area->freelist[area->free_count++] = net_iov_idx(niov); in io_zcrx_return_niov_freelist() 848 niov_idx = area->freelist[--area->free_count]; in __io_zcrx_get_free_niov()
|
| /linux/drivers/usb/musb/ |
| H A D | cppi_dma.h | 95 struct cppi_descriptor *freelist; member
|
| /linux/Documentation/bpf/ |
| H A D | map_lru_hash_update.dot | 27 label="Local freelist\nnode available?"]; 70 label="Steal a node from\nper-cpu freelist?"]
|
| /linux/drivers/nvdimm/ |
| H A D | btt.h | 187 struct free_entry *freelist; member
|
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_iommu.h | 82 iommu_put_pages_list(&gather->freelist); in pt_kunit_iotlb_sync()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_device.c | 1046 struct list_head freelist, *temp, *tmp2; in octeon_delete_dispatch_list() local 1048 INIT_LIST_HEAD(&freelist); in octeon_delete_dispatch_list() 1058 list_move_tail(temp, &freelist); in octeon_delete_dispatch_list() 1068 list_for_each_safe(temp, tmp2, &freelist) { in octeon_delete_dispatch_list()
|
| /linux/Documentation/translations/it_IT/RCU/ |
| H A D | torture.rst | 50 * "tfle": se non è zero, indica la lista di strutture "torture freelist" da 54 * "rta": numero di strutture allocate dalla lista "torture freelist". 56 * "rtaf": il numero di allocazioni fallite dalla lista "torture freelist" a 61 * "rtf": il numero di rilasci nella lista "torture freelist"
|
| /linux/include/linux/ |
| H A D | iommu.h | 362 struct iommu_pages_list freelist; member 896 .freelist = IOMMU_PAGES_LIST_INIT(gather->freelist), in iommu_iotlb_gather_init()
|
| /linux/drivers/md/ |
| H A D | dm-writecache.c | 112 struct list_head freelist; member 695 list_add_tail(&e->lru, &wc->freelist); in writecache_add_to_freelist() 734 if (unlikely(list_empty(&wc->freelist))) in writecache_pop_from_freelist() 736 e = container_of(wc->freelist.next, struct wc_entry, lru); in writecache_pop_from_freelist() 777 wc->freelist.next = LIST_POISON1; in writecache_poison_lists() 778 wc->freelist.prev = LIST_POISON2; in writecache_poison_lists() 1027 INIT_LIST_HEAD(&wc->freelist); in writecache_resume()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | writecache.rst | 90 12. the number of write requests that are blocked on the freelist
|