Lines Matching refs:opt_string
3139 const char *opt_string, *sval; in crypt_ctr_optional() local
3152 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3153 if (!opt_string) { in crypt_ctr_optional()
3158 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3161 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3163 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional()
3166 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3168 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3170 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3172 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
3178 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3189 } else if (sscanf(opt_string, "integrity_key_size:%u%c", &val, &dummy) == 1) { in crypt_ctr_optional()
3196 } else if (sscanf(opt_string, "sector_size:%hu%c", &cc->sector_size, &dummy) == 1) { in crypt_ctr_optional()
3208 } else if (!strcasecmp(opt_string, "iv_large_sectors")) in crypt_ctr_optional()