Searched refs:opt_string (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/md/ |
| H A D | dm-inlinecrypt.c | 242 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 D | dm-integrity.c | 4923 const char *opt_string; in dm_integrity_ctr() 4927 opt_string = dm_shift_arg(&as); in dm_integrity_ctr() 4928 if (!opt_string) { in dm_integrity_ctr() 4933 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4935 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4937 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4939 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr() 4941 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr() 4943 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr() 4948 r = dm_get_device(ti, strchr(opt_string, ' in dm_integrity_ctr() 4898 const char *opt_string; dm_integrity_ctr() local [all...] |
| H A D | dm-crypt.c | 3110 const char *opt_string, *sval; in crypt_ctr_optional() 3123 opt_string = dm_shift_arg(&as); in crypt_ctr_optional() 3124 if (!opt_string) { in crypt_ctr_optional() 3129 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional() 3132 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional() 3134 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional() 3137 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional() 3139 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional() 3141 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional() 3143 else if (sscanf(opt_string, "integrit in crypt_ctr_optional() 3085 const char *opt_string, *sval; crypt_ctr_optional() local [all...] |