Home
last modified time | relevance | path

Searched refs:bufv (Results 1 – 9 of 9) sorted by relevance

/external/libfuse/lib/
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_t len) in fuse_bufvec_advance() argument
267 const struct fuse_buf *buf = fuse_bufvec_current(bufv); in fuse_bufvec_advance()
269 bufv->off += len; in fuse_bufvec_advance()
[all …]
Dfuse_lowlevel.c861 int fuse_reply_data(fuse_req_t req, struct fuse_bufvec *bufv, in fuse_reply_data() argument
874 res = fuse_send_data_iov(req->se, req->ch, iov, 1, bufv, flags); in fuse_reply_data()
1400 struct fuse_bufvec bufv = { in do_write_buf() local
1412 bufv.buf[0].mem = ((char *) arg) + FUSE_COMPAT_WRITE_IN_SIZE; in do_write_buf()
1413 bufv.buf[0].size -= sizeof(struct fuse_in_header) + in do_write_buf()
1415 assert(!(bufv.buf[0].flags & FUSE_BUF_IS_FD)); in do_write_buf()
1419 if (!(bufv.buf[0].flags & FUSE_BUF_IS_FD)) in do_write_buf()
1420 bufv.buf[0].mem = PARAM(arg); in do_write_buf()
1422 bufv.buf[0].size -= sizeof(struct fuse_in_header) + in do_write_buf()
1425 if (bufv.buf[0].size < arg->size) { in do_write_buf()
[all …]
Dfuse.c1951 struct fuse_bufvec bufv = FUSE_BUFVEC_INIT(size); in fuse_fs_write() local
1953 bufv.buf[0].mem = (void *) mem; in fuse_fs_write()
1955 return fuse_fs_write_buf(fs, path, &bufv, off, fi); in fuse_fs_write()
/external/honggfuzz/
Dinput.c239 char bufv[1025] = {}; in input_parseDictionary() local
240 if (sscanf(lineptr, "\"%1024s", bufv) != 1 && in input_parseDictionary()
241 sscanf(lineptr, "%1024[^=]=\"%1024s", bufn, bufv) != 2) { in input_parseDictionary()
246 LOG_D("Parsing word: '%s'", bufv); in input_parseDictionary()
248 char* s = util_StrDup(bufv); in input_parseDictionary()
/external/libfuse/include/
Dfuse_lowlevel.h1097 struct fuse_bufvec *bufv, off_t off,
1113 off_t offset, struct fuse_bufvec *bufv);
1447 int fuse_reply_data(fuse_req_t req, struct fuse_bufvec *bufv,
1754 off_t offset, struct fuse_bufvec *bufv,
Dfuse_common.h750 size_t fuse_buf_size(const struct fuse_bufvec *bufv);
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c160 int count, void *bufv) in raw_read_blk() argument
166 unsigned char *buf = bufv; in raw_read_blk()
264 int count, const void *bufv) in raw_write_blk() argument
270 const unsigned char *buf = bufv; in raw_write_blk()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll48 …%struct.bufobj = type <{ %struct.mtx, %struct.bufv, %struct.bufv, i64, i32, i8, i8, i8, i8, %struc…
49 %struct.bufv = type <{ %struct.buflists, %struct.buf*, i32, i8, i8, i8, i8 }>
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll47 …%struct.bufobj = type <{ %struct.mtx, %struct.bufv, %struct.bufv, i64, i32, i8, i8, i8, i8, %struc…
48 %struct.bufv = type <{ %struct.buflists, %struct.buf*, i32, i8, i8, i8, i8 }>