/linux-master/include/uapi/sound/ |
H A D | asound.h | 614 void __user * __user *bufs; member in struct:snd_xfern
|
/linux-master/include/xen/arm/ |
H A D | hypercall.h | 58 struct xen_dm_op_buf *bufs);
|
/linux-master/io_uring/ |
H A D | io_uring.c | 4159 BUILD_BUG_ON(offsetof(struct io_uring_buf_ring, bufs) != 0);
|
H A D | kbuf.c | 151 buf = &br->bufs[head]; 386 struct io_buffer *bufs[IO_BUFFER_ALLOC_BATCH]; local 411 ARRAY_SIZE(bufs), (void **) bufs); 417 bufs[0] = kmem_cache_alloc(io_buf_cachep, GFP_KERNEL); 418 if (!bufs[0]) 424 list_add_tail(&bufs[--allocated]->list, &ctx->io_buffers_cache); 506 flex_array_size(br, bufs, reg->ring_entries),
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 778 static int try_get_buffers(struct bpf_bprintf_buffers **bufs) argument 789 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]);
|
/linux-master/kernel/ |
H A D | watch_queue.c | 127 buf = &pipe->bufs[head & mask]; 150 buf = &pipe->bufs[(head - 1) & mask];
|
/linux-master/sound/core/oss/ |
H A D | pcm_oss.c | 1299 snd_pcm_sframes_t snd_pcm_oss_writev3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument 1316 ret = snd_pcm_kernel_writev(substream, bufs, frames); 1328 snd_pcm_sframes_t snd_pcm_oss_readv3(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument 1349 ret = snd_pcm_kernel_readv(substream, bufs, frames);
|
H A D | pcm_plugin.h | 158 void **bufs, snd_pcm_uframes_t frames); 160 void **bufs, snd_pcm_uframes_t frames);
|
/linux-master/sound/core/ |
H A D | pcm_compat.c | 316 /* snd_xfern needs remapping of bufs */ 319 u32 bufs; /* this is void **; */ member in struct:snd_xfern32 335 void __user **bufs __free(kfree) = NULL; 348 if (get_user(buf, &data32->bufs) || 352 bufs = kmalloc_array(ch, sizeof(void __user *), GFP_KERNEL); 353 if (bufs == NULL) 359 bufs[i] = compat_ptr(ptr); 363 err = snd_pcm_lib_writev(substream, bufs, frames); 365 err = snd_pcm_lib_readv(substream, bufs, frames);
|
H A D | pcm_lib.c | 2123 void **bufs = data; local 2133 for (c = 0; c < channels; ++c, ++bufs) { 2134 if (!data || !*bufs) 2137 err = do_transfer(substream, c, hwoff, *bufs + off,
|
H A D | pcm_native.c | 3224 void *bufs __free(kfree) = NULL; 3236 bufs = memdup_user(xfern.bufs, sizeof(void *) * runtime->channels); 3237 if (IS_ERR(bufs)) 3238 return PTR_ERR(no_free_ptr(bufs)); 3240 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); 3242 result = snd_pcm_lib_readv(substream, bufs, xfern.frames); 3510 void __user **bufs __free(kfree) = NULL; 3529 bufs = kmalloc_array(to->nr_segs, sizeof(void *), GFP_KERNEL); 3530 if (bufs [all...] |
/linux-master/sound/oss/dmasound/ |
H A D | dmasound_core.c | 953 static int set_queue_frags(struct sound_queue *sq, int bufs, int size) argument 968 if (bufs <= 0) 970 if (bufs > sq->numBufs) /* the user is allowed say "don't care" with 0x7fff */ 971 bufs = sq->numBufs ; 979 sq->max_active = bufs ;
|
/linux-master/tools/include/uapi/linux/ |
H A D | io_uring.h | 660 __DECLARE_FLEX_ARRAY(struct io_uring_buf, bufs);
|
/linux-master/tools/include/uapi/sound/ |
H A D | asound.h | 614 void __user * __user *bufs; member in struct:snd_xfern
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xskxceiver.c | 276 void *bufs; local 279 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 280 if (bufs == MAP_FAILED) 285 munmap(bufs, umem_sz); 289 ret = xsk_configure_umem(ifobject, umem, bufs, umem_sz); 1620 void *bufs; local 1630 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); 1631 if (bufs == MAP_FAILED) 1634 ret = xsk_configure_umem(ifobject, ifobject->umem, bufs, umem_sz); 2244 void *bufs; local [all...] |
/linux-master/tools/testing/selftests/powerpc/papr_vpd/ |
H A D | papr_vpd.c | 198 char *bufs[2]; local 200 for (size_t i = 0; i < ARRAY_SIZE(bufs); ++i) { 201 bufs[i] = malloc(size); 202 FAIL_IF(!bufs[i]); 203 ssize_t consumed = pread(fd, bufs[i], size, 0); 207 FAIL_IF(memcmp(bufs[0], bufs[1], size));
|
/linux-master/tools/virtio/ |
H A D | vhost_net_test.c | 276 bool delayed, int bufs) 289 while (vq->started < bufs && 306 if (vq->started >= bufs) 309 /* Flush out completed bufs if any */ 325 assert(vq->completed <= bufs); 326 assert(vq->started <= bufs); 327 if (vq->completed == bufs) 343 bool delayed, int bufs) 355 while (vq->started < bufs && 375 if (vq->started >= bufs) 275 run_tx_test(struct vdev_info *dev, struct vq_info *vq, bool delayed, int bufs) argument 342 run_rx_test(struct vdev_info *dev, struct vq_info *vq, bool delayed, int bufs) argument [all...] |
H A D | virtio_test.c | 170 bool delayed, int batch, int reset_n, int bufs) 195 while (started < bufs && 218 if (started >= bufs) 227 /* Flush out completed bufs if any */ 258 assert(completed <= bufs); 259 assert(started <= bufs); 260 if (completed == bufs) 169 run_test(struct vdev_info *dev, struct vq_info *vq, bool delayed, int batch, int reset_n, int bufs) argument
|