Lines Matching refs:prevtoshtwo
5256 struct Scsi_Host *prevtoshtwo; in mega_swap_hosts() local
5278 prevtoshtwo = scsi_hostlist; in mega_swap_hosts()
5280 while (prevtoshtwo->next != shtwo) in mega_swap_hosts()
5281 prevtoshtwo = prevtoshtwo->next; in mega_swap_hosts()
5283 prevtoshtwo->next = shone; in mega_swap_hosts()
5287 prevtoshtwo = scsi_hostlist; in mega_swap_hosts()
5289 while (prevtoshtwo->next != shtwo) in mega_swap_hosts()
5290 prevtoshtwo = prevtoshtwo->next; in mega_swap_hosts()
5292 prevtoshtwo->next = shone; in mega_swap_hosts()
5324 prevtoshtwo = scsi_hostlist; in mega_swap_hosts()
5327 while (prevtoshtwo->next != shtwo) in mega_swap_hosts()
5328 prevtoshtwo = prevtoshtwo->next; in mega_swap_hosts()
5332 prevtoshtwo->next = shone; in mega_swap_hosts()
5338 prevtoshtwo = scsi_hostlist; in mega_swap_hosts()
5342 while (prevtoshtwo->next != shtwo) in mega_swap_hosts()
5343 prevtoshtwo = prevtoshtwo->next; in mega_swap_hosts()
5347 prevtoshtwo->next = shone; in mega_swap_hosts()