tag | line | file | source code |
head | 26 | include/linux/fd.h | head, /* nr of heads */ |
head | 37 | include/linux/fd.h | unsigned int device,head,track; |
head | 16 | include/linux/genhd.h | unsigned char head; /* starting head */ |
head | 65 | include/linux/tty.h | unsigned long head; |
head | 97 | include/linux/tty.h | #define EMPTY(a) ((a)->head == (a)->tail) |
head | 98 | include/linux/tty.h | #define LEFT(a) (((a)->tail-(a)->head-1)&(TTY_BUF_SIZE-1)) |
head | 99 | include/linux/tty.h | #define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)]) |
head | 101 | include/linux/tty.h | #define CHARS(a) (((a)->head-(a)->tail)&(TTY_BUF_SIZE-1)) |
head | 265 | kernel/blk_drv/floppy.c | static unsigned char head = 0; |
head | 571 | kernel/blk_drv/floppy.c | ((sector-1 + head*floppy->sect)<<9); |
head | 600 | kernel/blk_drv/floppy.c | output_byte(head<<2 | current_drive); |
head | 602 | kernel/blk_drv/floppy.c | output_byte(head); |
head | 610 | kernel/blk_drv/floppy.c | output_byte(head<<2 | current_drive); |
head | 701 | kernel/blk_drv/floppy.c | output_byte((head<<2) | current_drive); |
head | 741 | kernel/blk_drv/floppy.c | output_byte(head<<2 | current_drive); |
head | 812 | kernel/blk_drv/floppy.c | output_byte(head<<2 | current_drive); |
head | 826 | kernel/blk_drv/floppy.c | output_byte(head << 2 | current_drive); |
head | 854 | kernel/blk_drv/floppy.c | output_byte(head<<2 | current_drive); |
head | 887 | kernel/blk_drv/floppy.c | *here++ = head; |
head | 946 | kernel/blk_drv/floppy.c | head = block % floppy->head; |
head | 947 | kernel/blk_drv/floppy.c | track = block / floppy->head; |
head | 963 | kernel/blk_drv/floppy.c | (format_req.head & 0xfffe) || probing) { |
head | 967 | kernel/blk_drv/floppy.c | head = format_req.head; |
head | 979 | kernel/blk_drv/floppy.c | ((sector + head*floppy->sect)<<9); |
head | 67 | kernel/blk_drv/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 130 | kernel/blk_drv/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 135 | kernel/blk_drv/hd.c | if (drive>1 || head>15) |
head | 153 | kernel/blk_drv/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 202 | kernel/blk_drv/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 381 | kernel/blk_drv/hd.c | unsigned int sec,head,cyl; |
head | 404 | kernel/blk_drv/hd.c | head = block % hd_info[dev].head; |
head | 405 | kernel/blk_drv/hd.c | cyl = block / hd_info[dev].head; |
head | 409 | kernel/blk_drv/hd.c | dev, cyl, head, sec, CURRENT->buffer); |
head | 427 | kernel/blk_drv/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 438 | kernel/blk_drv/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_READ,&read_intr); |
head | 460 | kernel/blk_drv/hd.c | put_fs_byte(hd_info[dev].head, |
head | 511 | kernel/blk_drv/hd.c | hd_info[drive].head = *(unsigned char *) (2+BIOS); |
head | 551 | kernel/blk_drv/hd.c | hd[i<<6].nr_sects = hd_info[i].head* |
head | 131 | kernel/chr_drv/keyboard.c | qp->buf[qp->head]=ch; |
head | 132 | kernel/chr_drv/keyboard.c | if ((new_head=(qp->head+1)&(TTY_BUF_SIZE-1)) != qp->tail) |
head | 133 | kernel/chr_drv/keyboard.c | qp->head=new_head; |
head | 144 | kernel/chr_drv/keyboard.c | qp->buf[qp->head]=ch; |
head | 145 | kernel/chr_drv/keyboard.c | if ((new_head=(qp->head+1)&(TTY_BUF_SIZE-1)) |
head | 147 | kernel/chr_drv/keyboard.c | qp->head=new_head; |
head | 73 | kernel/chr_drv/serial.c | if (queue->tail == queue->head) |
head | 93 | kernel/chr_drv/serial.c | int head = queue->head; |
head | 98 | kernel/chr_drv/serial.c | queue->buf[head] = inb(port); |
head | 99 | kernel/chr_drv/serial.c | if (head != maxhead) { |
head | 100 | kernel/chr_drv/serial.c | head++; |
head | 101 | kernel/chr_drv/serial.c | head &= TTY_BUF_SIZE-1; |
head | 104 | kernel/chr_drv/serial.c | queue->head = head; |
head | 59 | kernel/chr_drv/tty_io.c | int head; |
head | 63 | kernel/chr_drv/tty_io.c | head = (queue->head + 1) & (TTY_BUF_SIZE-1); |
head | 64 | kernel/chr_drv/tty_io.c | if (head != queue->tail) { |
head | 65 | kernel/chr_drv/tty_io.c | queue->buf[queue->head] = c; |
head | 66 | kernel/chr_drv/tty_io.c | queue->head = head; |
head | 77 | kernel/chr_drv/tty_io.c | if (queue->tail != queue->head) { |
head | 176 | kernel/chr_drv/tty_io.c | DEC(tty->secondary->head); |
head | 197 | kernel/chr_drv/tty_io.c | DEC(tty->secondary->head); |
head | 28 | kernel/chr_drv/tty_ioctl.c | queue->head = queue->tail; |