Lines Matching refs:data
98 static void fuse_reply(const fuse_data* fd, uint64_t unique, const void* data, size_t len) { in fuse_reply() argument
107 vec[1].iov_base = const_cast<void*>(data); in fuse_reply()
116 static int handle_init(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_init() argument
117 const fuse_init_in* req = static_cast<const fuse_init_in*>(data); in handle_init()
184 static int handle_lookup(void* data, const fuse_data* fd, const fuse_in_header* hdr) { in handle_lookup() argument
185 if (data == nullptr) return -ENOENT; in handle_lookup()
191 std::string filename(static_cast<const char*>(data)); in handle_lookup()
261 SHA256(fd->block_data, fd->block_size, hash.data()); in fetch_block()
279 static int handle_read(void* data, fuse_data* fd, const fuse_in_header* hdr) { in handle_read() argument
282 const fuse_read_in* req = static_cast<const fuse_read_in*>(data); in handle_read()
432 void* data = request_buffer + sizeof(fuse_in_header); in run_fuse_sideload() local
438 result = handle_init(data, &fd, hdr); in run_fuse_sideload()
442 result = handle_lookup(data, &fd, hdr); in run_fuse_sideload()
446 result = handle_getattr(data, &fd, hdr); in run_fuse_sideload()
450 result = handle_open(data, &fd, hdr); in run_fuse_sideload()
454 result = handle_read(data, &fd, hdr); in run_fuse_sideload()
458 result = handle_flush(data, &fd, hdr); in run_fuse_sideload()
462 result = handle_release(data, &fd, hdr); in run_fuse_sideload()