Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 18 of 18) sorted by relevance

/include/uapi/linux/
Dvirtio_ring.h163 vring_avail_t *avail; member
196 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
204 vr->avail = (struct vring_avail *)((char *)p + num * sizeof(struct vring_desc)); in vring_init()
205 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
Dvfio.h1514 __u32 avail; member
/include/linux/
Dfortify-string.h15 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon…
17 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo…
362 extern size_t __real_strlcat(char *p, const char *q, size_t avail) __RENAME(strlcat);
388 size_t strlcat(char * const POS p, const char * const POS q, size_t avail) in strlcat() argument
397 return __real_strlcat(p, q, avail); in strlcat()
399 p_len = strnlen(p, avail); in strlcat()
404 if (avail <= p_len) in strlcat()
411 if (actual >= avail) { in strlcat()
412 copy_len = avail - p_len - 1; in strlcat()
Dvringh.h129 vring_avail_t __user *avail,
191 struct vring_avail *avail,
300 struct vring_avail *avail,
306 struct vring_avail *avail,
Ddmar.h210 avail : 4, /* 8 - 11 */ member
278 dst->avail = src->avail; in dmar_copy_shared_irte()
Dgenalloc.h74 atomic_long_t avail; member
Dcounter.h528 const struct counter_available *avail; member
547 .avail = &(_available), \
Dremoteproc.h396 int offset, int avail);
Dioport.h212 extern void arch_remove_reservations(struct resource *avail);
/include/sound/
Dpcm.h806 …snd_pcm_sframes_t avail = runtime->status->hw_ptr + runtime->buffer_size - runtime->control->appl_… in snd_pcm_playback_avail() local
807 if (avail < 0) in snd_pcm_playback_avail()
808 avail += runtime->boundary; in snd_pcm_playback_avail()
809 else if ((snd_pcm_uframes_t) avail >= runtime->boundary) in snd_pcm_playback_avail()
810 avail -= runtime->boundary; in snd_pcm_playback_avail()
811 return avail; in snd_pcm_playback_avail()
824 snd_pcm_sframes_t avail = runtime->status->hw_ptr - runtime->control->appl_ptr; in snd_pcm_capture_avail() local
825 if (avail < 0) in snd_pcm_capture_avail()
826 avail += runtime->boundary; in snd_pcm_capture_avail()
827 return avail; in snd_pcm_capture_avail()
[all …]
Drawmidi.h67 size_t avail; /* max used buffer for wakeup */ member
/include/uapi/sound/
Dcompress_offload.h65 __u64 avail; member
Dasound.h485 snd_pcm_uframes_t avail; /* number of frames available */ member
781 size_t avail; /* available bytes */ member
/include/drm/
Ddrm_buddy.h87 u64 avail; member
/include/linux/sunrpc/
Dsvc_rdma.h209 extern void svc_rdma_wake_send_waiters(struct svcxprt_rdma *rdma, int avail);
/include/trace/events/
Drpcrdma.h2195 __field(int, avail)
2201 __entry->avail = atomic_read(&rdma->sc_sq_avail);
2207 __get_str(addr), __entry->avail, __entry->depth
2230 __field(int, avail)
2237 __entry->avail = atomic_read(&rdma->sc_sq_avail);
2244 __get_str(addr), __entry->avail, __entry->depth,
/include/net/
Dtcp.h1528 int avail = READ_ONCE(tp->rcv_nxt) - READ_ONCE(tp->copied_seq); in tcp_epollin_ready() local
1530 if (avail <= 0) in tcp_epollin_ready()
1533 return (avail >= target) || tcp_rmem_pressure(sk) || in tcp_epollin_ready()
Dip_vs.h456 DECLARE_BITMAP(avail, IPVS_EST_NTICKS); /* tick has space for ests */