| /external/sg3_utils/src/ |
| D | sg_vpd_common.h | 128 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 …]
|
| D | sg_decode_sense.c | 62 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 …]
|
| D | sg_start.c | 61 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 …]
|
| D | sg_raw.c | 76 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 …]
|
| D | sg_write_x.c | 133 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 …]
|
| D | sg_write_same.c | 85 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 …]
|
| D | sg_sanitize.c | 82 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 …]
|
| D | sg_read_buffer.c | 91 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 …]
|
| D | sg_readcap.c | 64 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 …]
|
| D | sg_format.c | 71 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 …]
|
| D | sg_z_act_query.c | 53 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 …]
|
| D | sg_senddiag.c | 64 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 …]
|
| D | sg_rbuf.c | 78 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 …]
|
| D | sg_persist.c | 62 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 …]
|
| D | sg_sat_read_gplog.c | 59 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;
|
| D | sg_modes.c | 50 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 …]
|
| D | sg_compare_and_write.c | 103 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 …]
|
| D | sg_turs.c | 69 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 …]
|
| D | sg_ses_microcode.c | 58 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 …]
|
| D | sg_opcodes.c | 85 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 …]
|
| D | sg_read_attr.c | 67 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 …]
|
| D | sgp_dd.c | 146 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 …]
|
| D | sg_rep_zones.c | 64 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 …]
|
| D | sg_ses.c | 138 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/ |
| D | sg_tst_async.cpp | 184 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 …]
|