Searched refs:gdev (Results 1 – 1 of 1) sorted by relevance
1579 struct nfsd4_getdeviceinfo *gdev) in nfsd4_decode_getdeviceinfo() argument1585 COPYMEM(&gdev->gd_devid, sizeof(struct nfsd4_deviceid)); in nfsd4_decode_getdeviceinfo()1586 gdev->gd_layout_type = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()1587 gdev->gd_maxcount = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()1593 gdev->gd_notify_types = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()4116 struct nfsd4_getdeviceinfo *gdev) in nfsd4_encode_getdeviceinfo() argument4127 *p++ = cpu_to_be32(gdev->gd_layout_type); in nfsd4_encode_getdeviceinfo()4129 ops = nfsd4_layout_ops[gdev->gd_layout_type]; in nfsd4_encode_getdeviceinfo()4130 nfserr = ops->encode_getdeviceinfo(xdr, gdev); in nfsd4_encode_getdeviceinfo()4137 if (xdr->buf->len + 4 > gdev->gd_maxcount) in nfsd4_encode_getdeviceinfo()[all …]