• Home
  • Raw
  • Download

Lines Matching refs:flags

87 			args->flags |= CLD_FLG_DUMP;  in fill_cld_args()
112 args->flags &= ~CLD_FLG_ALLDIE; in fill_cld_args()
115 args->flags |= CLD_FLG_ERR_MARK; in fill_cld_args()
118 args->flags &= ~CLD_FLG_ERR_REREAD; in fill_cld_args()
121 args->flags &= ~CLD_FLG_LBA_SYNC; in fill_cld_args()
124 args->flags |= CLD_FLG_IO_SERIAL; in fill_cld_args()
127 args->flags |= CLD_FLG_WRITE_ONCE; in fill_cld_args()
130 args->flags |= CLD_FLG_UNIQ_WRT; in fill_cld_args()
133 args->flags |= CLD_FLG_TMO_ERROR; in fill_cld_args()
151 if (args->flags & (CLD_FLG_LINEAR | CLD_FLG_RANDOM)) { in fill_cld_args()
158 args->flags |= CLD_FLG_LINEAR; in fill_cld_args()
160 args->flags |= in fill_cld_args()
163 args->flags |= CLD_FLG_RANDOM; in fill_cld_args()
165 args->flags |= in fill_cld_args()
173 if ((args->flags & (CLD_FLG_LINEAR)) && in fill_cld_args()
174 !(args->flags & CLD_FLG_LUND)) in fill_cld_args()
175 args->flags |= CLD_FLG_LUNU; in fill_cld_args()
177 if ((args->flags & (CLD_FLG_LINEAR)) && in fill_cld_args()
178 !(args->flags & CLD_FLG_LUNU)) in fill_cld_args()
179 args->flags |= CLD_FLG_LUND; in fill_cld_args()
188 args->flags |= CLD_FLG_RTRSIZ; in fill_cld_args()
234 if (args->flags & CLD_FLG_PTYPS) { in fill_cld_args()
240 args->flags |= CLD_FLG_CPTYPE; in fill_cld_args()
243 if (args->flags & CLD_FLG_PTYPS) { in fill_cld_args()
249 args->flags |= CLD_FLG_LPTYPE; in fill_cld_args()
257 if (args->flags & CLD_FLG_PTYPS) { in fill_cld_args()
264 args->flags |= CLD_FLG_FPTYPE; in fill_cld_args()
268 args->flags |= CLD_FLG_FSLIST; in fill_cld_args()
271 if (args->flags & CLD_FLG_PTYPS) { in fill_cld_args()
277 args->flags |= CLD_FLG_RPTYPE; in fill_cld_args()
291 args->flags |= CLD_FLG_HBEAT; in fill_cld_args()
315 args->flags |= CLD_FLG_DUTY; in fill_cld_args()
318 args->flags |= CLD_FLG_R; in fill_cld_args()
321 args->flags |= CLD_FLG_W; in fill_cld_args()
330 args->flags |= CLD_FLG_OFFSET; in fill_cld_args()
353 args->flags |= CLD_FLG_ALT_MARK; in fill_cld_args()
357 args->flags |= CLD_FLG_MBLK; in fill_cld_args()
364 args->flags |= CLD_FLG_MRK_LBA; in fill_cld_args()
367 args->flags |= CLD_FLG_MRK_PASS; in fill_cld_args()
370 args->flags |= CLD_FLG_MRK_TIME; in fill_cld_args()
373 args->flags |= CLD_FLG_MRK_SEED; in fill_cld_args()
376 args->flags |= CLD_FLG_MRK_HOST; in fill_cld_args()
379 args->flags |= CLD_FLG_MRK_TARGET; in fill_cld_args()
382 args->flags |= CLD_FLG_MRK_ALL; in fill_cld_args()
407 args->flags |= CLD_FLG_CMPR; in fill_cld_args()
430 args->flags |= CLD_FLG_VSIZ; in fill_cld_args()
453 if (!(args->flags & CLD_FLG_BLK) && in fill_cld_args()
454 !(args->flags & CLD_FLG_FILE)) { in fill_cld_args()
455 args->flags |= CLD_FLG_RAW; in fill_cld_args()
463 if (!(args->flags & CLD_FLG_RAW) && in fill_cld_args()
464 !(args->flags & CLD_FLG_FILE)) { in fill_cld_args()
465 args->flags |= CLD_FLG_BLK; in fill_cld_args()
473 if (!(args->flags & CLD_FLG_RAW) && in fill_cld_args()
474 !(args->flags & CLD_FLG_BLK)) { in fill_cld_args()
475 args->flags |= CLD_FLG_FILE; in fill_cld_args()
483 args->flags |= CLD_FLG_DIRECT; in fill_cld_args()
493 if ((args->flags & CLD_FLG_DIRECT)) { in fill_cld_args()
498 args->flags |= CLD_FLG_WFSYNC; in fill_cld_args()
551 args->flags |= CLD_FLG_TMD; in fill_cld_args()
567 args->flags |= CLD_FLG_SKS; in fill_cld_args()
594 args->flags |= CLD_FLG_CYC; in fill_cld_args()
624 args->flags |= CLD_FLG_XFERS; in fill_cld_args()
627 args->flags |= CLD_FLG_TPUTS; in fill_cld_args()
633 args->flags |= CLD_FLG_RUNT; in fill_cld_args()
636 args->flags |= CLD_FLG_PCYC; in fill_cld_args()
639 args->flags |= CLD_FLG_PRFTYPS; in fill_cld_args()
657 args->flags |= CLD_FLG_BLK_RNG; in fill_cld_args()
726 args->flags |= CLD_FLG_LBA_RNG; in fill_cld_args()
809 if (!(args->flags & CLD_FLG_IOTYPS)) { in make_assumptions()
817 args->flags |= CLD_FLG_FILE; in make_assumptions()
822 args->flags |= CLD_FLG_BLK; in make_assumptions()
828 args->flags |= CLD_FLG_RAW; in make_assumptions()
837 args->flags |= CLD_FLG_FILE; in make_assumptions()
840 if ((args->flags & CLD_FLG_WFSYNC) && (0 == args->sync_interval)) { in make_assumptions()
853 if (args->flags & CLD_FLG_LBA_RNG) { in make_assumptions()
858 if (args->flags & CLD_FLG_BLK_RNG) { in make_assumptions()
866 if ((args->vsiz <= 0) && (args->flags & CLD_FLG_FILE)) { in make_assumptions()
872 if ((args->vsiz <= 0) && !(args->flags & CLD_FLG_FILE)) { in make_assumptions()
877 && (args->flags & (CLD_FLG_LBA_RNG | CLD_FLG_BLK_RNG))) { in make_assumptions()
887 if (!(args->flags & CLD_FLG_VSIZ)) { in make_assumptions()
905 if ((args->flags & (CLD_FLG_W | CLD_FLG_R)) == 0) { in make_assumptions()
906 if (args->flags & CLD_FLG_DUTY) { /* no read/write but duty cycle specified */ in make_assumptions()
908 args->flags |= CLD_FLG_R; in make_assumptions()
914 args->flags |= CLD_FLG_W; in make_assumptions()
922 args->flags |= CLD_FLG_R; in make_assumptions()
925 if (!(args->flags & CLD_FLG_PTYPS)) { in make_assumptions()
928 args->flags |= CLD_FLG_CPTYPE; in make_assumptions()
930 if (!(args->flags & CLD_FLG_SKTYPS)) { in make_assumptions()
933 args->flags |= CLD_FLG_RANDOM; in make_assumptions()
935 if (!(args->flags & CLD_FLG_SKS)) { in make_assumptions()
938 } else if (args->flags & (CLD_FLG_BLK_RNG | CLD_FLG_LBA_RNG)) { /* range set, w/ no seek count */ in make_assumptions()
946 if ((args->flags & CLD_FLG_LINEAR) && (args->flags & CLD_FLG_R) in make_assumptions()
947 && (args->flags & CLD_FLG_W)) { in make_assumptions()
951 if (!(args->flags & CLD_FLG_TMD)) { in make_assumptions()
957 if (!(args->flags & (CLD_FLG_SKS | CLD_FLG_TMD)) in make_assumptions()
958 || ((args->flags & CLD_FLG_CYC) in make_assumptions()
959 && !(args->flags & (CLD_FLG_SKS | CLD_FLG_TMD)))) { in make_assumptions()
960 args->flags |= CLD_FLG_SKS; in make_assumptions()
962 if (args->flags & (CLD_FLG_LINEAR)) { in make_assumptions()
963 if (!(args->flags & (CLD_FLG_LUNU | CLD_FLG_LUND))) { in make_assumptions()
966 args->flags |= CLD_FLG_LUNU; in make_assumptions()
970 if (!(args->flags & CLD_FLG_DUTY) && (args->flags & CLD_FLG_RANDOM) in make_assumptions()
971 && !(args->flags & CLD_FLG_NTRLVD)) { in make_assumptions()
975 args->flags |= CLD_FLG_DUTY; in make_assumptions()
982 if (!(args->flags & CLD_FLG_OFFSET)) { in make_assumptions()
1001 if ((args->flags & CLD_FLG_DUTY) in check_conclusions()
1002 && ((args->flags & CLD_FLG_LINEAR) in check_conclusions()
1003 || (args->flags & CLD_FLG_NTRLVD))) { in check_conclusions()
1008 if ((args->flags & CLD_FLG_BLK_RNG) && (args->flags & CLD_FLG_RTRSIZ)) { in check_conclusions()
1034 if ((args->flags & CLD_FLG_TMD) == 0 && (args->seeks <= 0)) { in check_conclusions()
1038 if ((args->flags & CLD_FLG_SKS) && (args->t_kids > args->seeks)) { in check_conclusions()
1044 && !(args->flags & (CLD_FLG_BLK_RNG | CLD_FLG_LBA_RNG))) { in check_conclusions()
1050 && !(args->flags & (CLD_FLG_BLK_RNG | CLD_FLG_LBA_RNG))) { in check_conclusions()
1056 && !(args->flags & (CLD_FLG_BLK_RNG | CLD_FLG_LBA_RNG))) { in check_conclusions()
1061 && !(args->flags & (CLD_FLG_BLK_RNG | CLD_FLG_LBA_RNG))) { in check_conclusions()
1073 if ((args->flags & CLD_FLG_LBA_RNG) && (args->flags & CLD_FLG_BLK_RNG)) { in check_conclusions()
1083 if ((args->flags & CLD_FLG_FILE) && !IS_FILE(stat_buf.st_mode)) { in check_conclusions()
1089 if ((args->flags & CLD_FLG_BLK) && !IS_BLK(stat_buf.st_mode)) { in check_conclusions()
1096 if ((args->flags & CLD_FLG_RAW) && !S_ISCHR(stat_buf.st_mode)) { in check_conclusions()
1102 if (args->flags & CLD_FLG_RAW) { in check_conclusions()
1116 if ((args->hbeat > 0) && (args->flags & CLD_FLG_TMD) in check_conclusions()
1122 if ((args->hbeat > 0) && !(args->flags & CLD_FLG_PRFTYPS)) { in check_conclusions()
1127 if ((args->flags & CLD_FLG_W) && !(args->flags & CLD_FLG_R) in check_conclusions()
1128 && (args->flags & CLD_FLG_CMPR)) { in check_conclusions()
1131 if ((args->flags & CLD_FLG_TMD) && (args->flags & CLD_FLG_SKS)) { in check_conclusions()
1136 if (((args->flags & CLD_FLG_R) && !(args->flags & CLD_FLG_W)) in check_conclusions()
1137 && (args->flags & CLD_FLG_ERR_MARK)) { in check_conclusions()
1142 if (!(args->flags & CLD_FLG_ALLDIE) && (args->flags & CLD_FLG_ERR_MARK)) { in check_conclusions()
1147 if ((glb_flags & GLB_FLG_KILL) && !(args->flags & CLD_FLG_ALLDIE)) { in check_conclusions()
1152 if ((args->flags & CLD_FLG_LINEAR) && !(args->flags & CLD_FLG_NTRLVD) in check_conclusions()
1153 && (args->flags & CLD_FLG_TMD)) { in check_conclusions()
1157 if ((args->flags & CLD_FLG_CMPR) in check_conclusions()
1164 if ((args->flags & CLD_FLG_OFFSET) && (args->offset > args->stop_lba)) { in check_conclusions()
1168 if ((args->flags & CLD_FLG_OFFSET) in check_conclusions()