Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/admin-guide/device-mapper/
Ddm-crypt.rst14 <offset> [<#opt_params> <opt_params>]
93 <#opt_params>
95 the optional parameters 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 parameters section can be skipped or #opt_params can be zero.
73 Otherwise #opt_params is the number of following arguments.
/Linux-v6.1/drivers/md/
Ddm-writecache.c2215 unsigned opt_params; in writecache_ctr() local
2379 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in writecache_ctr()
2383 while (opt_params) { in writecache_ctr()
2384 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
2385 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr()
2387 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
2395 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
2396 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
2403 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
2404 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
[all …]
Ddm-crypt.c3071 unsigned int opt_params, val; in crypt_ctr_optional() local
3080 ret = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in crypt_ctr_optional()
3084 while (opt_params--) { in crypt_ctr_optional()