Home
last modified time | relevance | path

Searched refs:access_state (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/scsi/device_handler/
Dscsi_dh_rdac.c390 int err = SCSI_DH_IO, access_state; in check_ownership() local
408 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()
Dscsi_dh_emc.c178 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()
Dscsi_dh_alua.c663 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()
/Linux-v5.10/drivers/scsi/
Dscsi_sysfs.c1130 unsigned char access_state; in sdev_show_access_state() local
1136 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()
/Linux-v5.10/include/scsi/
Dscsi_device.h236 unsigned char access_state; member