tag | line | file | source code |
head | 244 | drivers/block/floppy.c | #define PH_HEAD(floppy,head) (((((floppy)->stretch & 2) >>1) ^ head) << 2) |
head | 2003 | drivers/block/floppy.c | unsigned char track,head,sect,size; |
head | 2013 | drivers/block/floppy.c | DR_SELECT = UNIT(current_drive) + PH_HEAD(floppy,format_req.head); |
head | 2029 | drivers/block/floppy.c | n = (track_shift * format_req.track + head_shift * format_req.head ) |
head | 2040 | drivers/block/floppy.c | here[count].head = format_req.head; |
head | 2085 | drivers/block/floppy.c | tmp_format_req->head >= floppy->head || |
head | 2172 | drivers/block/floppy.c | nr_sectors = ((R_TRACK-TRACK)*floppy->head+R_HEAD-HEAD) * |
head | 2400 | drivers/block/floppy.c | max_sector = floppy->sect * floppy->head; |
head | 3012 | drivers/block/floppy.c | newparams.head <= 0 || |
head | 77 | drivers/block/hd.c | unsigned int head,sect,cyl,wpcom,lzone,ctl; |
head | 120 | drivers/block/hd.c | if (bios_info[0].head != 0) |
head | 122 | drivers/block/hd.c | bios_info[hdind].head = hd_info[hdind].head = ints[2]; |
head | 208 | drivers/block/hd.c | static int controller_ready(unsigned int drive, unsigned int head) |
head | 215 | drivers/block/hd.c | outb_p(0xA0 | (drive<<4) | head, HD_CURRENT); |
head | 223 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
head | 234 | drivers/block/hd.c | if (!controller_ready(drive, head)) { |
head | 246 | drivers/block/hd.c | outb_p(0xA0|(drive<<4)|head,++port); |
head | 293 | drivers/block/hd.c | hd_info[dev].cyl*hd_info[dev].head*hd_info[dev].sect / 2048, |
head | 294 | drivers/block/hd.c | hd_info[dev].cyl, hd_info[dev].head, hd_info[dev].sect); |
head | 311 | drivers/block/hd.c | hd_info[dev].head = id->cur_heads; |
head | 319 | drivers/block/hd.c | id->buf_size/2, bios_info[dev].cyl, bios_info[dev].head, |
head | 414 | drivers/block/hd.c | hd_out(i,hd_info[i].sect,hd_info[i].sect,hd_info[i].head-1, |
head | 676 | drivers/block/hd.c | if (hd_info[dev].head > 16) { |
head | 698 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
head | 735 | drivers/block/hd.c | head = track % hd_info[dev].head; |
head | 736 | drivers/block/hd.c | cyl = track / hd_info[dev].head; |
head | 740 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
head | 746 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
head | 753 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
head | 755 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
head | 797 | drivers/block/hd.c | put_user(bios_info[dev].head, |
head | 967 | drivers/block/hd.c | bios_info[drive].head = hd_info[drive].head = *(2+BIOS); |
head | 1018 | drivers/block/hd.c | hd[i<<6].nr_sects = bios_info[i].head * |
head | 1067 | drivers/block/hd.c | #define CAPACITY (bios_info[target].head*bios_info[target].sect*bios_info[target].cyl) |
head | 297 | drivers/block/ide.c | unsigned head : 4; /* always zeros here */ |
head | 320 | drivers/block/ide.c | byte head, sect, bios_head, bios_sect; |
head | 974 | drivers/block/ide.c | OUT_BYTE(((dev->head-1)|dev->select.all)&0xBF,HD_CURRENT); |
head | 1033 | drivers/block/ide.c | unsigned int sect,head,cyl,track; |
head | 1037 | drivers/block/ide.c | head = track % dev->head; |
head | 1038 | drivers/block/ide.c | cyl = track / dev->head; |
head | 1041 | drivers/block/ide.c | OUT_BYTE(head|dev->select.all,HD_CURRENT); |
head | 1045 | drivers/block/ide.c | head, sect, rq->nr_sectors, (unsigned long) rq->buffer); |
head | 1777 | drivers/block/ide.c | dev->head = dev->bios_head = id->heads; |
head | 1795 | drivers/block/ide.c | dev->head = id->cur_heads; |
head | 1797 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
head | 1808 | drivers/block/ide.c | if ((!dev->head || dev->head > 16) && id->heads && id->heads <= 16) { |
head | 1810 | drivers/block/ide.c | dev->head = id->heads; |
head | 1814 | drivers/block/ide.c | if (dev->sect == dev->bios_sect && dev->head == dev->bios_head) { |
head | 1823 | drivers/block/ide.c | capacity = dev->cyl * dev->head * dev->sect; |
head | 1999 | drivers/block/ide.c | dev->name, dev->cyl, dev->head, dev->sect); |
head | 2016 | drivers/block/ide.c | if (!dev->head || dev->head > 16) { |
head | 2018 | drivers/block/ide.c | dev->name, dev->head); |
head | 2127 | drivers/block/ide.c | dev->head = dev->bios_head = ints[2]; |
head | 2204 | drivers/block/ide.c | dev->head = dev->bios_head = * (BIOS+2); |
head | 328 | drivers/block/xd.c | u_char head,sector,control,mode,temp; |
head | 339 | drivers/block/xd.c | head = track % xd_info[drive].heads; |
head | 344 | drivers/block/xd.c | printk("xd_readwrite: drive = %d, head = %d, cylinder = %d, sector = %d, count = %d\n",drive,head,cylinder,sector,temp); |
head | 348 | drivers/block/xd.c | xd_build(cmdblk,operation == READ ? CMD_READ : CMD_WRITE,drive,head,cylinder,sector,temp & 0xFF,control); |
head | 422 | 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 | 425 | 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 | 276 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 318 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
head | 467 | drivers/char/psaux.c | queue->head = queue->tail = 0; |
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 | 2241 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *) |
head | 2249 | drivers/net/arcnet.c | head->protocol_id=ARC_P_IP; |
head | 2252 | drivers/net/arcnet.c | head->protocol_id=ARC_P_ARP; |
head | 2255 | drivers/net/arcnet.c | head->protocol_id=ARC_P_RARP; |
head | 2258 | drivers/net/arcnet.c | head->protocol_id=ARC_P_IPX; |
head | 2261 | drivers/net/arcnet.c | head->protocol_id=ARC_P_ATALK; |
head | 2278 | drivers/net/arcnet.c | head->saddr=((u_char*)saddr)[0]; |
head | 2280 | drivers/net/arcnet.c | head->saddr=((u_char*)(dev->dev_addr))[0]; |
head | 2291 | drivers/net/arcnet.c | head->daddr=0; |
head | 2296 | drivers/net/arcnet.c | head->split_flag=0; /* split packets are done elsewhere */ |
head | 2297 | drivers/net/arcnet.c | head->sequence=0; /* so are sequence numbers */ |
head | 2302 | drivers/net/arcnet.c | head->daddr=((u_char*)daddr)[0]; |
head | 2306 | drivers/net/arcnet.c | head->daddr=0; /* better fill one in anyway */ |
head | 2319 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *)buff; |
head | 2325 | drivers/net/arcnet.c | if(head->protocol_id != ARC_P_IP) |
head | 2328 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 2329 | drivers/net/arcnet.c | head->daddr=0; |
head | 2338 | drivers/net/arcnet.c | return arp_find(&(head->daddr), dst, dev, dev->pa_addr, skb)? 1 : 0; |
head | 2350 | drivers/net/arcnet.c | struct ClientData *head = (struct ClientData *) skb->data; |
head | 2357 | drivers/net/arcnet.c | if (head->daddr==0) |
head | 2362 | drivers/net/arcnet.c | if (head->daddr != dev->dev_addr[0]) |
head | 2367 | drivers/net/arcnet.c | switch (head->protocol_id) |
head | 2378 | drivers/net/arcnet.c | head->protocol_id,head->protocol_id); |
head | 762 | drivers/net/eql.c | queue->head = head_slave; |
head | 786 | drivers/net/eql.c | zapped = eql_remove_slave (queue, queue->head->next); |
head | 789 | drivers/net/eql.c | kfree (queue->head->next); |
head | 790 | drivers/net/eql.c | kfree (queue->head); |
head | 814 | drivers/net/eql.c | slave->next = queue->head->next; |
head | 815 | drivers/net/eql.c | queue->head->next = slave; |
head | 836 | drivers/net/eql.c | prev = queue->head; |
head | 837 | drivers/net/eql.c | current = queue->head->next; |
head | 875 | drivers/net/eql.c | slave->next = queue->head->next; |
head | 876 | drivers/net/eql.c | queue->head->next = slave; |
head | 900 | drivers/net/eql.c | prev = queue->head; |
head | 1056 | drivers/net/eql.c | return queue->head->next; |
head | 795 | drivers/net/ppp.c | int head = tty->read_q.head, |
head | 800 | drivers/net/ppp.c | PRINTK ((KERN_DEBUG "INQUEUE: head %d tail %d imode %x:\n", head, tail, |
head | 806 | drivers/net/ppp.c | while (i != head) { |
head | 1384 | drivers/scsi/aic7xxx.c | unsigned char head, tail; |
head | 1794 | drivers/scsi/aic7xxx.c | head = inb(WAITING_SCBH(base)); |
head | 1796 | drivers/scsi/aic7xxx.c | if (head & SCB_LIST_NULL) |
head | 1798 | drivers/scsi/aic7xxx.c | head = scb->position; |
head | 1806 | drivers/scsi/aic7xxx.c | outb(head, SCBPTR(base)); |
head | 1816 | drivers/scsi/aic7xxx.c | outb(head, WAITING_SCBH(base)); |
head | 99 | drivers/scsi/aic7xxx_asm.c | sym_t *head; |
head | 106 | drivers/scsi/aic7xxx_asm.c | for (p = head, q = (sym_t *)&head; p; p = p->next) { |
head | 133 | drivers/scsi/aic7xxx_asm.c | for (p = head; p; p = p->next) |
head | 153 | drivers/scsi/aic7xxx_asm.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 | 935 | fs/buffer.c | struct buffer_head *bh, *head; |
head | 938 | fs/buffer.c | head = NULL; |
head | 944 | fs/buffer.c | bh->b_this_page = head; |
head | 945 | fs/buffer.c | head = bh; |
head | 950 | fs/buffer.c | return head; |
head | 955 | fs/buffer.c | bh = head; |
head | 957 | fs/buffer.c | head = bh; |
head | 959 | 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 | 65 | include/linux/fd.h | head, /* nr of heads */ |
head | 76 | include/linux/fd.h | unsigned int device,head,track; |
head | 25 | include/linux/genhd.h | unsigned char head; /* starting head */ |
head | 46 | include/linux/if_eql.h | slave_t *head; |
head | 87 | include/linux/skbuff.h | unsigned char *head; /* Head of buffer */ |
head | 322 | include/linux/skbuff.h | if(skb->data<skb->head) |
head | 338 | include/linux/skbuff.h | return skb->data-skb->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 | 38 | mm/swap.c | int head; /* head of priority-ordered swapfile list */ |
head | 214 | mm/swap.c | swap_list.next = swap_list.head; |
head | 224 | mm/swap.c | type = swap_list.head; |
head | 295 | mm/swap.c | swap_list.next = swap_list.head; |
head | 641 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 643 | mm/swap.c | entry->prev = head; |
head | 644 | mm/swap.c | (entry->next = head->next)->prev = entry; |
head | 645 | mm/swap.c | head->next = entry; |
head | 648 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
head | 999 | mm/swap.c | for (type = swap_list.head; type >= 0; type = swap_info[type].next) { |
head | 1018 | mm/swap.c | swap_list.head = p->next; |
head | 1024 | mm/swap.c | swap_list.next = swap_list.head; |
head | 1181 | mm/swap.c | for (i = swap_list.head; i >= 0; i = swap_info[i].next) { |
head | 1189 | mm/swap.c | swap_list.head = swap_list.next = p - swap_info; |
head | 71 | net/core/skbuff.c | int skb_check(struct sk_buff *skb, int head, int line, char *file) |
head | 73 | net/core/skbuff.c | if (head) { |
head | 140 | net/core/skbuff.c | if(skb->head>skb->data) |
head | 144 | net/core/skbuff.c | skb,skb->head,skb->data); |
head | 377 | net/core/skbuff.c | if(skb->data<skb->head) |
head | 395 | net/core/skbuff.c | return skb->data-skb->head; |
head | 411 | net/core/skbuff.c | if(skb->data<skb->head) |
head | 557 | net/core/skbuff.c | skb->head=bptr; |
head | 574 | net/core/skbuff.c | kfree((void *)skb->head); |
head | 603 | net/core/skbuff.c | offset=n->head-skb->head; |
head | 606 | net/core/skbuff.c | skb_reserve(n,skb->data-skb->head); |
head | 610 | net/core/skbuff.c | memcpy(n->head,skb->head,skb->end-skb->head); |