Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 27) sorted by relevance

12

/include/linux/
Dbvec.h50 #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx]) argument
52 #define bvec_iter_page(bvec, iter) \ argument
53 (__bvec_iter_bvec((bvec), (iter))->bv_page)
55 #define bvec_iter_len(bvec, iter) \ argument
56 min((iter).bi_size, \
57 __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)
59 #define bvec_iter_offset(bvec, iter) \ argument
60 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)
62 #define bvec_iter_bvec(bvec, iter) \ argument
64 .bv_page = bvec_iter_page((bvec), (iter)), \
[all …]
Dradix-tree.h346 static inline unsigned int iter_shift(struct radix_tree_iter *iter) in iter_shift() argument
349 return iter->shift; in iter_shift()
367 radix_tree_iter_init(struct radix_tree_iter *iter, unsigned long start) in radix_tree_iter_init() argument
377 iter->index = 0; in radix_tree_iter_init()
378 iter->next_index = start; in radix_tree_iter_init()
396 struct radix_tree_iter *iter, unsigned flags);
408 void **radix_tree_iter_retry(struct radix_tree_iter *iter) in radix_tree_iter_retry() argument
410 iter->next_index = iter->index; in radix_tree_iter_retry()
411 iter->tags = 0; in radix_tree_iter_retry()
416 __radix_tree_iter_add(struct radix_tree_iter *iter, unsigned long slots) in __radix_tree_iter_add() argument
[all …]
Ddevcoredump.h41 struct scatterlist *iter; in _devcd_free_sgtable() local
45 iter = table; in _devcd_free_sgtable()
46 for_each_sg(table, iter, sg_nents(table), i) { in _devcd_free_sgtable()
47 page = sg_page(iter); in _devcd_free_sgtable()
53 iter = table; in _devcd_free_sgtable()
55 while (!sg_is_last(iter)) { in _devcd_free_sgtable()
56 iter++; in _devcd_free_sgtable()
57 if (sg_is_chain(iter)) { in _devcd_free_sgtable()
58 iter = sg_chain_ptr(iter); in _devcd_free_sgtable()
60 delete_iter = iter; in _devcd_free_sgtable()
Dbio.h46 #define bio_iter_iovec(bio, iter) \ argument
47 bvec_iter_bvec((bio)->bi_io_vec, (iter))
49 #define bio_iter_page(bio, iter) \ argument
50 bvec_iter_page((bio)->bi_io_vec, (iter))
51 #define bio_iter_len(bio, iter) \ argument
52 bvec_iter_len((bio)->bi_io_vec, (iter))
53 #define bio_iter_offset(bio, iter) \ argument
54 bvec_iter_offset((bio)->bi_io_vec, (iter))
133 #define __bio_kmap_atomic(bio, iter) \ argument
134 (kmap_atomic(bio_iter_iovec((bio), (iter)).bv_page) + \
[all …]
Duio.h66 static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) in iov_iter_iovec() argument
69 .iov_base = iter->iov->iov_base + iter->iov_offset, in iov_iter_iovec()
70 .iov_len = min(iter->count, in iov_iter_iovec()
71 iter->iov->iov_len - iter->iov_offset), in iov_iter_iovec()
75 #define iov_for_each(iov, iter, start) \ argument
77 for (iter = (start); \
78 (iter).count && \
79 ((iov = iov_iter_iovec(&(iter))), 1); \
80 iov_iter_advance(&(iter), (iov).iov_len))
Dring_buffer.h130 void ring_buffer_read_start(struct ring_buffer_iter *iter);
131 void ring_buffer_read_finish(struct ring_buffer_iter *iter);
134 ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts);
136 ring_buffer_read(struct ring_buffer_iter *iter, u64 *ts);
137 void ring_buffer_iter_reset(struct ring_buffer_iter *iter);
138 int ring_buffer_iter_empty(struct ring_buffer_iter *iter);
Dpnfs_osd_xdr.h294 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr);
297 struct pnfs_osd_xdr_decode_layout_iter *iter, struct xdr_stream *xdr,
Dftrace.h445 struct ftrace_rec_iter *ftrace_rec_iter_next(struct ftrace_rec_iter *iter);
446 struct dyn_ftrace *ftrace_rec_iter_record(struct ftrace_rec_iter *iter);
448 #define for_ftrace_rec_iter(iter) \ argument
449 for (iter = ftrace_rec_iter_start(); \
450 iter; \
451 iter = ftrace_rec_iter_next(iter))
Dnetdevice.h3889 struct list_head **iter);
3891 struct list_head **iter);
3894 #define netdev_for_each_upper_dev_rcu(dev, updev, iter) \ argument
3895 for (iter = &(dev)->adj_list.upper, \
3896 updev = netdev_upper_get_next_dev_rcu(dev, &(iter)); \
3898 updev = netdev_upper_get_next_dev_rcu(dev, &(iter)))
3901 #define netdev_for_each_all_upper_dev_rcu(dev, updev, iter) \ argument
3902 for (iter = &(dev)->all_adj_list.upper, \
3903 updev = netdev_all_upper_get_next_dev_rcu(dev, &(iter)); \
3905 updev = netdev_all_upper_get_next_dev_rcu(dev, &(iter)))
[all …]
Drhashtable.h366 struct rhashtable_iter *iter);
367 void rhashtable_walk_exit(struct rhashtable_iter *iter);
368 int rhashtable_walk_start(struct rhashtable_iter *iter) __acquires(RCU);
369 void *rhashtable_walk_next(struct rhashtable_iter *iter);
370 void rhashtable_walk_stop(struct rhashtable_iter *iter) __releases(RCU);
1173 struct rhashtable_iter *iter, gfp_t gfp) in rhashtable_walk_init() argument
1175 rhashtable_walk_enter(ht, iter); in rhashtable_walk_init()
1200 struct rhashtable_iter *iter) in rhltable_walk_enter() argument
1202 return rhashtable_walk_enter(&hlt->ht, iter); in rhltable_walk_enter()
Ddax.h14 ssize_t iomap_dax_rw(struct kiocb *iocb, struct iov_iter *iter,
Dtrace_events.h45 int trace_raw_output_prep(struct trace_iterator *iter,
108 typedef enum print_line_t (*trace_print_func)(struct trace_iterator *iter,
160 int trace_output_call(struct trace_iterator *iter, char *name, char *fmt, ...);
Ddevice.h149 void subsys_dev_iter_init(struct subsys_dev_iter *iter,
153 struct device *subsys_dev_iter_next(struct subsys_dev_iter *iter);
154 void subsys_dev_iter_exit(struct subsys_dev_iter *iter);
442 extern void class_dev_iter_init(struct class_dev_iter *iter,
446 extern struct device *class_dev_iter_next(struct class_dev_iter *iter);
447 extern void class_dev_iter_exit(struct class_dev_iter *iter);
Dnfs_fs.h447 struct iov_iter *iter);
449 struct iov_iter *iter);
Dfs.h415 ssize_t (*direct_IO)(struct kiocb *, struct iov_iter *iter);
2850 ssize_t vfs_iter_read(struct file *file, struct iov_iter *iter, loff_t *ppos);
2851 ssize_t vfs_iter_write(struct file *file, struct iov_iter *iter, loff_t *ppos);
2907 struct block_device *bdev, struct iov_iter *iter,
2914 struct iov_iter *iter, in blockdev_direct_IO() argument
2917 return __blockdev_direct_IO(iocb, inode, inode->i_sb->s_bdev, iter, in blockdev_direct_IO()
Dblkdev.h746 struct bvec_iter iter; member
759 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
763 bio_iter_last(bvec, _iter.iter))
Dskbuff.h3029 #define skb_walk_frags(skb, iter) \ argument
3030 for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next)
Dmemcontrol.h125 struct mem_cgroup_reclaim_iter iter[DEF_PRIORITY + 1]; member
/include/net/
Dbonding.h73 #define bond_for_each_slave(bond, pos, iter) \ argument
74 netdev_for_each_lower_private((bond)->dev, pos, iter)
77 #define bond_for_each_slave_rcu(bond, pos, iter) \ argument
78 netdev_for_each_lower_private_rcu((bond)->dev, pos, iter)
363 struct list_head *iter; in bond_slave_state_change() local
366 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_change()
376 struct list_head *iter; in bond_slave_state_notify() local
379 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_notify()
528 struct list_head *iter; in bond_slave_link_notify() local
531 bond_for_each_slave(bond, tmp, iter) { in bond_slave_link_notify()
[all …]
Dnetlabel.h344 struct netlbl_lsm_catmap *iter; in netlbl_catmap_free() local
347 iter = catmap; in netlbl_catmap_free()
349 kfree(iter); in netlbl_catmap_free()
/include/trace/
Dtrace_events.h313 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
316 struct trace_seq *s = &iter->seq; \
317 struct trace_seq __maybe_unused *p = &iter->tmp_seq; \
321 field = (typeof(field))iter->ent; \
323 ret = trace_raw_output_prep(iter, trace_event); \
338 trace_raw_output_##call(struct trace_iterator *iter, int flags, \
343 struct trace_seq *p = &iter->tmp_seq; \
345 entry = iter->ent; \
355 return trace_output_call(iter, #call, print); \
/include/crypto/
Dif_alg.h78 int af_alg_make_sg(struct af_alg_sgl *sgl, struct iov_iter *iter, int len);
/include/net/sctp/
Dsctp.h119 int sctp_transport_walk_start(struct rhashtable_iter *iter);
120 void sctp_transport_walk_stop(struct rhashtable_iter *iter);
122 struct rhashtable_iter *iter);
124 struct rhashtable_iter *iter, int pos);
/include/net/netfilter/
Dnf_conntrack.h246 int (*iter)(struct nf_conn *i, void *data),
Dnf_tables.h195 const struct nft_set_iter *iter,
285 struct nft_set_iter *iter);

12