Lines Matching refs:b
38 nfs4_encode_simple(__be32 *p, struct pnfs_block_volume *b) in nfs4_encode_simple() argument
43 *p++ = cpu_to_be32(b->type); in nfs4_encode_simple()
44 *p++ = cpu_to_be32(b->simple.nr_sigs); in nfs4_encode_simple()
45 for (i = 0; i < b->simple.nr_sigs; i++) { in nfs4_encode_simple()
46 p = xdr_encode_hyper(p, b->simple.sigs[i].offset); in nfs4_encode_simple()
47 p = xdr_encode_opaque(p, b->simple.sigs[i].sig, in nfs4_encode_simple()
48 b->simple.sigs[i].sig_len); in nfs4_encode_simple()
53 bl_resolve_deviceid(struct nfs_server *server, struct pnfs_block_volume *b, in bl_resolve_deviceid() argument
71 b->simple.len += 4; /* single volume */ in bl_resolve_deviceid()
72 if (b->simple.len > PAGE_SIZE) in bl_resolve_deviceid()
76 msg->len = sizeof(*bl_msg) + b->simple.len; in bl_resolve_deviceid()
83 bl_msg->totallen = b->simple.len; in bl_resolve_deviceid()
84 nfs4_encode_simple(msg->data + sizeof(*bl_msg), b); in bl_resolve_deviceid()