Searched refs:opt_string (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-integrity.c | 3897 const char *opt_string; in dm_integrity_ctr() local 3900 opt_string = dm_shift_arg(&as); in dm_integrity_ctr() 3901 if (!opt_string) { in dm_integrity_ctr() 3906 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 3908 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 3910 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 3912 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr() 3914 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 3916 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr() 3921 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr() [all …]
|
| D | dm-crypt.c | 3052 const char *opt_string, *sval; in crypt_ctr_optional() local 3065 opt_string = dm_shift_arg(&as); in crypt_ctr_optional() 3066 if (!opt_string) { in crypt_ctr_optional() 3071 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional() 3074 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional() 3077 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional() 3079 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional() 3081 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional() 3083 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional() 3089 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional() [all …]
|