tag | line | file | source code |
head | 1777 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
head | 1787 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
head | 1803 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
head | 1814 | drivers/block/floppy.c | here[count].head = format_req.head; |
head | 1859 | drivers/block/floppy.c | tmp_format_req->head >= floppy->head || |
head | 1946 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
head | 2174 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
head | 2767 | drivers/block/floppy.c | newparams.head <= 0 || |
head | 82 | drivers/block/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 125 | drivers/block/hd.c | if (bios_info[0].head != 0) |
head | 127 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
head | 213 | drivers/block/hd.c | static int controller_ready(unsigned int drive, unsigned int head) |
head | 220 | drivers/block/hd.c | outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); |
head | 228 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 239 | drivers/block/hd.c | if (!controller_ready(drive, head)) { |
head | 251 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 298 | drivers/block/hd.c | hd_info[dev].cyl*hd_info[dev].head*hd_info[dev].sect / 2048, |
head | 299 | drivers/block/hd.c | hd_info[dev].cyl, hd_info[dev].head, hd_info[dev].sect); |
head | 316 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
head | 324 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
head | 419 | drivers/block/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 681 | drivers/block/hd.c | if (hd_info[dev].head > 16) { |
head | 703 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
head | 740 | drivers/block/hd.c | head = track % hd_info[dev].head; |
head | 741 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
head | 745 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
head | 751 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
head | 758 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
head | 760 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 802 | drivers/block/hd.c | put_fs_byte(bios_info[dev].head, |
head | 984 | drivers/block/hd.c | bios_info[drive].head = hd_info[drive].head = *(2+BIOS); |
head | 1034 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
head | 1080 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
head | 327 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
head | 338 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
head | 343 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
head | 347 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
head | 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) |
head | 424 | drivers/block/xd.c | cmdblk[1] = ((drive & 0x07) << 5) | (head & 0x1F); |
head | 187 | drivers/char/n_tty.c | int head, seen_alnums; |
head | 220 | drivers/char/n_tty.c | head = (tty->read_head - 1) & (N_TTY_BUF_SIZE-1); |
head | 221 | drivers/char/n_tty.c | c = tty->read_buf[head]; |
head | 229 | drivers/char/n_tty.c | tty->read_head = head; |
head | 95 | drivers/char/psaux.c | unsigned long head; |
head | 185 | drivers/char/psaux.c | return queue->head == queue->tail; |
head | 197 | drivers/char/psaux.c | int head = queue->head; |
head | 200 | drivers/char/psaux.c | queue->buf[head] = inb(AUX_INPUT_PORT); |
head | 201 | drivers/char/psaux.c | if (head != maxhead) { |
head | 202 | drivers/char/psaux.c | head++; |
head | 203 | drivers/char/psaux.c | head &= AUX_BUF_SIZE-1; |
head | 205 | drivers/char/psaux.c | queue->head = head; |
head | 218 | drivers/char/psaux.c | int head = queue->head; |
head | 221 | drivers/char/psaux.c | queue->buf[head] = inb(qp_data); |
head | 222 | drivers/char/psaux.c | if (head != maxhead) { |
head | 223 | drivers/char/psaux.c | head++; |
head | 224 | drivers/char/psaux.c | head &= AUX_BUF_SIZE-1; |
head | 226 | drivers/char/psaux.c | queue->head = head; |
head | 274 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 316 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 465 | drivers/char/psaux.c | queue->head = queue->tail = 0; |
head | 201 | drivers/char/tty_ioctl.c | int nr, head, tail; |
head | 205 | drivers/char/tty_ioctl.c | head = tty->canon_head; |
head | 207 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
head | 209 | drivers/char/tty_ioctl.c | while (head != tail) { |
head | 785 | drivers/net/ppp.c | int head = tty->read_q.head, |
head | 790 | drivers/net/ppp.c | PRINTK ((KERN_DEBUG "INQUEUE: head %d tail %d imode %x:\n", head, tail, |
head | 796 | drivers/net/ppp.c | while (i != head) { |
head | 99 | drivers/scsi/aic7770.c | sym_t *head; |
head | 105 | drivers/scsi/aic7770.c | for (p = head, q = (sym_t *)&head; p; p = p->next) { |
head | 131 | drivers/scsi/aic7770.c | for (p = head; p; p = p->next) |
head | 150 | drivers/scsi/aic7770.c | for (p = head; p; p = p->next) { |
head | 45 | drivers/sound/midibuf.c | int len, head, tail; |
head | 85 | drivers/sound/midibuf.c | data = q->queue[q->head]; \ |
head | 86 | drivers/sound/midibuf.c | q->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \ |
head | 148 | drivers/sound/midibuf.c | midi_out_buf[dev]->queue[midi_out_buf[dev]->head])) |
head | 150 | drivers/sound/midibuf.c | midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; |
head | 212 | drivers/sound/midibuf.c | midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; |
head | 225 | drivers/sound/midibuf.c | midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; |
head | 934 | fs/buffer.c | struct buffer_head *bh, *head; |
head | 937 | fs/buffer.c | head = NULL; |
head | 943 | fs/buffer.c | bh->b_this_page = head; |
head | 944 | fs/buffer.c | head = bh; |
head | 949 | fs/buffer.c | return head; |
head | 954 | fs/buffer.c | bh = head; |
head | 956 | fs/buffer.c | head = bh; |
head | 958 | fs/buffer.c | put_unused_buffer_head(head); |
head | 83 | fs/dcache.c | static inline void add_lru(struct dir_cache_entry * de, struct dir_cache_entry *head) |
head | 85 | fs/dcache.c | de->next_lru = head; |
head | 86 | fs/dcache.c | de->prev_lru = head->prev_lru; |
head | 88 | fs/dcache.c | head->prev_lru = de; |
head | 62 | include/linux/fd.h | head, /* nr of heads */ |
head | 73 | include/linux/fd.h | unsigned int device,head,track; |
head | 16 | include/linux/genhd.h | unsigned char head; /* starting head */ |
head | 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); |
head | 526 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 528 | mm/swap.c | entry->prev = head; |
head | 529 | mm/swap.c | entry->next = head->next; |
head | 531 | mm/swap.c | head->next = entry; |
head | 534 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 70 | net/inet/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
head | 72 | net/inet/skbuff.c | if (head) { |