Searched refs:zch (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 171 zcp_cleanup_handler_t *zch = kmem_alloc(sizeof (*zch), KM_SLEEP); in zcp_register_cleanup() local 172 zch->zch_cleanup_func = cleanfunc; in zcp_register_cleanup() 173 zch->zch_cleanup_arg = cleanarg; in zcp_register_cleanup() 174 list_insert_head(&ri->zri_cleanup_handlers, zch); in zcp_register_cleanup() 176 return (zch); in zcp_register_cleanup() 180 zcp_deregister_cleanup(lua_State *state, zcp_cleanup_handler_t *zch) in zcp_deregister_cleanup() argument 183 list_remove(&ri->zri_cleanup_handlers, zch); in zcp_deregister_cleanup() 184 kmem_free(zch, sizeof (*zch)); in zcp_deregister_cleanup() 196 for (zcp_cleanup_handler_t *zch = in zcp_cleanup() local 197 list_remove_head(&ri->zri_cleanup_handlers); zch != NULL; in zcp_cleanup() [all …]
|
| H A D | zcp_synctask.c | 206 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, in zcp_synctask_destroy() 215 zcp_deregister_cleanup(state, zch); 341 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, in zcp_synctask_snapshot() 357 zcp_deregister_cleanup(state, zch); 466 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, 472 zcp_deregister_cleanup(state, zch); 505 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, 515 zcp_deregister_cleanup(state, zch); 564 zcp_cleanup_handler_t *zch; in zcp_synctask_wrapper() 572 zch in zcp_synctask_wrapper() 321 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, zcp_synctask_snapshot() local 446 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, zcp_synctask_inherit_prop() local 485 zcp_cleanup_handler_t *zch = zcp_register_cleanup(state, zcp_synctask_bookmark() local 544 zcp_cleanup_handler_t *zch; zcp_synctask_wrapper() local [all...] |