Lines Matching refs:copied

25     size_t copied = 0;  in v9fs_packunpack()  local
43 copied += len; in v9fs_packunpack()
51 if (copied < req_size) { in v9fs_packunpack()
57 return copied; in v9fs_packunpack()
76 ssize_t copied = 0; in v9fs_iov_vunmarshal() local
83 copied = v9fs_unpack(valp, out_sg, out_num, offset, sizeof(*valp)); in v9fs_iov_vunmarshal()
89 copied = v9fs_unpack(&val, out_sg, out_num, offset, sizeof(val)); in v9fs_iov_vunmarshal()
100 copied = v9fs_unpack(&val, out_sg, out_num, offset, sizeof(val)); in v9fs_iov_vunmarshal()
111 copied = v9fs_unpack(&val, out_sg, out_num, offset, sizeof(val)); in v9fs_iov_vunmarshal()
121 copied = v9fs_iov_unmarshal(out_sg, out_num, offset, bswap, in v9fs_iov_vunmarshal()
123 if (copied > 0) { in v9fs_iov_vunmarshal()
124 offset += copied; in v9fs_iov_vunmarshal()
126 copied = v9fs_unpack(str->data, out_sg, out_num, offset, in v9fs_iov_vunmarshal()
128 if (copied >= 0) { in v9fs_iov_vunmarshal()
138 copied = v9fs_iov_unmarshal(out_sg, out_num, offset, bswap, in v9fs_iov_vunmarshal()
145 copied = v9fs_iov_unmarshal(out_sg, out_num, offset, bswap, in v9fs_iov_vunmarshal()
160 copied = v9fs_iov_unmarshal(out_sg, out_num, offset, bswap, in v9fs_iov_vunmarshal()
173 if (copied < 0) { in v9fs_iov_vunmarshal()
174 return copied; in v9fs_iov_vunmarshal()
176 offset += copied; in v9fs_iov_vunmarshal()
199 ssize_t copied = 0; in v9fs_iov_vmarshal() local
206 copied = v9fs_pack(in_sg, in_num, offset, &val, sizeof(val)); in v9fs_iov_vmarshal()
214 copied = v9fs_pack(in_sg, in_num, offset, &val, sizeof(val)); in v9fs_iov_vmarshal()
222 copied = v9fs_pack(in_sg, in_num, offset, &val, sizeof(val)); in v9fs_iov_vmarshal()
230 copied = v9fs_pack(in_sg, in_num, offset, &val, sizeof(val)); in v9fs_iov_vmarshal()
235 copied = v9fs_iov_marshal(in_sg, in_num, offset, bswap, in v9fs_iov_vmarshal()
237 if (copied > 0) { in v9fs_iov_vmarshal()
238 offset += copied; in v9fs_iov_vmarshal()
239 copied = v9fs_pack(in_sg, in_num, offset, str->data, str->size); in v9fs_iov_vmarshal()
245 copied = v9fs_iov_marshal(in_sg, in_num, offset, bswap, "bdq", in v9fs_iov_vmarshal()
252 copied = v9fs_iov_marshal(in_sg, in_num, offset, bswap, in v9fs_iov_vmarshal()
265 copied = v9fs_iov_marshal(in_sg, in_num, offset, bswap, in v9fs_iov_vmarshal()
286 if (copied < 0) { in v9fs_iov_vmarshal()
287 return copied; in v9fs_iov_vmarshal()
289 offset += copied; in v9fs_iov_vmarshal()