Lines Matching defs:gdev
1740 struct nfsd4_getdeviceinfo *gdev = &u->getdeviceinfo;
1743 memset(gdev, 0, sizeof(*gdev));
1744 status = nfsd4_decode_deviceid4(argp, &gdev->gd_devid);
1747 if (xdr_stream_decode_u32(argp->xdr, &gdev->gd_layout_type) < 0)
1749 if (xdr_stream_decode_u32(argp->xdr, &gdev->gd_maxcount) < 0)
1752 &gdev->gd_notify_types, 1) < 0)
4677 struct nfsd4_getdeviceinfo *gdev = &u->getdeviceinfo;
4687 *p++ = cpu_to_be32(gdev->gd_layout_type);
4689 ops = nfsd4_layout_ops[gdev->gd_layout_type];
4690 nfserr = ops->encode_getdeviceinfo(xdr, gdev);
4697 if (xdr->buf->len + 4 > gdev->gd_maxcount)
4702 if (gdev->gd_notify_types) {
4707 *p++ = cpu_to_be32(gdev->gd_notify_types);