Home
last modified time | relevance | path

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

/linux/drivers/scsi/device_handler/
A 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()
A 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()
A Dscsi_dh_alua.c682 h->sdev->access_state = desc[0]; in alua_rtpg()
731 h->sdev->access_state = in alua_rtpg()
734 h->sdev->access_state |= in alua_rtpg()
/linux/drivers/scsi/
A Dscsi_sysfs.c1149 unsigned char access_state; in sdev_show_access_state() local
1155 access_state = (sdev->access_state & SCSI_ACCESS_STATE_MASK); in sdev_show_access_state()
1156 access_state_name = scsi_access_state_name(access_state); in sdev_show_access_state()
1161 static DEVICE_ATTR(access_state, S_IRUGO, sdev_show_access_state, NULL);
1173 if (sdev->access_state & SCSI_ACCESS_STATE_PREFERRED) in sdev_show_preferred_path()
/linux/include/scsi/
A Dscsi_device.h243 unsigned char access_state; member

Completed in 15 milliseconds