Home
last modified time | relevance | path

Searched refs:opt_string (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/md/
H A Ddm-integrity.c4597 const char *opt_string; in dm_integrity_ctr() local
4601 opt_string = dm_shift_arg(&as); in dm_integrity_ctr()
4602 if (!opt_string) { in dm_integrity_ctr()
4607 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4622 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr()
4661 } else if (!strcmp(opt_string, "recalculate")) { in dm_integrity_ctr()
4663 } else if (!strcmp(opt_string, "reset_recalculate")) { in dm_integrity_ctr()
4666 } else if (!strcmp(opt_string, "allow_discards")) { in dm_integrity_ctr()
4668 } else if (!strcmp(opt_string, "fix_padding")) { in dm_integrity_ctr()
4670 } else if (!strcmp(opt_string, "fix_hmac")) { in dm_integrity_ctr()
[all …]
H A Ddm-crypt.c3139 const char *opt_string, *sval; in crypt_ctr_optional() local
3152 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3153 if (!opt_string) { in crypt_ctr_optional()
3158 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3161 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3163 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional()
3166 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3168 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3170 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3172 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
[all …]