| /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
|
| H A D | hashtab.c | 92 struct pcpu_freelist freelist; member 352 err = pcpu_freelist_init(&htab->freelist); in prealloc_init() 362 pcpu_freelist_populate(&htab->freelist, in prealloc_init() 380 pcpu_freelist_destroy(&htab->freelist); in prealloc_destroy() 395 l = pcpu_freelist_pop(&htab->freelist); in alloc_extra_elems() 1006 pcpu_freelist_push(&htab->freelist, &l->fnode); in free_htab_elem() 1094 l = __pcpu_freelist_pop(&htab->freelist); in alloc_htab_elem()
|
| /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()
|
| H A D | efct_hw.c | 2070 INIT_LIST_HEAD(&reqtag_pool->freelist); in efct_hw_reqtag_pool_alloc() 2083 list_add_tail(&wqcb->list_entry, &reqtag_pool->freelist); in efct_hw_reqtag_pool_alloc() 2103 if (!list_empty(&reqtag_pool->freelist)) { in efct_hw_reqtag_alloc() 2104 wqcb = list_first_entry(&reqtag_pool->freelist, in efct_hw_reqtag_alloc() 2133 list_add(&wqcb->list_entry, &hw->wq_reqtag_pool->freelist); in efct_hw_reqtag_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)
|
| H A D | btree.c | 2661 w = array_alloc(&buf->freelist); in refill_keybuf_fn() 2671 array_free(&buf->freelist, w); in refill_keybuf_fn() 2675 if (array_freelist_empty(&buf->freelist)) in refill_keybuf_fn() 2728 array_free(&buf->freelist, w); in __bch_keybuf_del() 2814 array_allocator_init(&buf->freelist); in bch_keybuf_init()
|
| /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);
|
| /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/mm/ |
| H A D | slub.c | 656 if (slab->freelist == old->freelist && in __update_freelist_slow() 658 slab->freelist = new->freelist; in __update_freelist_slow() 920 for (p = slab->freelist; p; p = get_freepointer(s, p)) in __fill_map() 1114 slab, slab->objects, slab->inuse, slab->freelist, in print_slab_info() 1578 fp = slab->freelist; in on_freelist() 1590 slab->freelist = NULL; in on_freelist() 1603 slab->freelist = NULL; in on_freelist() 1636 slab->freelist); in trace() 1747 slab->freelist = NULL; in alloc_debug_processing() 3389 slab->freelist = cur; in shuffle_freelist() [all …]
|
| H A D | slab.h | 44 void *freelist; member 107 static_assert(IS_ALIGNED(offsetof(struct slab, freelist), sizeof(struct freelist_counters)));
|
| /linux/drivers/iommu/ |
| H A D | dma-iommu.c | 110 struct iommu_pages_list freelist; member 154 iommu_put_pages_list(&fq->entries[idx].freelist); in fq_ring_free_locked() 159 fq->entries[idx].freelist = in fq_ring_free_locked() 160 IOMMU_PAGES_LIST_INIT(fq->entries[idx].freelist); in fq_ring_free_locked() 200 struct iommu_pages_list *freelist) in queue_iova() argument 239 iommu_pages_list_splice(freelist, &fq->entries[idx].freelist); in queue_iova() 255 iommu_put_pages_list(&fq->entries[idx].freelist); in iommu_dma_free_fq_single() 268 iommu_put_pages_list(&fq->entries[idx].freelist); in iommu_dma_free_fq_percpu() 297 fq->entries[i].freelist = in iommu_dma_init_one_fq() 298 IOMMU_PAGES_LIST_INIT(fq->entries[i].freelist); in iommu_dma_init_one_fq() [all …]
|
| /linux/net/xfrm/ |
| H A D | xfrm_iptfs.c | 1313 struct list_head *freelist) in __reorder_past() argument 1315 list_add_tail(&inskb->list, freelist); in __reorder_past() 1423 struct list_head *freelist) in __reorder_future_fits() argument 1462 list_add_tail(&inskb->list, freelist); in __reorder_future_fits() 1619 struct list_head *freelist) in iptfs_input_reorder() argument 1636 __reorder_past(xtfs, inskb, freelist); in iptfs_input_reorder() 1638 __reorder_future_fits(xtfs, inskb, freelist); in iptfs_input_reorder() 1716 struct list_head freelist, list; in iptfs_input() local 1730 INIT_LIST_HEAD(&freelist); in iptfs_input() 1733 iptfs_input_reorder(xtfs, skb, &list, &freelist); in iptfs_input() [all …]
|
| /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/io_uring/ |
| H A D | zcrx.c | 420 kvfree(area->freelist); in io_zcrx_free_area() 485 area->freelist = kvmalloc_array(nr_iovs, sizeof(area->freelist[0]), in io_zcrx_create_area() 487 if (!area->freelist) in io_zcrx_create_area() 499 area->freelist[i] = i; in io_zcrx_create_area() 606 area->freelist[area->free_count++] = net_iov_idx(niov); in io_zcrx_return_niov_freelist() 618 niov_idx = area->freelist[--area->free_count]; in zcrx_get_free_niov()
|
| /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()
|
| H A D | iommu_pt.h | 75 iommu_pages_list_splice(free_list, &iotlb_gather->freelist); in gather_range_pages() 955 if (!iommu_pages_list_empty(&iotlb_gather.freelist)) in NS()
|
| /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/arch/powerpc/kvm/ |
| H A D | book3s_hv_nested.c | 804 struct kvm_nested_guest *freelist = NULL; in kvmhv_release_all_nested() local 812 gp->next = freelist; in kvmhv_release_all_nested() 813 freelist = gp; in kvmhv_release_all_nested() 819 while ((gp = freelist) != NULL) { in kvmhv_release_all_nested() 820 freelist = gp->next; in kvmhv_release_all_nested()
|
| /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 | 365 struct iommu_pages_list freelist; member 899 .freelist = IOMMU_PAGES_LIST_INIT(gather->freelist), in iommu_iotlb_gather_init()
|
| /linux/lib/ |
| H A D | debugobjects.c | 587 HLIST_HEAD(freelist); in debug_objects_oom() 593 hlist_move_list(&db->list, &freelist); in debug_objects_oom() 595 put_objects(&freelist); in debug_objects_oom()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | writecache.rst | 90 12. the number of write requests that are blocked on the freelist
|