tag | line | file | source code |
sg_header | 56 | drivers/scsi/sg.c | struct sg_header header; /* header of pending command */ |
sg_header | 187 | drivers/scsi/sg.c | if (count>=sizeof(struct sg_header)) |
sg_header | 189 | drivers/scsi/sg.c | memcpy_tofs(buf,&device->header,sizeof(struct sg_header)); |
sg_header | 190 | drivers/scsi/sg.c | buf+=sizeof(struct sg_header); |
sg_header | 193 | drivers/scsi/sg.c | if (count > sizeof(struct sg_header)) { |
sg_header | 194 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
sg_header | 243 | drivers/scsi/sg.c | if (count<(sizeof(struct sg_header) + 6)) |
sg_header | 259 | drivers/scsi/sg.c | memcpy_fromfs(&device->header,buf,sizeof(struct sg_header)); |
sg_header | 262 | drivers/scsi/sg.c | buf+=sizeof(struct sg_header); |
sg_header | 264 | drivers/scsi/sg.c | bsize-=sizeof(struct sg_header); |
sg_header | 299 | drivers/scsi/sg.c | if (count<(sizeof(struct sg_header) + size)) |
sg_header | 310 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |