/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | pnx8xxx_uart.c | 267 serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]); in pnx8xxx_tx_chars() 268 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in pnx8xxx_tx_chars()
|
H A D | uartlite.c | 190 uart_out32(xmit->buf[xmit->tail], ULITE_TX, port); in ulite_transmit() 191 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1); in ulite_transmit()
|
H A D | vt8500_serial.c | 210 writeb(xmit->buf[xmit->tail], port->membase + VT8500_TXFIFO); in handle_tx() 212 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in handle_tx()
|
H A D | sifive.c | 317 __ssp_transmit_char(ssp, xmit->buf[xmit->tail]); in __ssp_transmit_chars() 318 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in __ssp_transmit_chars()
|
H A D | lpc32xx_hs.c | 300 writel((u32) xmit->buf[xmit->tail], in __serial_lpc32xx_tx() 302 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in __serial_lpc32xx_tx()
|
H A D | bcm63xx_uart.c | 334 c = xmit->buf[xmit->tail]; in bcm_uart_do_tx() 336 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in bcm_uart_do_tx()
|
H A D | dz.c | 281 tmp = xmit->buf[xmit->tail]; in dz_transmit_chars() 282 xmit->tail = (xmit->tail + 1) & (DZ_XMIT_SIZE - 1); in dz_transmit_chars()
|
H A D | owl-uart.c | 198 ch = xmit->buf[xmit->tail]; in owl_uart_send_chars() 200 xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1); in owl_uart_send_chars()
|
H A D | mps2-uart.c | 145 mps2_uart_write8(port, xmit->buf[xmit->tail], UARTn_DATA); in mps2_uart_tx_chars() 146 xmit->tail = (xmit->tail + 1) % UART_XMIT_SIZE; in mps2_uart_tx_chars()
|
H A D | milbeaut_usio.c | 99 writew(xmit->buf[xmit->tail], port->membase + MLB_USIO_REG_DR); in mlb_usio_tx_chars() 101 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mlb_usio_tx_chars()
|
H A D | msm_serial.c | 457 xmit->tail += count; in msm_complete_tx_dma() 458 xmit->tail &= UART_XMIT_SIZE - 1; in msm_complete_tx_dma() 481 cpu_addr = &xmit->buf[xmit->tail]; in msm_handle_tx_dma() 861 buf[i] = xmit->buf[xmit->tail + i]; in msm_handle_tx_pio() 866 xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1); in msm_handle_tx_pio() 910 pio_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx() 911 dma_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_hhf.c | 122 struct sk_buff *tail; member 344 bucket->tail->next = skb; in bucket_add() 345 bucket->tail = skb; in bucket_add()
|
/kernel/linux/linux-5.10/fs/ |
H A D | fs_context.c | 415 sizeof(log->tail) != sizeof(u8)); in logfc() 416 if ((u8)(log->head - log->tail) == logsize) { in logfc() 420 log->tail++; in logfc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve.h | 120 u32 tail; /* Last posted buffer index + 1 */ member 165 /* `head` and `tail` are indices into an array, or -1 if empty. */ 168 s16 tail; member 175 /* head and tail of skb chain for the current packet or NULL if none */ 273 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ 400 u32 done; /* driver tracked tail pointer */ 417 u32 tail; /* Last posted buffer index + 1 */ member 554 struct gve_queue_resources *q_resources; /* head and tail pointer idx */
|
/kernel/linux/linux-6.6/fs/ |
H A D | fs_context.c | 466 sizeof(log->tail) != sizeof(u8)); in logfc() 467 if ((u8)(log->head - log->tail) == logsize) { in logfc() 471 log->tail++; in logfc()
|
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | core.c | 225 struct page *page, *tail; in get_futex_key() local 299 * based on the address. For filesystem-backed pages, the tail is in get_futex_key() 301 * base pages, there is no tail page and tail == page. in get_futex_key() 303 tail = page; in get_futex_key() 398 key->shared.pgoff = page_to_pgoff(tail); in get_futex_key()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_mmio.c | 49 for (i = 0; i < ARRAY_SIZE(data.tail); i++) { in mt76x02_pre_tbtt_tasklet() 50 if (!data.tail[i]) in mt76x02_pre_tbtt_tasklet() 53 mt76_skb_set_moredata(data.tail[i], false); in mt76x02_pre_tbtt_tasklet()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_hhf.c | 122 struct sk_buff *tail; member 344 bucket->tail->next = skb; in bucket_add() 345 bucket->tail = skb; in bucket_add()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | gro.c | 385 skb->end - skb->tail); in skb_gro_reset_offset() 393 BUG_ON(skb->end - skb->tail < grow); in gro_pull_from_frag0() 398 skb->tail += grow; in gro_pull_from_frag0()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | talitos.c | 346 int tail, status; in flush_channel() local 351 tail = priv->chan[ch].tail; in flush_channel() 352 while (priv->chan[ch].fifo[tail].desc) { in flush_channel() 355 request = &priv->chan[ch].fifo[tail]; in flush_channel() 382 /* increment fifo tail */ in flush_channel() 383 priv->chan[ch].tail = (tail + 1) & (priv->fifo_len - 1); in flush_channel() 395 tail = priv->chan[ch].tail; in flush_channel() 466 int tail, iter; current_desc_hdr() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | talitos.c | 347 int tail, status; in flush_channel() local 352 tail = priv->chan[ch].tail; in flush_channel() 353 while (priv->chan[ch].fifo[tail].desc) { in flush_channel() 356 request = &priv->chan[ch].fifo[tail]; in flush_channel() 383 /* increment fifo tail */ in flush_channel() 384 priv->chan[ch].tail = (tail + 1) & (priv->fifo_len - 1); in flush_channel() 396 tail = priv->chan[ch].tail; in flush_channel() 467 int tail, iter; current_desc_hdr() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.c | 115 u32 head, tail; in iavf_get_tx_pending() local 118 * 0 for the head/tail registers so just use the cached values in iavf_get_tx_pending() 121 tail = ring->next_to_use; in iavf_get_tx_pending() 123 if (head != tail) in iavf_get_tx_pending() 124 return (head < tail) ? in iavf_get_tx_pending() 125 tail - head : (tail + ring->count - head); in iavf_get_tx_pending() 774 * iavf_release_rx_desc - Store the new tail and head values 791 writel(val, rx_ring->tail); in iavf_release_rx_desc() 2240 /* Memory barrier before checking head and tail */ in __iavf_maybe_stop_tx() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 852 * so head == tail can mean empty. in sc_alloc() 1702 u32 head, tail; in sc_release_update() local 1725 tail = sc->sr_tail; in sc_release_update() 1726 while (head != tail) { in sc_release_update() 1727 pbuf = &sc->sr[tail].pbuf; in sc_release_update() 1739 tail++; in sc_release_update() 1740 if (tail >= sc->sr_size) in sc_release_update() 1741 tail = 0; in sc_release_update() 1743 sc->sr_tail = tail; in sc_release_update() 1744 /* make sure tail i in sc_release_update() [all...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | net.c | 103 int tail; member 153 if (rxq->tail != rxq->head) in vhost_net_buf_get_ptr() 161 return rxq->tail - rxq->head; in vhost_net_buf_get_size() 166 return rxq->tail == rxq->head; in vhost_net_buf_is_empty() 181 rxq->tail = ptr_ring_consume_batched(nvq->rx_ring, rxq->queue, in vhost_net_buf_produce() 183 return rxq->tail; in vhost_net_buf_produce() 194 rxq->head = rxq->tail = 0; in vhost_net_buf_unproduce() 225 rxq->head = rxq->tail = 0; in vhost_net_buf_init()
|
/kernel/linux/linux-5.10/lib/ |
H A D | iov_iter.c | 337 unsigned int p_tail = pipe->tail; in sanity() 360 printk(KERN_ERR "head = %d, tail = %d, buffers = %d\n", in sanity() 380 unsigned int p_tail = pipe->tail; in copy_page_to_iter_pipe() 502 unsigned int p_tail = pipe->tail; in push_pipe() 706 * * Typical tail/residue handling after a fault retries the copy 1012 unsigned int p_tail = pipe->tail; in pipe_truncate() 1194 WARN_ON(pipe_full(pipe->head, pipe->tail, pipe->ring_size)); in iov_iter_pipe() 1303 npages = pipe_space_for_user(iter_head, i->pipe->tail, i->pipe); in pipe_get_pages() 1371 npages = pipe_space_for_user(iter_head, i->pipe->tail, i->pipe); in pipe_get_pages_alloc() 1604 npages = pipe_space_for_user(iter_head, pipe->tail, pip in iov_iter_npages() [all...] |