Lines Matching defs:req
43 gv_move(struct g_geom *gp, struct gctl_req *req)
53 argc = gctl_get_paraml(req, "argc", sizeof(*argc));
55 gctl_error(req, "no arguments given");
58 flags = gctl_get_paraml(req, "flags", sizeof(*flags));
60 gctl_error(req, "no flags given");
63 destination = gctl_get_param(req, "destination", NULL);
65 gctl_error(req, "no destination given");
69 gctl_error(req, "destination '%s' is not a drive", destination);
80 object = gctl_get_param(req, buf, NULL);
86 gctl_error(req, "you can only move subdisks; "
93 gctl_error(req, "unknown subdisk '%s'", object);