snapshot_req
enum snapshot_req;
enum snapshot_req dev_req; /* identify kernel structs */
enum snapshot_req dev_req; /* identify kernel structs */
const char *snapshot_req;
snapshot_req = NULL;
&snapshot_req, NULL);
assert(snapshot_req != NULL);
if (!strcmp(snapshot_req, dev_name)) {
enum snapshot_req req; /* request type */