tag | line | file | source code |
location | 343 | drivers/char/ftape/fdc-isr.c | location.known = 0; |
location | 132 | drivers/char/ftape/ftape-ctl.c | location.track = -1; /* force seek on first access */ |
location | 164 | drivers/char/ftape/ftape-ctl.c | location.known = 0; |
location | 876 | drivers/char/ftape/ftape-ctl.c | location.track = -1; |
location | 877 | drivers/char/ftape/ftape-ctl.c | location.known = 0; |
location | 291 | drivers/char/ftape/ftape-io.c | location.known = 0; |
location | 900 | drivers/char/ftape/ftape-io.c | location.track = -1; /* remains set in case of error */ |
location | 914 | drivers/char/ftape/ftape-io.c | location.track = track; |
location | 59 | drivers/char/ftape/ftape-rw.c | location_record location = |
location | 244 | drivers/char/ftape/ftape-rw.c | location.bot = ((location.track & 1) == 0 ? |
location | 247 | drivers/char/ftape/ftape-rw.c | location.eot = !location.bot; |
location | 248 | drivers/char/ftape/ftape-rw.c | location.segment = (location.track + |
location | 249 | drivers/char/ftape/ftape-rw.c | (location.bot ? 0 : 1)) * segments_per_track - 1; |
location | 250 | drivers/char/ftape/ftape-rw.c | location.sector = -1; |
location | 251 | drivers/char/ftape/ftape-rw.c | location.known = 1; |
location | 252 | drivers/char/ftape/ftape-rw.c | TRACEx1(5, "tape at logical %s", location.bot ? "bot" : "eot"); |
location | 253 | drivers/char/ftape/ftape-rw.c | TRACEx1(5, "segment = %d", location.segment); |
location | 255 | drivers/char/ftape/ftape-rw.c | location.known = 0; |
location | 258 | drivers/char/ftape/ftape-rw.c | return location.known; |
location | 273 | drivers/char/ftape/ftape-rw.c | location.known = 0; /* default is location not known */ |
location | 289 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 300 | drivers/char/ftape/ftape-rw.c | location.known = 1; |
location | 301 | drivers/char/ftape/ftape-rw.c | location.segment = (segments_per_head * fdc_head |
location | 304 | drivers/char/ftape/ftape-rw.c | location.sector = (fdc_sect - 1) % SECTORS_PER_SEGMENT; |
location | 305 | drivers/char/ftape/ftape-rw.c | location.eot = |
location | 306 | drivers/char/ftape/ftape-rw.c | location.bot = 0; |
location | 316 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 327 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 330 | drivers/char/ftape/ftape-rw.c | if (location.sector == 0) { |
location | 331 | drivers/char/ftape/ftape-rw.c | TRACEx2(5, "passing segment %d/%d", location.segment, location.sector); |
location | 333 | drivers/char/ftape/ftape-rw.c | TRACEx2(6, "passing segment %d/%d", location.segment, location.sector); |
location | 387 | drivers/char/ftape/ftape-rw.c | location.known = 0; |
location | 409 | drivers/char/ftape/ftape-rw.c | location.known = 0; |
location | 464 | drivers/char/ftape/ftape-rw.c | if (location.known && |
location | 465 | drivers/char/ftape/ftape-rw.c | ((location.bot && !reverse) || |
location | 466 | drivers/char/ftape/ftape-rw.c | (location.eot && reverse))) { |
location | 470 | drivers/char/ftape/ftape-rw.c | seek_forward(location.track * segments_per_track); |
location | 531 | drivers/char/ftape/ftape-rw.c | if (location.track == -1) { |
location | 537 | drivers/char/ftape/ftape-rw.c | int lo = (location.track - 1) * segments_per_track; |
location | 538 | drivers/char/ftape/ftape-rw.c | int hi = (location.track + 2) * segments_per_track; |
location | 557 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 566 | drivers/char/ftape/ftape-rw.c | int prev_segment = location.segment; |
location | 568 | drivers/char/ftape/ftape-rw.c | TRACEx4(4, "from %d/%d to %d/0 - %d", location.segment, |
location | 569 | drivers/char/ftape/ftape-rw.c | location.sector, segment_id, margin); |
location | 570 | drivers/char/ftape/ftape-rw.c | count = target - location.segment - overshoot; |
location | 571 | drivers/char/ftape/ftape-rw.c | fast_seeking = (count > min_count + (location.bot ? 1 : 0)); |
location | 580 | drivers/char/ftape/ftape-rw.c | while (location.segment < segment_id) { |
location | 586 | drivers/char/ftape/ftape-rw.c | if (ftape_read_id() < 0 || !location.known) { |
location | 587 | drivers/char/ftape/ftape-rw.c | location.known = 0; |
location | 597 | drivers/char/ftape/ftape-rw.c | TRACEx4(4, "ended at %d/%d (%d,%d)", location.segment, |
location | 598 | drivers/char/ftape/ftape-rw.c | location.sector, overshoot, inhibit_correction); |
location | 600 | drivers/char/ftape/ftape-rw.c | (location.segment < expected || |
location | 601 | drivers/char/ftape/ftape-rw.c | location.segment > expected + margin)) { |
location | 602 | drivers/char/ftape/ftape-rw.c | int error = location.segment - expected; |
location | 620 | drivers/char/ftape/ftape-rw.c | if (location.known) { |
location | 621 | drivers/char/ftape/ftape-rw.c | if (location.segment > prev_segment + 1) { |
location | 624 | drivers/char/ftape/ftape-rw.c | prev_segment = location.segment; |
location | 627 | drivers/char/ftape/ftape-rw.c | if (location.segment > segment_id) { |
location | 629 | drivers/char/ftape/ftape-rw.c | location.segment, location.sector); |
location | 650 | drivers/char/ftape/ftape-rw.c | if (location.known && !validate(segment_id)) { |
location | 657 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 661 | drivers/char/ftape/ftape-rw.c | location.segment, location.sector, segment_id, margin); |
location | 670 | drivers/char/ftape/ftape-rw.c | if (location.segment - target - (min_rewind - 1) < 1) { |
location | 673 | drivers/char/ftape/ftape-rw.c | count = location.segment - target - overshoot; |
location | 678 | drivers/char/ftape/ftape-rw.c | expected = location.segment - min_rewind; |
location | 679 | drivers/char/ftape/ftape-rw.c | if (expected / segments_per_track != location.track) { |
location | 680 | drivers/char/ftape/ftape-rw.c | expected = location.track * segments_per_track; |
location | 688 | drivers/char/ftape/ftape-rw.c | if (result == 0 && location.known) { |
location | 689 | drivers/char/ftape/ftape-rw.c | TRACEx5(4, "ended at %d/%d (%d,%d,%d)", location.segment, |
location | 690 | drivers/char/ftape/ftape-rw.c | location.sector, min_rewind, overshoot, inhibit_correction); |
location | 692 | drivers/char/ftape/ftape-rw.c | (location.segment < expected || |
location | 693 | drivers/char/ftape/ftape-rw.c | location.segment > expected + margin)) { |
location | 694 | drivers/char/ftape/ftape-rw.c | int error = expected - location.segment; |
location | 718 | drivers/char/ftape/ftape-rw.c | if ((!tape_running && !location.known) || |
location | 732 | drivers/char/ftape/ftape-rw.c | } while (location.segment > segment_id && |
location | 734 | drivers/char/ftape/ftape-rw.c | if (location.known) { |
location | 735 | drivers/char/ftape/ftape-rw.c | TRACEx2(4, "current location: %d/%d", location.segment, location.sector); |
location | 777 | drivers/char/ftape/ftape-rw.c | if (location.bot) { |
location | 798 | drivers/char/ftape/ftape-rw.c | location.known = 0; /* not cleared by logical forward ! */ |
location | 801 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 833 | drivers/char/ftape/ftape-rw.c | TRACEx1(5, "tape is positioned at segment %d", location.segment); |
location | 875 | drivers/char/ftape/ftape-rw.c | if (location.track != track || (might_be_off_track && |
location | 884 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 889 | drivers/char/ftape/ftape-rw.c | if (location.known && location.segment >= segment_id - |
location | 890 | drivers/char/ftape/ftape-rw.c | ((tape_running || location.bot) ? 0 : start_offset)) { |
location | 909 | drivers/char/ftape/ftape-rw.c | result = ftape_command_wait((location.track & 1) ? |
location | 918 | drivers/char/ftape/ftape-rw.c | if (!location.known) { |
location | 927 | drivers/char/ftape/ftape-rw.c | TRACEx2(4, "current segment: %d/%d", location.segment, location.sector); |
location | 933 | drivers/char/ftape/ftape-rw.c | if (location.segment < segment_id - |
location | 934 | drivers/char/ftape/ftape-rw.c | ((tape_running || location.bot) ? 0 : start_offset)) { |
location | 942 | drivers/char/ftape/ftape-rw.c | location.segment != segment_id - (sector_offset > 0 ? 0 : 1)) { |
location | 143 | drivers/char/ftape/ftape-rw.h | extern location_record location; |
location | 117 | drivers/net/at1700.c | static int read_eeprom(int ioaddr, int location); |
location | 278 | drivers/net/at1700.c | static int read_eeprom(int ioaddr, int location) |
location | 284 | drivers/net/at1700.c | int read_cmd = location | EE_READ_CMD; |
location | 158 | drivers/net/eepro.c | static int read_eeprom(int ioaddr, int location); |
location | 952 | drivers/net/eepro.c | read_eeprom(int ioaddr, int location) |
location | 957 | drivers/net/eepro.c | int read_cmd = location | EE_READ_CMD; |
location | 241 | drivers/net/eexpress.c | static unsigned short eexp_hw_readeeprom(unsigned short ioaddr, unsigned char location); |
location | 803 | drivers/net/eexpress.c | static unsigned short eexp_hw_readeeprom(unsigned short ioaddr, unsigned char location) |
location | 805 | drivers/net/eexpress.c | unsigned short cmd = 0x180|(location&0x7f); |
location | 156 | drivers/scsi/aic7xxx_asm.c | patch(sym_t *p, int location) |
location | 161 | drivers/scsi/aic7xxx_asm.c | p->patch[p->npatch - 1] = location; |
location | 142 | fs/isofs/rock.c | retval = isonum_733(rr->u.CL.location); |
location | 151 | fs/isofs/rock.c | retval = isonum_733(rr->u.PL.location); |
location | 372 | fs/isofs/rock.c | inode->u.isofs_i.i_first_extent = isonum_733(rr->u.CL.location) << |
location | 59 | fs/isofs/rock.h | char location[8]; |
location | 63 | fs/isofs/rock.h | char location[8]; |