Lines Matching defs:ctx
46 void* ctx;
65 svc->ops->finalizer(svc->ctx);
95 static zx_status_t fd_load_object(void* ctx, const char* name, zx_handle_t* out) {
96 int root_dir_fd = ((instance_state_t*)ctx)->root_dir_fd;
97 const char* const* lib_paths = ((instance_state_t*)ctx)->lib_paths;
106 static zx_status_t fd_load_abspath(void* ctx, const char* path, zx_handle_t* out) {
107 int root_dir_fd = ((instance_state_t*)ctx)->root_dir_fd;
115 zx_status_t fd_publish_data_sink(void* ctx, const char* sink_name, zx_handle_t vmo) {
120 void fd_finalizer(void* ctx) {
121 instance_state_t* instance_state = (instance_state_t*)ctx;
187 if (((status = svc->ops->load_object(svc->ctx, prefixed_name, &rsp_handle)) == ZX_OK) ||
196 status = svc->ops->load_object(svc->ctx, data, &rsp_handle);
209 status = svc->ops->load_abspath(svc->ctx, data, &rsp_handle);
212 status = svc->ops->publish_data_sink(svc->ctx, data, req_handle);
254 void* ctx,
285 svc->ctx = ctx;
321 svc->ctx = instance_state;