Home
last modified time | relevance | path

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

/drivers/md/
Ddm-writecache.c1830 unsigned opt_params; in writecache_ctr() local
1984 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in writecache_ctr()
1988 while (opt_params) { in writecache_ctr()
1989 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1990 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr()
1992 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1999 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
2000 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
2006 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
2007 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
[all …]
Ddm-default-key.c87 unsigned int opt_params; in default_key_ctr_optional() local
96 err = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in default_key_ctr_optional()
100 while (opt_params--) { in default_key_ctr_optional()
Ddm-crypt.c2482 unsigned int opt_params, val; in crypt_ctr_optional() local
2491 ret = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in crypt_ctr_optional()
2495 while (opt_params--) { in crypt_ctr_optional()