Searched refs:hosterr (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dwd7000.c950 static int make_code(unsigned hosterr, unsigned scsierr) make_code() argument
953 int in_error = hosterr; make_code()
956 switch ((hosterr >> 8) & 0xff) { make_code()
958 hosterr = DID_ERROR; make_code()
961 hosterr = DID_OK; make_code()
964 hosterr = DID_OK; make_code()
967 hosterr = DID_TIME_OUT; make_code()
970 hosterr = DID_RESET; make_code()
973 hosterr = DID_BAD_TARGET; make_code()
977 hosterr = DID_BAD_INTR; make_code()
980 hosterr = DID_ABORT; make_code()
984 hosterr = DID_RESET; make_code()
987 hosterr = DID_ERROR; make_code()
990 if (scsierr || hosterr) make_code()
991 dprintk("\nSCSI command error: SCSI 0x%02x host 0x%04x return %d\n", scsierr, in_error, hosterr); make_code()
993 return (scsierr | (hosterr << 16)); make_code()
H A Daha1542.c127 static int makecode(unsigned hosterr, unsigned scsierr) makecode() argument
129 switch (hosterr) { makecode()
133 hosterr = 0; makecode()
138 hosterr = DID_TIME_OUT; makecode()
167 printk("Aha1542: %x %x\n", hosterr, scsierr); makecode()
169 hosterr = DID_ERROR; /* Couldn't find any better */ makecode()
176 hosterr = DID_RESET; makecode()
179 printk(KERN_ERR "aha1542: makecode: unknown hoststatus %x\n", hosterr); makecode()
182 return scsierr | (hosterr << 16); makecode()
/linux-4.1.27/fs/nfsd/
H A Dnfsproc.c193 int hosterr; nfsd_proc_create() local
212 hosterr = fh_want_write(dirfhp); nfsd_proc_create()
213 if (hosterr) { nfsd_proc_create()
214 nfserr = nfserrno(hosterr); nfsd_proc_create()

Completed in 136 milliseconds