Home
last modified time | relevance | path

Searched defs:opts_t (Results 1 – 25 of 26) sorted by relevance

12

/external/sg3_utils/src/
Dsg_vpd_common.h128 struct opts_t { struct
129 enum sg_vpd_invoker_e invoker; /* indicates if for sg_inq or sg_vpd */
130 bool do_all; /* sg_vpd */
131 bool do_ata; /* sg_inq */
132 bool do_decode; /* sg_inq */
133 bool do_descriptors; /* sg_inq */
134 bool do_enum; /* sg_enum */
135 bool do_export; /* sg_inq */
136 bool do_force; /* sg_inq + sg_vpd */
137 bool do_only; /* sg_inq: --only after stdinq: don't fetch VPD page 0x80 */
[all …]
Dsg_decode_sense.c62 struct opts_t { struct
63 bool do_binary;
64 bool do_cdb;
65 bool do_help;
66 bool no_decode;
67 bool no_space;
68 bool do_status;
69 bool verbose_given;
70 bool version_given;
71 bool err_given;
[all …]
Dsg_start.c61 struct opts_t { struct
62 bool do_eject;
63 bool do_immed;
64 bool do_load;
65 bool do_loej;
66 bool do_noflush;
67 bool do_readonly;
68 bool do_start;
69 bool do_stop;
70 bool opt_new;
[all …]
Dsg_raw.c76 struct opts_t { struct
77 bool cmdfile_given;
78 bool do_datain;
79 bool datain_binary;
80 bool do_dataout;
81 bool do_enumerate;
82 bool no_sense;
83 bool do_nvm; /* the NVMe command set: NVM containing its READ+WRITE */
84 bool do_help;
85 bool verbose_given;
[all …]
Dsg_write_x.c133 struct opts_t { struct
134 bool do_16; /* default when --32 not given */
135 bool do_32;
136 bool do_anchor; /* from --unmap=U_A , bit 1; WRITE SAME */
137 bool do_atomic; /* selects WRITE ATOMIC(16 or 32) */
139 bool do_combined; /* -c DOF --> .scat_lbdof */
140 bool do_or; /* -O ORWRITE(16 or 32) */
141 bool do_quiet; /* -Q suppress some messages */
142 bool do_scat_raw;
143 bool do_same; /* -M WRITE SAME(16 or 32) */
[all …]
Dsg_write_same.c85 struct opts_t { struct
86 bool anchor;
87 bool ff;
88 bool ndob;
89 bool lbdata;
90 bool pbdata;
91 bool unmap;
92 bool verbose_given;
93 bool version_given;
94 bool want_ws10;
[all …]
Dsg_sanitize.c82 struct opts_t { struct
83 bool ause;
84 bool block;
85 bool crypto;
86 bool desc;
87 bool dry_run;
88 bool early;
89 bool fail;
90 bool invert;
91 bool overwrite;
[all …]
Dsg_read_buffer.c91 struct opts_t { struct
92 bool do_long;
93 bool o_readonly;
94 bool do_raw;
95 bool eh_code_given;
96 bool no_output;
97 bool rb_id_given;
98 bool rb_len_given;
99 bool rb_mode_given;
100 bool verbose_given;
[all …]
Dsg_readcap.c64 struct opts_t { struct
65 bool do_brief;
66 bool do_long;
67 bool do_pmi;
68 bool do_raw;
69 bool o_readonly;
70 bool do_zbc;
71 bool opt_new;
72 bool verbose_given;
73 bool version_given;
[all …]
Dsg_format.c71 struct opts_t { struct
72 bool cmplst; /* -C value */
73 bool cmplst_given;
74 bool dry_run; /* -d */
75 bool early; /* -e */
76 bool fmtmaxlba; /* -b (only with F_WITH_PRESET) */
77 bool fwait; /* -w (negated form IMMED) */
78 bool ip_def; /* -I */
79 bool long_lba; /* -l */
80 bool mode6; /* -6 */
[all …]
Dsg_z_act_query.c53 struct opts_t { struct
54 bool do_all;
55 bool do_activate;
56 bool do_force;
57 bool do_query;
58 bool do_raw;
59 bool maxlen_given;
60 uint8_t other_zdid;
61 uint16_t max_alloc;
62 uint16_t num_zones;
[all …]
Dsg_senddiag.c64 struct opts_t { struct
65 bool do_deftest;
66 bool do_doff;
67 bool do_extdur;
68 bool do_list;
69 bool do_pf;
70 bool do_raw;
71 bool do_uoff;
72 bool opt_new;
73 bool verbose_given;
[all …]
Dsg_rbuf.c78 struct opts_t { struct
79 bool do_dio;
80 bool do_echo;
81 bool do_mmap;
82 bool do_quick;
83 bool do_time;
84 bool verbose_given;
85 bool version_given;
86 bool opt_new;
87 int do_buffer;
[all …]
Dsg_persist.c62 struct opts_t { struct
63 bool inquiry; /* set true by default (unlike most bools) */
64 bool param_alltgpt;
65 bool param_aptpl;
66 bool param_unreg;
67 bool pr_in; /* true: PR_IN (def); false: PR_OUT */
68 bool readonly;
69 bool readwrite_force;/* set when '-yy' given. Ooverrides environment
71 bool verbose_given;
72 bool version_given;
[all …]
Dsg_sat_read_gplog.c59 struct opts_t { struct
60 bool ck_cond;
61 bool rdonly;
62 int cdb_len;
63 int count;
64 int hex;
65 int la; /* log address */
66 int pn; /* page number within log address */
67 int verbose;
68 const char * device_name;
Dsg_modes.c50 struct opts_t { struct
51 bool do_dbd;
52 bool do_dbout;
53 bool do_examine;
54 bool do_flexible;
55 bool do_list;
56 bool do_llbaa;
57 bool do_six;
58 bool o_readwrite;
59 bool subpg_code_given;
[all …]
Dsg_compare_and_write.c103 struct opts_t { struct
104 bool quiet;
105 bool verbose_given;
106 bool version_given;
107 bool wfn_given;
108 int numblocks;
109 int verbose;
110 int timeout;
111 int xfer_len;
112 uint64_t lba;
[all …]
Dsg_turs.c69 struct opts_t { struct
70 bool delay_given;
71 bool do_low;
72 bool do_progress;
73 bool do_time;
74 bool opts_new;
75 bool verbose_given;
76 bool version_given;
77 int delay;
78 int do_help;
[all …]
Dsg_ses_microcode.c58 struct opts_t { struct
59 bool dry_run;
60 bool ealsd;
61 bool mc_non;
62 bool bpw_then_activate;
63 bool mc_len_given;
64 int bpw; /* bytes per write, chunk size */
65 int mc_id;
66 int mc_len; /* --length=LEN */
67 int mc_mode;
[all …]
Dsg_opcodes.c85 struct opts_t { struct
86 bool do_alpha;
87 bool do_compact;
88 bool do_enumerate;
89 bool no_inquiry;
90 bool do_mask;
91 bool do_mlu;
92 bool do_raw;
93 bool do_rctd; /* Return command timeout descriptor */
94 bool do_repd;
[all …]
Dsg_read_attr.c67 struct opts_t { struct
68 bool cache;
69 bool enumerate;
70 bool do_raw;
71 bool o_readonly;
72 bool verbose_given;
73 bool version_given;
74 int elem_addr;
75 int filter;
76 int fai;
[all …]
Dsgp_dd.c146 struct opts_t struct
148 int infd;
149 int64_t skip;
150 int in_type;
151 int cdbsz_in;
152 struct flags_t in_flags;
153 int64_t in_blk; /* next block address to read */
154 int64_t in_count; /* blocks remaining for next read */
155 int64_t in_rem_count; /* count of remaining in blocks */
156 int in_partial;
[all …]
Dsg_rep_zones.c64 struct opts_t { struct
65 bool do_brief;
66 bool do_force;
67 bool do_partial;
68 bool do_raw;
69 bool do_realms;
70 bool do_zdomains;
71 bool maxlen_given;
72 bool o_readonly;
73 bool statistics;
[all …]
Dsg_ses.c138 struct opts_t { struct
139 bool byte1_given; /* true if -b B1 or --byte1=B1 given */
140 bool do_control; /* want to write to DEVICE */
141 bool do_data; /* flag if --data= option has been used */
142 bool do_list;
143 bool do_status; /* want to read from DEVICE (or user data) */
144 bool eiioe_auto; /* Element Index Includes Overall (status) Element */
145 bool eiioe_force;
146 bool ind_given; /* '--index=...' or '-I ...' */
147 bool inner_hex;
[all …]
/external/sg3_utils/testing/
Dsg_tst_async.cpp184 struct opts_t { struct
185 vector<const char *> dev_names;
186 vector<int> blk_szs;
187 bool block;
188 bool cmd_time;
189 bool direct;
190 bool excl;
191 bool generic_sync;
192 bool masync;
193 bool mmap_io;
[all …]

12