tag | line | file | source code |
sector | 31 | drivers/block/blk.h | unsigned long sector; |
sector | 49 | drivers/block/blk.h | (s1)->sector < (s2)->sector))))) |
sector | 246 | drivers/block/blk.h | (unsigned long)req->dev, req->sector); |
sector | 249 | drivers/block/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 250 | drivers/block/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 876 | drivers/block/cdu31a.c | block = CURRENT->sector; |
sector | 287 | drivers/block/floppy.c | static unsigned char sector = 0; |
sector | 695 | drivers/block/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
sector | 726 | drivers/block/floppy.c | output_byte(sector); |
sector | 1044 | drivers/block/floppy.c | block = CURRENT->sector; |
sector | 1049 | drivers/block/floppy.c | sector = block % floppy->sect; |
sector | 1084 | drivers/block/floppy.c | ((sector + head*floppy->sect)<<9); |
sector | 1094 | drivers/block/floppy.c | sector++; |
sector | 345 | drivers/block/hd.c | CURRENT->sector++; |
sector | 350 | drivers/block/hd.c | MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> |
sector | 393 | drivers/block/hd.c | CURRENT->sector++; |
sector | 464 | drivers/block/hd.c | block = CURRENT->sector; |
sector | 179 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
sector | 199 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 201 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 237 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 251 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
sector | 258 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 290 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 322 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
sector | 453 | drivers/block/ll_rw_blk.c | req->sector = (b[i] * buffersize) >> 9; |
sector | 498 | drivers/block/mcd.c | while (CURRENT -> nr_sectors > 0 && mcd_bn == CURRENT -> sector / 4) |
sector | 500 | drivers/block/mcd.c | offs = (CURRENT -> sector & 3) * 512; |
sector | 503 | drivers/block/mcd.c | CURRENT -> sector++; |
sector | 544 | drivers/block/mcd.c | block = CURRENT->sector; |
sector | 547 | drivers/block/mcd.c | if (CURRENT == NULL || CURRENT -> sector == -1) |
sector | 674 | drivers/block/mcd.c | block = CURRENT -> sector / 4; |
sector | 730 | drivers/block/mcd.c | mcd_bn = CURRENT -> sector / 4; |
sector | 37 | drivers/block/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
sector | 184 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
sector | 185 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
sector | 282 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
sector | 295 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sector | 298 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
sector | 302 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
sector | 372 | drivers/block/xd.c | static u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control) |
sector | 376 | drivers/block/xd.c | cmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F); |
sector | 557 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 654 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 1516 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
sector | 1526 | drivers/scsi/scsi.c | sector = offset >> 9; |
sector | 1527 | drivers/scsi/scsi.c | if(sector >= dma_sectors) panic ("Bad page"); |
sector | 1529 | drivers/scsi/scsi.c | sector = (offset >> 9) & 15; |
sector | 1533 | drivers/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
sector | 1536 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
sector | 1540 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 460 | drivers/scsi/scsi.h | req->dev,req->sector); |
sector | 467 | drivers/scsi/scsi.h | req->sector += bh->b_size >> 9; |
sector | 73 | drivers/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
sector | 206 | drivers/scsi/sd.c | SCpnt->request.sector, this_count); |
sector | 394 | drivers/scsi/sd.c | block = SCpnt->request.sector; |
sector | 127 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 161 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 176 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 356 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
sector | 432 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 465 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 466 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 516 | drivers/scsi/sr.c | printk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
sector | 238 | fs/msdos/fat.c | int msdos_smap(struct inode *inode,int sector) |
sector | 246 | fs/msdos/fat.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 247 | fs/msdos/fat.c | return sector+sb->dir_start; |
sector | 249 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
sector | 250 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
sector | 84 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
sector | 101 | fs/msdos/file.c | if (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 104 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) break; |
sector | 138 | fs/msdos/file.c | int sector,offset,size,left,written; |
sector | 160 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 168 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) { |
sector | 111 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
sector | 165 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)* |
sector | 168 | fs/msdos/misc.c | printk("zeroing sector %d\n",sector); |
sector | 171 | fs/msdos/misc.c | !(sector & 1)) { |
sector | 172 | fs/msdos/misc.c | if (!(bh = getblk(inode->i_dev,sector >> 1, |
sector | 182 | fs/msdos/misc.c | if (!(bh = msdos_sread(inode->i_dev,sector, |
sector | 270 | fs/msdos/misc.c | int sector,offset; |
sector | 275 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
sector | 277 | fs/msdos/misc.c | if (!sector) |
sector | 282 | fs/msdos/misc.c | if (!(*bh = msdos_sread(dir->i_dev,sector,&data))) { |
sector | 283 | fs/msdos/misc.c | printk("Directory sread (sector %d) failed\n",sector); |
sector | 288 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 330 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
sector | 346 | fs/msdos/misc.c | static int raw_scan_sector(struct super_block *sb,int sector,char *name, |
sector | 355 | fs/msdos/misc.c | if (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO; |
sector | 366 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 17 | include/linux/genhd.h | unsigned char sector; /* starting sector */ |
sector | 113 | include/linux/msdos_fs.h | static inline struct buffer_head *msdos_sread(int dev,int sector,void **start) |
sector | 117 | include/linux/msdos_fs.h | if (!(bh = bread(dev,sector >> 1, 1024))) |
sector | 119 | include/linux/msdos_fs.h | *start = bh->b_data+((sector & 1) << SECTOR_BITS); |
sector | 146 | include/linux/msdos_fs.h | extern int msdos_smap(struct inode *inode,int sector); |
sector | 123 | include/linux/xd.h | static u_char *xd_build (u_char *cmdblk,u_char command,u_char drive,u_char head,u_short cylinder,u_char sector,u_char count,u_char control); |