/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_ioctl.c | 111 * zfs_ioc_func_t *func 1662 * zc_cookie scan func (pool_scan_func_t) 1692 * scan_type scan func (pool_scan_func_t) 3669 * logging. The secpolicy func already checked that it is set. 7044 zfs_ioctl_register_legacy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, argument 7055 vec->zvec_legacy_func = func; 7067 zfs_ioctl_register(const char *name, zfs_ioc_t ioc, zfs_ioc_func_t *func, argument 7083 vec->zvec_func = func; 7094 zfs_ioctl_register_pool(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, argument 7098 zfs_ioctl_register_legacy(ioc, func, secpolic 7103 zfs_ioctl_register_dataset_nolog(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy, zfs_ioc_poolcheck_t pool_check) argument 7111 zfs_ioctl_register_pool_modify(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func) argument 7118 zfs_ioctl_register_pool_meta(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument 7126 zfs_ioctl_register_dataset_read_secpolicy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument 7134 zfs_ioctl_register_dataset_read(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func) argument 7141 zfs_ioctl_register_dataset_modify(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument [all...] |
H A D | zcp.c | 636 .func = zcp_debug, 666 .func = zcp_exists, 1096 lua_pushcclosure(state, zcp_debug_info.func, 0); 1098 lua_pushcclosure(state, zcp_exists_info.func, 0);
|
H A D | vdev_rebuild.c | 348 pool_scan_func_t func = POOL_SCAN_SCRUB; local 349 if (dsl_scan_setup_check(&func, tx) == 0 && 351 dsl_scan_setup_sync(&func, tx);
|
H A D | vdev_raidz.c | 3780 pool_scan_func_t func = POOL_SCAN_SCRUB; local 3781 if (zfs_scrub_after_expand && dsl_scan_setup_check(&func, tx) == 0) 3782 dsl_scan_setup_sync(&func, tx);
|
H A D | vdev.c | 5700 vdev_xlate_func_t *func, void *arg) 5716 func(arg, &physical_rs); 5699 vdev_xlate_walk(vdev_t *vd, const range_seg64_t *logical_rs, vdev_xlate_func_t *func, void *arg) argument
|
H A D | spa.c | 292 * Variables to indicate the livelist condense zthr func should wait at certain 1495 task_func_t *func, zio_t *zio, boolean_t cutinline) 1520 taskq_dispatch_ent(tq, func, zio, cutinline ? TQ_FRONT : 0, 8794 spa_scan(spa_t *spa, pool_scan_func_t func) argument 8798 if (func >= POOL_SCAN_FUNCS || func == POOL_SCAN_NONE) 8801 if (func == POOL_SCAN_RESILVER && 8809 if (func == POOL_SCAN_RESILVER && 8815 if (func == POOL_SCAN_ERRORSCRUB && 8819 return (dsl_scan(spa->spa_dsl_pool, func)); 1494 spa_taskq_dispatch(spa_t *spa, zio_type_t t, zio_taskq_type_t q, task_func_t *func, zio_t *zio, boolean_t cutinline) argument [all...] |
H A D | dmu_objset.c | 563 * func returns, thus changing the checksum/compression from the 1341 dsl_crypto_params_t *dcp, dmu_objset_create_sync_func_t func, void *arg) 1350 doca.doca_userfunc = func; 2858 * Find objsets under and including ddobj, call func(ds) on each. 2860 * func is called with dsl_pool_config held. 2864 int func(dsl_pool_t *, dsl_dataset_t *, void *), void *arg, int flags) 2878 dcp->dc_func = func; 2937 * Find all objsets under name, and for each, call 'func(child_name, arg)'. 2945 int func(const char *, void *), void *arg, int flags) 2989 func, ar 1340 dmu_objset_create(const char *name, dmu_objset_type_t type, uint64_t flags, dsl_crypto_params_t *dcp, dmu_objset_create_sync_func_t func, void *arg) argument [all...] |
H A D | arc.c | 5468 * results); or, if this is a read with a "done" func, add a record 5469 * to the read to invoke the "done" func when the read completes, 6036 arc_add_prune_callback(arc_prune_func_t *func, void *private) argument 6041 p->p_pfunc = func; 6080 arc_prune_func_t *func = ap->p_pfunc; local 6082 if (func != NULL) 6083 func(ap->p_adjust, ap->p_private); 6085 (void) zfs_refcount_remove(&ap->p_refcnt, func);
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_debug.c | 123 __set_error(const char *file, const char *func, int line, int err) argument 131 __dprintf(B_FALSE, file, func, line, "error %lu", 154 __dprintf(boolean_t dprint, const char *file, const char *func, argument 179 curthread, prefix, newfile, line, func);
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-thread.c | 49 void (*func)(void *); 53 func = tp->tp_func; 60 if (func) 61 func(args); 72 __thread_create(caddr_t stk, size_t stksize, thread_func_t func, argument 99 * Strip trailing "_thread" from passed name which will be the func 106 tp->tp_func = func; 128 spl_kthread_create(int (*func)(void *), void *data, const char namefmt[], ...) 138 tsk = kthread_create(func, data, "%s", name);
|
H A D | spl-taskq.c | 578 taskq_dispatch(taskq_t *tq, task_func_t func, void *arg, uint_t flags) argument 585 ASSERT(func); 617 t->tqent_func = func; 642 taskq_dispatch_delay(taskq_t *tq, task_func_t func, void *arg, argument 650 ASSERT(func); 668 t->tqent_func = func; 689 taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags, argument 694 ASSERT(func); 734 t->tqent_func = func;
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_debug.c | 176 __set_error(const char *file, const char *func, int line, int err) argument 184 __dprintf(B_FALSE, file, func, line, "error %lu", (ulong_t)err); 189 __dprintf(boolean_t dprint, const char *file, const char *func, argument 212 i = snprintf(buf, size, "%s:%d:%s(): ", newfile, line, func);
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_misc.c | 94 spl_panic(const char *file, const char *func, int line, const char *fmt, ...) argument
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_mount.c | 1087 size_t num_handles, int idx, zfs_iter_f func, void *data, tpool_t *tp) 1096 mnt_param->mnt_func = func; 1198 * Issue the func callback for each ZFS handle contained in the handles 1219 size_t num_handles, zfs_iter_f func, void *data, uint_t nthr) 1239 func(handles[i], data); 1265 zfs_dispatch_mount(hdl, handles, num_handles, i, func, data, 1086 zfs_dispatch_mount(libzfs_handle_t *hdl, zfs_handle_t **handles, size_t num_handles, int idx, zfs_iter_f func, void *data, tpool_t *tp) argument 1218 zfs_foreach_mountpoint(libzfs_handle_t *hdl, zfs_handle_t **handles, size_t num_handles, zfs_iter_f func, void *data, uint_t nthr) argument
|
/freebsd-current/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool.c | 129 void (*func)(void *); 181 func = job->tpj_func; 199 func(arg); 203 * state back to the values prior to calling func(). 412 tpool_dispatch(tpool_t *tpool, void (*func)(void *), void *arg) 421 job->tpj_func = func;
|
/freebsd-current/sys/contrib/openzfs/lib/libspl/ |
H A D | assert.c | 80 libspl_assertf(const char *file, const char *func, int line, argument 90 fprintf(stderr, "ASSERT at %s:%d:%s()\n", file, line, func);
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | zfs_debug.h | 63 extern void __set_error(const char *file, const char *func, int line, int err); 65 extern void __dprintf(boolean_t dprint, const char *file, const char *func,
|
H A D | zfs_context.h | 229 #define thread_create_named(name, stk, stksize, func, arg, len, \ 231 zk_thread_create(name, func, arg, stksize, state) 232 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ 233 zk_thread_create(#func, func, arg, stksize, state) 249 extern kthread_t *zk_thread_create(const char *name, void (*func)(void *), 675 #define CALLB_CPR_INIT(cp, lockp, func, name) { \
|
H A D | spa_impl.h | 483 task_func_t *func, zio_t *zio, boolean_t cutinline);
|
/freebsd-current/sys/contrib/openzfs/include/ |
H A D | libzfs.h | 625 _LIBZFS_H int zprop_iter(zprop_func func, void *cb, boolean_t show_all,
|
/freebsd-current/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 454 #define ZTI_INIT(func, iters, interval) \ 455 { .zi_func = (func), \ 458 .zi_funcname = # func } 4311 vdev_walk_tree(vdev_t *vd, vdev_t *(*func)(vdev_t *, void *), void *arg) 4316 if (func == NULL) 4319 return (func(vd, arg)); 4324 if ((cvd = vdev_walk_tree(cvd, func, arg)) != NULL)
|
/freebsd-current/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 285 int (*func)(int, char **); member in struct:zpool_command 11714 ret = command_table[i].func(argc - 1, newargv + 1); 11718 ret = command_table[i].func(argc, newargv);
|
/freebsd-current/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 200 int (*func)(int argc, char **argv); member in struct:zfs_command 8924 ret = command_table[i].func(argc - 1, newargv + 1); 8928 ret = command_table[i].func(argc, newargv);
|
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 767 devphys_iter(const char *physical, const char *devid, zfs_process_func_t func, argument 773 data.dd_func = func; 829 zfs_process_func_t func, boolean_t is_slice) 834 data.dd_func = func; 856 devid_iter(const char *devid, zfs_process_func_t func, boolean_t is_slice) argument 861 data.dd_func = func; 877 zfs_process_func_t func, boolean_t is_slice) 881 data.dd_func = func; 828 by_vdev_path_iter(const char *by_vdev_path, const char *devid, zfs_process_func_t func, boolean_t is_slice) argument 876 guid_iter(uint64_t pool_guid, uint64_t vdev_guid, const char *devid, zfs_process_func_t func, boolean_t is_slice) argument
|
/freebsd-current/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 500 static void iterate_deleted_livelists(spa_t *spa, ll_iter_t func, void *arg); 6674 iterate_deleted_livelists(spa_t *spa, ll_iter_t func, void *arg) argument 6693 func(&ll, arg);
|