Searched refs:tail (Results 1 - 22 of 22) sorted by relevance

/include/linux/
H A Dcirc_buf.h11 int tail; member in struct:circ_buf
15 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
18 as a completely full buffer has head == tail, which is the same as
20 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
23 accessing head and tail more than once, so they can change
25 #define CIRC_CNT_TO_END(head,tail,size) \
26 ({int end = (size) - (tail); \
31 #define CIRC_SPACE_TO_END(head,tail,siz
[all...]
H A Dosq_lock.h13 * Stores an encoded value of the CPU # of the tail node in the queue.
16 atomic_t tail; member in struct:optimistic_spin_queue
24 atomic_set(&lock->tail, OSQ_UNLOCKED_VAL);
H A Duinput.h68 unsigned char tail; member in struct:uinput_device
H A Dstring.h157 const char *tail = strrchr(path, '/'); local
158 return tail ? tail + 1 : path;
H A Dbio.h537 * fast access to the tail.
541 struct bio *tail; member in struct:bio_list
551 bl->head = bl->tail = NULL;
574 if (bl->tail)
575 bl->tail->bi_next = bio;
579 bl->tail = bio;
588 if (!bl->tail)
589 bl->tail = bio;
597 if (bl->tail)
598 bl->tail
[all...]
H A Dhid-debug.h44 int tail; member in struct:hid_debug_list
H A Dhidraw.h38 int tail; member in struct:hidraw_list
H A Dvmw_vmci_defs.h426 * a line in a store, for example, you walk up to the tail.
437 * For a queue of buffer 'size' bytes, the tail and head pointers will be in
737 * Helper to add a given offset to a head or tail pointer. Wraps the
776 * vmci_qp_add_pointer() is used to manipulate the tail itself.
799 * Helper routine for getting the head and the tail pointer for a queue.
832 u64 tail; local
836 tail = vmci_q_header_producer_tail(produce_q_header);
839 if (tail >= produce_q_size || head >= produce_q_size)
843 * Deduct 1 to avoid tail becoming equal to head which causes
844 * ambiguity. If head and tail ar
[all...]
H A Dtty_flip.h19 struct tty_buffer *tb = port->buf.tail;
H A Dserial_core.h352 #define uart_circ_empty(circ) ((circ)->head == (circ)->tail)
353 #define uart_circ_clear(circ) ((circ)->head = (circ)->tail = 0)
356 (CIRC_CNT((circ)->head, (circ)->tail, UART_XMIT_SIZE))
359 (CIRC_SPACE((circ)->head, (circ)->tail, UART_XMIT_SIZE))
H A Dsrcu.h42 struct rcu_head *head, **tail; member in struct:rcu_batch
H A Data.h912 unsigned long lba_sects, chs_sects, head, tail; local
941 tail = lba_sects & 0xffff;
942 lba_sects = head | (tail << 16);
H A Dskbuff.h498 * @tail: Tail pointer
652 sk_buff_data_t tail; member in struct:sk_buff
1267 * skb_peek_tail - peek at the tail of an &sk_buff_head
1275 * Returns %NULL for an empty list or a pointer to the tail element.
1478 * __skb_queue_tail - queue a buffer at the list tail
1529 * __skb_dequeue_tail - remove from the tail of the queue
1532 * Remove the tail of the list. This function does not take any locks
1533 * so must be used with appropriate locks held only. The tail item is
1635 return skb->head + skb->tail;
1640 skb->tail
[all...]
H A Dmm.h418 static inline struct page *compound_head_by_tail(struct page *tail) argument
420 struct page *head = tail->first_page;
424 * compound page, so recheck that it is still a tail
428 if (likely(PageTail(tail)))
430 return tail;
476 * tail page reference counting can be skipped.
479 * any given page where they return true here, until all tail pins
1472 * slab code uses page->slab_cache and page->first_page (for tail
H A Dpage-flags.h91 PG_tail, /* A tail page */
356 __PAGEFLAG(Tail, tail)
385 * head and tail of a compound page. This saves one page flag
H A Dtty.h69 struct tty_buffer *tail; /* Active buffer */ member in struct:tty_bufhead
/include/net/
H A Dgen_stats.h17 struct nlattr * tail; member in struct:gnet_dump
H A Dsock.h346 struct sk_buff *tail; member in struct:sock::__anon1369
793 if (!sk->sk_backlog.tail)
796 sk->sk_backlog.tail->next = skb;
798 sk->sk_backlog.tail = skb;
H A Dcfg80211.h602 * @tail: tail portion of beacon (after TIM IE)
605 * @tail_len: length of @tail
618 const u8 *head, *tail; member in struct:cfg80211_beacon_data
700 * @counter_offsets_beacon: offsets of the counters within the beacon (tail)
702 * @n_counter_offsets_beacon: number of csa counters the beacon (tail)
/include/linux/sunrpc/
H A Dxdr.h47 * The tail iovec allows you to append data after the page array. Its
57 tail[1]; /* Appended after page data */ member in struct:xdr_buf
/include/net/bluetooth/
H A Dl2cap.h471 __u16 tail; member in struct:l2cap_seq_list
/include/trace/events/
H A Dext4.h952 __field( __u16, tail )
975 __entry->tail = ac->ac_tail;
981 "tail %u broken %u",
991 show_mballoc_flags(__entry->flags), __entry->tail,

Completed in 354 milliseconds