Searched refs:opt_string (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/md/ |
H A D | dm-integrity.c | 4598 const char *opt_string; in dm_integrity_ctr() local 4602 opt_string = dm_shift_arg(&as); in dm_integrity_ctr() 4603 if (!opt_string) { in dm_integrity_ctr() 4608 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4610 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4612 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4614 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr() 4616 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4618 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr() 4623 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr() [all …]
|
H A D | dm-crypt.c | 3160 const char *opt_string, *sval; in crypt_ctr_cipher() 3173 opt_string = dm_shift_arg(&as); in crypt_ctr_optional() 3174 if (!opt_string) { in crypt_ctr_optional() 3179 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional() 3182 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional() 3184 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional() 3187 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional() 3189 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional() 3191 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional() 3193 else if (sscanf(opt_string, "integrit in crypt_ctr_optional() 3170 const char *opt_string, *sval; crypt_ctr_optional() local [all...] |