Home
last modified time | relevance | path

Searched refs:_iter (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dgeneric-radix-tree.h178 #define genradix_iter_peek(_iter, _radix) \ argument
180 __genradix_iter_peek(_iter, &(_radix)->tree, \
195 #define genradix_iter_advance(_iter, _radix) \ argument
196 __genradix_iter_advance(_iter, __genradix_obj_size(_radix))
198 #define genradix_for_each_from(_radix, _iter, _p, _start) \ argument
199 for (_iter = genradix_iter_init(_radix, _start); \
200 (_p = genradix_iter_peek(&_iter, _radix)) != NULL; \
201 genradix_iter_advance(&_iter, _radix))
212 #define genradix_for_each(_radix, _iter, _p) \ argument
213 genradix_for_each_from(_radix, _iter, _p, 0)
Dblkdev.h901 #define rq_for_each_segment(bvl, _rq, _iter) \ argument
902 __rq_for_each_bio(_iter.bio, _rq) \
903 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
905 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument
906 __rq_for_each_bio(_iter.bio, _rq) \
907 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
909 #define rq_iter_last(bvec, _iter) \ argument
910 (_iter.bio->bi_next == NULL && \
911 bio_iter_last(bvec, _iter.iter))
Dbio.h721 #define bio_for_each_integrity_vec(_bvl, _bio, _iter) \ argument
723 bip_for_each_vec(_bvl, _bio->bi_integrity, _iter)
/kernel/linux/linux-5.10/mm/
Dzbud.c236 #define for_each_unbuddied_list(_iter, _begin) \ argument
237 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
Dz3fold.c207 #define for_each_unbuddied_list(_iter, _begin) \ argument
208 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dtdp_mmu.c393 #define tdp_root_for_each_pte(_iter, _root, _start, _end) \ argument
394 for_each_tdp_pte(_iter, _root->spt, _root->role.level, _start, _end)
396 #define tdp_root_for_each_leaf_pte(_iter, _root, _start, _end) \ argument
397 tdp_root_for_each_pte(_iter, _root, _start, _end) \
398 if (!is_shadow_present_pte(_iter.old_spte) || \
399 !is_last_spte(_iter.old_spte, _iter.level)) \
403 #define tdp_mmu_for_each_pte(_iter, _mmu, _start, _end) \ argument
404 for_each_tdp_pte(_iter, __va(_mmu->root_hpa), \
/kernel/linux/linux-5.10/drivers/dma/
Diop-adma.c106 struct iop_adma_desc_slot *iter, *_iter, *grp_start = NULL; in __iop_adma_slot_cleanup() local
116 list_for_each_entry_safe(iter, _iter, &iop_chan->chain, in __iop_adma_slot_cleanup()
123 prefetch(_iter); in __iop_adma_slot_cleanup()
124 prefetch(&_iter->async_tx); in __iop_adma_slot_cleanup()
260 struct iop_adma_desc_slot *iter, *_iter, *alloc_start = NULL; in iop_adma_alloc_slots() local
278 iter, _iter, &iop_chan->all_slots, slot_node) { in iop_adma_alloc_slots()
279 prefetch(_iter); in iop_adma_alloc_slots()
280 prefetch(&_iter->async_tx); in iop_adma_alloc_slots()
717 struct iop_adma_desc_slot *iter, *_iter; in iop_adma_free_chan_resources() local
723 list_for_each_entry_safe(iter, _iter, &iop_chan->chain, in iop_adma_free_chan_resources()
[all …]
Dmv_xor.c217 struct mv_xor_desc_slot *iter, *_iter; in mv_chan_clean_completed_slots() local
220 list_for_each_entry_safe(iter, _iter, &mv_chan->completed_slots, in mv_chan_clean_completed_slots()
265 struct mv_xor_desc_slot *iter, *_iter; in mv_chan_slot_cleanup() local
280 list_for_each_entry_safe(iter, _iter, &mv_chan->chain, in mv_chan_slot_cleanup()
630 struct mv_xor_desc_slot *iter, *_iter; in mv_xor_free_chan_resources() local
637 list_for_each_entry_safe(iter, _iter, &mv_chan->chain, in mv_xor_free_chan_resources()
642 list_for_each_entry_safe(iter, _iter, &mv_chan->completed_slots, in mv_xor_free_chan_resources()
647 list_for_each_entry_safe(iter, _iter, &mv_chan->allocated_slots, in mv_xor_free_chan_resources()
653 iter, _iter, &mv_chan->free_slots, node) { in mv_xor_free_chan_resources()
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
Dadma.c1537 struct ppc440spe_adma_desc_slot *iter, *_iter, *group_start = NULL; in __ppc440spe_adma_slot_cleanup() local
1556 list_for_each_entry_safe(iter, _iter, &chan->chain, in __ppc440spe_adma_slot_cleanup()
1564 prefetch(_iter); in __ppc440spe_adma_slot_cleanup()
1565 prefetch(&_iter->async_tx); in __ppc440spe_adma_slot_cleanup()
1689 struct ppc440spe_adma_desc_slot *iter = NULL, *_iter; in ppc440spe_adma_alloc_slots() local
1708 list_for_each_entry_safe_continue(iter, _iter, &chan->all_slots, in ppc440spe_adma_alloc_slots()
1710 prefetch(_iter); in ppc440spe_adma_alloc_slots()
1711 prefetch(&_iter->async_tx); in ppc440spe_adma_alloc_slots()
3538 struct ppc440spe_adma_desc_slot *iter, *_iter; in ppc440spe_adma_free_chan_resources() local
3545 list_for_each_entry_safe(iter, _iter, &ppc440spe_chan->chain, in ppc440spe_adma_free_chan_resources()
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dstream_open.cocci188 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now.