tag | line | file | source code |
scsi_generics | 52 | drivers/scsi/sg.c | static struct scsi_generic *scsi_generics=NULL; |
scsi_generics | 63 | drivers/scsi/sg.c | scsi_generics[dev].timeout=get_fs_long((int *) arg); |
scsi_generics | 66 | drivers/scsi/sg.c | return scsi_generics[dev].timeout; |
scsi_generics | 68 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
scsi_generics | 82 | drivers/scsi/sg.c | while(scsi_generics[dev].users) |
scsi_generics | 86 | drivers/scsi/sg.c | interruptible_sleep_on(&scsi_generics[dev].generic_wait); |
scsi_generics | 90 | drivers/scsi/sg.c | scsi_generics[dev].exclude=1; |
scsi_generics | 93 | drivers/scsi/sg.c | while(scsi_generics[dev].exclude) |
scsi_generics | 97 | drivers/scsi/sg.c | interruptible_sleep_on(&scsi_generics[dev].generic_wait); |
scsi_generics | 101 | drivers/scsi/sg.c | if (!scsi_generics[dev].users && scsi_generics[dev].pending && scsi_generics[dev].complete) |
scsi_generics | 103 | drivers/scsi/sg.c | scsi_free(scsi_generics[dev].buff,scsi_generics[dev].buff_len); |
scsi_generics | 104 | drivers/scsi/sg.c | scsi_generics[dev].pending=0; |
scsi_generics | 106 | drivers/scsi/sg.c | if (!scsi_generics[dev].users) |
scsi_generics | 107 | drivers/scsi/sg.c | scsi_generics[dev].timeout=SG_DEFAULT_TIMEOUT; |
scsi_generics | 108 | drivers/scsi/sg.c | scsi_generics[dev].users++; |
scsi_generics | 115 | drivers/scsi/sg.c | scsi_generics[dev].users--; |
scsi_generics | 116 | drivers/scsi/sg.c | scsi_generics[dev].exclude=0; |
scsi_generics | 117 | drivers/scsi/sg.c | wake_up(&scsi_generics[dev].generic_wait); |
scsi_generics | 157 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
scsi_generics | 189 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
scsi_generics | 204 | drivers/scsi/sg.c | wake_up(&scsi_generics[dev].read_wait); |
scsi_generics | 213 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
scsi_generics | 318 | drivers/scsi/sg.c | scsi_generics = (struct scsi_generic *) mem_start; |
scsi_generics | 327 | drivers/scsi/sg.c | scsi_generics[NR_SG].device=SDp; |
scsi_generics | 328 | drivers/scsi/sg.c | scsi_generics[NR_SG].users=0; |
scsi_generics | 329 | drivers/scsi/sg.c | scsi_generics[NR_SG].generic_wait=NULL; |
scsi_generics | 330 | drivers/scsi/sg.c | scsi_generics[NR_SG].read_wait=NULL; |
scsi_generics | 331 | drivers/scsi/sg.c | scsi_generics[NR_SG].write_wait=NULL; |
scsi_generics | 332 | drivers/scsi/sg.c | scsi_generics[NR_SG].exclude=0; |
scsi_generics | 333 | drivers/scsi/sg.c | scsi_generics[NR_SG].pending=0; |
scsi_generics | 334 | drivers/scsi/sg.c | scsi_generics[NR_SG].timeout=SG_DEFAULT_TIMEOUT; |