Lines Matching refs:vec
104 struct iovec vec[2]; in fuse_reply() local
111 vec[0].iov_base = &hdr; in fuse_reply()
112 vec[0].iov_len = sizeof(hdr); in fuse_reply()
113 vec[1].iov_base = /* const_cast */(void*)(data); in fuse_reply()
114 vec[1].iov_len = len; in fuse_reply()
116 res = writev(fd->ffd, vec, 2); in fuse_reply()
300 struct iovec vec[3]; in handle_read() local
323 vec[0].iov_base = &outhdr; in handle_read()
324 vec[0].iov_len = sizeof(outhdr); in handle_read()
346 vec[1].iov_base = fd->block_data + block_offset; in handle_read()
347 vec[1].iov_len = size; in handle_read()
354 vec[1].iov_base = fd->extra_block; in handle_read()
355 vec[1].iov_len = fd->block_size - block_offset; in handle_read()
359 vec[2].iov_base = fd->block_data; in handle_read()
360 vec[2].iov_len = size - vec[1].iov_len; in handle_read()
364 if (writev(fd->ffd, vec, vec_used) < 0) { in handle_read()