tag | line | file | source code |
tail | 1387 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size; |
tail | 1423 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1424 | drivers/char/istallion.c | if (tail != ((unsigned int) ap->txq.tail)) |
tail | 1425 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1426 | drivers/char/istallion.c | len = (head >= tail) ? (portp->txsize - (head - tail) - 1) : (tail - head - 1); |
tail | 1445 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1446 | drivers/char/istallion.c | if (tail != ((unsigned int) ap->txq.tail)) |
tail | 1447 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1449 | drivers/char/istallion.c | if (head >= tail) { |
tail | 1450 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
tail | 1453 | drivers/char/istallion.c | len = tail - head - 1; |
tail | 1470 | drivers/char/istallion.c | stlen = tail; |
tail | 1537 | drivers/char/istallion.c | unsigned int len, stlen, head, tail, size, count, cooksize; |
tail | 1573 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1574 | drivers/char/istallion.c | if (tail != ((unsigned int) ap->txq.tail)) |
tail | 1575 | drivers/char/istallion.c | tail = (unsigned int) ap->txq.tail; |
tail | 1577 | drivers/char/istallion.c | if (head >= tail) { |
tail | 1578 | drivers/char/istallion.c | len = size - (head - tail) - 1; |
tail | 1581 | drivers/char/istallion.c | len = tail - head - 1; |
tail | 1599 | drivers/char/istallion.c | stlen = tail; |
tail | 1627 | drivers/char/istallion.c | unsigned int head, tail, len; |
tail | 1655 | drivers/char/istallion.c | tail = (unsigned int) rp->tail; |
tail | 1656 | drivers/char/istallion.c | if (tail != ((unsigned int) rp->tail)) |
tail | 1657 | drivers/char/istallion.c | tail = (unsigned int) rp->tail; |
tail | 1658 | drivers/char/istallion.c | len = (head >= tail) ? (portp->txsize - (head - tail)) : (tail - head); |
tail | 1685 | drivers/char/istallion.c | unsigned int head, tail, len; |
tail | 1708 | drivers/char/istallion.c | tail = (unsigned int) rp->tail; |
tail | 1709 | drivers/char/istallion.c | if (tail != ((unsigned int) rp->tail)) |
tail | 1710 | drivers/char/istallion.c | tail = (unsigned int) rp->tail; |
tail | 1711 | drivers/char/istallion.c | len = (head >= tail) ? (head - tail) : (portp->txsize - (tail - head)); |
tail | 2248 | drivers/char/istallion.c | unsigned int head, tail, size; |
tail | 2265 | drivers/char/istallion.c | tail = (unsigned int) rp->tail; |
tail | 2267 | drivers/char/istallion.c | if (head >= tail) { |
tail | 2268 | drivers/char/istallion.c | len = head - tail; |
tail | 2271 | drivers/char/istallion.c | len = size - (tail - head); |
tail | 2272 | drivers/char/istallion.c | stlen = size - tail; |
tail | 2280 | drivers/char/istallion.c | memcpy(tty->flip.char_buf_ptr, (char *) (shbuf + tail), stlen); |
tail | 2287 | drivers/char/istallion.c | tail += stlen; |
tail | 2288 | drivers/char/istallion.c | if (tail >= size) { |
tail | 2289 | drivers/char/istallion.c | tail = 0; |
tail | 2294 | drivers/char/istallion.c | rp->tail = tail; |
tail | 2296 | drivers/char/istallion.c | if (head != tail) |
tail | 243 | drivers/char/n_tty.c | unsigned long tail = tty->canon_head; |
tail | 246 | drivers/char/n_tty.c | while (tail != tty->read_head) { |
tail | 247 | drivers/char/n_tty.c | c = tty->read_buf[tail]; |
tail | 255 | drivers/char/n_tty.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
tail | 451 | drivers/char/n_tty.c | unsigned long tail = tty->canon_head; |
tail | 456 | drivers/char/n_tty.c | while (tail != tty->read_head) { |
tail | 457 | drivers/char/n_tty.c | echo_char(tty->read_buf[tail], tty); |
tail | 458 | drivers/char/n_tty.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
tail | 113 | drivers/char/psaux.c | unsigned long tail; |
tail | 192 | drivers/char/psaux.c | result = queue->buf[queue->tail]; |
tail | 193 | drivers/char/psaux.c | queue->tail = (queue->tail + 1) & (AUX_BUF_SIZE-1); |
tail | 201 | drivers/char/psaux.c | return queue->head == queue->tail; |
tail | 214 | drivers/char/psaux.c | int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1); |
tail | 240 | drivers/char/psaux.c | int maxhead = (queue->tail-1) & (AUX_BUF_SIZE-1); |
tail | 313 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
tail | 355 | drivers/char/psaux.c | queue->head = queue->tail = 0; /* Flush input queue */ |
tail | 512 | drivers/char/psaux.c | queue->head = queue->tail = 0; |
tail | 209 | drivers/char/stallion.c | char *tail; |
tail | 670 | drivers/char/stallion.c | portp->tx.tail = portp->tx.buf; |
tail | 846 | drivers/char/stallion.c | portp->tx.tail = (char *) NULL; |
tail | 900 | drivers/char/stallion.c | char *head, *tail; |
tail | 923 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 924 | drivers/char/stallion.c | len = (head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : |
tail | 925 | drivers/char/stallion.c | (tail - head - 1); |
tail | 938 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 939 | drivers/char/stallion.c | if (head >= tail) { |
tail | 940 | drivers/char/stallion.c | len = STL_TXBUFSIZE - (head - tail) - 1; |
tail | 943 | drivers/char/stallion.c | len = tail - head - 1; |
tail | 958 | drivers/char/stallion.c | stlen = tail - head; |
tail | 975 | drivers/char/stallion.c | char *head, *tail; |
tail | 990 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 992 | drivers/char/stallion.c | len = (head >= tail) ? (STL_TXBUFSIZE - (head - tail)) : (tail - head); |
tail | 1028 | drivers/char/stallion.c | if (tty->stopped || tty->hw_stopped || (portp->tx.head == portp->tx.tail)) |
tail | 1039 | drivers/char/stallion.c | char *head, *tail; |
tail | 1054 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 1055 | drivers/char/stallion.c | return((head >= tail) ? (STL_TXBUFSIZE - (head - tail) - 1) : (tail - head - 1)); |
tail | 1073 | drivers/char/stallion.c | char *head, *tail; |
tail | 1088 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 1089 | drivers/char/stallion.c | size = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
tail | 1447 | drivers/char/stallion.c | portp->tx.tail = (char *) NULL; |
tail | 1480 | drivers/char/stallion.c | portp->tx.tail = portp->tx.head; |
tail | 1537 | drivers/char/stallion.c | char *head, *tail; |
tail | 1576 | drivers/char/stallion.c | tail = portp->tx.tail; |
tail | 1577 | drivers/char/stallion.c | len = (head >= tail) ? (head - tail) : (STL_TXBUFSIZE - (tail - head)); |
tail | 1595 | drivers/char/stallion.c | stlen = MIN(len, ((portp->tx.buf + STL_TXBUFSIZE) - tail)); |
tail | 1597 | drivers/char/stallion.c | outsb((ioaddr + EREG_DATA), tail, stlen); |
tail | 1599 | drivers/char/stallion.c | tail += stlen; |
tail | 1600 | drivers/char/stallion.c | if (tail >= (portp->tx.buf + STL_TXBUFSIZE)) |
tail | 1601 | drivers/char/stallion.c | tail = portp->tx.buf; |
tail | 1603 | drivers/char/stallion.c | outsb((ioaddr + EREG_DATA), tail, len); |
tail | 1604 | drivers/char/stallion.c | tail += len; |
tail | 1606 | drivers/char/stallion.c | portp->tx.tail = tail; |
tail | 194 | drivers/char/tty_ioctl.c | int nr, head, tail; |
tail | 199 | drivers/char/tty_ioctl.c | tail = tty->read_tail; |
tail | 200 | drivers/char/tty_ioctl.c | nr = (head - tail) & (N_TTY_BUF_SIZE-1); |
tail | 202 | drivers/char/tty_ioctl.c | while (head != tail) { |
tail | 203 | drivers/char/tty_ioctl.c | if (test_bit(tail, &tty->read_flags) && |
tail | 204 | drivers/char/tty_ioctl.c | tty->read_buf[tail] == __DISABLED_CHAR) |
tail | 206 | drivers/char/tty_ioctl.c | tail = (tail+1) & (N_TTY_BUF_SIZE-1); |
tail | 591 | drivers/net/ppp.c | buf->tail = 0; |
tail | 947 | drivers/net/ppp.c | count = xbuf->count - xbuf->tail; |
tail | 949 | drivers/net/ppp.c | buf_base (xbuf) + xbuf->tail, count); |
tail | 962 | drivers/net/ppp.c | xbuf->tail += actual; |
tail | 1064 | drivers/net/ppp.c | xbuf->tail = 0; |
tail | 1368 | drivers/net/ppp.c | if (current_idx == ppp->ubuf->tail) \ |
tail | 1781 | drivers/net/ppp.c | c = buf_base (ppp->ubuf) [ppp->ubuf->tail++]; \ |
tail | 1782 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; \ |
tail | 1831 | drivers/net/ppp.c | if (ppp->ubuf->head == ppp->ubuf->tail) |
tail | 1879 | drivers/net/ppp.c | ppp->ubuf->tail += len; |
tail | 1880 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
tail | 1891 | drivers/net/ppp.c | ppp->ubuf->tail += len; |
tail | 1892 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
tail | 2645 | drivers/net/ppp.c | if (ppp->ubuf->head != ppp->ubuf->tail) { |
tail | 1790 | drivers/scsi/aic7xxx.c | unsigned char head, tail; |
tail | 1795 | drivers/scsi/aic7xxx.c | tail = inb(WAITING_SCBT(base)); |
tail | 1802 | drivers/scsi/aic7xxx.c | tail = SCB_LIST_NULL; |
tail | 1814 | drivers/scsi/aic7xxx.c | if (tail == SCB_LIST_NULL) |
tail | 1819 | drivers/scsi/aic7xxx.c | tail = scb->position; |
tail | 1821 | drivers/scsi/aic7xxx.c | outb(tail, SCBARRAY(base) + 30); |
tail | 1837 | drivers/scsi/aic7xxx.c | outb(tail, SCBPTR(base)); |
tail | 1838 | drivers/scsi/aic7xxx.c | tail = scb->position; |
tail | 1839 | drivers/scsi/aic7xxx.c | outb(tail, SCBARRAY(base) + 30); |
tail | 1845 | drivers/scsi/aic7xxx.c | outb(tail, WAITING_SCBT(base)); |
tail | 53 | drivers/sound/midibuf.c | int len, head, tail; |
tail | 85 | drivers/sound/midibuf.c | q->queue[q->tail] = (data); \ |
tail | 86 | drivers/sound/midibuf.c | q->len++; q->tail = (q->tail+1) % MAX_QUEUE_SIZE; \ |
tail | 242 | drivers/sound/midibuf.c | midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; |
tail | 254 | drivers/sound/midibuf.c | midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; |
tail | 82 | fs/nfs/file.c | static int tail = 0; /* next cache slot to replace */ |
tail | 174 | fs/nfs/file.c | if (cache[tail].in_use == 0) { |
tail | 175 | fs/nfs/file.c | if (cache[tail].buf) |
tail | 176 | fs/nfs/file.c | kfree_s(cache[tail].buf, cache[tail].buf_size); |
tail | 177 | fs/nfs/file.c | cache[tail].buf = data; |
tail | 178 | fs/nfs/file.c | cache[tail].buf_size = n; |
tail | 179 | fs/nfs/file.c | cache[tail].inode_num = inode->i_ino; |
tail | 180 | fs/nfs/file.c | cache[tail].file_pos = pos; |
tail | 181 | fs/nfs/file.c | cache[tail].len = result; |
tail | 182 | fs/nfs/file.c | cache[tail].time = jiffies; |
tail | 183 | fs/nfs/file.c | if (++tail >= READ_CACHE_SIZE) |
tail | 184 | fs/nfs/file.c | tail = 0; |
tail | 52 | fs/nfs/rpcsock.c | if ((tmp = rsock->tail) != NULL) { |
tail | 57 | fs/nfs/rpcsock.c | rsock->tail = slot; |
tail | 62 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
tail | 78 | fs/nfs/rpcsock.c | rsock->tail = prev; |
tail | 81 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
tail | 437 | include/linux/cdk.h | unsigned short tail; |
tail | 74 | include/linux/if_pppvar.h | int tail; /* index to tail of list */ |
tail | 41 | include/linux/rpcsock.h | struct rpc_wait *head, *tail, *free; |
tail | 95 | include/linux/skbuff.h | unsigned char *tail; /* Tail pointer */ |
tail | 317 | include/linux/skbuff.h | unsigned char *tmp=skb->tail; |
tail | 318 | include/linux/skbuff.h | skb->tail+=len; |
tail | 320 | include/linux/skbuff.h | if(skb->tail>skb->end) |
tail | 350 | include/linux/skbuff.h | return skb->end-skb->tail; |
tail | 356 | include/linux/skbuff.h | skb->tail+=len; |
tail | 364 | include/linux/skbuff.h | skb->tail=skb->data+len; |
tail | 153 | net/core/skbuff.c | if(skb->tail>skb->end) |
tail | 157 | net/core/skbuff.c | skb,skb->tail,skb->end); |
tail | 160 | net/core/skbuff.c | if(skb->data>skb->tail) |
tail | 164 | net/core/skbuff.c | skb,skb->data,skb->tail); |
tail | 167 | net/core/skbuff.c | if(skb->tail-skb->data!=skb->len) |
tail | 367 | net/core/skbuff.c | unsigned char *tmp=skb->tail; |
tail | 369 | net/core/skbuff.c | skb->tail+=len; |
tail | 372 | net/core/skbuff.c | if(skb->tail>skb->end) |
tail | 407 | net/core/skbuff.c | return skb->end-skb->tail; |
tail | 414 | net/core/skbuff.c | skb->tail+=len; |
tail | 415 | net/core/skbuff.c | if(skb->tail>skb->end) |
tail | 428 | net/core/skbuff.c | skb->tail=skb->data+len; |
tail | 572 | net/core/skbuff.c | skb->tail=bptr; |
tail | 253 | net/ipv4/arp.c | struct arp_table * tail; |
tail | 257 | net/ipv4/arp.c | tail = *q; |
tail | 258 | net/ipv4/arp.c | if (!tail) |
tail | 262 | net/ipv4/arp.c | entry->next = tail->next; |
tail | 263 | net/ipv4/arp.c | tail->next = entry; |
tail | 1216 | net/ipv4/route.c | struct rt_req * tail; |
tail | 1220 | net/ipv4/route.c | tail = *q; |
tail | 1221 | net/ipv4/route.c | if (!tail) |
tail | 1225 | net/ipv4/route.c | rtr->rtr_next = tail->rtr_next; |
tail | 1226 | net/ipv4/route.c | tail->rtr_next = rtr; |
tail | 151 | scripts/tkcond.c | struct condition * tail; |
tail | 156 | scripts/tkcond.c | newcond = tail = NULL; |
tail | 165 | scripts/tkcond.c | if( tail == NULL ) |
tail | 167 | scripts/tkcond.c | newcond = tail = new; |
tail | 171 | scripts/tkcond.c | tail->next = new; |
tail | 172 | scripts/tkcond.c | tail = new; |
tail | 217 | scripts/tkcond.c | tail->next = new; |
tail | 218 | scripts/tkcond.c | tail = new; |
tail | 227 | scripts/tkcond.c | tail->next = new; |
tail | 228 | scripts/tkcond.c | tail = new; |
tail | 238 | scripts/tkcond.c | tail->next = new; |
tail | 239 | scripts/tkcond.c | tail = new; |
tail | 256 | scripts/tkcond.c | struct condition * tail; |
tail | 261 | scripts/tkcond.c | newcond = tail = NULL; |
tail | 272 | scripts/tkcond.c | if( tail == NULL ) |
tail | 274 | scripts/tkcond.c | newcond = tail = new; |
tail | 278 | scripts/tkcond.c | tail->next = new; |
tail | 279 | scripts/tkcond.c | tail = new; |
tail | 286 | scripts/tkcond.c | tail->next = new; |
tail | 287 | scripts/tkcond.c | tail = new; |
tail | 289 | scripts/tkcond.c | *last = tail; |