Home
last modified time | relevance | path

Searched refs:iov_size (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/net/rds/
Drdma.c555 int iov_size; in rds_cmsg_rdma_args() local
576 iov_size = args->nr_local * sizeof(struct rds_iovec); in rds_cmsg_rdma_args()
578 iovs = sock_kmalloc(rds_rs_to_sk(rs), iov_size, GFP_KERNEL); in rds_cmsg_rdma_args()
585 …if (copy_from_user(iovs, (struct rds_iovec __user *)(unsigned long) args->local_vec_addr, iov_size in rds_cmsg_rdma_args()
697 sock_kfree_s(rds_rs_to_sk(rs), iovs, iov_size); in rds_cmsg_rdma_args()
/linux-2.6.39/arch/ia64/hp/common/
Dsba_iommu.c240 u32 iov_size; member
1616 ioc->iov_size = ~ioc->imask + 1; in ioc_iova_init()
1620 ioc->iov_size >> 20); in ioc_iova_init()
1634 ioc->pdir_size = (ioc->iov_size / iovp_size) * PDIR_ENTRY_SIZE; in ioc_iova_init()
1661 ioc->iov_size/2 >> 20, ioc->ibase + ioc->iov_size/2); in ioc_iova_init()
1663 ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE; in ioc_iova_init()
1695 WRITE_REG(ioc->ibase | (get_iovp_order(ioc->iov_size) + iovp_shift), ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1862 hpa, ioc->iov_size >> 20, ioc->ibase); in ioc_init()
/linux-2.6.39/drivers/vhost/
Dvhost.c954 struct iovec iov[], int iov_size) in translate_desc() argument
967 if (unlikely(ret >= iov_size)) { in translate_desc()
1012 struct iovec iov[], unsigned int iov_size, in get_indirect() argument
1071 iov_size - iov_count); in get_indirect()
1108 struct iovec iov[], unsigned int iov_size, in vhost_get_vq_desc() argument
1181 ret = get_indirect(dev, vq, iov, iov_size, in vhost_get_vq_desc()
1193 iov_size - iov_count); in vhost_get_vq_desc()
/linux-2.6.39/net/
Dsocket.c1882 int err, ctl_len, iov_size, total_len; in SYSCALL_DEFINE3() local
1903 iov_size = msg_sys.msg_iovlen * sizeof(struct iovec); in SYSCALL_DEFINE3()
1905 iov = sock_kmalloc(sock->sk, iov_size, GFP_KERNEL); in SYSCALL_DEFINE3()
1965 sock_kfree_s(sock->sk, iov, iov_size); in SYSCALL_DEFINE3()
1980 int err, iov_size, total_len, len; in __sys_recvmsg() local
2001 iov_size = msg_sys->msg_iovlen * sizeof(struct iovec); in __sys_recvmsg()
2003 iov = sock_kmalloc(sock->sk, iov_size, GFP_KERNEL); in __sys_recvmsg()
2061 sock_kfree_s(sock->sk, iov, iov_size); in __sys_recvmsg()