Lines Matching refs:bex
146 struct pnfs_block_extent bex; in nfsd4_block_decode_layoutupdate() local
148 memcpy(&bex.vol_id, p, sizeof(struct nfsd4_deviceid)); in nfsd4_block_decode_layoutupdate()
151 p = xdr_decode_hyper(p, &bex.foff); in nfsd4_block_decode_layoutupdate()
152 if (bex.foff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
154 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
157 p = xdr_decode_hyper(p, &bex.len); in nfsd4_block_decode_layoutupdate()
158 if (bex.len & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
160 __func__, bex.foff); in nfsd4_block_decode_layoutupdate()
163 p = xdr_decode_hyper(p, &bex.soff); in nfsd4_block_decode_layoutupdate()
164 if (bex.soff & (block_size - 1)) { in nfsd4_block_decode_layoutupdate()
166 __func__, bex.soff); in nfsd4_block_decode_layoutupdate()
169 bex.es = be32_to_cpup(p++); in nfsd4_block_decode_layoutupdate()
170 if (bex.es != PNFS_BLOCK_READWRITE_DATA) { in nfsd4_block_decode_layoutupdate()
172 __func__, bex.es); in nfsd4_block_decode_layoutupdate()
176 iomaps[i].offset = bex.foff; in nfsd4_block_decode_layoutupdate()
177 iomaps[i].length = bex.len; in nfsd4_block_decode_layoutupdate()