Lines Matching refs:bex
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()
156 __func__, bex.soff); in nfsd4_block_decode_layoutupdate()
159 bex.es = be32_to_cpup(p++); in nfsd4_block_decode_layoutupdate()
160 if (bex.es != PNFS_BLOCK_READWRITE_DATA) { in nfsd4_block_decode_layoutupdate()
162 __func__, bex.es); in nfsd4_block_decode_layoutupdate()
166 iomaps[i].offset = bex.foff; in nfsd4_block_decode_layoutupdate()
167 iomaps[i].length = bex.len; in nfsd4_block_decode_layoutupdate()