Lines Matching refs:vec
701 struct iovec vec[2]; in fuse_reply() local
708 vec[0].iov_base = &hdr; in fuse_reply()
709 vec[0].iov_len = sizeof(hdr); in fuse_reply()
710 vec[1].iov_base = data; in fuse_reply()
711 vec[1].iov_len = len; in fuse_reply()
713 res = writev(fuse->fd, vec, 2); in fuse_reply()
768 struct iovec vec[3]; in fuse_notify_delete() local
781 vec[0].iov_base = &hdr; in fuse_notify_delete()
782 vec[0].iov_len = sizeof(hdr); in fuse_notify_delete()
783 vec[1].iov_base = &data; in fuse_notify_delete()
784 vec[1].iov_len = sizeof(data); in fuse_notify_delete()
785 vec[2].iov_base = (void*) name; in fuse_notify_delete()
786 vec[2].iov_len = namelen + 1; in fuse_notify_delete()
788 res = writev(fuse->fd, vec, 3); in fuse_notify_delete()