Lines Matching defs:op
20 struct fuse_session_ops op;
30 struct fuse_chan_ops op;
41 struct fuse_session *fuse_session_new(struct fuse_session_ops *op, void *data)
50 se->op = *op;
87 se->op.process(se->data, buf, len, ch);
92 if (se->op.destroy)
93 se->op.destroy(se->data);
101 if (se->op.exit)
102 se->op.exit(se->data, 1);
108 if (se->op.exit)
109 se->op.exit(se->data, 0);
115 if (se->op.exited)
116 return se->op.exited(se->data);
121 static struct fuse_chan *fuse_chan_new_common(struct fuse_chan_ops *op, int fd,
131 ch->op = *op;
139 struct fuse_chan *fuse_chan_new(struct fuse_chan_ops *op, int fd,
142 return fuse_chan_new_common(op, fd, bufsize, data);
168 return ch->op.receive(chp, buf, size);
173 return ch->op.send(ch, iov, count);
179 if (ch->op.destroy)
180 ch->op.destroy(ch);