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()
93 static int stmf_set_alua_state(stmf_alua_state_desc_t *alua_state);94 static void stmf_get_alua_state(stmf_alua_state_desc_t *alua_state);2051 stmf_get_alua_state(stmf_alua_state_desc_t *alua_state) in stmf_get_alua_state() argument2054 alua_state->alua_node = stmf_state.stmf_alua_node; in stmf_get_alua_state()2055 alua_state->alua_state = stmf_state.stmf_alua_state; in stmf_get_alua_state()2061 stmf_set_alua_state(stmf_alua_state_desc_t *alua_state) in stmf_set_alua_state() argument2071 if (alua_state->alua_state > 1 || alua_state->alua_node > 1) { in stmf_set_alua_state()2076 if (alua_state->alua_state == 1) { in stmf_set_alua_state()2081 if (alua_state->alua_node != 0) { in stmf_set_alua_state()2085 stmf_state.stmf_alua_node = alua_state->alua_node; in stmf_set_alua_state()[all …]