Home
last modified time | relevance | path

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

/linux-6.6.21/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-flakey.c58 const char *arg_name; in parse_features() local
77 arg_name = dm_shift_arg(as); in parse_features()
80 if (!arg_name) { in parse_features()
88 if (!strcasecmp(arg_name, "error_reads")) { in parse_features()
99 if (!strcasecmp(arg_name, "drop_writes")) { in parse_features()
114 if (!strcasecmp(arg_name, "error_writes")) { in parse_features()
130 if (!strcasecmp(arg_name, "corrupt_bio_byte")) { in parse_features()
144 arg_name = dm_shift_arg(as); in parse_features()
145 if (arg_name && !strcasecmp(arg_name, "w")) in parse_features()
147 else if (arg_name && !strcasecmp(arg_name, "r")) in parse_features()
[all …]
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-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.c1087 static inline bool verity_is_verity_mode(const char *arg_name) in verity_is_verity_mode() argument
1089 return (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING) || in verity_is_verity_mode()
1090 !strcasecmp(arg_name, DM_VERITY_OPT_RESTART) || in verity_is_verity_mode()
1091 !strcasecmp(arg_name, DM_VERITY_OPT_PANIC)); in verity_is_verity_mode()
1094 static int verity_parse_verity_mode(struct dm_verity *v, const char *arg_name) in verity_parse_verity_mode() argument
1099 if (!strcasecmp(arg_name, DM_VERITY_OPT_LOGGING)) in verity_parse_verity_mode()
1101 else if (!strcasecmp(arg_name, DM_VERITY_OPT_RESTART)) in verity_parse_verity_mode()
1103 else if (!strcasecmp(arg_name, DM_VERITY_OPT_PANIC)) in verity_parse_verity_mode()
1116 const char *arg_name; in verity_parse_opt_args() local
1130 arg_name = dm_shift_arg(as); in verity_parse_opt_args()
[all …]
Ddm-verity-fec.c584 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 int *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()
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.c1114 const char *arg_name; in parse_features() local
1130 arg_name = dm_shift_arg(as); in parse_features()
1133 if (!strcasecmp(arg_name, "queue_if_no_path")) { in parse_features()
1138 if (!strcasecmp(arg_name, "retain_attached_hw_handler")) { in parse_features()
1143 if (!strcasecmp(arg_name, "pg_init_retries") && in parse_features()
1150 if (!strcasecmp(arg_name, "pg_init_delay_msecs") && in parse_features()
1157 if (!strcasecmp(arg_name, "queue_mode") && in parse_features()
Ddm-thin.c3150 const char *arg_name; in parse_pool_features() local
3167 arg_name = dm_shift_arg(as); in parse_pool_features()
3170 if (!strcasecmp(arg_name, "skip_block_zeroing")) in parse_pool_features()
3173 else if (!strcasecmp(arg_name, "ignore_discard")) in parse_pool_features()
3176 else if (!strcasecmp(arg_name, "no_discard_passdown")) in parse_pool_features()
3179 else if (!strcasecmp(arg_name, "read_only")) in parse_pool_features()
3182 else if (!strcasecmp(arg_name, "error_if_no_space")) in parse_pool_features()
Ddm-snap.c1188 const char *arg_name; in parse_snapshot_features() local
1205 arg_name = dm_shift_arg(as); in parse_snapshot_features()
1208 if (!strcasecmp(arg_name, "discard_zeroes_cow")) in parse_snapshot_features()
1211 else if (!strcasecmp(arg_name, "discard_passdown_origin")) in parse_snapshot_features()
/linux-6.6.21/kernel/bpf/
Dbtf.c8537 const char *reg_name, *arg_name, *search_needle; in btf_type_ids_nocast_alias() local
8551 arg_name = btf_name_by_offset(arg_btf, arg_type->name_off); in btf_type_ids_nocast_alias()
8554 arg_len = strlen(arg_name); in btf_type_ids_nocast_alias()
8571 search_needle = strstr(arg_name, NOCAST_ALIAS_SUFFIX); in btf_type_ids_nocast_alias()
8585 return !strncmp(reg_name, arg_name, cmp_len); in btf_type_ids_nocast_alias()
/linux-6.6.21/tools/net/ynl/
Dynl-gen-c.py1351 def _put_enum_to_str_helper(cw, render_name, map_name, arg_name, enum=None): argument