Home
last modified time | relevance | path

Searched refs:arg_name (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-verity-verify-sig.h25 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
Ddm-verity-fec.h81 extern bool verity_is_fec_opt_arg(const char *arg_name);
84 const char *arg_name);
124 static inline bool verity_is_fec_opt_arg(const char *arg_name) in verity_is_fec_opt_arg() argument
132 const char *arg_name) in verity_fec_parse_opt_args() argument
Ddm-flakey.c52 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()
Ddm-verity-verify-sig.c25 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
Ddm-verity-target.c948 static inline bool verity_is_verity_mode(const char *arg_name) in verity_is_verity_mode() argument
950 return (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING) || in verity_is_verity_mode()
951 !strcasecmp(arg_name, DM_VERITY_OPT_RESTART) || in verity_is_verity_mode()
952 !strcasecmp(arg_name, DM_VERITY_OPT_PANIC)); in verity_is_verity_mode()
955 static int verity_parse_verity_mode(struct dm_verity *v, const char *arg_name) in verity_parse_verity_mode() argument
960 if (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING)) in verity_parse_verity_mode()
962 else if (!strcasecmp(arg_name, DM_VERITY_OPT_RESTART)) in verity_parse_verity_mode()
964 else if (!strcasecmp(arg_name, DM_VERITY_OPT_PANIC)) in verity_parse_verity_mode()
976 const char *arg_name; in verity_parse_opt_args() local
990 arg_name = dm_shift_arg(as); in verity_parse_opt_args()
[all …]
Ddm-verity-fec.c583 bool verity_is_fec_opt_arg(const char *arg_name) in verity_is_fec_opt_arg() argument
585 return (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV) || in verity_is_fec_opt_arg()
586 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS) || in verity_is_fec_opt_arg()
587 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_START) || in verity_is_fec_opt_arg()
588 !strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)); in verity_is_fec_opt_arg()
592 unsigned *argc, const char *arg_name) in verity_fec_parse_opt_args() argument
609 if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_DEV)) { in verity_fec_parse_opt_args()
616 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_BLOCKS)) { in verity_fec_parse_opt_args()
625 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_START)) { in verity_fec_parse_opt_args()
634 } else if (!strcasecmp(arg_name, DM_VERITY_OPT_FEC_ROOTS)) { in verity_fec_parse_opt_args()
Ddm-clone-target.c1545 const char *arg_name; in parse_feature_args() local
1563 arg_name = dm_shift_arg(as); in parse_feature_args()
1566 if (!strcasecmp(arg_name, "no_hydration")) { in parse_feature_args()
1568 } else if (!strcasecmp(arg_name, "no_discard_passdown")) { in parse_feature_args()
1584 const char *arg_name; in parse_core_args() local
1611 arg_name = dm_shift_arg(as); in parse_core_args()
1614 if (!strcasecmp(arg_name, "hydration_threshold")) { in parse_core_args()
1620 } else if (!strcasecmp(arg_name, "hydration_batch_size")) { in parse_core_args()
Ddm-mpath.c1106 const char *arg_name; in parse_features() local
1122 arg_name = dm_shift_arg(as); in parse_features()
1125 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1130 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1135 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1142 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features()
1149 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
Ddm-thin.c3115 const char *arg_name; in parse_pool_features() local
3132 arg_name = dm_shift_arg(as); in parse_pool_features()
3135 if (!strcasecmp(arg_name, "skip_block_zeroing")) in parse_pool_features()
3138 else if (!strcasecmp(arg_name, "ignore_discard")) in parse_pool_features()
3141 else if (!strcasecmp(arg_name, "no_discard_passdown")) in parse_pool_features()
3144 else if (!strcasecmp(arg_name, "read_only")) in parse_pool_features()
3147 else if (!strcasecmp(arg_name, "error_if_no_space")) in parse_pool_features()
Ddm-snap.c1187 const char *arg_name; in parse_snapshot_features() local
1204 arg_name = dm_shift_arg(as); in parse_snapshot_features()
1207 if (!strcasecmp(arg_name, "discard_zeroes_cow")) in parse_snapshot_features()
1210 else if (!strcasecmp(arg_name, "discard_passdown_origin")) in parse_snapshot_features()
/linux-5.19.10/kernel/trace/
Dtrace_events_user.c929 char *field_name, *arg_name; in user_field_match() local
938 arg_name = kmalloc(len, GFP_KERNEL); in user_field_match()
940 if (!arg_name || !field_name) in user_field_match()
947 pos += snprintf(arg_name + pos, len - pos, " "); in user_field_match()
949 pos += snprintf(arg_name + pos, len - pos, argv[i]); in user_field_match()
969 match = strcmp(arg_name, field_name) == 0; in user_field_match()
971 kfree(arg_name); in user_field_match()