Searched refs:alua_state (Results 1 – 3 of 3) sorted by relevance
145 uint8_t alua_state; member
5201 stmf_alua_state_desc_t alua_state = {0}; in stmfGetAluaState() local5218 stmfIoctl.stmf_obuf_size = sizeof (alua_state); in stmfGetAluaState()5219 stmfIoctl.stmf_obuf = (uint64_t)(unsigned long)&alua_state; in stmfGetAluaState()5240 if (alua_state.alua_state == 1) { in stmfGetAluaState()5245 *node = alua_state.alua_node; in stmfGetAluaState()5263 stmf_alua_state_desc_t alua_state = {0}; in stmfSetAluaState() local5271 alua_state.alua_state = 1; in stmfSetAluaState()5274 alua_state.alua_node = node; in stmfSetAluaState()5286 stmfIoctl.stmf_ibuf_size = sizeof (alua_state); in stmfSetAluaState()5287 stmfIoctl.stmf_ibuf = (uint64_t)(unsigned long)&alua_state; in stmfSetAluaState()
94 static int stmf_set_alua_state(stmf_alua_state_desc_t *alua_state);95 static void stmf_get_alua_state(stmf_alua_state_desc_t *alua_state);2052 stmf_get_alua_state(stmf_alua_state_desc_t *alua_state) in stmf_get_alua_state() argument2055 alua_state->alua_node = stmf_state.stmf_alua_node; in stmf_get_alua_state()2056 alua_state->alua_state = stmf_state.stmf_alua_state; in stmf_get_alua_state()2062 stmf_set_alua_state(stmf_alua_state_desc_t *alua_state) in stmf_set_alua_state() argument2072 if (alua_state->alua_state > 1 || alua_state->alua_node > 1) { in stmf_set_alua_state()2077 if (alua_state->alua_state == 1) { in stmf_set_alua_state()2082 if (alua_state->alua_node != 0) { in stmf_set_alua_state()2086 stmf_state.stmf_alua_node = alua_state->alua_node; in stmf_set_alua_state()[all …]