Lines Matching refs:callback

32 bool HandleLookUp(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) {  in HandleLookUp()  argument
53 callback->OnLookup(buffer->request.header.unique, inode); in HandleLookUp()
57 bool HandleGetAttr(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleGetAttr() argument
62 callback->OnGetAttr(buffer->request.header.unique, buffer->request.header.nodeid); in HandleGetAttr()
67 bool HandleRead(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleRead() argument
72 callback->OnRead(buffer->request.header.unique, buffer->request.header.nodeid, in HandleRead()
77 bool HandleWrite(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleWrite() argument
82 callback->OnWrite(buffer->request.header.unique, buffer->request.header.nodeid, in HandleWrite()
88 bool HandleMessage(FuseAppLoop* loop, FuseBuffer* buffer, int fd, FuseAppLoopCallback* callback) { in HandleMessage() argument
101 return HandleLookUp(loop, buffer, callback); in HandleMessage()
104 return HandleGetAttr(loop, buffer, callback); in HandleMessage()
107 callback->OnOpen(buffer->request.header.unique, buffer->request.header.nodeid); in HandleMessage()
111 return HandleRead(loop, buffer, callback); in HandleMessage()
114 return HandleWrite(loop, buffer, callback); in HandleMessage()
117 callback->OnRelease(buffer->request.header.unique, buffer->request.header.nodeid); in HandleMessage()
121 callback->OnFsync(buffer->request.header.unique, buffer->request.header.nodeid); in HandleMessage()
199 void FuseAppLoop::Start(FuseAppLoopCallback* callback) { in Start() argument
239 if (!HandleMessage(this, &buffer, fd_, callback)) { in Start()