Searched refs:zch (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
| HD | zcp_synctask.c | 283 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, in zcp_synctask_snapshot() local 299 zcp_deregister_cleanup(state, zch); in zcp_synctask_snapshot() 372 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, in zcp_synctask_inherit_prop() local 378 zcp_deregister_cleanup(state, zch); in zcp_synctask_inherit_prop() 411 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, in zcp_synctask_bookmark() local 421 zcp_deregister_cleanup(state, zch); in zcp_synctask_bookmark() 470 zcp_cleanup_handler_t *zch; in zcp_synctask_wrapper() local 478 zch = zcp_register_cleanup(state, zcp_synctask_cleanup, err_details); in zcp_synctask_wrapper() 518 zcp_deregister_cleanup(state, zch); in zcp_synctask_wrapper()
|
| HD | zcp.c | 174 zcp_cleanup_handler_t *zch = kmem_alloc(sizeof (*zch), KM_SLEEP); in zcp_register_cleanup() local 175 zch->zch_cleanup_func = cleanfunc; in zcp_register_cleanup() 176 zch->zch_cleanup_arg = cleanarg; in zcp_register_cleanup() 177 list_insert_head(&ri->zri_cleanup_handlers, zch); in zcp_register_cleanup() 179 return (zch); in zcp_register_cleanup() 183 zcp_deregister_cleanup(lua_State *state, zcp_cleanup_handler_t *zch) in zcp_deregister_cleanup() argument 186 list_remove(&ri->zri_cleanup_handlers, zch); in zcp_deregister_cleanup() 187 kmem_free(zch, sizeof (*zch)); in zcp_deregister_cleanup() 199 for (zcp_cleanup_handler_t *zch = in zcp_cleanup() local 200 list_remove_head(&ri->zri_cleanup_handlers); zch != NULL; in zcp_cleanup() [all …]
|