tag | line | file | source code |
head | 1775 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
head | 1785 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
head | 1801 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
head | 1812 | drivers/block/floppy.c | here[count].head = format_req.head; |
head | 1857 | drivers/block/floppy.c | tmp_format_req->head >= floppy->head || |
head | 1944 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
head | 2172 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
head | 2765 | drivers/block/floppy.c | newparams.head <= 0 || |
head | 81 | drivers/block/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 124 | drivers/block/hd.c | if (bios_info[0].head != 0) |
head | 126 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
head | 212 | drivers/block/hd.c | static int controller_ready(unsigned int drive, unsigned int head) |
head | 219 | drivers/block/hd.c | outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); |
head | 227 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 238 | drivers/block/hd.c | if (!controller_ready(drive, head)) { |
head | 250 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 297 | drivers/block/hd.c | hd_info[dev].cyl*hd_info[dev].head*hd_info[dev].sect / 2048, |
head | 298 | drivers/block/hd.c | hd_info[dev].cyl, hd_info[dev].head, hd_info[dev].sect); |
head | 315 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
head | 323 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
head | 418 | drivers/block/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 680 | drivers/block/hd.c | if (hd_info[dev].head > 16) { |
head | 702 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
head | 739 | drivers/block/hd.c | head = track % hd_info[dev].head; |
head | 740 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
head | 744 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
head | 750 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
head | 757 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
head | 759 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 801 | drivers/block/hd.c | put_fs_byte(bios_info[dev].head, |
head | 967 | drivers/block/hd.c | bios_info[drive].head = hd_info[drive].head = *(2+BIOS); |
head | 1017 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
head | 1063 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
head | 265 | drivers/block/ide.c | unsigned head : 4; /* always zeros here */ |
head | 286 | drivers/block/ide.c | byte head, sect, bios_head, bios_sect; |
head | 882 | drivers/block/ide.c | OUT_BYTE(((dev->head-1)|dev->select.all)&0xBF,HD_CURRENT); |
head | 942 | drivers/block/ide.c | unsigned int sect,head,cyl,track; |
head | 946 | drivers/block/ide.c | head = track % dev->head; |
head | 947 | drivers/block/ide.c | cyl = track / dev->head; |
head | 950 | drivers/block/ide.c | OUT_BYTE(head|dev->select.all,HD_CURRENT); |
head | 954 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
head | 1639 | drivers/block/ide.c | dev->head = dev->bios_head = id->heads; |
head | 1657 | drivers/block/ide.c | dev->head = id->cur_heads; |
head | 1659 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
head | 1669 | drivers/block/ide.c | if (!dev->head || dev->head > 16) { |
head | 1671 | drivers/block/ide.c | dev->head = id->heads; /* geometry or it fails. */ |
head | 1676 | drivers/block/ide.c | if (dev->sect == dev->bios_sect && dev->head == dev->bios_head) { |
head | 1838 | drivers/block/ide.c | dev->name, dev->cyl, dev->head, dev->sect); |
head | 1855 | drivers/block/ide.c | if (!dev->head || dev->head > 16) { |
head | 1857 | drivers/block/ide.c | dev->name, dev->head); |
head | 1947 | drivers/block/ide.c | dev->head = dev->bios_head = ints[2]; |
head | 2007 | drivers/block/ide.c | dev->head = dev->bios_head = * (BIOS+2); |
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 | 200 | drivers/char/tty_ioctl.c | int nr, head, tail; |
head | 204 | drivers/char/tty_ioctl.c | head = tty->canon_head; |
head | 206 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
head | 208 | 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 | 933 | fs/buffer.c | struct buffer_head *bh, *head; |
head | 936 | fs/buffer.c | head = NULL; |
head | 942 | fs/buffer.c | bh->b_this_page = head; |
head | 943 | fs/buffer.c | head = bh; |
head | 948 | fs/buffer.c | return head; |
head | 953 | fs/buffer.c | bh = head; |
head | 955 | fs/buffer.c | head = bh; |
head | 957 | 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)->prev = entry; |
head | 530 | mm/swap.c | head->next = entry; |
head | 533 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 71 | net/inet/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
head | 73 | net/inet/skbuff.c | if (head) { |