• Home
  • Raw
  • Download

Lines Matching refs:fs

830 	struct esas2r_ioctl_fs *fs =  in esas2r_complete_fs_ioctl()  local
836 fs->driver_error = rq->req_stat; in esas2r_complete_fs_ioctl()
838 if (fs->driver_error == RS_SUCCESS) in esas2r_complete_fs_ioctl()
839 fs->status = ATTO_STS_SUCCESS; in esas2r_complete_fs_ioctl()
841 fs->status = ATTO_STS_FAILED; in esas2r_complete_fs_ioctl()
846 struct esas2r_ioctl_fs *fs, in esas2r_process_fs_ioctl() argument
851 struct esas2r_ioctlfs_command *fsc = &fs->command; in esas2r_process_fs_ioctl()
855 fs->status = ATTO_STS_FAILED; in esas2r_process_fs_ioctl()
856 fs->driver_error = RS_PENDING; in esas2r_process_fs_ioctl()
858 if (fs->version > ESAS2R_FS_VER) { in esas2r_process_fs_ioctl()
859 fs->status = ATTO_STS_INV_VERSION; in esas2r_process_fs_ioctl()
864 fs->status = ATTO_STS_INV_FUNC; in esas2r_process_fs_ioctl()
870 fs->status = ATTO_STS_INV_FUNC; in esas2r_process_fs_ioctl()
876 || fs->adap_type != ESAS2R_FS_AT_ESASRAID2) in esas2r_process_fs_ioctl()
878 || fs->adap_type != ESAS2R_FS_AT_TSSASRAID2) in esas2r_process_fs_ioctl()
880 || fs->adap_type != ESAS2R_FS_AT_TSSASRAID2E) in esas2r_process_fs_ioctl()
882 || fs->adap_type != ESAS2R_FS_AT_TLSASHBA)) { in esas2r_process_fs_ioctl()
883 fs->status = ATTO_STS_INV_ADAPTER; in esas2r_process_fs_ioctl()
887 if (fs->driver_ver > ESAS2R_FS_DRVR_VER) { in esas2r_process_fs_ioctl()
888 fs->status = ATTO_STS_INV_DRVR_VER; in esas2r_process_fs_ioctl()
894 fs->status = ATTO_STS_DEGRADED; in esas2r_process_fs_ioctl()
899 rq->interrupt_cx = fs; in esas2r_process_fs_ioctl()
911 fs->status = ATTO_STS_INV_FUNC; in esas2r_process_fs_ioctl()
919 fs->status = ATTO_STS_OUT_OF_RSRC; in esas2r_process_fs_ioctl()