Lines Matching defs:action

704 	 * queueing is turned off, the tag action is a no-op.
2571 int error, confirm, quiet, c, action, actions, setpwd, persist;
2585 /* default action is to print hpa information */
2586 action = ATA_HPA_ACTION_PRINT;
2592 action = ATA_HPA_ACTION_SET_MAX;
2600 action = ATA_HPA_ACTION_SET_PWD;
2606 action = ATA_HPA_ACTION_LOCK;
2614 action = ATA_HPA_ACTION_UNLOCK;
2620 action = ATA_HPA_ACTION_FREEZE_LOCK;
2667 if (action == ATA_HPA_ACTION_PRINT) {
2699 switch(action) {
2768 int error, confirm, quiet, c, action, actions, setpwd;
2780 /* default action is to print security information */
2781 action = ATA_SECURITY_ACTION_PRINT;
2790 action = ATA_SECURITY_ACTION_FREEZE;
2825 action = ATA_SECURITY_ACTION_UNLOCK;
2832 action = ATA_SECURITY_ACTION_DISABLE;
2839 action = ATA_SECURITY_ACTION_ERASE;
2847 action = ATA_SECURITY_ACTION_ERASE_ENHANCED;
2855 if (action == ATA_SECURITY_ACTION_PRINT)
2856 action = ATA_SECURITY_ACTION_SET_PASSWORD;
2858 * Don't increment action as this can be combined
2899 if (action == ATA_SECURITY_ACTION_PRINT) {
2922 (action == ATA_SECURITY_ACTION_ERASE_ENHANCED ||
2923 action == ATA_SECURITY_ACTION_ERASE) &&
2947 switch(action) {
5827 u_int8_t action = 0;
5858 action = SSZ_SERVICE_ACTION_OVERWRITE;
5860 action = SSZ_SERVICE_ACTION_BLOCK_ERASE;
5862 action = SSZ_SERVICE_ACTION_CRYPTO_ERASE;
5864 action = SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE;
5907 if (action == 0) {
5908 warnx("an action is required");
5911 } else if (action == SSZ_SERVICE_ACTION_OVERWRITE) {
5917 warnx("overwrite action requires -P argument");
6039 byte2 = action;
8120 " camcontrol persist [dev_id][generic args] <-i action|-o action>\n"
8123 " camcontrol attrib [dev_id][generic args] <-r action|-w attr>\n"
8301 "-i action specify read_keys, read_reservation, report_cap, or\n"
8303 "-o action specify register, register_ignore, reserve, release,\n"
8317 "-r action specify attr_values, attr_list, lv_list, part_list, or\n"