Searched refs:bex (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/fs/nfsd/ |
D | blocklayoutxdr.c | 136 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 …]
|
D | blocklayout.c | 30 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 …]
|
/Linux-v5.15/fs/xfs/scrub/ |
D | bitmap.h | 22 #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)++)
|
/Linux-v5.15/fs/ext4/ |
D | mballoc.c | 2062 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local 2081 if (bex->fe_len < gex->fe_len) in ext4_mb_check_limits() 2085 && bex->fe_group == e4b->bd_group) { in ext4_mb_check_limits() 2089 max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex); in ext4_mb_check_limits() 2111 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_measure_extent() local 2125 *bex = *ex; in ext4_mb_measure_extent() 2134 *bex = *ex; in ext4_mb_measure_extent() 2142 if (bex->fe_len == 0) { in ext4_mb_measure_extent() 2143 *bex = *ex; in ext4_mb_measure_extent() 2150 if (bex->fe_len < gex->fe_len) { in ext4_mb_measure_extent() [all …]
|