Home
last modified time | relevance | path

Searched refs:isect (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/fs/nfs/blocklayout/
Dblocklayout.c124 do_add_page_to_bio(struct bio *bio, int npg, enum req_op op, sector_t isect, in do_add_page_to_bio() argument
134 npg, (__force u32)op, (unsigned long long)isect, offset, *len); in do_add_page_to_bio()
137 isect += be->be_v_offset; in do_add_page_to_bio()
138 isect -= be->be_f_offset; in do_add_page_to_bio()
141 disk_addr = (u64)isect << SECTOR_SHIFT; in do_add_page_to_bio()
173 sector_t isect, extent_length = 0; in bl_mark_devices_unavailable() local
176 isect = header->args.offset >> SECTOR_SHIFT; in bl_mark_devices_unavailable()
177 bytes_left += header->args.offset - (isect << SECTOR_SHIFT); in bl_mark_devices_unavailable()
180 if (!ext_tree_lookup(bl, isect, &be, rw)) in bl_mark_devices_unavailable()
182 extent_length = be.be_length - (isect - be.be_f_offset); in bl_mark_devices_unavailable()
[all …]
Dextent_tree.c322 __ext_tree_lookup(struct rb_root *root, sector_t isect, in __ext_tree_lookup() argument
331 if (isect < be->be_f_offset) in __ext_tree_lookup()
333 else if (isect >= ext_f_end(be)) in __ext_tree_lookup()
345 ext_tree_lookup(struct pnfs_block_layout *bl, sector_t isect, in ext_tree_lookup() argument
352 found = __ext_tree_lookup(&bl->bl_ext_ro, isect, ret); in ext_tree_lookup()
354 found = __ext_tree_lookup(&bl->bl_ext_rw, isect, ret); in ext_tree_lookup()
Dblocklayout.h186 bool ext_tree_lookup(struct pnfs_block_layout *bl, sector_t isect,