Searched refs:hspid (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmdio.h71 #define HSP_SET(hspid) (((hspid) & HSP_SET_MASK) >> HSP_SET_SHIFT)
72 #define HSP_ID(hspid) ((hspid) & ~HSP_SET_MASK)
85 * HSP_ID_IS_FN(hspid) returns TRUE if the hot spare pool ID is the ID of
87 * hspid may contain the set bits, since HSP_ID_IS_FN
95 * HSP_ID_TO_KEY(hspid) returns the NM key that is encoded in the hot spare
96 * pool ID. MD_KEYBAD will be returned if hspid does
97 * not represent a friendly named hsp. hspid may
107 #define HSP_ID_IS_FN(hspid) (HSP_I
321 hsp_t hspid; /* 0 == alloc one, else use this key */ member in struct:mdhspnm_params
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_namespace.c93 hsp_t hspid,
106 nm.hspid = hspid;
146 nm.hspid = MD_HSPID_WILD;
90 meta_gethspnmentbyid( set_t setno, side_t sideno, hsp_t hspid, md_error_t *ep ) argument
H A Dmeta_hotspares.c839 * hspid - ID of records to delete
843 * PURPOSE: Remove the NM records associated with hspid from all sides
853 del_hsp_keys(mdsetname_t *sp, hsp_t hspid, md_error_t *ep) argument
856 mdkey_t key = HSP_ID_TO_KEY(hspid);
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_ioctl.c462 * Get the key from input hspid, use different macros
463 * since the hspid could be either a FN or pre-FN hspid.
465 if (nm->hspid != MD_HSPID_WILD) {
466 if (HSP_ID_IS_FN(nm->hspid))
467 key = HSP_ID_TO_KEY(nm->hspid);
469 key = HSP_ID(nm->hspid);
476 if ((nm->hspid == MD_HSPID_WILD) &&
488 /* Must have either a valid hspid or a name to continue */
489 if ((nm->hspid
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/hotspares/
H A Dhotspares.c455 hsp_t hspid; local
498 hspid = hsp->hsp_self_id;
507 md_expldev(hspid));
/illumos-gate/usr/src/head/
H A Dmeta.h1314 hsp_t hspid, md_error_t *ep);

Completed in 103 milliseconds