Lines Matching defs:opt_string

4898 		const char *opt_string;
4902 opt_string = dm_shift_arg(&as);
4903 if (!opt_string) {
4908 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1)
4910 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1)
4912 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1)
4914 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100)
4916 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1)
4918 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) {
4923 r = dm_get_device(ti, strchr(opt_string, ':') + 1,
4929 } else if (sscanf(opt_string, "block_size:%u%c", &val, &dummy) == 1) {
4938 } else if (sscanf(opt_string, "sectors_per_bit:%llu%c", &llval, &dummy) == 1) {
4940 } else if (sscanf(opt_string, "bitmap_flush_interval:%u%c", &val, &dummy) == 1) {
4947 } else if (!strncmp(opt_string, "internal_hash:", strlen("internal_hash:"))) {
4948 r = get_alg_and_key(opt_string, &ic->internal_hash_alg, &ti->error,
4952 } else if (!strncmp(opt_string, "journal_crypt:", strlen("journal_crypt:"))) {
4953 r = get_alg_and_key(opt_string, &ic->journal_crypt_alg, &ti->error,
4957 } else if (!strncmp(opt_string, "journal_mac:", strlen("journal_mac:"))) {
4958 r = get_alg_and_key(opt_string, &ic->journal_mac_alg, &ti->error,
4962 } else if (!strcmp(opt_string, "recalculate")) {
4964 } else if (!strcmp(opt_string, "reset_recalculate")) {
4967 } else if (!strcmp(opt_string, "allow_discards")) {
4969 } else if (!strcmp(opt_string, "allow_discards_keyed")) {
4972 } else if (!strcmp(opt_string, "fix_padding")) {
4974 } else if (!strcmp(opt_string, "fix_hmac")) {
4976 } else if (!strcmp(opt_string, "legacy_recalculate")) {