tag | line | file | source code |
sector | 2092 | drivers/block/floppy.c | block = current_count_sectors + CURRENT->sector; |
sector | 2102 | drivers/block/floppy.c | CURRENT->sector += CURRENT->current_nr_sectors; |
sector | 2110 | drivers/block/floppy.c | CURRENT->sector += current_count_sectors; |
sector | 2122 | drivers/block/floppy.c | DRWE->first_error_sector = CURRENT->sector; |
sector | 2125 | drivers/block/floppy.c | DRWE->last_error_sector = CURRENT->sector; |
sector | 2367 | drivers/block/floppy.c | TRACK = CURRENT->sector / max_sector; |
sector | 2368 | drivers/block/floppy.c | sector_t = CURRENT->sector % max_sector; |
sector | 293 | drivers/block/genhd.c | if (NR_SECTS(q) && q->sector == 1 && q->end_sector == 63) { |
sector | 163 | drivers/block/hd.c | printk(", sector=%ld", CURRENT->sector); |
sector | 500 | drivers/block/hd.c | CURRENT->sector += nsect; |
sector | 507 | drivers/block/hd.c | dev+'a', CURRENT->sector, CURRENT->sector+nsect, |
sector | 601 | drivers/block/hd.c | CURRENT->sector++; |
sector | 711 | drivers/block/hd.c | block = CURRENT->sector; |
sector | 535 | drivers/block/ide-cd.c | rq->sector -= n; |
sector | 594 | drivers/block/ide-cd.c | rq->sector += adj; |
sector | 853 | drivers/block/ide-cd.c | static void cdrom_buffer_sectors (ide_drive_t *drive, unsigned long sector, |
sector | 879 | drivers/block/ide-cd.c | info->sector_buffered = sector; |
sector | 1023 | drivers/block/ide-cd.c | cdrom_buffer_sectors (drive, rq->sector, sectors_to_transfer); |
sector | 1041 | drivers/block/ide-cd.c | ++rq->sector; |
sector | 1069 | drivers/block/ide-cd.c | rq->sector >= info->sector_buffered && |
sector | 1070 | drivers/block/ide-cd.c | rq->sector < info->sector_buffered + info->nsectors_buffered) |
sector | 1077 | drivers/block/ide-cd.c | (rq->sector - info->sector_buffered) * SECTOR_SIZE, |
sector | 1082 | drivers/block/ide-cd.c | ++rq->sector; |
sector | 1101 | drivers/block/ide-cd.c | (rq->sector % SECTORS_PER_FRAME) != 0) |
sector | 1104 | drivers/block/ide-cd.c | drive->name, rq->sector); |
sector | 1125 | drivers/block/ide-cd.c | int nsect, sector, nframes, frame, nskip; |
sector | 1131 | drivers/block/ide-cd.c | sector = rq->sector; |
sector | 1139 | drivers/block/ide-cd.c | nskip = (sector % SECTORS_PER_FRAME); |
sector | 1151 | drivers/block/ide-cd.c | sector -= nskip; |
sector | 1159 | drivers/block/ide-cd.c | frame = sector / SECTORS_PER_FRAME; |
sector | 1192 | drivers/block/ide-cd.c | rq->sector = block; |
sector | 2900 | drivers/block/ide-tape.c | printk ("sector: %ld, nr_sectors: %ld, current_nr_sectors: %ld\n",rq->sector,rq->nr_sectors,rq->current_nr_sectors); |
sector | 3178 | drivers/block/ide-tape.c | rq.sector = tape->block_address; |
sector | 3205 | drivers/block/ide-tape.c | rq.sector = tape->block_address; |
sector | 3307 | drivers/block/ide-tape.c | rq->sector = tape->block_address; /* Doesn't actually matter - We always assume sequential access */ |
sector | 823 | drivers/block/ide.c | printk(", sector=%ld", HWGROUP(drive)->rq->sector); |
sector | 933 | drivers/block/ide.c | drive->name, rq->sector, rq->sector+nsect-1, |
sector | 936 | drivers/block/ide.c | rq->sector += nsect; |
sector | 962 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
sector | 966 | drivers/block/ide.c | rq->sector++; |
sector | 1001 | drivers/block/ide.c | drive->name, rq->sector, (unsigned long) rq->buffer, |
sector | 1326 | drivers/block/ide.c | block = rq->sector; |
sector | 1629 | drivers/block/ide.c | rq->sector = 0; |
sector | 120 | drivers/block/linear.c | block=req->sector >> 1; |
sector | 140 | drivers/block/linear.c | req->sector=rblock << 1; |
sector | 160 | drivers/block/linear.c | pending[queue].sector=rblock << 1; |
sector | 168 | drivers/block/linear.c | req->sector+=nblk << 1; |
sector | 287 | drivers/block/ll_rw_blk.c | unsigned int sector, count; |
sector | 292 | drivers/block/ll_rw_blk.c | sector = bh->b_blocknr * count; |
sector | 294 | drivers/block/ll_rw_blk.c | if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) { |
sector | 298 | drivers/block/ll_rw_blk.c | rw, (sector + count)>>1, blk_size[major][MINOR(bh->b_dev)]); |
sector | 369 | drivers/block/ll_rw_blk.c | req->sector + req->nr_sectors == sector && |
sector | 384 | drivers/block/ll_rw_blk.c | req->sector - count == sector && |
sector | 391 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 421 | drivers/block/ll_rw_blk.c | req->sector = sector; |
sector | 601 | drivers/block/ll_rw_blk.c | req[j]->sector = (b[i] * buffersize) >> 9; |
sector | 171 | drivers/block/loop.c | block = CURRENT->sector * (512/blksize); |
sector | 174 | drivers/block/loop.c | block = CURRENT->sector / (blksize >> 9); |
sector | 175 | drivers/block/loop.c | offset = CURRENT->sector % (blksize >> 9); |
sector | 479 | drivers/block/md.c | req->sector + req->nr_sectors == pending[i].sector && |
sector | 493 | drivers/block/md.c | req->sector - pending[i].nr_sectors == pending[i].sector && |
sector | 500 | drivers/block/md.c | req->sector = pending[i].sector; |
sector | 522 | drivers/block/md.c | req->sector = pending[i].sector; |
sector | 197 | drivers/block/raid0.c | block=req->sector >> 1; |
sector | 218 | drivers/block/raid0.c | req->sector=rblock << 1; |
sector | 245 | drivers/block/raid0.c | pending[queue].sector=rblock << 1; |
sector | 111 | drivers/block/rd.c | offset = CURRENT->sector << 9; |
sector | 220 | drivers/block/xd.c | && CURRENT->sector + CURRENT->nr_sectors |
sector | 222 | drivers/block/xd.c | block = CURRENT->sector + xd[MINOR(CURRENT->rq_dev)].start_sect; |
sector | 338 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
sector | 351 | drivers/block/xd.c | sector = block % xd_info[drive].sectors; |
sector | 354 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
sector | 358 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
sector | 432 | 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 | 436 | drivers/block/xd.c | cmdblk[2] = ((cylinder & 0x300) >> 2) | (sector & 0x3F); |
sector | 196 | drivers/cdrom/aztcd.c | && CURRENT -> sector != -1) |
sector | 965 | drivers/cdrom/aztcd.c | int bn = CURRENT -> sector / 4; |
sector | 970 | drivers/cdrom/aztcd.c | int offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 971 | drivers/cdrom/aztcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 983 | drivers/cdrom/aztcd.c | CURRENT -> sector += nr_sectors; |
sector | 997 | drivers/cdrom/aztcd.c | printk(" do_aztcd_request(%ld+%ld) Time:%li\n", CURRENT -> sector, CURRENT -> nr_sectors,jiffies); |
sector | 1183 | drivers/cdrom/aztcd.c | azt_next_bn = CURRENT -> sector / 4; |
sector | 1336 | drivers/cdrom/aztcd.c | && (CURRENT -> sector / 4 < azt_next_bn || |
sector | 1337 | drivers/cdrom/aztcd.c | CURRENT -> sector / 4 > azt_next_bn + AZT_BUF_SIZ)) { |
sector | 1078 | drivers/cdrom/cdu31a.c | start_request(unsigned int sector, |
sector | 1087 | drivers/cdrom/cdu31a.c | log_to_msf(sector, params); |
sector | 1097 | drivers/cdrom/cdu31a.c | else if ((sector + nsect) >= sony_toc.lead_out_start_lba) |
sector | 1099 | drivers/cdrom/cdu31a.c | read_size = sony_toc.lead_out_start_lba - sector; |
sector | 1139 | drivers/cdrom/cdu31a.c | sony_next_block = sector * 4; |
sector | 1559 | drivers/cdrom/cdu31a.c | block = CURRENT->sector; |
sector | 156 | drivers/cdrom/cm206.c | ush sector[READ_AHEAD*RAW_SECTOR_SIZE/2]; /* buffered cd-sector */ |
sector | 465 | drivers/cdrom/cm206.c | insw(r_fifo_output_buffer, cd->sector, READ_AHEAD*RAW_SECTOR_SIZE/2); |
sector | 590 | drivers/cdrom/cm206.c | insw(r_fifo_output_buffer, cd->sector + cd->fifo_overflowed, |
sector | 604 | drivers/cdrom/cm206.c | int try_adapter(int sector) |
sector | 606 | drivers/cdrom/cm206.c | if (cd->adapter_first <= sector && sector < cd->adapter_last) { |
sector | 608 | drivers/cdrom/cm206.c | empty_buffer(sector - cd->adapter_first); |
sector | 611 | drivers/cdrom/cm206.c | else if (cd->background==1 && cd->adapter_first <= sector |
sector | 612 | drivers/cdrom/cm206.c | && sector < cd->adapter_first+cd->max_sectors) { |
sector | 615 | drivers/cdrom/cm206.c | while (sector >= cd->adapter_last) { |
sector | 617 | drivers/cdrom/cm206.c | debug(("Timed out during background wait: %d %d %d %d\n", sector, |
sector | 625 | drivers/cdrom/cm206.c | empty_buffer(sector - cd->adapter_first); |
sector | 651 | drivers/cdrom/cm206.c | cd_sec_no = (CURRENT->sector+i)/4; /* 4 times 512 bytes */ |
sector | 652 | drivers/cdrom/cm206.c | quarter = (CURRENT->sector+i) % 4; |
sector | 656 | drivers/cdrom/cm206.c | source = ((uch *) cd->sector) + 16 + |
sector | 661 | drivers/cdrom/cm206.c | source = ((uch *) cd->sector)+16+quarter*512; |
sector | 244 | drivers/cdrom/gscd.c | while (CURRENT -> nr_sectors > 0 && gscd_bn == CURRENT -> sector / 4) |
sector | 246 | drivers/cdrom/gscd.c | offs = (CURRENT -> sector & 3) * 512; |
sector | 249 | drivers/cdrom/gscd.c | CURRENT -> sector++; |
sector | 268 | drivers/cdrom/gscd.c | block = CURRENT->sector; |
sector | 271 | drivers/cdrom/gscd.c | if (CURRENT == NULL || CURRENT -> sector == -1) |
sector | 337 | drivers/cdrom/gscd.c | block = CURRENT -> sector / 4; |
sector | 349 | drivers/cdrom/gscd.c | gscd_bn = CURRENT -> sector / 4; |
sector | 134 | drivers/cdrom/mcd.c | && CURRENT -> sector != -1) |
sector | 597 | drivers/cdrom/mcd.c | int bn = CURRENT -> sector / 4; |
sector | 602 | drivers/cdrom/mcd.c | int offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 603 | drivers/cdrom/mcd.c | int nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 615 | drivers/cdrom/mcd.c | CURRENT -> sector += nr_sectors; |
sector | 656 | drivers/cdrom/mcd.c | printk(" do_mcd_request(%ld+%ld)\n", CURRENT -> sector, CURRENT -> nr_sectors); |
sector | 862 | drivers/cdrom/mcd.c | mcd_next_bn = CURRENT -> sector / 4; |
sector | 936 | drivers/cdrom/mcd.c | && (CURRENT -> sector / 4 < mcd_next_bn || |
sector | 937 | drivers/cdrom/mcd.c | CURRENT -> sector / 4 > mcd_next_bn + 16)) { |
sector | 213 | drivers/cdrom/mcdx.c | static int mcdx_transfer(struct s_drive_stuff*, char* buf, int sector, int nr_sectors); |
sector | 214 | drivers/cdrom/mcdx.c | static int mcdx_xfer(struct s_drive_stuff*, char* buf, int sector, int nr_sectors); |
sector | 583 | drivers/cdrom/mcdx.c | CURRENT->sector, |
sector | 587 | drivers/cdrom/mcdx.c | CURRENT->sector += CURRENT->nr_sectors; |
sector | 594 | drivers/cdrom/mcdx.c | CURRENT->sector += i; |
sector | 1255 | drivers/cdrom/mcdx.c | char *p, int sector, int nr_sectors) |
sector | 1264 | drivers/cdrom/mcdx.c | ans = mcdx_xfer(stuffp, p, sector, nr_sectors); |
sector | 1278 | drivers/cdrom/mcdx.c | return mcdx_transfer(stuffp, p, sector, nr_sectors); |
sector | 1285 | drivers/cdrom/mcdx.c | char *p, int sector, int nr_sectors) |
sector | 1294 | drivers/cdrom/mcdx.c | nr_sectors, sector)); |
sector | 1308 | drivers/cdrom/mcdx.c | && (sector >= stuffp->pending) |
sector | 1309 | drivers/cdrom/mcdx.c | && (sector < stuffp->off_direct)) { |
sector | 1312 | drivers/cdrom/mcdx.c | off = stuffp->off_requested < (off = sector + nr_sectors) |
sector | 1372 | drivers/cdrom/mcdx.c | if (stuffp->pending == sector) { |
sector | 1375 | drivers/cdrom/mcdx.c | sector++; |
sector | 1393 | drivers/cdrom/mcdx.c | stuffp->pending = sector & ~3; |
sector | 968 | drivers/cdrom/optcd.c | && CURRENT -> cmd == READ && CURRENT -> sector != -1) |
sector | 1001 | drivers/cdrom/optcd.c | int bn = CURRENT -> sector / 4; |
sector | 1012 | drivers/cdrom/optcd.c | offs = (i * 4 + (CURRENT -> sector & 3)) * 512; |
sector | 1013 | drivers/cdrom/optcd.c | nr_sectors = 4 - (CURRENT -> sector & 3); |
sector | 1027 | drivers/cdrom/optcd.c | CURRENT -> sector += nr_sectors; |
sector | 1157 | drivers/cdrom/optcd.c | next_bn = CURRENT -> sector / 4; |
sector | 1273 | drivers/cdrom/optcd.c | && (CURRENT -> sector / 4 < next_bn || |
sector | 1274 | drivers/cdrom/optcd.c | CURRENT -> sector / 4 > |
sector | 1349 | drivers/cdrom/optcd.c | CURRENT -> sector, CURRENT -> nr_sectors)); |
sector | 4396 | drivers/cdrom/sbpcd.c | (CURRENT->sector/4 >= D_S[d].sbp_first_frame) && |
sector | 4397 | drivers/cdrom/sbpcd.c | (CURRENT->sector/4 <= D_S[d].sbp_last_frame) ) |
sector | 4399 | drivers/cdrom/sbpcd.c | offs = (CURRENT->sector - D_S[d].sbp_first_frame * 4) * 512; |
sector | 4402 | drivers/cdrom/sbpcd.c | CURRENT->sector++; |
sector | 4422 | drivers/cdrom/sbpcd.c | if (CURRENT -> sector == -1) |
sector | 4442 | drivers/cdrom/sbpcd.c | block = CURRENT->sector; /* always numbered as 512-byte-pieces */ |
sector | 4510 | drivers/cdrom/sbpcd.c | block=CURRENT->sector/4; |
sector | 4871 | drivers/cdrom/sbpcd.c | D_S[d].sbp_first_frame = CURRENT -> sector / 4; |
sector | 921 | drivers/cdrom/sjcd.c | CURRENT->cmd == READ && CURRENT->sector != -1 ) |
sector | 929 | drivers/cdrom/sjcd.c | int i, bn = CURRENT->sector / 4; |
sector | 932 | drivers/cdrom/sjcd.c | int offs = ( i * 4 + ( CURRENT->sector & 3 ) ) * 512; |
sector | 933 | drivers/cdrom/sjcd.c | int nr_sectors = 4 - ( CURRENT->sector & 3 ); |
sector | 948 | drivers/cdrom/sjcd.c | CURRENT->sector += nr_sectors; |
sector | 1065 | drivers/cdrom/sjcd.c | sjcd_next_bn = CURRENT->sector / 4; |
sector | 1181 | drivers/cdrom/sjcd.c | ( CURRENT->sector / 4 < sjcd_next_bn || |
sector | 1182 | drivers/cdrom/sjcd.c | CURRENT->sector / 4 > sjcd_next_bn + SJCD_BUF_SIZ ) ){ |
sector | 1270 | drivers/cdrom/sjcd.c | CURRENT->sector, CURRENT->nr_sectors ); |
sector | 808 | drivers/cdrom/sonycd535.c | block = CURRENT->sector; |
sector | 39 | drivers/char/ftape/ecc.h | #define BAD_SET(entry,sector) ((entry)|=(1<<(sector))) |
sector | 40 | drivers/char/ftape/ecc.h | #define BAD_CHECK(entry,sector) ((entry)&(1<<(sector))) |
sector | 61 | drivers/char/ftape/ftape-bsm.c | unsigned sector = 1; |
sector | 69 | drivers/char/ftape/ftape-bsm.c | *(unsigned long *) dst_ptr = 0x800000 + sector; |
sector | 71 | drivers/char/ftape/ftape-bsm.c | sector += SECTORS_PER_SEGMENT; |
sector | 75 | drivers/char/ftape/ftape-bsm.c | *(unsigned long *) dst_ptr = sector; |
sector | 79 | drivers/char/ftape/ftape-bsm.c | ++sector; |
sector | 122 | drivers/char/ftape/ftape-bsm.c | void put_sector(byte ** ptr, unsigned long sector) |
sector | 124 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
sector | 125 | drivers/char/ftape/ftape-bsm.c | sector >>= 8; |
sector | 126 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
sector | 127 | drivers/char/ftape/ftape-bsm.c | sector >>= 8; |
sector | 128 | drivers/char/ftape/ftape-bsm.c | *(*ptr)++ = sector & 0xff; |
sector | 133 | drivers/char/ftape/ftape-bsm.c | unsigned long sector; |
sector | 136 | drivers/char/ftape/ftape-bsm.c | sector = *(*ptr)++; |
sector | 137 | drivers/char/ftape/ftape-bsm.c | sector += *(*ptr)++ << 8; |
sector | 138 | drivers/char/ftape/ftape-bsm.c | sector += *(*ptr)++ << 16; |
sector | 140 | drivers/char/ftape/ftape-bsm.c | sector = *--(*ptr) << 16; |
sector | 141 | drivers/char/ftape/ftape-bsm.c | sector += *--(*ptr) << 8; |
sector | 142 | drivers/char/ftape/ftape-bsm.c | sector += *--(*ptr); |
sector | 144 | drivers/char/ftape/ftape-bsm.c | return sector; |
sector | 208 | drivers/char/ftape/ftape-bsm.c | unsigned sector; |
sector | 211 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(&ptr, forward); |
sector | 212 | drivers/char/ftape/ftape-bsm.c | if (sector != 0) { |
sector | 213 | drivers/char/ftape/ftape-bsm.c | if (format_code == 4 && sector & 0x800000) { |
sector | 215 | drivers/char/ftape/ftape-bsm.c | TRACEx1(6, "bad segment at sector: %6d", sector & 0x7fffff); |
sector | 218 | drivers/char/ftape/ftape-bsm.c | TRACEx1(6, "bad sector: %6d", sector); |
sector | 221 | drivers/char/ftape/ftape-bsm.c | } while (sector != 0); |
sector | 225 | drivers/char/ftape/ftape-bsm.c | sector = *((unsigned short *) ptr)++; |
sector | 226 | drivers/char/ftape/ftape-bsm.c | if (sector) { |
sector | 227 | drivers/char/ftape/ftape-bsm.c | TRACEx2(4, "eof mark: %4d/%2d", sector, |
sector | 230 | drivers/char/ftape/ftape-bsm.c | } while (sector); |
sector | 258 | drivers/char/ftape/ftape-bsm.c | unsigned long cvt2map(int sector) |
sector | 260 | drivers/char/ftape/ftape-bsm.c | return 1 << (((sector & 0x7fffff) - 1) % SECTORS_PER_SEGMENT); |
sector | 263 | drivers/char/ftape/ftape-bsm.c | int cvt2segment(int sector) |
sector | 265 | drivers/char/ftape/ftape-bsm.c | return ((sector & 0x7fffff) - 1) / SECTORS_PER_SEGMENT; |
sector | 271 | drivers/char/ftape/ftape-bsm.c | unsigned long sector; |
sector | 276 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, forward); |
sector | 277 | drivers/char/ftape/ftape-bsm.c | segment = cvt2segment(sector); |
sector | 278 | drivers/char/ftape/ftape-bsm.c | } while (sector != 0 && segment < segment_id); |
sector | 282 | drivers/char/ftape/ftape-bsm.c | if (format_code == 4 && (sector & 0x800000) && segment == segment_id) { |
sector | 288 | drivers/char/ftape/ftape-bsm.c | while (sector != 0 && segment == segment_id) { |
sector | 289 | drivers/char/ftape/ftape-bsm.c | *map |= cvt2map(sector); |
sector | 290 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, forward); |
sector | 291 | drivers/char/ftape/ftape-bsm.c | segment = cvt2segment(sector); |
sector | 301 | drivers/char/ftape/ftape-bsm.c | unsigned long sector; |
sector | 308 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, backward); |
sector | 309 | drivers/char/ftape/ftape-bsm.c | segment = cvt2segment(sector); |
sector | 319 | drivers/char/ftape/ftape-bsm.c | if (format_code == 4 && (sector & 0x800000)) { |
sector | 324 | drivers/char/ftape/ftape-bsm.c | *map |= cvt2map(sector); |
sector | 329 | drivers/char/ftape/ftape-bsm.c | sector = get_sector(ptr, backward); |
sector | 330 | drivers/char/ftape/ftape-bsm.c | segment = cvt2segment(sector); |
sector | 52 | drivers/char/ftape/ftape-eof.c | unsigned short sector; |
sector | 178 | drivers/char/ftape/ftape-eof.c | eof_map[eof_index].mark.segment, eof_map[eof_index].mark.sector, |
sector | 180 | drivers/char/ftape/ftape-eof.c | if (eof_mark_ptr->sector >= SECTORS_PER_SEGMENT) { |
sector | 182 | drivers/char/ftape/ftape-eof.c | eof_mark_ptr->segment, eof_mark_ptr->sector); |
sector | 185 | drivers/char/ftape/ftape-eof.c | result = eof_mark_ptr->sector; |
sector | 199 | drivers/char/ftape/ftape-eof.c | byte_count >= eof_mark_ptr->sector * SECTOR_SIZE) { |
sector | 201 | drivers/char/ftape/ftape-eof.c | eof_mark_ptr->segment, eof_mark_ptr->sector, eof_index); |
sector | 210 | drivers/char/ftape/ftape-eof.c | void put_file_mark_in_map(unsigned segment, unsigned sector) |
sector | 219 | drivers/char/ftape/ftape-eof.c | new.mark.sector = sector; |
sector | 227 | drivers/char/ftape/ftape-eof.c | if (ptr->mark.sector == sector) { |
sector | 229 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector); |
sector | 232 | drivers/char/ftape/ftape-eof.c | ptr->mark.segment, ptr->mark.sector, index, |
sector | 233 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector); |
sector | 240 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector, index, |
sector | 241 | drivers/char/ftape/ftape-eof.c | ptr->mark.segment, ptr->mark.sector); |
sector | 250 | drivers/char/ftape/ftape-eof.c | new.mark.segment, new.mark.sector, index); |
sector | 263 | drivers/char/ftape/ftape-eof.c | int ftape_weof(unsigned count, unsigned segment, unsigned sector) |
sector | 271 | drivers/char/ftape/ftape-eof.c | if (sector < 1 || sector > 29 || |
sector | 273 | drivers/char/ftape/ftape-eof.c | TRACEx3(5, "parameter out of range: %d, %d, %d", count, segment, sector); |
sector | 295 | drivers/char/ftape/ftape-eof.c | } while (--sector); |
sector | 301 | drivers/char/ftape/ftape-eof.c | sector = 1; /* first sector */ |
sector | 402 | drivers/char/ftape/ftape-eof.c | eof_map[i].mark.segment = eof_map[i].mark.sector; |
sector | 403 | drivers/char/ftape/ftape-eof.c | eof_map[i].mark.sector = tmp; |
sector | 408 | drivers/char/ftape/ftape-eof.c | eof_map[i].mark.segment, eof_map[i].mark.sector); |
sector | 469 | drivers/char/ftape/ftape-eof.c | if (eof_mark_ptr->sector == 1) { |
sector | 551 | drivers/char/ftape/ftape-eof.c | eof_map[i].mark.segment, eof_map[i].mark.sector); |
sector | 45 | drivers/char/ftape/ftape-eof.h | extern int ftape_weof(unsigned count, unsigned segment, unsigned sector); |
sector | 47 | drivers/char/ftape/ftape-eof.h | extern void put_file_mark_in_map(unsigned segment, unsigned sector); |
sector | 251 | drivers/char/ftape/ftape-rw.c | location.sector = -1; |
sector | 305 | drivers/char/ftape/ftape-rw.c | location.sector = (fdc_sect - 1) % SECTORS_PER_SEGMENT; |
sector | 331 | drivers/char/ftape/ftape-rw.c | if (location.sector == 0) { |
sector | 332 | drivers/char/ftape/ftape-rw.c | TRACEx2(5, "passing segment %d/%d", location.segment, location.sector); |
sector | 334 | drivers/char/ftape/ftape-rw.c | TRACEx2(6, "passing segment %d/%d", location.segment, location.sector); |
sector | 570 | drivers/char/ftape/ftape-rw.c | location.sector, segment_id, margin); |
sector | 599 | drivers/char/ftape/ftape-rw.c | location.sector, overshoot, inhibit_correction); |
sector | 630 | drivers/char/ftape/ftape-rw.c | location.segment, location.sector); |
sector | 662 | drivers/char/ftape/ftape-rw.c | location.segment, location.sector, segment_id, margin); |
sector | 691 | drivers/char/ftape/ftape-rw.c | location.sector, min_rewind, overshoot, inhibit_correction); |
sector | 736 | drivers/char/ftape/ftape-rw.c | TRACEx2(4, "current location: %d/%d", location.segment, location.sector); |
sector | 928 | drivers/char/ftape/ftape-rw.c | TRACEx2(4, "current segment: %d/%d", location.segment, location.sector); |
sector | 131 | drivers/char/ftape/ftape-rw.h | volatile int sector; /* sector offset within current segment */ |
sector | 915 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 1065 | drivers/scsi/scsi.c | req->sector += bh->b_size >> 9; |
sector | 2208 | drivers/scsi/scsi.c | unsigned int page, sector, nbits, mask; |
sector | 2220 | drivers/scsi/scsi.c | sector = (((unsigned long) obj) - page_addr) >> 9; |
sector | 2225 | drivers/scsi/scsi.c | if ((mask << sector) >= (1 << SECTORS_PER_PAGE)) |
sector | 2230 | drivers/scsi/scsi.c | if((dma_malloc_freelist[page] & (mask << sector)) != (mask<<sector)) |
sector | 2234 | drivers/scsi/scsi.c | dma_malloc_freelist[page] &= ~(mask << sector); |
sector | 3096 | drivers/scsi/scsi.c | SCpnt->request.sector, |
sector | 3123 | drivers/scsi/scsi.c | req->sector, |
sector | 467 | drivers/scsi/scsi.h | kdevname(req->rq_dev), req->sector); |
sector | 474 | drivers/scsi/scsi.h | req->sector += bh->b_size >> 9; |
sector | 101 | drivers/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
sector | 102 | drivers/scsi/scsicam.c | cyl = p->cyl + ((p->sector & 0xc0) << 2); |
sector | 290 | drivers/scsi/sd.c | SCpnt->request.sector, this_count); |
sector | 525 | drivers/scsi/sd.c | block = SCpnt->request.sector; |
sector | 163 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
sector | 197 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
sector | 212 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
sector | 319 | drivers/scsi/sr.c | unsigned long sector,min,sec,frame; |
sector | 347 | drivers/scsi/sr.c | sector = 0; |
sector | 378 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sector | 381 | drivers/scsi/sr.c | if (sector) { |
sector | 382 | drivers/scsi/sr.c | printk("sr_photocd: multisession CD detected. start: %lu\n",sector); |
sector | 421 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sector | 422 | drivers/scsi/sr.c | if (sector) { |
sector | 423 | drivers/scsi/sr.c | sector -= CD_BLOCK_OFFSET; |
sector | 425 | drivers/scsi/sr.c | printk("sr_photocd: multisession CD detected: start: %lu\n",sector); |
sector | 494 | drivers/scsi/sr.c | sector = rec[11] + (rec[10] << 8) + (rec[9] << 16) + (rec[8] << 24); |
sector | 495 | drivers/scsi/sr.c | is_xa = !!sector; |
sector | 497 | drivers/scsi/sr.c | if (sector) |
sector | 498 | drivers/scsi/sr.c | printk ("sr_photocd: multisession CD detected. start: %lu\n",sector); |
sector | 505 | drivers/scsi/sr.c | sector = 0; |
sector | 509 | drivers/scsi/sr.c | scsi_CDs[MINOR(inode->i_rdev)].mpcd_sector = sector; |
sector | 655 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
sector | 730 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
sector | 763 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
sector | 764 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
sector | 814 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
sector | 242 | fs/fat/cache.c | int fat_smap(struct inode *inode,int sector) |
sector | 250 | fs/fat/cache.c | if (sector >= sb->dir_entries >> MSDOS_DPS_BITS) return 0; |
sector | 251 | fs/fat/cache.c | return sector+sb->dir_start; |
sector | 253 | fs/fat/cache.c | cluster = sector/sb->cluster_size; |
sector | 254 | fs/fat/cache.c | offset = sector % sb->cluster_size; |
sector | 134 | fs/fat/file.c | int sector = fat_smap(inode,pre->file_sector); |
sector | 135 | fs/fat/file.c | if (sector != 0){ |
sector | 137 | fs/fat/file.c | PRINTK (("fsector2 %d -> %d\n",pre->file_sector-1,sector)); |
sector | 139 | fs/fat/file.c | bh = getblk(inode->i_dev,sector,SECTOR_SIZE); |
sector | 275 | fs/fat/file.c | int sector,offset,size,left,written; |
sector | 301 | fs/fat/file.c | while (!(sector = fat_smap(inode,filp->f_pos >> SECTOR_BITS))) |
sector | 316 | fs/fat/file.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))){ |
sector | 320 | fs/fat/file.c | }else if (!(bh = bread(inode->i_dev,sector,SECTOR_SIZE))) { |
sector | 119 | fs/fat/misc.c | int count,nr,limit,last,curr,sector,last_sector,file_cluster; |
sector | 188 | fs/fat/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
sector | 189 | fs/fat/misc.c | last_sector = sector + cluster_size; |
sector | 190 | fs/fat/misc.c | for ( ; sector < last_sector; sector++) { |
sector | 192 | fs/fat/misc.c | printk("zeroing sector %d\n",sector); |
sector | 194 | fs/fat/misc.c | if (!(bh = getblk(inode->i_dev,sector,SECTOR_SIZE))) |
sector | 287 | fs/fat/misc.c | int sector,offset; |
sector | 292 | fs/fat/misc.c | if ((sector = fat_smap(dir,offset >> SECTOR_BITS)) == -1) |
sector | 294 | fs/fat/misc.c | PRINTK (("get_entry sector %d %p\n",sector,*bh)); |
sector | 295 | fs/fat/misc.c | if (!sector) |
sector | 301 | fs/fat/misc.c | if (!(*bh = bread(dir->i_dev,sector,SECTOR_SIZE))) { |
sector | 302 | fs/fat/misc.c | printk("Directory sread (sector %d) failed\n",sector); |
sector | 308 | fs/fat/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
sector | 350 | fs/fat/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
sector | 366 | fs/fat/misc.c | static int raw_scan_sector(struct super_block *sb,int sector,const char *name, |
sector | 375 | fs/fat/misc.c | if (!(bh = bread(sb->s_dev,sector,SECTOR_SIZE))) return -EIO; |
sector | 394 | fs/fat/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
sector | 23 | include/linux/blk.h | (s1)->sector < (s2)->sector))) |
sector | 385 | include/linux/blk.h | kdevname(req->rq_dev), req->sector); |
sector | 388 | include/linux/blk.h | req->sector += (BLOCK_SIZE / 512); |
sector | 389 | include/linux/blk.h | req->sector &= ~SECTOR_MASK; |
sector | 439 | include/linux/blk.h | req->sector += req->current_nr_sectors; |
sector | 25 | include/linux/blkdev.h | unsigned long sector; |
sector | 35 | include/linux/genhd.h | unsigned char sector; /* starting sector */ |
sector | 191 | include/linux/msdos_fs.h | extern int fat_smap(struct inode *inode,int sector); |
sector | 122 | 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); |