Searched refs:nr_segs (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | uio.h | 125 unsigned long nr_segs, offset_t offset, zfs_uio_seg_t seg, ssize_t resid, in zfs_uio_iovec_init() argument 131 uio->uio_iovcnt = nr_segs; in zfs_uio_iovec_init() 179 uio->uio_iovcnt = iter->nr_segs; in zfs_uio_iov_iter_init()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_tx.c | 648 int nr_segs; in mlx4_en_xmit() local 776 mb, segs, &nr_segs, BUS_DMA_NOWAIT); in mlx4_en_xmit() 788 mb, segs, &nr_segs, BUS_DMA_NOWAIT); in mlx4_en_xmit() 796 if (nr_segs != 0) { in mlx4_en_xmit() 808 ds_cnt = (dseg - ((volatile struct mlx4_wqe_data_seg *)tx_desc)) + nr_segs; in mlx4_en_xmit() 851 dseg += nr_segs + pad; in mlx4_en_xmit() 863 while (nr_segs--) { in mlx4_en_xmit() 864 if (unlikely(segs[nr_segs].ds_len == 0)) { in mlx4_en_xmit() 872 dseg->addr = cpu_to_be64((uint64_t)segs[nr_segs].ds_addr); in mlx4_en_xmit() 875 dseg->byte_count = SET_BYTE_COUNT((uint32_t)segs[nr_segs].ds_len); in mlx4_en_xmit()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | vdev_disk.c | 1067 unsigned long nr_segs = abd_nr_pages_off(zio->io_abd, in vdev_classic_bio_max_segs() local 1071 return (bio_max_segs(nr_segs)); in vdev_classic_bio_max_segs() 1073 return (MIN(nr_segs, BIO_MAX_PAGES)); in vdev_classic_bio_max_segs()
|
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1686 #define __sanitizer_syscall_pre_vmsplice(fd, iov, nr_segs, flags) \ argument 1688 (long)(nr_segs), (long)(flags)) 1689 #define __sanitizer_syscall_post_vmsplice(res, fd, iov, nr_segs, flags) \ argument 1691 (long)(nr_segs), (long)(flags)) 2987 void __sanitizer_syscall_pre_impl_vmsplice(long fd, long iov, long nr_segs, 2990 long nr_segs, long flags);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2920 (long fd, const __sanitizer_iovec *iov, long nr_segs, long flags) {} 2923 (long res, long fd, const __sanitizer_iovec *iov, long nr_segs, long flags) { 2926 kernel_read_iovec(iov, nr_segs, res);
|