taglinefilesource code
head288drivers/block/floppy.cstatic unsigned char head = 0;
head458drivers/block/floppy.ccount = floppy->sect*floppy->head*512;
head695drivers/block/floppy.c((sector-1 + head*floppy->sect)<<9);
head723drivers/block/floppy.coutput_byte(head<<2 | current_drive);
head725drivers/block/floppy.coutput_byte(head);
head733drivers/block/floppy.coutput_byte(head<<2 | current_drive);
head790drivers/block/floppy.coutput_byte((head<<2) | current_drive);
head832drivers/block/floppy.coutput_byte(head<<2 | current_drive);
head915drivers/block/floppy.coutput_byte(head<<2 | current_drive);
head929drivers/block/floppy.coutput_byte(head << 2 | current_drive);
head957drivers/block/floppy.coutput_byte(head<<2 | current_drive);
head983drivers/block/floppy.c((track_shift * track + head_shift * head) % floppy->sect);
head988drivers/block/floppy.c*here++ = head;
head1051drivers/block/floppy.chead = block % floppy->head;
head1052drivers/block/floppy.ctrack = block / floppy->head;
head1068drivers/block/floppy.c(format_req.head & 0xfffe) || probing) {
head1072drivers/block/floppy.chead = format_req.head;
head1084drivers/block/floppy.c((sector + head*floppy->sect)<<9);
head74drivers/block/hd.cunsigned int head,sect,cyl,wpcom,lzone,ctl;
head116drivers/block/hd.cif (hd_info[0].head != 0)
head118drivers/block/hd.chd_info[hdind].head = ints[2];
head147drivers/block/hd.cstatic int controller_ready(unsigned int drive, unsigned int head)
head154drivers/block/hd.coutb_p(0xA0 | (drive<<4) | head, HD_CURRENT);
head188drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
head193drivers/block/hd.cif (drive>1 || head>15)
head201drivers/block/hd.cif (!controller_ready(drive, head)) {
head213drivers/block/hd.coutb_p(0xA0|(drive<<4)|head,++port);
head262drivers/block/hd.chd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1,
head452drivers/block/hd.cunsigned int sec,head,cyl,track;
head478drivers/block/hd.chead = track % hd_info[dev].head;
head479drivers/block/hd.ccyl = track / hd_info[dev].head;
head482drivers/block/hd.cdev, cyl, head, sec, CURRENT->buffer);
head503drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr);
head516drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,WIN_READ,&read_intr);
head542drivers/block/hd.cput_fs_byte(hd_info[dev].head,
head653drivers/block/hd.chd_info[drive].head = *(2+BIOS);
head692drivers/block/hd.cif (hd_info[i].head > 16) {
head698drivers/block/hd.chd_info[i].head);
head703drivers/block/hd.chd[i<<6].nr_sects = hd_info[i].head*
head747drivers/block/hd.c#define CAPACITY (hd_info[target].head*hd_info[target].sect*hd_info[target].cyl)
head282drivers/block/xd.cu_char head,sector,control,mode,temp;
head293drivers/block/xd.chead = track % xd_info[drive].heads;
head298drivers/block/xd.cprintk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp);
head302drivers/block/xd.cxd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control);
head372drivers/block/xd.cstatic 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)
head375drivers/block/xd.ccmdblk[1] = ((drive & 0x07) << 5) | (head & 0x1F);
head292drivers/char/keyboard.cqp->buf[qp->head] = ch;
head293drivers/char/keyboard.cINC(qp->head);
head311drivers/char/keyboard.cqp->buf[qp->head] = ch;
head312drivers/char/keyboard.cINC(qp->head);
head95drivers/char/psaux.cunsigned long head;
head185drivers/char/psaux.creturn queue->head == queue->tail;
head197drivers/char/psaux.cint head = queue->head;
head200drivers/char/psaux.cqueue->buf[head] = inb(AUX_INPUT_PORT);
head201drivers/char/psaux.cif (head != maxhead) {
head202drivers/char/psaux.chead++;
head203drivers/char/psaux.chead &= AUX_BUF_SIZE-1;
head205drivers/char/psaux.cqueue->head = head;
head218drivers/char/psaux.cint head = queue->head;
head221drivers/char/psaux.cqueue->buf[head] = inb(qp_data);
head222drivers/char/psaux.cif (head != maxhead) {
head223drivers/char/psaux.chead++;
head224drivers/char/psaux.chead &= AUX_BUF_SIZE-1;
head226drivers/char/psaux.cqueue->head = head;
head274drivers/char/psaux.cqueue->head = queue->tail = 0;          /* Flush input queue */
head316drivers/char/psaux.cqueue->head = queue->tail = 0;          /* Flush input queue */
head466drivers/char/psaux.cqueue->head = queue->tail = 0;
head325drivers/char/serial.cint head, tail, ch;
head331drivers/char/serial.c#define VLEFT ((tail-head-1)&(TTY_BUF_SIZE-1))
head334drivers/char/serial.chead = queue->head;
head345drivers/char/serial.cset_bit(head, &info->tty->readq_flags);
head347drivers/char/serial.cqueue->buf[head++]= TTY_BREAK;
head350drivers/char/serial.cqueue->buf[head++]= TTY_PARITY;
head352drivers/char/serial.cqueue->buf[head++]= TTY_FRAME;
head353drivers/char/serial.chead &= TTY_BUF_SIZE-1;
head355drivers/char/serial.cqueue->buf[head++] = ch;
head356drivers/char/serial.chead &= TTY_BUF_SIZE-1;
head358drivers/char/serial.cqueue->head = head;
head371drivers/char/serial.cint head, tail, count;
head374drivers/char/serial.chead = queue->head;
head376drivers/char/serial.cif (head==tail && !info->x_char) {
head389drivers/char/serial.cwhile (count-- && (tail != head)) {
head920drivers/char/serial.cint head, tail, count;
head931drivers/char/serial.chead = queue->head;
head935drivers/char/serial.cif (tail == head)
head101drivers/char/tty_io.cint head;
head106drivers/char/tty_io.chead = (queue->head + 1) & (TTY_BUF_SIZE-1);
head107drivers/char/tty_io.cif (head != queue->tail) {
head108drivers/char/tty_io.cqueue->buf[queue->head] = c;
head109drivers/char/tty_io.cqueue->head = head;
head121drivers/char/tty_io.cif (queue->tail != queue->head) {
head142drivers/char/tty_io.cint head, tail;
head148drivers/char/tty_io.chead = tty->read_q.head;
head149drivers/char/tty_io.cwhile ((result < buflen) && (tail!=head) && ok) {
head505drivers/char/tty_io.cif (tty->read_q.tail != tty->read_q.head) {
head589drivers/char/tty_io.cDEC(tty->secondary.head);
head609drivers/char/tty_io.cDEC(tty->secondary.head);
head1501drivers/char/tty_io.cint head, tail, count;
head1505drivers/char/tty_io.c#define VLEFT ((tail-head-1)&(TTY_BUF_SIZE-1))
head1514drivers/char/tty_io.chead = tty->write_q.head;
head1520drivers/char/tty_io.ctty->write_q.buf[head++] = *p++;
head1521drivers/char/tty_io.chead &= TTY_BUF_SIZE-1;
head1524drivers/char/tty_io.ctty->write_q.head = head;
head1547drivers/char/tty_io.cint  head, tail, count;
head1562drivers/char/tty_io.chead = tty->write_q.head;
head1568drivers/char/tty_io.ctty->write_q.buf[head++] = *p++;
head1569drivers/char/tty_io.chead &= TTY_BUF_SIZE-1;
head1572drivers/char/tty_io.ctty->write_q.head = head;
head47drivers/char/tty_ioctl.cqueue->head = queue->tail;
head654fs/buffer.cstruct buffer_head *bh, *head;
head657fs/buffer.chead = NULL;
head663fs/buffer.cbh->b_this_page = head;
head664fs/buffer.chead = bh;
head668fs/buffer.creturn head;
head673fs/buffer.cbh = head;
head675fs/buffer.chead = bh;
head677fs/buffer.cput_unused_buffer_head(head);
head29include/linux/fd.hhead,    /* nr of heads */
head40include/linux/fd.hunsigned int device,head,track;
head16include/linux/genhd.hunsigned char head;    /* starting head */
head66include/linux/tty.hunsigned long head;
head138include/linux/tty.h#define EMPTY(a) ((a)->head == (a)->tail)
head139include/linux/tty.h#define LEFT(a) (((a)->tail-(a)->head-1)&(TTY_BUF_SIZE-1))
head140include/linux/tty.h#define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)])
head142include/linux/tty.h#define CHARS(a) (((a)->head-(a)->tail)&(TTY_BUF_SIZE-1))
head123include/linux/xd.hstatic 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);