Lines Matching refs:next
93 scsi_hostlist = sh->next; in scsi_unregister()
96 while(shpnt->next != sh) shpnt = shpnt->next; in scsi_unregister()
97 shpnt->next = shpnt->next->next; in scsi_unregister()
106 shn=shn->next); in scsi_unregister()
140 for (shn = scsi_host_no_list;shn;shn = shn->next) { in scsi_register()
170 shn->next = NULL; in scsi_register()
172 for (shn2 = scsi_host_no_list;shn2->next;shn2 = shn2->next) in scsi_register()
174 shn2->next = shn; in scsi_register()
204 retval->next = NULL; in scsi_register()
236 retval->next = shpnt; in scsi_register()
241 for (o_shp = shpnt, shpnt = shpnt->next; shpnt; in scsi_register()
242 o_shp = shpnt, shpnt = shpnt->next) { in scsi_register()
244 retval->next = shpnt; in scsi_register()
246 o_shp->next = retval; in scsi_register()
251 o_shp->next = retval; in scsi_register()
261 if(sdpnt->next) panic("Device already registered"); in scsi_register_device()
262 sdpnt->next = scsi_devicelist; in scsi_register_device()
277 spnt = spnt->next; in scsi_deregister_device()
280 scsi_devicelist = tpnt->next; in scsi_deregister_device()
282 prev_spnt->next = spnt->next; in scsi_deregister_device()