Lines Matching defs:hspid
71 #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_ID(hspid) > HSP_FN_BASE)
110 #define HSP_ID_TO_KEY(hspid) ((HSP_ID_IS_FN(hspid)) ? \
111 (HSP_ID(hspid) - HSP_FN_BASE) : MD_KEYBAD)
321 hsp_t hspid; /* 0 == alloc one, else use this key */