Home
last modified time | relevance | path

Searched refs:bufv (Results 1 - 6 of 6) sorted by relevance

/third_party/libfuse/lib/
H A Dbuffer.c22 size_t fuse_buf_size(const struct fuse_bufvec *bufv) in fuse_buf_size() argument
27 for (i = 0; i < bufv->count; i++) { in fuse_buf_size()
28 if (bufv->buf[i].size == SIZE_MAX) in fuse_buf_size()
31 size += bufv->buf[i].size; in fuse_buf_size()
257 static const struct fuse_buf *fuse_bufvec_current(struct fuse_bufvec *bufv) in fuse_bufvec_current() argument
259 if (bufv->idx < bufv->count) in fuse_bufvec_current()
260 return &bufv->buf[bufv->idx]; in fuse_bufvec_current()
265 static int fuse_bufvec_advance(struct fuse_bufvec *bufv, size_ argument
[all...]
H A Dfuse_lowlevel.c874 int fuse_reply_data(fuse_req_t req, struct fuse_bufvec *bufv, argument
887 res = fuse_send_data_iov(req->se, req->ch, iov, 1, bufv, flags);
1405 struct fuse_bufvec bufv = { local
1417 bufv.buf[0].mem = ((char *) arg) + FUSE_COMPAT_WRITE_IN_SIZE;
1418 bufv.buf[0].size -= sizeof(struct fuse_in_header) +
1420 assert(!(bufv.buf[0].flags & FUSE_BUF_IS_FD));
1424 if (!(bufv.buf[0].flags & FUSE_BUF_IS_FD))
1425 bufv.buf[0].mem = PARAM(arg);
1427 bufv.buf[0].size -= sizeof(struct fuse_in_header) +
1430 if (bufv
2404 fuse_lowlevel_notify_store(struct fuse_session *se, fuse_ino_t ino, off_t offset, struct fuse_bufvec *bufv, enum fuse_buf_copy_flags flags) global() argument
2454 struct fuse_bufvec bufv = { global() local
2651 struct fuse_bufvec bufv = { .buf[0] = *buf, .count = 1 }; global() local
[all...]
H A Dfuse.c1902 struct fuse_bufvec bufv = FUSE_BUFVEC_INIT(size); in fuse_fs_write() local
1904 bufv.buf[0].mem = (void *) mem; in fuse_fs_write()
1906 return fuse_fs_write_buf(fs, path, &bufv, off, fi); in fuse_fs_write()
/third_party/libfuse/example/
H A Dnotify_store_retrieve.c247 struct fuse_bufvec bufv; in tfs_retrieve_reply() local
256 bufv.count = 1; in tfs_retrieve_reply()
257 bufv.idx = 0; in tfs_retrieve_reply()
258 bufv.off = 0; in tfs_retrieve_reply()
259 bufv.buf[0].size = MAX_STR_LEN; in tfs_retrieve_reply()
260 bufv.buf[0].mem = buf; in tfs_retrieve_reply()
261 bufv.buf[0].flags = 0; in tfs_retrieve_reply()
263 ret = fuse_buf_copy(&bufv, data, 0); in tfs_retrieve_reply()
296 struct fuse_bufvec bufv; in update_fs_loop() local
304 bufv in update_fs_loop()
[all...]
/third_party/libfuse/include/
H A Dfuse_lowlevel.h1109 * bufv->off is correctly updated (reflecting the number of
1110 * bytes read from bufv->buf[0]).
1121 * @param bufv buffer containing the data
1126 struct fuse_bufvec *bufv, off_t off,
1139 * @param bufv the buffer containing the returned data
1142 off_t offset, struct fuse_bufvec *bufv);
1432 * buffers (i.e., buffers for which bufv[n].flags == FUSE_BUF_FD)
1460 * @param bufv buffer vector
1464 int fuse_reply_data(fuse_req_t req, struct fuse_bufvec *bufv,
1796 * @param bufv buffe
[all...]
H A Dfuse_common.h829 * @param bufv buffer vector
832 size_t fuse_buf_size(const struct fuse_bufvec *bufv);

Completed in 14 milliseconds