Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/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()
165 static inline unsigned int pipe_space_for_user(unsigned int head, unsigned int tail, in pipe_space_for_user()
/kernel/linux/linux-5.10/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()
116 struct frame_tail __user *tail; in perf_callchain_user() local
126 struct compat_frame_tail __user *tail; in perf_callchain_user() local
/kernel/linux/linux-5.10/kernel/locking/
Dqspinlock.c117 u32 tail; in encode_tail() local
125 static inline __pure struct mcs_spinlock *decode_tail(u32 tail) in decode_tail()
176 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
220 static __always_inline u32 xchg_tail(struct qspinlock *lock, u32 tail) in xchg_tail()
318 u32 old, tail; in queued_spin_lock_slowpath() local
/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_glink_smem.c39 __le32 *tail; member
55 u32 tail; in glink_smem_rx_avail() local
84 u32 tail; in glink_smem_rx_peak() local
103 u32 tail; in glink_smem_rx_advance() local
118 u32 tail; in glink_smem_tx_avail() local
Dqcom_glink_rpm.c50 void __iomem *tail; member
60 unsigned int tail; in glink_rpm_rx_avail() local
75 unsigned int tail; in glink_rpm_rx_peak() local
99 unsigned int tail; in glink_rpm_rx_advance() local
114 unsigned int tail; in glink_rpm_tx_avail() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/x86/kernel/
Dstatic_call.c59 static void __static_call_validate(void *insn, bool tail) in __static_call_validate()
79 static inline enum insn_type __sc_insn(bool null, bool tail) in __sc_insn()
94 void arch_static_call_transform(void *site, void *tramp, void *func, bool tail) in arch_static_call_transform()
/kernel/linux/linux-5.10/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
1197 u16 head, tail; in fm10k_mbx_process_data() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ring.h90 assert_ring_tail_valid(const struct intel_ring *ring, unsigned int tail) in assert_ring_tail_valid()
116 intel_ring_set_tail(struct intel_ring *ring, unsigned int tail) in intel_ring_set_tail()
130 __intel_ring_space(unsigned int head, unsigned int tail, unsigned int size) in __intel_ring_space()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/drm/
Dspsc_queue.h43 atomic_long_t tail; member
67 struct spsc_node **tail; in spsc_queue_push() local
/kernel/liteos_a/shell/full/src/cmds/
Ddmesg.c126 UINT32 tail = g_dmesgInfo->logTail; in OsDmesgRead() local
376 UINT32 tail = g_dmesgInfo->logTail; in OsBufFullWrite() local
431 UINT32 tail = g_dmesgInfo->logTail; in OsWriteTailToHead() local
465 UINT32 tail = g_dmesgInfo->logTail; in OsWriteTailToEnd() local
674 UINT32 logSize, bufSize, head, tail, intSave; in LOS_DmesgToFile() local
/kernel/linux/linux-5.10/arch/arm/kernel/
Dperf_callchain.c34 user_backtrace(struct frame_tail __user *tail, in user_backtrace()
66 struct frame_tail __user *tail; in perf_callchain_user() local
/kernel/linux/linux-5.10/arch/arm/oprofile/
Dcommon.c86 static struct frame_tail* user_backtrace(struct frame_tail *tail) in user_backtrace()
108 struct frame_tail *tail = ((struct frame_tail *) regs->ARM_fp) - 1; in arm_backtrace() local
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dcq.c76 u32 tail; in rvt_cq_enter() local
383 u32 head, tail, n; in rvt_resize_cq() local
524 u32 tail; in rvt_poll_cq() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-ce-ccm-glue.c182 u32 tail = walk->nbytes % AES_BLOCK_SIZE; in ccm_crypt_fallback() local
246 u32 tail = walk.nbytes % AES_BLOCK_SIZE; in ccm_encrypt() local
304 u32 tail = walk.nbytes % AES_BLOCK_SIZE; in ccm_decrypt() local
/kernel/linux/linux-5.10/tools/perf/util/
Dblock-range.c205 struct block_range *tail = malloc(sizeof(struct block_range)); in block_range__create() local
250 struct block_range *tail; in block_range__create() local
/kernel/linux/linux-5.10/fs/affs/
Dinode.c22 struct affs_tail *tail; in affs_iget() local
174 struct affs_tail *tail; in affs_write_inode() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/
Ddebug_global.h61 u32 tail; member
76 u32 tail; member
/kernel/linux/linux-5.10/include/asm-generic/
Dqspinlock_types.h30 u16 tail; member
34 u16 tail; member
/kernel/linux/linux-5.10/drivers/tty/
Dn_tty.c168 static void tty_copy(struct tty_struct *tty, void *to, size_t tail, size_t n) in tty_copy()
626 size_t tail; in __process_echoes() local
1050 size_t tail = ldata->read_head; in eraser() local
1329 size_t tail = ldata->canon_head; in n_tty_receive_char_special() local
1717 size_t tail = smp_load_acquire(&ldata->read_tail); in n_tty_receive_buf_common() local
1966 size_t tail = ldata->read_tail & (N_TTY_BUF_SIZE - 1); in copy_from_read_buf() local
2020 size_t tail, canon_head; in canon_copy_from_read_buf() local
2085 size_t tail, canon_head; in canon_skip_eof() local
2165 size_t tail; in n_tty_read() local
2482 size_t nr, head, tail; in inq_canon() local
/kernel/linux/linux-5.10/fs/
Dpipe.c223 unsigned int tail = READ_ONCE(pipe->tail); in pipe_readable() local
257 unsigned int tail = pipe->tail; in pipe_read() local
407 unsigned int tail = READ_ONCE(pipe->tail); in pipe_writable() local
609 int count, head, tail, mask; in pipe_ioctl() local
652 unsigned int head, tail; in pipe_poll() local
1255 unsigned int head, tail, mask, n; in pipe_resize_ring() local

12345678910>>...18