Home
last modified time | relevance | path

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

/Linux-v4.19/Documentation/device-mapper/
Ddm-crypt.txt11 <offset> [<#opt_params> <opt_params>]
82 <#opt_params>
84 the optional paramaters section can be skipped or #opt_params can be zero.
85 Otherwise #opt_params is the number of following arguments.
Dverity.txt14 [<#opt_params> <opt_params>]
66 <#opt_params>
68 the optional paramaters section can be skipped or #opt_params can be zero.
69 Otherwise #opt_params is the number of following arguments.
/Linux-v4.19/drivers/md/
Ddm-writecache.c1822 unsigned opt_params; in writecache_ctr() local
1976 r = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in writecache_ctr()
1980 while (opt_params) { in writecache_ctr()
1981 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1982 if (!strcasecmp(string, "start_sector") && opt_params >= 1) { in writecache_ctr()
1984 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1991 } else if (!strcasecmp(string, "high_watermark") && opt_params >= 1) { in writecache_ctr()
1992 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
1998 } else if (!strcasecmp(string, "low_watermark") && opt_params >= 1) { in writecache_ctr()
1999 string = dm_shift_arg(&as), opt_params--; in writecache_ctr()
[all …]
Ddm-crypt.c2589 unsigned int opt_params, val; in crypt_ctr_optional() local
2598 ret = dm_read_arg_group(_args, &as, &opt_params, &ti->error); in crypt_ctr_optional()
2602 while (opt_params--) { in crypt_ctr_optional()