Lines Matching refs:ops
48 const struct ktipc_srv_ops* ops; member
55 const struct ktipc_srv_ops* ops; member
65 const struct ktipc_srv_ops* ops = kchan->ops; in ktipc_chan_close() local
78 ops->on_channel_cleanup(user_ctx); in ktipc_chan_close()
99 rc = kchan->ops->on_message(kchan->port, kchan->href.handle, in chan_event_handler()
114 if (kchan->ops->on_disconnect) { in chan_event_handler()
115 kchan->ops->on_disconnect(kchan->port, kchan->href.handle, in chan_event_handler()
125 if (kchan->ops->on_send_unblocked) { in chan_event_handler()
126 rc = kchan->ops->on_send_unblocked(kchan->port, kchan->href.handle, in chan_event_handler()
196 kchan->ops = kport->ops; in handle_connect()
210 if (kport->ops->on_connect) { in handle_connect()
211 rc = kport->ops->on_connect(kport->port, hchan, peer, &user_ctx); in handle_connect()
253 const struct ktipc_srv_ops* ops) { in ktipc_server_add_port() argument
263 if (!ops) { in ktipc_server_add_port()
268 if (!ops->on_message) { in ktipc_server_add_port()
274 if (ops->on_connect && !ops->on_channel_cleanup) { in ktipc_server_add_port()
307 kport->ops = ops; in ktipc_server_add_port()