Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Ddm-integrity.c4060 const char *opt_string; in dm_integrity_ctr() local
4063 opt_string = dm_shift_arg(&as); in dm_integrity_ctr()
4064 if (!opt_string) { in dm_integrity_ctr()
4069 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4071 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4073 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4075 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr()
4077 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4079 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr()
4084 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr()
[all …]
Ddm-crypt.c3072 const char *opt_string, *sval; in crypt_ctr_optional() local
3085 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3086 if (!opt_string) { in crypt_ctr_optional()
3091 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3094 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3097 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3099 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3101 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3103 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
3109 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
[all …]