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 | 254 | drivers/block/blk.h | (unsigned long)req->dev, req->sector); |
sector | 257 | drivers/block/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 258 | drivers/block/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 1011 | drivers/block/cdu31a.c | block = CURRENT->sector; |
sector | 287 | drivers/block/floppy.c | static unsigned char sector = 0; |
sector | 692 | drivers/block/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
sector | 723 | drivers/block/floppy.c | output_byte(sector); |
sector | 1041 | drivers/block/floppy.c | block = CURRENT->sector; |
sector | 1046 | drivers/block/floppy.c | sector = block % floppy->sect; |
sector | 1081 | drivers/block/floppy.c | ((sector + head*floppy->sect)<<9); |
sector | 1091 | drivers/block/floppy.c | sector++; |
sector | 339 | drivers/block/hd.c | CURRENT->sector++; |
sector | 344 | drivers/block/hd.c | MINOR(CURRENT->dev), CURRENT->sector, i, CURRENT-> |
sector | 387 | drivers/block/hd.c | CURRENT->sector++; |
sector | 458 | drivers/block/hd.c | block = CURRENT->sector; |
sector | 184 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
sector | 204 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 206 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 242 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 256 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
sector | 263 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 295 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 327 | drivers/block/ll_rw_blk.c | req->sector = page<<3; |
sector | 462 | 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 | 2261 | drivers/block/sbpcd.c | (CURRENT->sector/4 >= DS[d].sbp_first_frame) && |
sector | 2262 | drivers/block/sbpcd.c | (CURRENT->sector/4 <= DS[d].sbp_last_frame) ) |
sector | 2264 | drivers/block/sbpcd.c | offs = (CURRENT->sector - DS[d].sbp_first_frame * 4) * 512; |
sector | 2267 | drivers/block/sbpcd.c | CURRENT->sector++; |
sector | 2344 | drivers/block/sbpcd.c | if (CURRENT -> sector == -1) return; |
sector | 2355 | drivers/block/sbpcd.c | block = CURRENT->sector; |
sector | 2420 | drivers/block/sbpcd.c | block=CURRENT->sector/4; |
sector | 2642 | drivers/block/sbpcd.c | DS[d].sbp_first_frame = CURRENT -> sector / 4; |
sector | 185 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
sector | 186 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
sector | 283 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
sector | 296 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sector | 299 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
sector | 303 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
sector | 373 | 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 | 377 | drivers/block/xd.c | cmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F); |
sector | 566 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 663 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 1531 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
sector | 1541 | drivers/scsi/scsi.c | sector = offset >> 9; |
sector | 1542 | drivers/scsi/scsi.c | if(sector >= dma_sectors) panic ("Bad page"); |
sector | 1544 | drivers/scsi/scsi.c | sector = (offset >> 9) & 15; |
sector | 1548 | drivers/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
sector | 1551 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
sector | 1555 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 461 | drivers/scsi/scsi.h | req->dev,req->sector); |
sector | 468 | 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 | 132 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 166 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 181 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 361 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
sector | 437 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 470 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 471 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 521 | 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); |