/Linux-v5.10/drivers/md/ |
D | dm-verity-verify-sig.h | 25 bool verity_verify_is_sig_opt_arg(const char *arg_name); 29 unsigned int *argc, const char *arg_name); 43 static inline bool verity_verify_is_sig_opt_arg(const char *arg_name) in verity_verify_is_sig_opt_arg() argument 50 unsigned int *argc, const char *arg_name) in verity_verify_sig_parse_opt_args() argument
|
D | dm-verity-fec.h | 80 extern bool verity_is_fec_opt_arg(const char *arg_name); 83 const char *arg_name); 123 static inline bool verity_is_fec_opt_arg(const char *arg_name) in verity_is_fec_opt_arg() argument 131 const char *arg_name) in verity_fec_parse_opt_args() argument
|
D | dm-flakey.c | 52 const char *arg_name; in parse_features() local 70 arg_name = dm_shift_arg(as); in parse_features() 73 if (!arg_name) { in parse_features() 81 if (!strcasecmp(arg_name, "drop_writes")) { in parse_features() 96 if (!strcasecmp(arg_name, "error_writes")) { in parse_features() 112 if (!strcasecmp(arg_name, "corrupt_bio_byte")) { in parse_features() 126 arg_name = dm_shift_arg(as); in parse_features() 127 if (!strcasecmp(arg_name, "w")) in parse_features() 129 else if (!strcasecmp(arg_name, "r")) in parse_features()
|
D | dm-verity-verify-sig.c | 25 bool verity_verify_is_sig_opt_arg(const char *arg_name) in verity_verify_is_sig_opt_arg() argument 27 return (!strcasecmp(arg_name, in verity_verify_is_sig_opt_arg() 71 const char *arg_name) in verity_verify_sig_parse_opt_args() argument
|
D | dm-verity-fec.c | 584 bool verity_is_fec_opt_arg(const char *arg_name) in verity_is_fec_opt_arg() argument 586 return (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV) || in verity_is_fec_opt_arg() 587 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS) || in verity_is_fec_opt_arg() 588 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_START) || in verity_is_fec_opt_arg() 589 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)); in verity_is_fec_opt_arg() 593 unsigned *argc, const char *arg_name) in verity_fec_parse_opt_args() argument 610 if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV)) { in verity_fec_parse_opt_args() 617 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS)) { in verity_fec_parse_opt_args() 626 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_START)) { in verity_fec_parse_opt_args() 635 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)) { in verity_fec_parse_opt_args()
|
D | dm-verity-target.c | 892 const char *arg_name; in verity_parse_opt_args() local 906 arg_name = dm_shift_arg(as); in verity_parse_opt_args() 909 if (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING)) { in verity_parse_opt_args() 913 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_RESTART)) { in verity_parse_opt_args() 917 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_PANIC)) { in verity_parse_opt_args() 921 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_IGN_ZEROES)) { in verity_parse_opt_args() 929 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_AT_MOST_ONCE)) { in verity_parse_opt_args() 935 } else if (verity_is_fec_opt_arg(arg_name)) { in verity_parse_opt_args() 936 r = verity_fec_parse_opt_args(as, v, &argc, arg_name); in verity_parse_opt_args() 940 } else if (verity_verify_is_sig_opt_arg(arg_name)) { in verity_parse_opt_args() [all …]
|
D | dm-clone-target.c | 1550 const char *arg_name; in parse_feature_args() local 1568 arg_name = dm_shift_arg(as); in parse_feature_args() 1571 if (!strcasecmp(arg_name, "no_hydration")) { in parse_feature_args() 1573 } else if (!strcasecmp(arg_name, "no_discard_passdown")) { in parse_feature_args() 1589 const char *arg_name; in parse_core_args() local 1616 arg_name = dm_shift_arg(as); in parse_core_args() 1619 if (!strcasecmp(arg_name, "hydration_threshold")) { in parse_core_args() 1625 } else if (!strcasecmp(arg_name, "hydration_batch_size")) { in parse_core_args()
|
D | dm-mpath.c | 1105 const char *arg_name; in parse_features() local 1121 arg_name = dm_shift_arg(as); in parse_features() 1124 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features() 1129 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features() 1134 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features() 1141 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features() 1148 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
|
D | dm-thin.c | 3135 const char *arg_name; in parse_pool_features() local 3152 arg_name = dm_shift_arg(as); in parse_pool_features() 3155 if (!strcasecmp(arg_name, "skip_block_zeroing")) in parse_pool_features() 3158 else if (!strcasecmp(arg_name, "ignore_discard")) in parse_pool_features() 3161 else if (!strcasecmp(arg_name, "no_discard_passdown")) in parse_pool_features() 3164 else if (!strcasecmp(arg_name, "read_only")) in parse_pool_features() 3167 else if (!strcasecmp(arg_name, "error_if_no_space")) in parse_pool_features()
|
D | dm-snap.c | 1181 const char *arg_name; in parse_snapshot_features() local 1198 arg_name = dm_shift_arg(as); in parse_snapshot_features() 1201 if (!strcasecmp(arg_name, "discard_zeroes_cow")) in parse_snapshot_features() 1204 else if (!strcasecmp(arg_name, "discard_passdown_origin")) in parse_snapshot_features()
|