/linux-6.1.9/drivers/iommu/amd/ |
D | io_pgtable.c | 77 static void free_pt_page(u64 *pt, struct list_head *freelist) in free_pt_page() argument 81 list_add_tail(&p->lru, freelist); in free_pt_page() 84 static void free_pt_lvl(u64 *pt, struct list_head *freelist, int lvl) in free_pt_lvl() argument 105 free_pt_lvl(p, freelist, lvl - 1); in free_pt_lvl() 107 free_pt_page(p, freelist); in free_pt_lvl() 110 free_pt_page(pt, freelist); in free_pt_lvl() 113 static void free_sub_pt(u64 *root, int mode, struct list_head *freelist) in free_sub_pt() argument 120 free_pt_page(root, freelist); in free_sub_pt() 127 free_pt_lvl(root, freelist, mode); in free_sub_pt() 339 static void free_clear_pte(u64 *pte, u64 pteval, struct list_head *freelist) in free_clear_pte() argument [all …]
|
/linux-6.1.9/kernel/bpf/ |
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() 27 free_percpu(s->freelist); in pcpu_freelist_destroy() 66 head = per_cpu_ptr(s->freelist, cpu); in ___pcpu_freelist_push_nmi() 86 ___pcpu_freelist_push(this_cpu_ptr(s->freelist), node); in __pcpu_freelist_push() 110 head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_populate() 128 head = per_cpu_ptr(s->freelist, cpu); in ___pcpu_freelist_pop() 160 head = per_cpu_ptr(s->freelist, cpu); in ___pcpu_freelist_pop_nmi()
|
D | stackmap.c | 29 struct pcpu_freelist freelist; member 56 err = pcpu_freelist_init(&smap->freelist); in prealloc_elems_and_freelist() 60 pcpu_freelist_populate(&smap->freelist, smap->elems, elem_size, in prealloc_elems_and_freelist() 243 pcpu_freelist_pop(&smap->freelist); in __bpf_get_stackid() 253 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid() 257 pcpu_freelist_push(&smap->freelist, &new_bucket->fnode); in __bpf_get_stackid() 268 pcpu_freelist_pop(&smap->freelist); in __bpf_get_stackid() 279 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in __bpf_get_stackid() 588 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in bpf_stackmap_copy() 639 pcpu_freelist_push(&smap->freelist, &old_bucket->fnode); in stack_map_delete_elem() [all …]
|
D | percpu_freelist.h | 15 struct pcpu_freelist_head __percpu *freelist; member
|
/linux-6.1.9/mm/ |
D | slub.c | 516 if (cmpxchg_double(&slab->freelist, &slab->counters, in __cmpxchg_double_slab() 524 if (slab->freelist == freelist_old && in __cmpxchg_double_slab() 526 slab->freelist = freelist_new; in __cmpxchg_double_slab() 552 if (cmpxchg_double(&slab->freelist, &slab->counters, in cmpxchg_double_slab() 563 if (slab->freelist == freelist_old && in cmpxchg_double_slab() 565 slab->freelist = freelist_new; in cmpxchg_double_slab() 597 for (p = slab->freelist; p; p = get_freepointer(s, p)) in __fill_map() 814 slab, slab->objects, slab->inuse, slab->freelist, in print_slab_info() 935 void **freelist, void *nextfree) in freelist_corrupted() argument 938 !check_valid_pointer(s, slab, nextfree) && freelist) { in freelist_corrupted() [all …]
|
D | slob.c | 244 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc() 277 sp->freelist = next; in slob_page_alloc() 282 sp->freelist = cur + units; in slob_page_alloc() 368 sp->freelist = b; in slob_alloc() 414 sp->freelist = b; in slob_free() 434 if (b < (slob_t *)sp->freelist) { in slob_free() 435 if (b + units == sp->freelist) { in slob_free() 436 units += slob_units(sp->freelist); in slob_free() 437 sp->freelist = slob_next(sp->freelist); in slob_free() 439 set_slob(b, units, sp->freelist); in slob_free() [all …]
|
D | compaction.c | 69 static unsigned long release_freepages(struct list_head *freelist) in release_freepages() argument 74 list_for_each_entry_safe(page, next, freelist, lru) { in release_freepages() 544 struct list_head *freelist, in isolate_freepages_block() argument 617 list_add_tail(&page->lru, freelist); in isolate_freepages_block() 685 LIST_HEAD(freelist); in isolate_freepages_range() 717 block_end_pfn, &freelist, 0, true); in isolate_freepages_range() 735 split_map_pages(&freelist); in isolate_freepages_range() 739 release_freepages(&freelist); in isolate_freepages_range() 1319 move_freelist_head(struct list_head *freelist, struct page *freepage) in move_freelist_head() argument 1323 if (!list_is_last(freelist, &freepage->lru)) { in move_freelist_head() [all …]
|
D | slab.c | 1571 poison_obj(cachep, slab->freelist - obj_offset(cachep), in slab_destroy_debugcheck() 1608 void *freelist; in slab_destroy() local 1610 freelist = slab->freelist; in slab_destroy() 1622 kfree(freelist); in slab_destroy() 2286 void *freelist; in alloc_slabmgmt() local 2293 freelist = NULL; in alloc_slabmgmt() 2296 freelist = kmalloc_node(cachep->freelist_size, in alloc_slabmgmt() 2300 freelist = addr + (PAGE_SIZE << cachep->gfporder) - in alloc_slabmgmt() 2304 return freelist; in alloc_slabmgmt() 2309 return ((freelist_idx_t *) slab->freelist)[idx]; in get_free_obj() [all …]
|
D | slab.h | 19 void *freelist; /* array of free object indexes */ member 37 void *freelist; /* first free object */ member 52 void *freelist; /* first free block */ member
|
/linux-6.1.9/drivers/scsi/elx/efct/ |
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-6.1.9/drivers/md/bcache/ |
D | util.h | 248 type *freelist; \ 254 typeof((array)->freelist) _ret = (array)->freelist; \ 257 (array)->freelist = *((typeof((array)->freelist) *) _ret);\ 264 typeof((array)->freelist) _ptr = ptr; \ 266 *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ 267 (array)->freelist = _ptr; \ 272 typeof((array)->freelist) _i; \ 275 (array)->freelist = NULL; \ 283 #define array_freelist_empty(array) ((array)->freelist == NULL)
|
/linux-6.1.9/drivers/nvdimm/ |
D | btt.c | 392 arena->freelist[lane].sub = 1 - arena->freelist[lane].sub; in btt_flog_write() 393 if (++(arena->freelist[lane].seq) == 4) in btt_flog_write() 394 arena->freelist[lane].seq = 1; in btt_flog_write() 396 arena->freelist[lane].has_err = 1; in btt_flog_write() 397 arena->freelist[lane].block = ent_lba(le32_to_cpu(ent->old_map)); in btt_flog_write() 509 if (arena->freelist[lane].has_err) { in arena_clear_freelist_error() 511 u32 lba = arena->freelist[lane].block; in arena_clear_freelist_error() 527 arena->freelist[lane].has_err = 0; in arena_clear_freelist_error() 540 arena->freelist = kcalloc(arena->nfree, sizeof(struct free_entry), in btt_freelist_init() 542 if (!arena->freelist) in btt_freelist_init() [all …]
|
D | btt.h | 187 struct free_entry *freelist; member
|
/linux-6.1.9/kernel/trace/ |
D | rethook.c | 45 rhn = container_of(node, struct rethook_node, freelist); in rethook_free_rcu() 110 freelist_add(&node->freelist, &rh->pool); in rethook_add_node() 135 freelist_add(&node->freelist, &node->rethook->pool); in rethook_recycle() 172 return container_of(fn, struct rethook_node, freelist); in rethook_try_get()
|
/linux-6.1.9/fs/jfs/ |
D | jfs_dtree.c | 1418 rp->header.freelist = fsi; in dtSplitPage() 1560 fsi = rp->header.freelist; in dtSplitPage() 1773 last = sp->header.freelist; in dtExtendPage() 1778 sp->header.freelist = last; in dtExtendPage() 1792 fsi = sp->header.freelist; in dtExtendPage() 1794 sp->header.freelist = n; in dtExtendPage() 1817 if (sp->header.freelist < n) in dtExtendPage() 1964 fsi = sp->header.freelist; in dtSplitRoot() 1966 rp->header.freelist = n; in dtSplitRoot() 1968 rp->header.freelist = fsi; in dtSplitRoot() [all …]
|
D | jfs_dtree.h | 139 s8 freelist; /* 1: freelist header */ member 188 s8 freelist; /* 1: slot index of head of freelist */ member
|
/linux-6.1.9/include/linux/ |
D | rethook.h | 52 struct freelist_node freelist; member
|
D | slub_def.h | 49 void **freelist; /* Pointer to next available object */ member
|
D | kprobes.h | 157 struct freelist_head freelist; member 169 struct freelist_node freelist;
|
D | iommu.h | 198 struct list_head freelist; member 404 .freelist = LIST_HEAD_INIT(gather->freelist), in iommu_iotlb_gather_init()
|
/linux-6.1.9/drivers/usb/musb/ |
D | cppi_dma.c | 63 struct cppi_descriptor *bd = c->freelist; in cppi_bd_alloc() 66 c->freelist = bd->next; in cppi_bd_alloc() 75 bd->next = c->freelist; in cppi_bd_free() 76 c->freelist = bd; in cppi_bd_free() 121 c->freelist = NULL; in cppi_pool_init() 609 bd = tx->freelist; in cppi_next_tx_segment() 664 musb_writel(&tx_ram->tx_head, 0, (u32)tx->freelist->dma); in cppi_next_tx_segment()
|
D | cppi_dma.h | 95 struct cppi_descriptor *freelist; member
|
/linux-6.1.9/kernel/ |
D | kprobes.c | 1886 freelist_add(&ri->freelist, &rp->freelist); in recycle_rp_inst() 1927 node = rp->freelist.head; in free_rp_inst() 1929 ri = container_of(node, struct kretprobe_instance, freelist); in free_rp_inst() 2084 fn = freelist_try_get(&rp->freelist); in NOKPROBE_SYMBOL() 2090 ri = container_of(fn, struct kretprobe_instance, freelist); in NOKPROBE_SYMBOL() 2093 freelist_add(&ri->freelist, &rp->freelist); in NOKPROBE_SYMBOL() 2242 rp->freelist.head = NULL; in register_kretprobe() 2257 freelist_add(&inst->freelist, &rp->freelist); in register_kretprobe()
|
/linux-6.1.9/drivers/iommu/intel/ |
D | iommu.c | 1117 struct list_head *freelist) in dma_pte_list_pagetables() argument 1122 list_add_tail(&pg->lru, freelist); in dma_pte_list_pagetables() 1130 dma_pte_list_pagetables(domain, level - 1, pte, freelist); in dma_pte_list_pagetables() 1138 struct list_head *freelist) in dma_pte_clear_level() argument 1157 dma_pte_list_pagetables(domain, level - 1, pte, freelist); in dma_pte_clear_level() 1168 freelist); in dma_pte_clear_level() 1183 unsigned long last_pfn, struct list_head *freelist) in domain_unmap() argument 1191 domain->pgd, 0, start_pfn, last_pfn, freelist); in domain_unmap() 1196 list_add_tail(&pgd_page->lru, freelist); in domain_unmap() 1868 LIST_HEAD(freelist); in domain_exit() [all …]
|
/linux-6.1.9/drivers/iommu/ |
D | dma-iommu.c | 95 struct list_head freelist; member 138 put_pages_list(&fq->entries[idx].freelist); in fq_ring_free() 175 struct list_head *freelist) in queue_iova() argument 210 list_splice(freelist, &fq->entries[idx].freelist); in queue_iova() 234 put_pages_list(&fq->entries[idx].freelist); in iommu_dma_free_fq() 268 INIT_LIST_HEAD(&fq->entries[i].freelist); in iommu_dma_init_fq() 668 &gather->freelist); in iommu_dma_free_iova()
|