Home
last modified time | relevance | path

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

/Linux-v5.4/Documentation/admin-guide/device-mapper/
Ddm-crypt.rst14 <offset> [<#opt_params> <opt_params>]
93 <#opt_params>
95 the optional paramaters section can be skipped or #opt_params can be zero.
96 Otherwise #opt_params is the number of following arguments.
Dverity.rst18 [<#opt_params> <opt_params>]
70 <#opt_params>
72 the optional paramaters section can be skipped or #opt_params can be zero.
73 Otherwise #opt_params is the number of following arguments.
/Linux-v5.4/drivers/md/
Ddm-writecache.c1829 unsigned opt_params; in writecache_ctr() local
1983 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in writecache_ctr()
1987 while (opt_params) { in writecache_ctr()
1988 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1989 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr()
1991 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1998 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
1999 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
2005 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
2006 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
[all …]
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()