Lines Matching refs:options
2744 if (vd_scsi->options & VD_SCSI_OPT_NORETRY) {
4411 * use "options=ro" when doing an ldm add-vdsdev
6715 vds_do_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options,
6742 if (!(options & VD_OPT_RDONLY))
6745 if (options & VD_OPT_EXCLUSIVE)
6749 if (options & VD_OPT_SLICE) {
7000 vds_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options,
7007 if ((status = vds_do_init_vd(vds, id, device_path, options,
7068 * Parse the options of a vds node. Options are defined as an array
7071 * mapping between the bitmask options and the options strings from the
7080 * options have to be parsed.
7081 * options - the returned options.
7087 vds_get_options(md_t *md, mde_cookie_t vd_node, uint64_t *options)
7092 *options = 0;
7096 PR0("No options found");
7100 /* parse options */
7108 *options |= vd_bdev_options[i].vdo_value;
7222 uint64_t id = 0, ldc_id = 0, options = 0;
7235 vds_get_options(md, vd_node, &options);
7242 if (vds_init_vd(vds, id, device_path, options, ldc_id) != 0) {
7325 /* Validate that options have not changed */
7329 PRN("Not changing vdisk: options changed from %lx to %lx",