taglinefilesource code
scsi_generics52drivers/scsi/sg.cstatic struct scsi_generic *scsi_generics=NULL;
scsi_generics63drivers/scsi/sg.cscsi_generics[dev].timeout=get_fs_long((int *) arg);
scsi_generics66drivers/scsi/sg.creturn scsi_generics[dev].timeout;
scsi_generics68drivers/scsi/sg.creturn scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg);
scsi_generics82drivers/scsi/sg.cwhile(scsi_generics[dev].users)
scsi_generics86drivers/scsi/sg.cinterruptible_sleep_on(&scsi_generics[dev].generic_wait);
scsi_generics90drivers/scsi/sg.cscsi_generics[dev].exclude=1;
scsi_generics93drivers/scsi/sg.cwhile(scsi_generics[dev].exclude)
scsi_generics97drivers/scsi/sg.cinterruptible_sleep_on(&scsi_generics[dev].generic_wait);
scsi_generics101drivers/scsi/sg.cif (!scsi_generics[dev].users && scsi_generics[dev].pending && scsi_generics[dev].complete)
scsi_generics103drivers/scsi/sg.cscsi_free(scsi_generics[dev].buff,scsi_generics[dev].buff_len);
scsi_generics104drivers/scsi/sg.cscsi_generics[dev].pending=0;
scsi_generics106drivers/scsi/sg.cif (!scsi_generics[dev].users)
scsi_generics107drivers/scsi/sg.cscsi_generics[dev].timeout=SG_DEFAULT_TIMEOUT;
scsi_generics108drivers/scsi/sg.cscsi_generics[dev].users++;
scsi_generics115drivers/scsi/sg.cscsi_generics[dev].users--;
scsi_generics116drivers/scsi/sg.cscsi_generics[dev].exclude=0;
scsi_generics117drivers/scsi/sg.cwake_up(&scsi_generics[dev].generic_wait);
scsi_generics157drivers/scsi/sg.cstruct scsi_generic *device=&scsi_generics[dev];
scsi_generics189drivers/scsi/sg.cstruct scsi_generic *device=&scsi_generics[dev];
scsi_generics204drivers/scsi/sg.cwake_up(&scsi_generics[dev].read_wait);
scsi_generics213drivers/scsi/sg.cstruct scsi_generic *device=&scsi_generics[dev];
scsi_generics318drivers/scsi/sg.cscsi_generics = (struct scsi_generic *) mem_start;
scsi_generics327drivers/scsi/sg.cscsi_generics[NR_SG].device=SDp;
scsi_generics328drivers/scsi/sg.cscsi_generics[NR_SG].users=0;
scsi_generics329drivers/scsi/sg.cscsi_generics[NR_SG].generic_wait=NULL;
scsi_generics330drivers/scsi/sg.cscsi_generics[NR_SG].read_wait=NULL;
scsi_generics331drivers/scsi/sg.cscsi_generics[NR_SG].write_wait=NULL;
scsi_generics332drivers/scsi/sg.cscsi_generics[NR_SG].exclude=0;
scsi_generics333drivers/scsi/sg.cscsi_generics[NR_SG].pending=0;
scsi_generics334drivers/scsi/sg.cscsi_generics[NR_SG].timeout=SG_DEFAULT_TIMEOUT;