Searched refs:access_state (Results 1 – 5 of 5) sorted by relevance
390 int err = SCSI_DH_IO, access_state; in check_ownership() local408 access_state = SCSI_ACCESS_STATE_OPTIMAL; in check_ownership()413 access_state = SCSI_ACCESS_STATE_STANDBY; in check_ownership()415 access_state = SCSI_ACCESS_STATE_ACTIVE; in check_ownership()421 access_state |= SCSI_ACCESS_STATE_PREFERRED; in check_ownership()428 tmp->sdev->access_state = access_state; in check_ownership()
178 sdev->access_state = SCSI_ACCESS_STATE_OPTIMAL; in parse_sp_info_reply()180 sdev->access_state = SCSI_ACCESS_STATE_STANDBY; in parse_sp_info_reply()182 sdev->access_state |= SCSI_ACCESS_STATE_PREFERRED; in parse_sp_info_reply()
663 h->sdev->access_state = desc[0]; in alua_rtpg()710 h->sdev->access_state = in alua_rtpg()713 h->sdev->access_state |= in alua_rtpg()
1130 unsigned char access_state; in sdev_show_access_state() local1136 access_state = (sdev->access_state & SCSI_ACCESS_STATE_MASK); in sdev_show_access_state()1137 access_state_name = scsi_access_state_name(access_state); in sdev_show_access_state()1142 static DEVICE_ATTR(access_state, S_IRUGO, sdev_show_access_state, NULL);1154 if (sdev->access_state & SCSI_ACCESS_STATE_PREFERRED) in sdev_show_preferred_path()
236 unsigned char access_state; member