Home
last modified time | relevance | path

Searched refs:designator_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/nfs/blocklayout/
Ddev.c146 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()
271 if (v->scsi.designator_len != 8 && in bl_validate_designator()
272 v->scsi.designator_len != 10 && in bl_validate_designator()
273 v->scsi.designator_len != 16) in bl_validate_designator()
281 if (v->scsi.designator_len != 8 && in bl_validate_designator()
282 v->scsi.designator_len != 16) in bl_validate_designator()
292 v->scsi.designator_len); in bl_validate_designator()
[all …]
Dblocklayout.h87 int designator_len; member
/linux-6.1.9/fs/nfsd/
Dblocklayoutxdr.h41 int designator_len; member
Dblocklayoutxdr.c59 len = 4 + 4 + 4 + 4 + (XDR_QUADLEN(b->scsi.designator_len) << 2) + 8; in nfsd4_block_encode_volume()
67 p = xdr_encode_opaque(p, b->scsi.designator, b->scsi.designator_len); in nfsd4_block_encode_volume()
Dblocklayout.c238 b->scsi.designator_len = ret; in nfsd4_block_get_unique_id()