Lines Matching refs:gdev
1531 struct nfsd4_getdeviceinfo *gdev) in nfsd4_decode_getdeviceinfo() argument
1537 COPYMEM(&gdev->gd_devid, sizeof(struct nfsd4_deviceid)); in nfsd4_decode_getdeviceinfo()
1538 gdev->gd_layout_type = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
1539 gdev->gd_maxcount = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
1543 gdev->gd_notify_types = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
4021 struct nfsd4_getdeviceinfo *gdev) in nfsd4_encode_getdeviceinfo() argument
4025 nfsd4_layout_ops[gdev->gd_layout_type]; in nfsd4_encode_getdeviceinfo()
4038 *p++ = cpu_to_be32(gdev->gd_layout_type); in nfsd4_encode_getdeviceinfo()
4041 if (gdev->gd_maxcount != 0) { in nfsd4_encode_getdeviceinfo()
4042 nfserr = ops->encode_getdeviceinfo(xdr, gdev); in nfsd4_encode_getdeviceinfo()
4049 if (xdr->buf->len + 4 > gdev->gd_maxcount) in nfsd4_encode_getdeviceinfo()
4056 if (gdev->gd_notify_types) { in nfsd4_encode_getdeviceinfo()
4061 *p++ = cpu_to_be32(gdev->gd_notify_types); in nfsd4_encode_getdeviceinfo()
4071 kfree(gdev->gd_device); in nfsd4_encode_getdeviceinfo()