Lines Matching defs:action
2683 /*action*/ SA_RPRT_TRGT_GRP,
2797 int action = -1;
2814 action = strtol(optarg, NULL, 0);
2821 if (action < 0 || action > 2) {
2822 warn("action must be specified and in the range: 0-2");
2841 /*action*/ action,
2859 switch (action) {
2871 warnx("%s: invalid action %d", __func__, action);
2903 int action = -1, restype = -1;
2921 action = strtol(optarg, NULL, 0);
2936 if (action < 0 || action > 5) {
2937 warn("action must be specified and in the range: 0-5");
2943 if (action != 0 && action != 5 && action != 3) {
2963 /*action*/ action,
4478 " ctladm prin [dev_id][general options] <-a action>\n"
4479 " ctladm prout [dev_id][general options] <-a action>\n"
4504 " ctladm inject [dev_id] <-i action> <-p pattern> [-r lba,len]\n"
4538 "-a action : specify the action value: 0-2 (read key, read\n"
4541 "-a action : specify the action value: 0-5 (register, reserve,\n"
4544 "-s sa_key : service action value\n"
4579 "-i error_action : action to perform\n"
4582 "-s len fmt [args] : sense data for custom sense action\n"