Home
last modified time | relevance | path

Searched refs:scsi (Results 1 – 6 of 6) sorted by relevance

/fs/nfs/blocklayout/
Ddev.c144 b->scsi.code_set = be32_to_cpup(p++); in nfs4_block_decode_volume()
145 b->scsi.designator_type = be32_to_cpup(p++); in nfs4_block_decode_volume()
146 b->scsi.designator_len = be32_to_cpup(p++); in nfs4_block_decode_volume()
147 p = xdr_inline_decode(xdr, b->scsi.designator_len); in nfs4_block_decode_volume()
150 if (b->scsi.designator_len > 256) in nfs4_block_decode_volume()
152 memcpy(&b->scsi.designator, p, b->scsi.designator_len); in nfs4_block_decode_volume()
156 p = xdr_decode_hyper(p, &b->scsi.pr_key); in nfs4_block_decode_volume()
267 switch (v->scsi.designator_type) { in bl_validate_designator()
269 if (v->scsi.code_set != PS_CODE_SET_BINARY) in bl_validate_designator()
272 if (v->scsi.designator_len != 8 && in bl_validate_designator()
[all …]
Dblocklayout.h90 } scsi; member
/fs/nfsd/
Dblocklayoutxdr.c60 len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; in nfsd4_block_encode_volume()
66 *p++ = cpu_to_be32(b->scsi.code_set); in nfsd4_block_encode_volume()
67 *p++ = cpu_to_be32(b->scsi.designator_type); in nfsd4_block_encode_volume()
68 p = xdr_encode_opaque(p, b->scsi.designator, b->scsi.designator_len); in nfsd4_block_encode_volume()
69 p = xdr_encode_hyper(p, b->scsi.pr_key); in nfsd4_block_encode_volume()
Dblocklayout.c235 ret = disk->fops->get_unique_id(disk, b->scsi.designator, type); in nfsd4_block_get_unique_id()
237 b->scsi.code_set = PS_CODE_SET_BINARY; in nfsd4_block_get_unique_id()
238 b->scsi.designator_type = type; in nfsd4_block_get_unique_id()
239 b->scsi.designator_len = ret; in nfsd4_block_get_unique_id()
267 b->scsi.pr_key = nfsd4_scsi_pr_key(clp); in nfsd4_block_get_device_info_scsi()
Dblocklayoutxdr.h44 } scsi; member
DKconfig117 the server and the clients. See draft-ietf-nfsv4-scsi-layout for