Lines Matching refs:gdev
1532 struct nfsd4_getdeviceinfo *gdev) in nfsd4_decode_getdeviceinfo() argument
1538 COPYMEM(&gdev->gd_devid, sizeof(struct nfsd4_deviceid)); in nfsd4_decode_getdeviceinfo()
1539 gdev->gd_layout_type = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
1540 gdev->gd_maxcount = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
1544 gdev->gd_notify_types = be32_to_cpup(p++); in nfsd4_decode_getdeviceinfo()
4041 struct nfsd4_getdeviceinfo *gdev) in nfsd4_encode_getdeviceinfo() argument
4045 nfsd4_layout_ops[gdev->gd_layout_type]; in nfsd4_encode_getdeviceinfo()
4058 *p++ = cpu_to_be32(gdev->gd_layout_type); in nfsd4_encode_getdeviceinfo()
4061 if (gdev->gd_maxcount != 0) { in nfsd4_encode_getdeviceinfo()
4062 nfserr = ops->encode_getdeviceinfo(xdr, gdev); in nfsd4_encode_getdeviceinfo()
4069 if (xdr->buf->len + 4 > gdev->gd_maxcount) in nfsd4_encode_getdeviceinfo()
4076 if (gdev->gd_notify_types) { in nfsd4_encode_getdeviceinfo()
4081 *p++ = cpu_to_be32(gdev->gd_notify_types); in nfsd4_encode_getdeviceinfo()
4091 kfree(gdev->gd_device); in nfsd4_encode_getdeviceinfo()