Lines Matching full:sync
71 * If 'sync' is false, executes a dry run and returns the error code.
74 * (meaning we are running a zfs.sync function in open-context) then we
83 dsl_syncfunc_t *syncfunc, void *arg, boolean_t sync, const char *err_dsname) in zcp_sync_task() argument
89 if (!sync) in zcp_sync_task()
93 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
94 "submodule requires passing sync=TRUE to " in zcp_sync_task()
133 zcp_synctask_destroy(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_destroy() argument
157 dsl_destroy_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_destroy()
163 dsl_destroy_head_sync, &ddha, sync, dsname); in zcp_synctask_destroy()
185 zcp_synctask_promote(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_promote() argument
202 dsl_dataset_promote_sync, &ddpa, sync, dsname); in zcp_synctask_promote()
223 zcp_synctask_rollback(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_rollback() argument
233 dsl_dataset_rollback_sync, &ddra, sync, dsname); in zcp_synctask_rollback()
255 zcp_synctask_snapshot(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_snapshot() argument
287 dsl_dataset_snapshot_sync, &ddsa, sync, dsname); in zcp_synctask_snapshot()
320 zcp_synctask_rename_snapshot(lua_State *state, boolean_t sync, in zcp_synctask_rename_snapshot() argument
336 dsl_dataset_rename_snapshot_sync, &ddrsa, sync, NULL); in zcp_synctask_rename_snapshot()
390 zcp_synctask_inherit_prop(lua_State *state, boolean_t sync, in zcp_synctask_inherit_prop() argument
412 zcp_synctask_inherit_prop_sync, &zipa, sync, dsname); in zcp_synctask_inherit_prop()
437 zcp_synctask_bookmark(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_bookmark() argument
455 dsl_bookmark_create_sync, &dbca, sync, source); in zcp_synctask_bookmark()
481 zcp_synctask_set_prop(lua_State *state, boolean_t sync, nvlist_t *err_details) in zcp_synctask_set_prop() argument
497 &args, sync, dsname); in zcp_synctask_set_prop()
517 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper() local
541 err = info->func(state, sync, err_details); in zcp_synctask_wrapper()
561 zcp_load_synctask_lib(lua_State *state, boolean_t sync) in zcp_load_synctask_lib() argument
580 lua_pushboolean(state, sync); in zcp_load_synctask_lib()