Lines Matching refs:npa_argv

779 	npa.npa_argv = &argv[optind];  in main()
785 npa.npa_argv += optind; in main()
800 ctrl = npa.npa_argv[0]; in main()
801 npa.npa_argv++; in main()
988 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":co:p")) != -1) { in optparse_list()
1095 npa->npa_cmd->c_name, npa->npa_argv[0]); in do_list()
1184 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":Cacn")) != -1) { in optparse_identify_ctrl()
1229 npa->npa_cmd->c_name, npa->npa_argv[0]); in do_identify_ctrl()
1362 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":cd")) != -1) { in optparse_identify_ns()
1399 npa->npa_cmd->c_name, npa->npa_argv[0]); in do_identify_ns()
1496 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":Cacdn")) != -1) { in optparse_identify()
1564 npa->npa_cmd->c_name, npa->npa_argv[0]); in do_identify()
1603 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":aHo:ps:")) != -1) { in optparse_list_logs()
1671 nll->nll_filts = npa->npa_argv + optind + 1; in optparse_list_logs()
1816 "determine log length", npa->npa_argv[0]); in do_get_logpage_size()
1821 npa->npa_argv[0]); in do_get_logpage_size()
1888 "release the event log context", npa->npa_argv[0]); in do_get_logpage_pev_relctx()
1995 npa->npa_argv[0]); in do_get_logpage_common()
2051 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":O:")) != -1) { in optparse_get_logpage()
2082 return (do_get_logpage_common(npa, npa->npa_argv[0])); in do_get_logpage()
2102 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":aHo:p")) != -1) { in optparse_list_features()
2143 feat->nf_filts = npa->npa_argv + optind + 1; in optparse_list_features()
2723 fstr = strdup(npa->npa_argv[0]); in do_get_features()
2837 lba = strtoul(npa->npa_argv[0], NULL, 10); in do_format_determine_lbaf()
2839 errx(-1, "invalid LBA format %s", npa->npa_argv[0]); in do_format_determine_lbaf()
2889 npa->npa_cmd->c_name, npa->npa_argv[1]); in do_format()
2909 while ((c = getopt(npa->npa_argc, npa->npa_argv, ":c")) != -1) { in optparse_secure_erase()
2933 npa->npa_cmd->c_name, npa->npa_argv[0]); in do_secure_erase()
3088 err(-1, "Error reading \"%s\"", npa->npa_argv[0]); in read_block()
3132 npa->npa_cmd->c_name, npa->npa_argv[2]); in do_firmware_load()
3143 offset = get_fw_offsetb(npa->npa_argv[1]); in do_firmware_load()
3145 fw_fd = open(npa->npa_argv[0], O_RDONLY); in do_firmware_load()
3147 errx(-1, "Failed to open \"%s\": %s", npa->npa_argv[0], in do_firmware_load()
3159 "\"%s\" at offset %" PRIu64, npa->npa_argv[0], in do_firmware_load()
3264 npa->npa_cmd->c_name, npa->npa_argv[1]); in do_firmware_commit()
3273 slot = get_slot_number(npa->npa_argv[0]); in do_firmware_commit()
3302 npa->npa_cmd->c_name, npa->npa_argv[1]); in do_firmware_activate()
3311 slot = get_slot_number(npa->npa_argv[0]); in do_firmware_activate()