tag | line | file | source code |
head | 327 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *head = &ring->ringhd; |
head | 329 | arch/sparc/mm/sun4c.c | entry->prev = head; |
head | 330 | arch/sparc/mm/sun4c.c | (entry->next = head->next)->prev = entry; |
head | 331 | arch/sparc/mm/sun4c.c | head->next = entry; |
head | 345 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *head = &ring->ringhd; |
head | 349 | arch/sparc/mm/sun4c.c | entry->prev = head; (entry->next = head->next)->prev = entry; |
head | 350 | arch/sparc/mm/sun4c.c | head->next = entry; |
head | 235 | drivers/block/floppy.c | #define PH_HEAD(floppy,head) (((((floppy)->stretch & 2) >>1) ^ head) << 2) |
head | 1965 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
head | 1978 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
head | 1994 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head) |
head | 2005 | drivers/block/floppy.c | here[count].head = format_req.head; |
head | 2049 | drivers/block/floppy.c | tmp_format_req->head >= floppy->head || |
head | 2136 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
head | 2359 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
head | 3026 | drivers/block/floppy.c | g->head <= 0 || |
head | 75 | drivers/block/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 118 | drivers/block/hd.c | if (bios_info[0].head != 0) |
head | 120 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
head | 206 | drivers/block/hd.c | static int controller_ready(unsigned int drive, unsigned int head) |
head | 213 | drivers/block/hd.c | outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); |
head | 221 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 232 | drivers/block/hd.c | if (!controller_ready(drive, head)) { |
head | 244 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 291 | drivers/block/hd.c | hd_info[dev].cyl*hd_info[dev].head*hd_info[dev].sect / 2048, |
head | 292 | drivers/block/hd.c | hd_info[dev].cyl, hd_info[dev].head, hd_info[dev].sect); |
head | 309 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
head | 317 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
head | 412 | drivers/block/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 674 | drivers/block/hd.c | if (hd_info[dev].head > 16) { |
head | 696 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
head | 734 | drivers/block/hd.c | head = track % hd_info[dev].head; |
head | 735 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
head | 739 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
head | 745 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
head | 752 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
head | 754 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 796 | drivers/block/hd.c | put_user(bios_info[dev].head, |
head | 966 | 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 | 1066 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
head | 476 | drivers/block/ide.c | unsigned long capacity = drive->cyl * drive->head * drive->sect; |
head | 1134 | drivers/block/ide.c | OUT_BYTE(((drive->head-1)|drive->select.all)&0xBF,IDE_SELECT_REG); |
head | 1225 | drivers/block/ide.c | unsigned int sect,head,cyl,track; |
head | 1229 | drivers/block/ide.c | head = track % drive->head; |
head | 1230 | drivers/block/ide.c | cyl = track / drive->head; |
head | 1233 | drivers/block/ide.c | OUT_BYTE(head|drive->select.all,io_base+IDE_SELECT_OFFSET); |
head | 1237 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
head | 2185 | drivers/block/ide.c | drive->head = drive->bios_head = id->heads; |
head | 2203 | drivers/block/ide.c | drive->head = id->cur_heads; |
head | 2207 | drivers/block/ide.c | capacity = drive->cyl * drive->head * drive->sect; |
head | 2216 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && id->heads && id->heads <= 16) { |
head | 2218 | drivers/block/ide.c | drive->head = id->heads; |
head | 2222 | drivers/block/ide.c | if (drive->sect == drive->bios_sect && drive->head == drive->bios_head) { |
head | 2403 | drivers/block/ide.c | drive->name, drive->cyl, drive->head, drive->sect); |
head | 2450 | drivers/block/ide.c | if ((!drive->head || drive->head > 16) && !drive->select.b.lba) { |
head | 2452 | drivers/block/ide.c | drive->name, drive->head); |
head | 2623 | drivers/block/ide.c | drive->head = drive->bios_head = vals[1]; |
head | 2788 | drivers/block/ide.c | drive->head = drive->id->heads; |
head | 2792 | drivers/block/ide.c | drive->bios_head = drive->head; |
head | 2863 | drivers/block/ide.c | drive->head = drive->bios_head = *(BIOS+2); |
head | 293 | drivers/block/ide.h | unsigned head : 4; /* always zeros here */ |
head | 326 | drivers/block/ide.h | byte head; /* "real" number of heads */ |
head | 338 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
head | 349 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
head | 354 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
head | 358 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
head | 432 | 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 | 435 | drivers/block/xd.c | cmdblk[1] = ((drive & 0x07) << 5) | (head & 0x1F); |
head | 873 | drivers/char/ftape/fdc-io.c | out[3] = buff->head; |
head | 136 | drivers/char/ftape/fdc-io.h | extern volatile int head; |
head | 391 | drivers/char/ftape/fdc-isr.c | *p_buff = next_buffer(&head); /* finish this buffer */ |
head | 396 | drivers/char/ftape/fdc-isr.c | if (buff->remaining > 0 && calc_next_cluster(&buffer[head]) > 0) { |
head | 399 | drivers/char/ftape/fdc-isr.c | if (setup_fdc_and_dma(&buffer[head], fdc_op) < 0) { |
head | 404 | drivers/char/ftape/fdc-isr.c | buff = *p_buff = next_buffer(&head); /* finish this buffer */ |
head | 417 | drivers/char/ftape/fdc-isr.c | buff = *p_buff = next_buffer(&head); |
head | 432 | drivers/char/ftape/fdc-isr.c | setup_new_segment(&buffer[head], next, 0); |
head | 437 | drivers/char/ftape/fdc-isr.c | if (calc_next_cluster(&buffer[head]) == 0 || |
head | 438 | drivers/char/ftape/fdc-isr.c | setup_fdc_and_dma(&buffer[head], fdc_op) != 0) { |
head | 544 | drivers/char/ftape/fdc-isr.c | buffer_struct *buff = &buffer[head]; |
head | 170 | drivers/char/ftape/ftape-ctl.c | head = tail = 0; |
head | 293 | drivers/char/ftape/ftape-read.c | if (buffer[head].status == reading || buffer[head].status == error) { |
head | 294 | drivers/char/ftape/ftape-read.c | if (buffer[head].status == error) { |
head | 295 | drivers/char/ftape/ftape-read.c | history.defects += count_ones(buffer[head].hard_error_map); |
head | 297 | drivers/char/ftape/ftape-read.c | buffer[head].status = waiting; |
head | 331 | drivers/char/ftape/ftape-read.c | head, tail, runner_status); |
head | 333 | drivers/char/ftape/ftape-read.c | buffer[head].status, buffer[tail].status); |
head | 335 | drivers/char/ftape/ftape-read.c | setup_new_segment(&buffer[head], segment_id, -1); |
head | 337 | drivers/char/ftape/ftape-read.c | buffer[head].next_segment = 0; /* disable read-ahead */ |
head | 339 | drivers/char/ftape/ftape-read.c | calc_next_cluster(&buffer[head]); |
head | 342 | drivers/char/ftape/ftape-read.c | buffer[head].sector_offset); |
head | 350 | drivers/char/ftape/ftape-read.c | buffer[head].status = reading; |
head | 351 | drivers/char/ftape/ftape-read.c | setup_fdc_and_dma(&buffer[head], FDC_READ); |
head | 52 | drivers/char/ftape/ftape-rw.c | volatile int head; |
head | 115 | drivers/char/ftape/ftape-rw.c | buff->head = segment_id / segments_per_head; |
head | 865 | drivers/char/ftape/ftape-rw.c | buffer[head].retry > 0 ? " retry" : ""); |
head | 866 | drivers/char/ftape/ftape-rw.c | if (buffer[head].retry > 0) { /* this is a retry */ |
head | 876 | drivers/char/ftape/ftape-rw.c | buffer[head].retry == 0)) { |
head | 108 | drivers/char/ftape/ftape-rw.h | volatile byte head; |
head | 112 | drivers/char/ftape/ftape-write.c | buffer_struct *buff = &buffer[head]; |
head | 118 | drivers/char/ftape/ftape-write.c | buffer[head].next_segment = 0; /* stop tape instead of pause */ |
head | 147 | drivers/char/ftape/ftape-write.c | while (ftape_state == writing && buffer[head].status != done) { |
head | 148 | drivers/char/ftape/ftape-write.c | TRACEx2(7, "tail: %d, head: %d", tail, head); |
head | 159 | drivers/char/ftape/ftape-write.c | if (buffer[head].status == error) { |
head | 168 | drivers/char/ftape/ftape-write.c | if (buffer[head].hard_error_map != 0) { |
head | 172 | drivers/char/ftape/ftape-write.c | buffer[head].status = waiting; /* retry this one */ |
head | 255 | drivers/char/ftape/ftape-write.c | if (buffer[head].status == writing) { |
head | 256 | drivers/char/ftape/ftape-write.c | buffer[head].status = done; /* ????? */ |
head | 285 | drivers/char/ftape/ftape-write.c | ((head == tail && buffer[tail].status == waiting) || flushing)) { |
head | 1446 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size; |
head | 1483 | drivers/char/istallion.c | head = (unsigned int) ap->txq.head; |
head | 1487 | drivers/char/istallion.c | len = (head >= tail) ? (portp->txsize - (head - tail) - 1) : (tail - head - 1); |
head | 1505 | drivers/char/istallion.c | head = (unsigned int) ap->txq.head; |
head | 1510 | drivers/char/istallion.c | if (head >= tail) { |
head | 1511 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
head | 1512 | drivers/char/istallion.c | stlen = size - head; |
head | 1514 | drivers/char/istallion.c | len = tail - head - 1; |
head | 1524 | drivers/char/istallion.c | memcpy((shbuf + head), chbuf, stlen); |
head | 1528 | drivers/char/istallion.c | head += stlen; |
head | 1529 | drivers/char/istallion.c | if (head >= size) { |
head | 1530 | drivers/char/istallion.c | head = 0; |
head | 1536 | drivers/char/istallion.c | ap->txq.head = head; |
head | 1598 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size, count, cooksize; |
head | 1635 | drivers/char/istallion.c | head = (unsigned int) ap->txq.head; |
head | 1640 | drivers/char/istallion.c | if (head >= tail) { |
head | 1641 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
head | 1642 | drivers/char/istallion.c | stlen = size - head; |
head | 1644 | drivers/char/istallion.c | len = tail - head - 1; |
head | 1655 | drivers/char/istallion.c | memcpy((shbuf + head), buf, stlen); |
head | 1659 | drivers/char/istallion.c | head += stlen; |
head | 1660 | drivers/char/istallion.c | if (head >= size) { |
head | 1661 | drivers/char/istallion.c | head = 0; |
head | 1667 | drivers/char/istallion.c | ap->txq.head = head; |
head | 1690 | drivers/char/istallion.c | unsigned int head, tail, len; |
head | 1719 | drivers/char/istallion.c | head = (unsigned int) rp->head; |
head | 1723 | drivers/char/istallion.c | len = (head >= tail) ? (portp->txsize - (head - tail)) : (tail - head); |
head | 1750 | drivers/char/istallion.c | unsigned int head, tail, len; |
head | 1774 | drivers/char/istallion.c | head = (unsigned int) rp->head; |
head | 1778 | drivers/char/istallion.c | len = (head >= tail) ? (head - tail) : (portp->txsize - (tail - head)); |
head | 2352 | drivers/char/istallion.c | unsigned int head, tail, size; |
head | 2366 | drivers/char/istallion.c | head = (unsigned int) rp->head; |
head | 2367 | drivers/char/istallion.c | if (head != ((unsigned int) rp->head)) |
head | 2368 | drivers/char/istallion.c | head = (unsigned int) rp->head; |
head | 2371 | drivers/char/istallion.c | if (head >= tail) { |
head | 2372 | drivers/char/istallion.c | len = head - tail; |
head | 2375 | drivers/char/istallion.c | len = size - (tail - head); |
head | 2394 | drivers/char/istallion.c | stlen = head; |
head | 2400 | drivers/char/istallion.c | if (head != tail) |
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 | 112 | drivers/char/psaux.c | unsigned long head; |
head | 201 | drivers/char/psaux.c | return queue->head == queue->tail; |
head | 213 | drivers/char/psaux.c | int head = queue->head; |
head | 219 | drivers/char/psaux.c | add_mouse_randomness(queue->buf[head] = inb(AUX_INPUT_PORT)); |
head | 220 | drivers/char/psaux.c | if (head != maxhead) { |
head | 221 | drivers/char/psaux.c | head++; |
head | 222 | drivers/char/psaux.c | head &= AUX_BUF_SIZE-1; |
head | 224 | drivers/char/psaux.c | queue->head = head; |
head | 239 | drivers/char/psaux.c | int head = queue->head; |
head | 242 | drivers/char/psaux.c | add_mouse_randomness(queue->buf[head] = inb(qp_data)); |
head | 243 | drivers/char/psaux.c | if (head != maxhead) { |
head | 244 | drivers/char/psaux.c | head++; |
head | 245 | drivers/char/psaux.c | head &= AUX_BUF_SIZE-1; |
head | 247 | drivers/char/psaux.c | queue->head = head; |
head | 313 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 355 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 512 | drivers/char/psaux.c | queue->head = queue->tail = 0; |
head | 217 | drivers/char/stallion.c | char *head; |
head | 712 | drivers/char/stallion.c | portp->tx.head = portp->tx.buf; |
head | 888 | drivers/char/stallion.c | portp->tx.head = (char *) NULL; |
head | 943 | drivers/char/stallion.c | char *head, *tail; |
head | 965 | drivers/char/stallion.c | head = portp->tx.head; |
head | 967 | drivers/char/stallion.c | len = (head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : |
head | 968 | drivers/char/stallion.c | (tail - head - 1); |
head | 980 | drivers/char/stallion.c | head = portp->tx.head; |
head | 982 | drivers/char/stallion.c | if (head >= tail) { |
head | 983 | drivers/char/stallion.c | len = STL_TXBUFSIZE - (head - tail) - 1; |
head | 984 | drivers/char/stallion.c | stlen = STL_TXBUFSIZE - (head - portp->tx.buf); |
head | 986 | drivers/char/stallion.c | len = tail - head - 1; |
head | 994 | drivers/char/stallion.c | memcpy(head, chbuf, stlen); |
head | 998 | drivers/char/stallion.c | head += stlen; |
head | 999 | drivers/char/stallion.c | if (head >= (portp->tx.buf + STL_TXBUFSIZE)) { |
head | 1000 | drivers/char/stallion.c | head = portp->tx.buf; |
head | 1001 | drivers/char/stallion.c | stlen = tail - head; |
head | 1004 | drivers/char/stallion.c | portp->tx.head = head; |
head | 1018 | drivers/char/stallion.c | char *head, *tail; |
head | 1032 | drivers/char/stallion.c | head = portp->tx.head; |
head | 1035 | drivers/char/stallion.c | len = (head >= tail) ? (STL_TXBUFSIZE - (head - tail)) : (tail - head); |
head | 1039 | drivers/char/stallion.c | *head++ = ch; |
head | 1040 | drivers/char/stallion.c | if (head >= (portp->tx.buf + STL_TXBUFSIZE)) |
head | 1041 | drivers/char/stallion.c | head = portp->tx.buf; |
head | 1043 | drivers/char/stallion.c | portp->tx.head = head; |
head | 1071 | drivers/char/stallion.c | if (tty->stopped || tty->hw_stopped || (portp->tx.head == portp->tx.tail)) |
head | 1082 | drivers/char/stallion.c | char *head, *tail; |
head | 1096 | drivers/char/stallion.c | head = portp->tx.head; |
head | 1098 | drivers/char/stallion.c | return((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1)); |
head | 1116 | drivers/char/stallion.c | char *head, *tail; |
head | 1130 | drivers/char/stallion.c | head = portp->tx.head; |
head | 1132 | drivers/char/stallion.c | size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
head | 1502 | drivers/char/stallion.c | portp->tx.head = (char *) NULL; |
head | 1536 | drivers/char/stallion.c | portp->tx.tail = portp->tx.head; |
head | 1593 | drivers/char/stallion.c | char *head, *tail; |
head | 1631 | drivers/char/stallion.c | head = portp->tx.head; |
head | 1633 | drivers/char/stallion.c | len = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
head | 3022 | drivers/char/stallion.c | unsigned char *head, *tail; |
head | 3050 | drivers/char/stallion.c | head = portp->tx.head; |
head | 3052 | drivers/char/stallion.c | portp->stats.txbuffered = ((head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head))); |
head | 194 | drivers/char/tty_ioctl.c | int nr, head, tail; |
head | 198 | drivers/char/tty_ioctl.c | head = tty->canon_head; |
head | 200 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
head | 202 | drivers/char/tty_ioctl.c | while (head != tail) { |
head | 177 | drivers/isdn/teles/buffers.c | if (!bq->head) |
head | 178 | drivers/isdn/teles/buffers.c | bq->head = bh; |
head | 194 | drivers/isdn/teles/buffers.c | bh->next = bq->head; |
head | 195 | drivers/isdn/teles/buffers.c | bq->head = bh; |
head | 209 | drivers/isdn/teles/buffers.c | if (bq->head) { |
head | 210 | drivers/isdn/teles/buffers.c | if (bq->tail == bq->head) |
head | 212 | drivers/isdn/teles/buffers.c | *bh = bq->head; |
head | 213 | drivers/isdn/teles/buffers.c | bq->head = (*bh)->next; |
head | 228 | drivers/isdn/teles/buffers.c | bq->head = NULL; |
head | 237 | drivers/isdn/teles/buffers.c | while (bq->head) { |
head | 249 | drivers/isdn/teles/buffers.c | bh = bq->head; |
head | 268 | drivers/isdn/teles/buffers.c | sp = q->head; |
head | 272 | drivers/isdn/teles/buffers.c | q->head = sp->next; |
head | 281 | drivers/isdn/teles/buffers.c | sp = q->head; |
head | 955 | drivers/isdn/teles/card.c | if ((!hsp->xmtibh) && (!hsp->sq.head)) |
head | 594 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
head | 603 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
head | 729 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
head | 738 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
head | 971 | drivers/isdn/teles/isdnl2.c | if (l2->i_queue.head && cansend(st)) |
head | 214 | drivers/isdn/teles/teles.h | struct BufHeader *head, *tail; |
head | 106 | drivers/net/3c509.c | int head, size; |
head | 406 | drivers/net/3c509.c | skb = lp->queue[lp->head]; |
head | 407 | drivers/net/3c509.c | lp->head = (lp->head + 1) & (SKB_QUEUE_SIZE-1); |
head | 451 | drivers/net/3c509.c | int tail = (lp->head + lp->size) & (SKB_QUEUE_SIZE-1); |
head | 2579 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *) |
head | 2592 | drivers/net/arcnet.c | head->protocol_id=ARC_P_IP; |
head | 2595 | drivers/net/arcnet.c | head->protocol_id=ARC_P_ARP; |
head | 2598 | drivers/net/arcnet.c | head->protocol_id=ARC_P_RARP; |
head | 2603 | drivers/net/arcnet.c | head->protocol_id=ARC_P_IPX; |
head | 2606 | drivers/net/arcnet.c | head->protocol_id=ARC_P_ATALK; |
head | 2625 | drivers/net/arcnet.c | head->saddr=((u_char*)saddr)[0]; |
head | 2627 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
head | 2629 | drivers/net/arcnet.c | head->split_flag=0; /* split packets are done elsewhere */ |
head | 2630 | drivers/net/arcnet.c | head->sequence=0; /* so are sequence numbers */ |
head | 2635 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
head | 2639 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
head | 2653 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *)buff; |
head | 2661 | drivers/net/arcnet.c | if(head->protocol_id != ARC_P_IP) |
head | 2664 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 2667 | drivers/net/arcnet.c | head->daddr=0; |
head | 2677 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
head | 2678 | drivers/net/arcnet.c | status=arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
head | 2680 | drivers/net/arcnet.c | head->saddr,head->daddr,head->protocol_id); |
head | 2694 | drivers/net/arcnet.c | struct ClientData *head; |
head | 2700 | drivers/net/arcnet.c | head=(struct ClientData *)skb->mac.raw; |
head | 2702 | drivers/net/arcnet.c | if (head->daddr==0) |
head | 2707 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
head | 2712 | drivers/net/arcnet.c | switch (head->protocol_id) |
head | 2723 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 3052 | drivers/net/arcnet.c | struct S_ClientData *head = (struct S_ClientData *) |
head | 3060 | drivers/net/arcnet.c | head->protocol_id=ARC_P_IP_RFC1051; |
head | 3064 | drivers/net/arcnet.c | head->protocol_id=ARC_P_ARP_RFC1051; |
head | 3084 | drivers/net/arcnet.c | head->saddr=((u_char*)saddr)[0]; |
head | 3086 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
head | 3091 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
head | 3095 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
head | 3108 | drivers/net/arcnet.c | struct S_ClientData *head = (struct S_ClientData *)buff; |
head | 3115 | drivers/net/arcnet.c | if(head->protocol_id != ARC_P_IP_RFC1051) |
head | 3118 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 3121 | drivers/net/arcnet.c | head->daddr=0; |
head | 3130 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
head | 3143 | drivers/net/arcnet.c | struct S_ClientData *head; |
head | 3149 | drivers/net/arcnet.c | head=(struct S_ClientData *)skb->mac.raw; |
head | 3151 | drivers/net/arcnet.c | if (head->daddr==0) |
head | 3156 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
head | 3161 | drivers/net/arcnet.c | switch (head->protocol_id) |
head | 3168 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 719 | drivers/net/eql.c | queue->head = head_slave; |
head | 747 | drivers/net/eql.c | zapped = eql_remove_slave (queue, queue->head->next); |
head | 750 | drivers/net/eql.c | kfree (queue->head->next); |
head | 751 | drivers/net/eql.c | kfree (queue->head); |
head | 769 | drivers/net/eql.c | slave->next = queue->head->next; |
head | 770 | drivers/net/eql.c | queue->head->next = slave; |
head | 787 | drivers/net/eql.c | prev = queue->head; |
head | 788 | drivers/net/eql.c | curr = queue->head->next; |
head | 822 | drivers/net/eql.c | slave->next = queue->head->next; |
head | 823 | drivers/net/eql.c | queue->head->next = slave; |
head | 844 | drivers/net/eql.c | prev = queue->head; |
head | 986 | drivers/net/eql.c | return queue->head->next; |
head | 506 | drivers/net/ppp.c | buf->head = 0; |
head | 1308 | drivers/net/ppp.c | current_idx = ppp->ubuf->head; |
head | 1328 | drivers/net/ppp.c | ppp->ubuf->head = current_idx; |
head | 1733 | drivers/net/ppp.c | if (ppp->ubuf->head == ppp->ubuf->tail) |
head | 2552 | drivers/net/ppp.c | int count = ppp->ubuf->tail - ppp->ubuf->head; |
head | 2605 | drivers/net/ppp.c | if (ppp->ubuf->head != ppp->ubuf->tail) { |
head | 1315 | drivers/scsi/aic7xxx.c | unsigned char head; |
head | 1319 | drivers/scsi/aic7xxx.c | head = inb(WAITING_SCBH + base); |
head | 1320 | drivers/scsi/aic7xxx.c | if (head == SCB_LIST_NULL) |
head | 1325 | drivers/scsi/aic7xxx.c | head = scb->position; |
head | 1332 | drivers/scsi/aic7xxx.c | outb(head, SCB_NEXT_WAITING + base); |
head | 1333 | drivers/scsi/aic7xxx.c | head = scb->position; |
head | 1340 | drivers/scsi/aic7xxx.c | outb(head, SCBPTR + base); |
head | 1347 | drivers/scsi/aic7xxx.c | outb(head, WAITING_SCBH + base); |
head | 115 | drivers/scsi/aic7xxx_asm.c | sym_t *head; |
head | 122 | drivers/scsi/aic7xxx_asm.c | for (p = head, q = (sym_t *)&head; p; p = p->next) { |
head | 149 | drivers/scsi/aic7xxx_asm.c | for (p = head; p; p = p->next) |
head | 169 | drivers/scsi/aic7xxx_asm.c | for (p = head; p; p = p->next) { |
head | 55 | drivers/sound/midibuf.c | int len, head, tail; |
head | 97 | drivers/sound/midibuf.c | data = q->queue[q->head]; \ |
head | 98 | drivers/sound/midibuf.c | q->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \ |
head | 180 | drivers/sound/midibuf.c | midi_out_buf[dev]->queue[midi_out_buf[dev]->head])) |
head | 182 | drivers/sound/midibuf.c | midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; |
head | 244 | drivers/sound/midibuf.c | midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; |
head | 256 | drivers/sound/midibuf.c | midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; |
head | 1060 | fs/buffer.c | struct buffer_head *bh, *head; |
head | 1063 | fs/buffer.c | head = NULL; |
head | 1069 | fs/buffer.c | bh->b_this_page = head; |
head | 1070 | fs/buffer.c | head = bh; |
head | 1075 | fs/buffer.c | return head; |
head | 1080 | fs/buffer.c | bh = head; |
head | 1082 | fs/buffer.c | head = bh; |
head | 1084 | 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 | 55 | fs/nfs/rpcsock.c | rsock->head = slot; |
head | 62 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
head | 74 | fs/nfs/rpcsock.c | rsock->head = next; |
head | 81 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
head | 193 | fs/nfs/rpcsock.c | if (rsock->head != slot) { |
head | 230 | fs/nfs/rpcsock.c | for (rovr = rsock->head; rovr; rovr = rovr->next) { |
head | 267 | fs/nfs/rpcsock.c | if (rsock->head == slot && slot->next != NULL) |
head | 395 | fs/nfs/rpcsock.c | while (rsock->head || rsock->backlog) { |
head | 296 | include/asm-sparc/pgtable.h | extern inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) |
head | 298 | include/asm-sparc/pgtable.h | entry->next = head; |
head | 299 | include/asm-sparc/pgtable.h | (entry->prev = head->prev)->next = entry; |
head | 300 | include/asm-sparc/pgtable.h | head->prev = entry; |
head | 439 | include/linux/cdk.h | unsigned short head; |
head | 15 | include/linux/fd.h | head, /* nr of heads */ |
head | 65 | include/linux/fd.h | unsigned int device,head,track; |
head | 34 | include/linux/genhd.h | unsigned char head; /* starting head */ |
head | 48 | include/linux/if_eql.h | slave_t *head; |
head | 73 | include/linux/if_pppvar.h | __s32 head; /* index to head of list */ |
head | 41 | include/linux/rpcsock.h | struct rpc_wait *head, *tail, *free; |
head | 106 | include/linux/skbuff.h | unsigned char *head; /* Head of buffer */ |
head | 410 | include/linux/skbuff.h | if(skb->data<skb->head) |
head | 426 | include/linux/skbuff.h | return skb->data-skb->head; |
head | 122 | 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 | 45 | mm/page_alloc.c | static inline void init_mem_queue(struct page * head) |
head | 47 | mm/page_alloc.c | head->next = head; |
head | 48 | mm/page_alloc.c | head->prev = head; |
head | 51 | mm/page_alloc.c | static inline void add_mem_queue(struct page * head, struct page * entry) |
head | 53 | mm/page_alloc.c | struct page * next = head->next; |
head | 55 | mm/page_alloc.c | entry->prev = head; |
head | 58 | mm/page_alloc.c | head->next = entry; |
head | 61 | mm/page_alloc.c | static inline void remove_mem_queue(struct page * head, struct page * entry) |
head | 28 | mm/swapfile.c | int head; /* head of priority-ordered swapfile list */ |
head | 95 | mm/swapfile.c | swap_list.next = swap_list.head; |
head | 107 | mm/swapfile.c | type = swap_list.head; |
head | 150 | mm/swapfile.c | swap_list.next = swap_list.head; |
head | 327 | mm/swapfile.c | for (type = swap_list.head; type >= 0; type = swap_info[type].next) { |
head | 346 | mm/swapfile.c | swap_list.head = p->next; |
head | 352 | mm/swapfile.c | swap_list.next = swap_list.head; |
head | 511 | mm/swapfile.c | for (i = swap_list.head; i >= 0; i = swap_info[i].next) { |
head | 519 | mm/swapfile.c | swap_list.head = swap_list.next = p - swap_info; |
head | 713 | net/core/dev.c | struct sk_buff_head * head; |
head | 722 | net/core/dev.c | head = dev->buffs; |
head | 729 | net/core/dev.c | for(i = 0;i < DEV_NUMBUFFS; i++,head++) |
head | 732 | net/core/dev.c | while (!skb_queue_empty(head)) { |
head | 735 | net/core/dev.c | skb = head->next; |
head | 736 | net/core/dev.c | __skb_unlink(skb, head); |
head | 79 | net/core/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
head | 81 | net/core/skbuff.c | if (head) { |
head | 148 | net/core/skbuff.c | if(skb->head>skb->data) |
head | 152 | net/core/skbuff.c | skb,skb->head,skb->data); |
head | 399 | net/core/skbuff.c | if(skb->data<skb->head) |
head | 417 | net/core/skbuff.c | return skb->data-skb->head; |
head | 433 | net/core/skbuff.c | if(skb->data<skb->head) |
head | 582 | net/core/skbuff.c | skb->head=bptr; |
head | 599 | net/core/skbuff.c | kfree(skb->head); |
head | 607 | net/core/skbuff.c | void * addr = skb->head; |
head | 683 | net/core/skbuff.c | offset=n->head-skb->head; |
head | 686 | net/core/skbuff.c | skb_reserve(n,skb->data-skb->head); |
head | 690 | net/core/skbuff.c | memcpy(n->head,skb->head,skb->end-skb->head); |
head | 536 | net/ipx/af_ipx.c | int in_offset = skb->h.raw - skb->head; |