tag | line | file | source code |
sector | 27 | drivers/block/blk.h | (s1)->sector < (s2)->sector))))) |
sector | 232 | drivers/block/blk.h | (unsigned long)req->dev, req->sector); |
sector | 235 | drivers/block/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 236 | drivers/block/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 1181 | drivers/block/cdu31a.c | block = CURRENT->sector; |
sector | 1804 | drivers/block/floppy.c | block = current_count_sectors + CURRENT->sector; |
sector | 1815 | drivers/block/floppy.c | CURRENT->sector += CURRENT->current_nr_sectors; |
sector | 1823 | drivers/block/floppy.c | CURRENT->sector += current_count_sectors; |
sector | 1835 | drivers/block/floppy.c | DRWE->first_error_sector = CURRENT->sector; |
sector | 1838 | drivers/block/floppy.c | DRWE->last_error_sector = CURRENT->sector; |
sector | 2093 | drivers/block/floppy.c | TRACK = CURRENT->sector / max_sector; |
sector | 2094 | drivers/block/floppy.c | sector_t = CURRENT->sector % max_sector; |
sector | 170 | drivers/block/hd.c | printk(", sector=%ld", CURRENT->sector); |
sector | 517 | drivers/block/hd.c | CURRENT->sector += nsect; |
sector | 524 | drivers/block/hd.c | dev+'a', CURRENT->sector, CURRENT->sector+nsect, |
sector | 618 | drivers/block/hd.c | CURRENT->sector++; |
sector | 728 | drivers/block/hd.c | block = CURRENT->sector; |
sector | 181 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
sector | 201 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 203 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 241 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 255 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
sector | 262 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 294 | 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 | 88 | drivers/block/mcd.c | && CURRENT -> sector != -1) |
sector | 565 | drivers/block/mcd.c | int bn = CURRENT -> sector / 4; |
sector | 570 | drivers/block/mcd.c | int offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 571 | drivers/block/mcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 583 | drivers/block/mcd.c | CURRENT -> sector += nr_sectors; |
sector | 624 | drivers/block/mcd.c | printk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
sector | 794 | drivers/block/mcd.c | mcd_next_bn = CURRENT -> sector / 4; |
sector | 868 | drivers/block/mcd.c | && (CURRENT -> sector / 4 < mcd_next_bn || |
sector | 869 | drivers/block/mcd.c | CURRENT -> sector / 4 > mcd_next_bn + 16)) { |
sector | 38 | drivers/block/ramdisk.c | addr = rd_start + (CURRENT->sector << 9); |
sector | 2874 | drivers/block/sbpcd.c | (CURRENT->sector/4 >= DriveStruct[d].sbp_first_frame) && |
sector | 2875 | drivers/block/sbpcd.c | (CURRENT->sector/4 <= DriveStruct[d].sbp_last_frame) ) |
sector | 2877 | drivers/block/sbpcd.c | offs = (CURRENT->sector - DriveStruct[d].sbp_first_frame * 4) * 512; |
sector | 2880 | drivers/block/sbpcd.c | CURRENT->sector++; |
sector | 2900 | drivers/block/sbpcd.c | if (CURRENT -> sector == -1) goto done; |
sector | 2911 | drivers/block/sbpcd.c | block = CURRENT->sector; /* always numbered as 512-byte-pieces */ |
sector | 2991 | drivers/block/sbpcd.c | block=CURRENT->sector/4; |
sector | 3222 | drivers/block/sbpcd.c | DriveStruct[d].sbp_first_frame = CURRENT -> sector / 4; |
sector | 218 | drivers/block/xd.c | if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd[MINOR(CURRENT->dev)].nr_sects) { |
sector | 219 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->dev)].start_sect; |
sector | 327 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
sector | 340 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sector | 343 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
sector | 347 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
sector | 421 | 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 | 425 | drivers/block/xd.c | cmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F); |
sector | 596 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 696 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 1671 | drivers/scsi/scsi.c | int page, sector, nbits, mask; |
sector | 1681 | drivers/scsi/scsi.c | sector = offset >> 9; |
sector | 1682 | drivers/scsi/scsi.c | if(sector >= dma_sectors) panic ("Bad page"); |
sector | 1684 | drivers/scsi/scsi.c | sector = (offset >> 9) & 15; |
sector | 1688 | drivers/scsi/scsi.c | if ((mask << sector) > 0xffff) panic ("Bad memory alignment"); |
sector | 1691 | drivers/scsi/scsi.c | if(dma_malloc_freelist[page] & (mask << sector) != (mask<<sector)) |
sector | 1695 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 1900 | drivers/scsi/scsi.c | SCpnt->request.sector, |
sector | 1927 | drivers/scsi/scsi.c | req->sector, |
sector | 527 | drivers/scsi/scsi.h | req->dev,req->sector); |
sector | 534 | drivers/scsi/scsi.h | req->sector += bh->b_size >> 9; |
sector | 91 | drivers/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
sector | 93 | drivers/scsi/scsicam.c | cyl = p->cyl + ((p->sector & 0xc0) << 2); |
sector | 226 | drivers/scsi/sd.c | SCpnt->request.sector, this_count); |
sector | 415 | drivers/scsi/sd.c | block = SCpnt->request.sector; |
sector | 146 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 180 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 195 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 378 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
sector | 454 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 487 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 488 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 538 | drivers/scsi/sr.c | printk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
sector | 239 | fs/msdos/fat.c | int msdos_smap(struct inode *inode,int sector) |
sector | 247 | fs/msdos/fat.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 248 | fs/msdos/fat.c | return sector+sb->dir_start; |
sector | 250 | fs/msdos/fat.c | cluster = sector/sb->cluster_size; |
sector | 251 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
sector | 87 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
sector | 105 | fs/msdos/file.c | if (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 108 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) break; |
sector | 147 | fs/msdos/file.c | int sector,offset,size,left,written; |
sector | 170 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 178 | fs/msdos/file.c | if (!(bh = msdos_sread(inode->i_dev,sector,&data))) { |
sector | 112 | fs/msdos/misc.c | int count,nr,limit,last,current,sector; |
sector | 166 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)* |
sector | 169 | fs/msdos/misc.c | printk("zeroing sector %d\n",sector); |
sector | 172 | fs/msdos/misc.c | !(sector & 1)) { |
sector | 173 | fs/msdos/misc.c | if (!(bh = getblk(inode->i_dev,sector >> 1, |
sector | 183 | fs/msdos/misc.c | if (!(bh = msdos_sread(inode->i_dev,sector, |
sector | 271 | fs/msdos/misc.c | int sector,offset; |
sector | 276 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
sector | 278 | fs/msdos/misc.c | if (!sector) |
sector | 283 | fs/msdos/misc.c | if (!(*bh = msdos_sread(dir->i_dev,sector,&data))) { |
sector | 284 | fs/msdos/misc.c | printk("Directory sread (sector %d) failed\n",sector); |
sector | 289 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 331 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
sector | 347 | fs/msdos/misc.c | static int raw_scan_sector(struct super_block *sb,int sector,char *name, |
sector | 356 | fs/msdos/misc.c | if (!(bh = msdos_sread(sb->s_dev,sector,(void **) &data))) return -EIO; |
sector | 367 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 18 | include/linux/blkdev.h | unsigned long sector; |
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); |