Searched refs:opt_string (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 3119 const char *opt_string, *sval; in crypt_ctr_optional() local 3132 opt_string = dm_shift_arg(&as); in crypt_ctr_optional() 3133 if (!opt_string) { in crypt_ctr_optional() 3138 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional() 3141 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional() 3143 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional() 3146 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional() 3148 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional() 3150 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional() 3152 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional() [all …]
|
| H A D | dm-integrity.c | 4755 const char *opt_string; in dm_integrity_ctr() local 4759 opt_string = dm_shift_arg(&as); in dm_integrity_ctr() 4760 if (!opt_string) { in dm_integrity_ctr() 4765 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4767 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4769 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4771 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr() 4773 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4775 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr() 4780 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr() [all …]
|