Home
last modified time | relevance | path

Searched refs:bex (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
Dblocklayoutxdr.c136 struct pnfs_block_extent bex; in nfsd4_block_decode_layoutupdate() local
138 memcpy(&bex.vol_id, p, sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
141 p = xdr_decode_hyper(p, &bex.foff); in nfsd4_block_decode_layoutupdate()
142 if (bex.foff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
144 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
147 p = xdr_decode_hyper(p, &bex.len); in nfsd4_block_decode_layoutupdate()
148 if (bex.len & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
150 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
153 p = xdr_decode_hyper(p, &bex.soff); in nfsd4_block_decode_layoutupdate()
154 if (bex.soff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
[all …]
Dblocklayout.c30 struct pnfs_block_extent *bex; in nfsd4_block_proc_layoutget() local
45 bex = kzalloc(sizeof(*bex), GFP_KERNEL); in nfsd4_block_proc_layoutget()
46 if (!bex) in nfsd4_block_proc_layoutget()
48 args->lg_content = bex; in nfsd4_block_proc_layoutget()
67 bex->es = PNFS_BLOCK_READ_DATA; in nfsd4_block_proc_layoutget()
69 bex->es = PNFS_BLOCK_READWRITE_DATA; in nfsd4_block_proc_layoutget()
70 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
82 bex->es = PNFS_BLOCK_INVALID_DATA; in nfsd4_block_proc_layoutget()
83 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget()
89 bex->es = PNFS_BLOCK_NONE_DATA; in nfsd4_block_proc_layoutget()
[all …]
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dbitmap.h22 #define for_each_xbitmap_extent(bex, n, bitmap) \ argument
23 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list)
25 #define for_each_xbitmap_block(b, bex, n, bitmap) \ argument
26 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list) \
27 for ((b) = (bex)->start; (b) < (bex)->start + (bex)->len; (b)++)
/kernel/linux/linux-5.10/fs/ext4/
Dmballoc.c1745 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local
1764 if (bex->fe_len < gex->fe_len) in ext4_mb_check_limits()
1768 && bex->fe_group == e4b->bd_group) { in ext4_mb_check_limits()
1772 max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex); in ext4_mb_check_limits()
1794 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_measure_extent() local
1808 *bex = *ex; in ext4_mb_measure_extent()
1817 *bex = *ex; in ext4_mb_measure_extent()
1825 if (bex->fe_len == 0) { in ext4_mb_measure_extent()
1826 *bex = *ex; in ext4_mb_measure_extent()
1833 if (bex->fe_len < gex->fe_len) { in ext4_mb_measure_extent()
[all …]