Lines Matching defs:req
44 gv_move(struct g_geom *gp, struct gctl_req *req)
54 argc = gctl_get_paraml(req, "argc", sizeof(*argc));
56 gctl_error(req, "no arguments given");
59 flags = gctl_get_paraml(req, "flags", sizeof(*flags));
61 gctl_error(req, "no flags given");
64 destination = gctl_get_param(req, "destination", NULL);
66 gctl_error(req, "no destination given");
70 gctl_error(req, "destination '%s' is not a drive", destination);
81 object = gctl_get_param(req, buf, NULL);
87 gctl_error(req, "you can only move subdisks; "
94 gctl_error(req, "unknown subdisk '%s'", object);