Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.12.1/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
148 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty()
158 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy()
169 static inline bool pipe_full(unsigned int head, unsigned int tail, in pipe_full()
/linux-6.12.1/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()
316 u32 old, tail; in queued_spin_lock_slowpath() local
/linux-6.12.1/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-6.12.1/tools/lib/
Dlist_sort.c18 struct list_head *head, **tail = &head; in merge() local
54 struct list_head *tail = head; in merge_final() local
205 struct list_head **tail = &pending; in list_sort() local
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/drivers/crypto/hisilicon/
Dqm_common.h28 __le16 tail; member
43 __le16 tail; member
57 __le16 tail; member
67 __le16 tail; member
/linux-6.12.1/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-6.12.1/include/drm/
Dspsc_queue.h43 atomic_long_t tail; member
67 struct spsc_node **tail; in spsc_queue_push() local
/linux-6.12.1/drivers/infiniband/sw/rdmavt/
Dcq.c35 u32 tail; in rvt_cq_enter() local
343 u32 head, tail, n; in rvt_resize_cq() local
484 u32 tail; in rvt_poll_cq() local
/linux-6.12.1/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-6.12.1/fs/
Dpipe.c214 unsigned int tail = READ_ONCE(pipe->tail); in pipe_readable() local
222 unsigned int tail) in pipe_update_tail()
278 unsigned int tail = pipe->tail; in pipe_read() local
420 unsigned int tail = READ_ONCE(pipe->tail); in pipe_writable() local
618 unsigned int count, head, tail, mask; in pipe_ioctl() local
661 unsigned int head, tail; in pipe_poll() local
1269 unsigned int head, tail, mask, n; in pipe_resize_ring() local
/linux-6.12.1/arch/arm64/kernel/
Dstacktrace.c343 unwind_user_frame(struct frame_tail __user *tail, void *cookie, in unwind_user_frame()
392 unwind_compat_user_frame(struct compat_frame_tail __user *tail, void *cookie, in unwind_compat_user_frame()
433 struct frame_tail __user *tail; in arch_stack_walk_user() local
441 struct compat_frame_tail __user *tail; in arch_stack_walk_user() local
/linux-6.12.1/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-6.12.1/drivers/tty/
Dn_tty.c167 static void tty_copy(const struct tty_struct *tty, void *to, size_t tail, in tty_copy()
580 static int n_tty_process_echo_ops(struct tty_struct *tty, size_t *tail, in n_tty_process_echo_ops()
700 size_t tail; in __process_echoes() local
1023 size_t tail = ldata->read_head; in eraser() local
1296 size_t tail = ldata->canon_head; in n_tty_receive_char_canon() local
1718 size_t tail = smp_load_acquire(&ldata->read_tail); in n_tty_receive_buf_common() local
1971 size_t tail = MASK(ldata->read_tail); in copy_from_read_buf() local
2024 size_t tail, canon_head; in canon_copy_from_read_buf() local
2088 size_t tail, canon_head; in canon_skip_eof() local
2486 size_t nr, head, tail; in inq_canon() local
/linux-6.12.1/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-6.12.1/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-6.12.1/fs/affs/
Dinode.c22 struct affs_tail *tail; in affs_iget() local
170 struct affs_tail *tail; in affs_write_inode() local
/linux-6.12.1/drivers/accel/qaic/
Dqaic_data.c1060 static inline u32 fifo_space_avail(u32 head, u32 tail, u32 q_size) in fifo_space_avail()
1075 u32 tail = *ptail; in copy_exec_reqs() local
1105 u32 tail = *ptail; in copy_partial_exec_reqs() local
1169 u32 *tail) in send_bo_list_to_device()
1306 u32 tail; in __qaic_execute_bo_ioctl() local
1440 u32 tail; in dbc_irq_handler() local
1488 u32 tail; in irq_polling_work() local
1545 u32 tail; in dbc_irq_threaded_fn() local
1985 void qaic_data_get_fifo_info(struct dma_bridge_chan *dbc, u32 *head, u32 *tail) in qaic_data_get_fifo_info()
/linux-6.12.1/sound/isa/msnd/
Dmsnd_midi.c70 u16 tail; in snd_msndmidi_input_drop() local
104 u16 head, tail, size; in snd_msndmidi_input_read() local

12345678910>>...22