Searched refs:bex (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/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 | 29 struct pnfs_block_extent *bex; in nfsd4_block_proc_layoutget() local 44 bex = kzalloc(sizeof(*bex), GFP_KERNEL); in nfsd4_block_proc_layoutget() 45 if (!bex) in nfsd4_block_proc_layoutget() 47 args->lg_content = bex; in nfsd4_block_proc_layoutget() 66 bex->es = PNFS_BLOCK_READ_DATA; in nfsd4_block_proc_layoutget() 68 bex->es = PNFS_BLOCK_READWRITE_DATA; in nfsd4_block_proc_layoutget() 69 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget() 81 bex->es = PNFS_BLOCK_INVALID_DATA; in nfsd4_block_proc_layoutget() 82 bex->soff = iomap.addr; in nfsd4_block_proc_layoutget() 88 bex->es = PNFS_BLOCK_NONE_DATA; in nfsd4_block_proc_layoutget() [all …]
|
/Linux-v4.19/fs/xfs/scrub/ |
D | bitmap.h | 22 #define for_each_xfs_bitmap_extent(bex, n, bitmap) \ argument 23 list_for_each_entry_safe((bex), (n), &(bitmap)->list, list) 25 #define for_each_xfs_bitmap_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-v4.19/fs/ext4/ |
D | mballoc.c | 1684 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_check_limits() local 1703 if (bex->fe_len < gex->fe_len) in ext4_mb_check_limits() 1707 && bex->fe_group == e4b->bd_group) { in ext4_mb_check_limits() 1711 max = mb_find_extent(e4b, bex->fe_start, gex->fe_len, &ex); in ext4_mb_check_limits() 1733 struct ext4_free_extent *bex = &ac->ac_b_ex; in ext4_mb_measure_extent() local 1747 *bex = *ex; in ext4_mb_measure_extent() 1756 *bex = *ex; in ext4_mb_measure_extent() 1764 if (bex->fe_len == 0) { in ext4_mb_measure_extent() 1765 *bex = *ex; in ext4_mb_measure_extent() 1772 if (bex->fe_len < gex->fe_len) { in ext4_mb_measure_extent() [all …]
|