Home
last modified time | relevance | path

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

/linux/include/linux/
A Dgeneric-radix-tree.h179 #define genradix_iter_peek(_iter, _radix) \ argument
181 __genradix_iter_peek(_iter, &(_radix)->tree, \
196 #define genradix_iter_advance(_iter, _radix) \ argument
197 __genradix_iter_advance(_iter, __genradix_obj_size(_radix))
199 #define genradix_for_each_from(_radix, _iter, _p, _start) \ argument
200 for (_iter = genradix_iter_init(_radix, _start); \
201 (_p = genradix_iter_peek(&_iter, _radix)) != NULL; \
202 genradix_iter_advance(&_iter, _radix))
213 #define genradix_for_each(_radix, _iter, _p) \ argument
214 genradix_for_each_from(_radix, _iter, _p, 0)
A Dblk-mq.h934 #define rq_for_each_segment(bvl, _rq, _iter) \ argument
935 __rq_for_each_bio(_iter.bio, _rq) \
936 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
938 #define rq_for_each_bvec(bvl, _rq, _iter) \ argument
939 __rq_for_each_bio(_iter.bio, _rq) \
940 bio_for_each_bvec(bvl, _iter.bio, _iter.iter)
942 #define rq_iter_last(bvec, _iter) \ argument
943 (_iter.bio->bi_next == NULL && \
944 bio_iter_last(bvec, _iter.iter))
A Dbio.h650 #define bio_for_each_integrity_vec(_bvl, _bio, _iter) \ argument
652 bip_for_each_vec(_bvl, _bio->bi_integrity, _iter)
/linux/mm/
A Dzbud.c149 #define for_each_unbuddied_list(_iter, _begin) \ argument
150 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
A Dz3fold.c209 #define for_each_unbuddied_list(_iter, _begin) \ argument
210 for ((_iter) = (_begin); (_iter) < NCHUNKS; (_iter)++)
/linux/arch/x86/kvm/mmu/
A Dtdp_mmu.c626 #define tdp_root_for_each_pte(_iter, _root, _start, _end) \ argument
627 for_each_tdp_pte(_iter, _root->spt, _root->role.level, _start, _end)
629 #define tdp_root_for_each_leaf_pte(_iter, _root, _start, _end) \ argument
630 tdp_root_for_each_pte(_iter, _root, _start, _end) \
631 if (!is_shadow_present_pte(_iter.old_spte) || \
632 !is_last_spte(_iter.old_spte, _iter.level)) \
636 #define tdp_mmu_for_each_pte(_iter, _mmu, _start, _end) \ argument
637 for_each_tdp_pte(_iter, __va(_mmu->root_hpa), \
/linux/drivers/dma/
A 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 …]
A 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()
/linux/drivers/dma/ppc4xx/
A Dadma.c1535 struct ppc440spe_adma_desc_slot *iter, *_iter, *group_start = NULL; in __ppc440spe_adma_slot_cleanup() local
1554 list_for_each_entry_safe(iter, _iter, &chan->chain, in __ppc440spe_adma_slot_cleanup()
1562 prefetch(_iter); in __ppc440spe_adma_slot_cleanup()
1563 prefetch(&_iter->async_tx); in __ppc440spe_adma_slot_cleanup()
1687 struct ppc440spe_adma_desc_slot *iter = NULL, *_iter; in ppc440spe_adma_alloc_slots() local
1706 list_for_each_entry_safe_continue(iter, _iter, &chan->all_slots, in ppc440spe_adma_alloc_slots()
1708 prefetch(_iter); in ppc440spe_adma_alloc_slots()
1709 prefetch(&_iter->async_tx); in ppc440spe_adma_alloc_slots()
3536 struct ppc440spe_adma_desc_slot *iter, *_iter; in ppc440spe_adma_free_chan_resources() local
3543 list_for_each_entry_safe(iter, _iter, &ppc440spe_chan->chain, in ppc440spe_adma_free_chan_resources()
[all …]
/linux/scripts/coccinelle/api/
A Dstream_open.cocci188 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now.

Completed in 36 milliseconds