Home
last modified time | relevance | path

Searched defs:tail (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/Linux-v6.6/include/linux/
Dcirc_buf.h12 int tail; member
16 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
21 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
26 #define CIRC_CNT_TO_END(head,tail,size) \ argument
32 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
Dpipe_fs_i.h62 unsigned int tail; member
132 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty()
142 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy()
153 static inline bool pipe_full(unsigned int head, unsigned int tail, in pipe_full()
/Linux-v6.6/arch/arm64/kernel/
Dperf_callchain.c23 user_backtrace(struct frame_tail __user *tail, in user_backtrace()
71 compat_user_backtrace(struct compat_frame_tail __user *tail, in compat_user_backtrace()
114 struct frame_tail __user *tail; in perf_callchain_user() local
124 struct compat_frame_tail __user *tail; in perf_callchain_user() local
/Linux-v6.6/kernel/locking/
Dqspinlock.c118 u32 tail; in encode_tail() local
126 static inline __pure struct mcs_spinlock *decode_tail(u32 tail) in decode_tail()
177 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
221 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
319 u32 old, tail; in queued_spin_lock_slowpath() local
/Linux-v6.6/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c132 static u16 fm10k_mbx_index_len(struct fm10k_mbx_info *mbx, u16 head, u16 tail) in fm10k_mbx_index_len()
153 u16 tail = (mbx->tail + offset + 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_tail_add() local
169 u16 tail = (mbx->tail - offset - 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_tail_sub() local
216 u32 *tail = mbx->rx.buffer + fm10k_fifo_tail_offset(&mbx->rx, 0); in fm10k_mbx_pushed_tail_len() local
240 u32 *tail = fifo->buffer + end; in fm10k_fifo_write_copy() local
336 u16 end, len, tail, mask; in fm10k_mbx_write_copy() local
428 u32 *tail = fifo->buffer; in fm10k_mbx_read_copy() local
473 u16 tail) in fm10k_mbx_push_tail()
952 u16 type, rsvd0, head, tail, size; in fm10k_mbx_validate_msg_hdr() local
1198 u16 head, tail; in fm10k_mbx_process_data() local
[all …]
/Linux-v6.6/tools/lib/
Dlist_sort.c18 struct list_head *head, **tail = &head; in merge() local
54 struct list_head *tail = head; in merge_final() local
215 struct list_head **tail = &pending; in list_sort() local
/Linux-v6.6/lib/
Dlist_sort.c19 struct list_head *head, **tail = &head; in merge() local
55 struct list_head *tail = head; in merge_final() local
216 struct list_head **tail = &pending; in list_sort() local
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_ring.h91 assert_ring_tail_valid(const struct intel_ring *ring, unsigned int tail) in assert_ring_tail_valid()
117 intel_ring_set_tail(struct intel_ring *ring, unsigned int tail) in intel_ring_set_tail()
131 __intel_ring_space(unsigned int head, unsigned int tail, unsigned int size) in __intel_ring_space()
/Linux-v6.6/drivers/rpmsg/
Dqcom_glink_smem.c53 __le32 *tail; member
70 u32 tail; in glink_smem_rx_avail() local
99 u32 tail; in glink_smem_rx_peek() local
118 u32 tail; in glink_smem_rx_advance() local
133 u32 tail; in glink_smem_tx_avail() local
Dqcom_glink_rpm.c51 void __iomem *tail; member
73 unsigned int tail; in glink_rpm_rx_avail() local
88 unsigned int tail; in glink_rpm_rx_peek() local
112 unsigned int tail; in glink_rpm_rx_advance() local
127 unsigned int tail; in glink_rpm_tx_avail() local
/Linux-v6.6/arch/x86/kernel/
Dstatic_call.c114 static void __static_call_validate(u8 *insn, bool tail, bool tramp) in __static_call_validate()
142 static inline enum insn_type __sc_insn(bool null, bool tail) in __sc_insn()
157 void arch_static_call_transform(void *site, void *tramp, void *func, bool tail) in arch_static_call_transform()
/Linux-v6.6/drivers/media/test-drivers/vidtv/
Dvidtv_channel.c165 struct vidtv_psi_table_eit_event *tail = NULL; in vidtv_channel_eit_event_cat_into_new() local
211 struct vidtv_psi_table_sdt_service *tail = NULL; in vidtv_channel_sdt_serv_cat_into_new() local
266 struct vidtv_psi_table_pat_program *tail = NULL; in vidtv_channel_pat_prog_cat_into_new() local
317 struct vidtv_psi_table_pmt_stream *tail = NULL; in vidtv_channel_pmt_match_sections() local
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_protocol_ops.c227 u32 tail; in ipc_protocol_ul_td_send() local
330 u32 tail; in ipc_protocol_dl_td_prepare() local
435 u32 *tail) in ipc_protocol_get_head_tail_index()
452 u32 tail; in ipc_protocol_pipe_cleanup() local
/Linux-v6.6/drivers/crypto/hisilicon/
Dqm_common.h29 __le16 tail; member
44 __le16 tail; member
58 __le16 tail; member
68 __le16 tail; member
/Linux-v6.6/include/drm/
Dspsc_queue.h43 atomic_long_t tail; member
67 struct spsc_node **tail; in spsc_queue_push() local
/Linux-v6.6/arch/arm/kernel/
Dperf_callchain.c34 user_backtrace(struct frame_tail __user *tail, in user_backtrace()
65 struct frame_tail __user *tail; in perf_callchain_user() local
/Linux-v6.6/drivers/infiniband/sw/rdmavt/
Dcq.c34 u32 tail; in rvt_cq_enter() local
341 u32 head, tail, n; in rvt_resize_cq() local
482 u32 tail; in rvt_poll_cq() local
/Linux-v6.6/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_ring.h89 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_space() local
103 const __u32 tail = atomic_read(&r->prod_tail); in pvrdma_idx_ring_has_data() local
/Linux-v6.6/drivers/tty/
Dn_tty.c167 static void tty_copy(const struct tty_struct *tty, void *to, size_t tail, in tty_copy()
585 static int n_tty_process_echo_ops(struct tty_struct *tty, size_t *tail, in n_tty_process_echo_ops()
705 size_t tail; in __process_echoes() local
1028 size_t tail = ldata->read_head; in eraser() local
1301 size_t tail = ldata->canon_head; in n_tty_receive_char_canon() local
1713 size_t tail = smp_load_acquire(&ldata->read_tail); in n_tty_receive_buf_common() local
1966 size_t tail = MASK(ldata->read_tail); in copy_from_read_buf() local
2018 size_t tail, canon_head; in canon_copy_from_read_buf() local
2082 size_t tail, canon_head; in canon_skip_eof() local
2481 size_t nr, head, tail; in inq_canon() local
/Linux-v6.6/tools/perf/util/
Dblock-range.c201 struct block_range *tail = malloc(sizeof(struct block_range)); in block_range__create() local
246 struct block_range *tail; in block_range__create() local
/Linux-v6.6/fs/affs/
Dinode.c22 struct affs_tail *tail; in affs_iget() local
174 struct affs_tail *tail; in affs_write_inode() local
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dpio.c333 u8 *tail = wl->pio_tailspace; in tx_write_2byte_queue() local
387 u8 *tail = wl->pio_tailspace; in tx_write_4byte_queue() local
709 u8 *tail = wl->pio_tailspace; in pio_rx_frame() local
736 u8 *tail = wl->pio_tailspace; in pio_rx_frame() local
/Linux-v6.6/fs/
Dpipe.c224 unsigned int tail = READ_ONCE(pipe->tail); in pipe_readable() local
258 unsigned int tail = pipe->tail; in pipe_read() local
409 unsigned int tail = READ_ONCE(pipe->tail); in pipe_writable() local
611 unsigned int count, head, tail, mask; in pipe_ioctl() local
654 unsigned int head, tail; in pipe_poll() local
1260 unsigned int head, tail, mask, n; in pipe_resize_ring() local
/Linux-v6.6/sound/isa/msnd/
Dmsnd_midi.c72 u16 tail; in snd_msndmidi_input_drop() local
108 u16 head, tail, size; in snd_msndmidi_input_read() local
/Linux-v6.6/drivers/dma/ptdma/
Dptdma-dev.c73 u32 tail; in pt_core_execute_cmd() local
129 u32 tail; in pt_do_cmd_complete() local

12345678910>>...20