Home
last modified time | relevance | path

Searched refs:opt_string (Results 1 – 3 of 3) sorted by relevance

/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0002-linux-syslinux-implement-open_ext2_fs.patch63 + char opt_string[40];
66 + sprintf(opt_string, "offset=%llu", (unsigned long long)opt.offset);
67 + retval = ext2fs_open2(device, opt_string, open_flag, 0, 0, unix_io_manager, &e2fs);
/openbmc/linux/drivers/md/
H A Ddm-integrity.c4193 const char *opt_string; in dm_integrity_ctr() local
4197 opt_string = dm_shift_arg(&as); in dm_integrity_ctr()
4198 if (!opt_string) { in dm_integrity_ctr()
4203 if (sscanf(opt_string, "journal_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4205 else if (sscanf(opt_string, "interleave_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4207 else if (sscanf(opt_string, "buffer_sectors:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4209 else if (sscanf(opt_string, "journal_watermark:%u%c", &val, &dummy) == 1 && val <= 100) in dm_integrity_ctr()
4211 else if (sscanf(opt_string, "commit_time:%u%c", &val, &dummy) == 1) in dm_integrity_ctr()
4213 else if (!strncmp(opt_string, "meta_device:", strlen("meta_device:"))) { in dm_integrity_ctr()
4218 r = dm_get_device(ti, strchr(opt_string, ':') + 1, in dm_integrity_ctr()
[all …]
H A Ddm-crypt.c3136 const char *opt_string, *sval; in crypt_ctr_optional() local
3149 opt_string = dm_shift_arg(&as); in crypt_ctr_optional()
3150 if (!opt_string) { in crypt_ctr_optional()
3155 if (!strcasecmp(opt_string, "allow_discards")) in crypt_ctr_optional()
3158 else if (!strcasecmp(opt_string, "same_cpu_crypt")) in crypt_ctr_optional()
3161 else if (!strcasecmp(opt_string, "submit_from_crypt_cpus")) in crypt_ctr_optional()
3163 else if (!strcasecmp(opt_string, "no_read_workqueue")) in crypt_ctr_optional()
3165 else if (!strcasecmp(opt_string, "no_write_workqueue")) in crypt_ctr_optional()
3167 else if (sscanf(opt_string, "integrity:%u:", &val) == 1) { in crypt_ctr_optional()
3173 sval = strchr(opt_string + strlen("integrity:"), ':') + 1; in crypt_ctr_optional()
[all …]