tag | line | file | source code |
head | 1525 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
head | 1535 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + ( format_req.head << 2 ); |
head | 1552 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
head | 1563 | drivers/block/floppy.c | here[count].head = format_req.head; |
head | 1606 | drivers/block/floppy.c | tmp_format_req->head >= floppy->head){ |
head | 1692 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
head | 1954 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
head | 2479 | drivers/block/floppy.c | newparams.head <= 0 || |
head | 80 | drivers/block/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 123 | drivers/block/hd.c | if (bios_info[0].head != 0) |
head | 125 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
head | 154 | drivers/block/hd.c | static int controller_ready(unsigned int drive, unsigned int head) |
head | 161 | drivers/block/hd.c | outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); |
head | 195 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 201 | drivers/block/hd.c | if (drive>1 || head>15) { |
head | 203 | drivers/block/hd.c | drive, cyl, head, sect); |
head | 213 | drivers/block/hd.c | if (!controller_ready(drive, head)) { |
head | 225 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 272 | drivers/block/hd.c | hd_info[dev].head = id.cur_heads; |
head | 279 | drivers/block/hd.c | hd_info[dev].cyl, hd_info[dev].head, hd_info[dev].sect, id.max_multsect); |
head | 371 | drivers/block/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 632 | drivers/block/hd.c | unsigned int sec,head,cyl,track; |
head | 658 | drivers/block/hd.c | head = track % hd_info[dev].head; |
head | 659 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
head | 662 | drivers/block/hd.c | dev+'a', cyl, head, sec, CURRENT->buffer); |
head | 698 | drivers/block/hd.c | if (hd_info[dev].head > 16) { |
head | 707 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
head | 719 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
head | 721 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 769 | drivers/block/hd.c | put_fs_byte(bios_info[dev].head, |
head | 951 | drivers/block/hd.c | bios_info[drive].head = hd_info[drive].head = *(2+BIOS); |
head | 994 | drivers/block/hd.c | if (bios_info[i].head > 16) { |
head | 1007 | drivers/block/hd.c | bios_info[i].head); |
head | 1009 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
head | 1055 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
head | 326 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
head | 337 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
head | 342 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
head | 346 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
head | 420 | 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 | 423 | drivers/block/xd.c | cmdblk[1] = ((drive & 0x07) << 5) | (head & 0x1F); |
head | 186 | drivers/char/n_tty.c | int head, seen_alnums; |
head | 219 | drivers/char/n_tty.c | head = (tty->read_head - 1) & (N_TTY_BUF_SIZE-1); |
head | 220 | drivers/char/n_tty.c | c = tty->read_buf[head]; |
head | 228 | 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 | 186 | drivers/char/tty_ioctl.c | int nr, head, tail; |
head | 190 | drivers/char/tty_ioctl.c | head = tty->canon_head; |
head | 192 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
head | 194 | 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 | 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 | 930 | fs/buffer.c | struct buffer_head *bh, *head; |
head | 933 | fs/buffer.c | head = NULL; |
head | 939 | fs/buffer.c | bh->b_this_page = head; |
head | 940 | fs/buffer.c | head = bh; |
head | 945 | fs/buffer.c | return head; |
head | 950 | fs/buffer.c | bh = head; |
head | 952 | fs/buffer.c | head = bh; |
head | 954 | 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 | 63 | include/linux/fd.h | head, /* nr of heads */ |
head | 74 | 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 | 496 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 498 | mm/swap.c | entry->prev = head; |
head | 499 | mm/swap.c | entry->next = head->next; |
head | 501 | mm/swap.c | head->next = entry; |
head | 504 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 67 | net/inet/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
head | 69 | net/inet/skbuff.c | if (head) { |