Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Ddm-inlinecrypt.c242 const char *opt_string; in inlinecrypt_ctr_optional() local
255 opt_string = dm_shift_arg(&as); in inlinecrypt_ctr_optional()
256 if (!opt_string) { in inlinecrypt_ctr_optional()
260 if (str_has_prefix(opt_string, "keytype:")) { in inlinecrypt_ctr_optional()
261 const char *val = opt_string + strlen("keytype:"); in inlinecrypt_ctr_optional()
276 } else if (!strcmp(opt_string, "allow_discards")) { in inlinecrypt_ctr_optional()
278 } else if (sscanf(opt_string, "sector_size:%u%c", in inlinecrypt_ctr_optional()
286 } else if (!strcmp(opt_string, "iv_large_sectors")) { in inlinecrypt_ctr_optional()
H A Ddm-integrity.c4898 const char *opt_string; in dm_integrity_ctr()
4902 opt_string = dm_shift_arg(&as); in dm_integrity_ctr()
4903 if (!opt_string) { in dm_integrity_ctr()
4908 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4910 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4912 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4914 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr()
4916 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4918 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr()
4923 r = dm_get_device(ti, strchr(opt_string, ' in dm_integrity_ctr()
4856 const char *opt_string; dm_integrity_ctr() local
[all...]
H A Ddm-crypt.c3085 const char *opt_string, *sval; in crypt_ctr_optional()
3098 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3099 if (!opt_string) { in crypt_ctr_optional()
3104 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3107 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3109 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional()
3112 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3114 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3116 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3118 else if (sscanf(opt_string, "integrit in crypt_ctr_optional()
3080 const char *opt_string, *sval; crypt_ctr_optional() local
[all...]