tag | line | file | source code |
sg_header | 46 | drivers/scsi/sg.c | struct sg_header header; /* header of pending command */ |
sg_header | 170 | drivers/scsi/sg.c | if (count>=sizeof(struct sg_header)) |
sg_header | 172 | drivers/scsi/sg.c | memcpy_tofs(buf,&device->header,sizeof(struct sg_header)); |
sg_header | 173 | drivers/scsi/sg.c | buf+=sizeof(struct sg_header); |
sg_header | 176 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
sg_header | 216 | drivers/scsi/sg.c | if (count<sizeof(struct sg_header)) |
sg_header | 232 | drivers/scsi/sg.c | memcpy_fromfs(&device->header,buf,sizeof(struct sg_header)); |
sg_header | 235 | drivers/scsi/sg.c | buf+=sizeof(struct sg_header); |
sg_header | 237 | drivers/scsi/sg.c | bsize-=sizeof(struct sg_header); |
sg_header | 267 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |