Lines Matching refs:opt_string
3160 const char *opt_string, *sval; in crypt_ctr_optional() local
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, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
3199 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3210 } else if (sscanf(opt_string, "integrity_key_size:%u%c", &val, &dummy) == 1) { in crypt_ctr_optional()
3217 } else if (sscanf(opt_string, "sector_size:%hu%c", &cc->sector_size, &dummy) == 1) { in crypt_ctr_optional()
3229 } else if (!strcasecmp(opt_string, "iv_large_sectors")) in crypt_ctr_optional()