Lines Matching refs:opt_string
3119 const char *opt_string, *sval; in crypt_ctr_optional() local
3132 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3133 if (!opt_string) { in crypt_ctr_optional()
3138 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3141 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3143 else if (!strcasecmp(opt_string, "high_priority")) in crypt_ctr_optional()
3146 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3148 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3150 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3152 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
3158 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
3169 } else if (sscanf(opt_string, "integrity_key_size:%u%c", &val, &dummy) == 1) { in crypt_ctr_optional()
3176 } else if (sscanf(opt_string, "sector_size:%hu%c", &cc->sector_size, &dummy) == 1) { in crypt_ctr_optional()
3188 } else if (!strcasecmp(opt_string, "iv_large_sectors")) in crypt_ctr_optional()