Home
last modified time | relevance | path

Searched refs:bi_size (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Dbvec.h27 unsigned int bi_size; /* residual I/O count */ member
52 min((iter).bi_size, \
90 if (WARN_ONCE(bytes > iter->bi_size, in bvec_iter_advance()
92 iter->bi_size = 0; in bvec_iter_advance()
98 unsigned len = min3(bytes, iter->bi_size, in bvec_iter_advance()
102 iter->bi_size -= len; in bvec_iter_advance()
115 (iter).bi_size && \
123 .bi_size = UINT_MAX, \
Dbio.h45 ((bio)->bi_iter.bi_size != bio_iovec(bio).bv_len)
47 #define bvec_iter_sectors(iter) ((iter).bi_size >> 9)
65 bio->bi_iter.bi_size && in bio_has_data()
95 return bio->bi_iter.bi_size; in bio_cur_bytes()
119 if (bio->bi_iter.bi_size > UINT_MAX - len) in bio_full()
148 iter->bi_size -= bytes; in bio_advance_iter()
156 (iter).bi_size && \
165 (iter).bi_size && \
173 #define bio_iter_last(bvec, iter) ((iter).bi_size == (bvec).bv_len)
263 bio_advance_iter(bio, &iter, iter.bi_size); in bio_get_last_bvec()
Dblk-cgroup.h755 bio->bi_iter.bi_size); in blkcg_bio_issue_check()
/include/linux/ceph/
Dmessenger.h96 BUG_ON(!(it)->iter.bi_size); \
97 __cur_n = min((it)->iter.bi_size, __n); \
100 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \
124 __cur_iter.bi_size = __cur_n; \
137 BUG_ON((n) > (it)->iter.bi_size); \
157 __cur_iter.bi_size = (n); \
163 BUG_ON((n) > (it)->iter.bi_size); \
164 (it)->iter.bi_size = (n); \
/include/trace/events/
Dbcache.h30 __entry->nr_sector = bio->bi_iter.bi_size >> 9;
31 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
104 __entry->nr_sector = bio->bi_iter.bi_size >> 9;
105 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
139 __entry->nr_sector = bio->bi_iter.bi_size >> 9;
140 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
170 __entry->nr_sector = bio->bi_iter.bi_size >> 9;
171 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
239 __entry->nr_sector = bio->bi_iter.bi_size >> 9;
241 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
Dblock.h243 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
281 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
308 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
375 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
538 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
581 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size);
Df2fs.h1085 __entry->size = bio->bi_iter.bi_size;