/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zvol_os.c | 209 static void zvol_geom_worker(void *arg); 517 zvol_geom_worker(void *arg) in zvol_geom_worker() argument 519 zvol_state_t *zv = arg; in zvol_geom_worker() 1173 if (strcmp(arg->name, "GEOM::candelete") == 0) in zvol_cdev_ioctl() 1174 arg->value.i = 1; in zvol_cdev_ioctl() 1175 else if (strcmp(arg->name, "blocksavail") == 0) { in zvol_cdev_ioctl() 1178 arg->value.off = avail / DEV_BSIZE; in zvol_cdev_ioctl() 1179 } else if (strcmp(arg->name, "blocksused") == 0) { in zvol_cdev_ioctl() 1182 arg->value.off = refd / DEV_BSIZE; in zvol_cdev_ioctl() 1187 arg->value.off = avail / DEV_BSIZE; in zvol_cdev_ioctl() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 336 zvol_write_task(void *arg) in zvol_write_task() argument 338 zv_request_task_t *task = arg; in zvol_write_task() 425 zvol_discard_task(void *arg) in zvol_discard_task() argument 427 zv_request_task_t *task = arg; in zvol_discard_task() 502 zvol_read_task(void *arg) in zvol_read_task() argument 504 zv_request_task_t *task = arg; in zvol_read_task() 896 unsigned int cmd, unsigned long arg) in zvol_ioctl() argument 923 error = copy_to_user((void *)arg, zv->zv_name, MAXNAMELEN); in zvol_ioctl() 938 unsigned cmd, unsigned long arg) in zvol_compat_ioctl() argument 940 return (zvol_ioctl(bdev, mode, cmd, arg)); in zvol_compat_ioctl()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_objset.c | 180 objset_t *os = arg; in checksum_changed_cb() 193 objset_t *os = arg; in compression_changed_cb() 209 objset_t *os = arg; in copies_changed_cb() 223 objset_t *os = arg; in dedup_changed_cb() 241 objset_t *os = arg; in primary_cache_changed_cb() 255 objset_t *os = arg; in secondary_cache_changed_cb() 269 objset_t *os = arg; in prefetch_changed_cb() 282 objset_t *os = arg; in sync_changed_cb() 298 objset_t *os = arg; in redundant_metadata_changed_cb() 314 objset_t *os = arg; in dnodesize_changed_cb() [all …]
|
H A D | mmp.c | 190 static __attribute__((noreturn)) void mmp_thread(void *arg); 543 mmp_thread(void *arg) in mmp_thread() argument 545 spa_t *spa = (spa_t *)arg; in mmp_thread()
|
H A D | spa.c | 1542 spa_thread(void *arg) in spa_thread() argument 1547 spa_t *spa = arg; in spa_thread() 2700 zio_t *rio = arg; in spa_load_verify_cb() 2897 spa_t *spa = arg; in spa_livelist_delete_cb_check() 2904 spa_t *spa = arg; in delete_blkptr_cb() 2991 spa_t *spa = arg; in spa_livelist_delete_cb() 3163 spa_t *spa = arg; in spa_livelist_condense_cb() 3241 spa_t *spa = arg; in spa_livelist_condense_cb_check() 9133 bpobj_t *bpo = arg; 9153 zio_t *pio = arg; [all …]
|
H A D | spa_misc.c | 654 spa_deadman(void *arg) in spa_deadman() argument 656 spa_t *spa = arg; in spa_deadman()
|
H A D | txg.c | 111 static __attribute__((noreturn)) void txg_sync_thread(void *arg); 112 static __attribute__((noreturn)) void txg_quiesce_thread(void *arg); 518 txg_sync_thread(void *arg) in txg_sync_thread() argument 520 dsl_pool_t *dp = arg; in txg_sync_thread() 618 txg_quiesce_thread(void *arg) in txg_quiesce_thread() argument 620 dsl_pool_t *dp = arg; in txg_quiesce_thread()
|
H A D | vdev.c | 1830 vdev_load_child(void *arg) in vdev_load_child() argument 1832 vdev_t *vd = arg; in vdev_load_child() 1838 vdev_open_child(void *arg) in vdev_open_child() argument 1840 vdev_t *vd = arg; in vdev_open_child() 2272 vdev_validate_child(void *arg) in vdev_validate_child() argument 2274 vdev_t *vd = arg; in vdev_validate_child() 2885 (void) txg_list_add(&vd->vdev_ms_list, arg, txg); in vdev_dirty() 5694 vdev_xlate_func_t *func, void *arg) in vdev_xlate_walk() argument 5710 func(arg, &physical_rs); in vdev_xlate_walk() 5784 vdev_props_set_sync(void *arg, dmu_tx_t *tx) in vdev_props_set_sync() argument [all …]
|
H A D | vdev_raidz.c | 3667 raidz_reflow_sync(void *arg, dmu_tx_t *tx) in raidz_reflow_sync() argument 3669 spa_t *spa = arg; in raidz_reflow_sync() 3712 raidz_reflow_complete_sync(void *arg, dmu_tx_t *tx) in raidz_reflow_complete_sync() argument 3714 spa_t *spa = arg; in raidz_reflow_complete_sync() 4032 raidz_reflow_scratch_sync(void *arg, dmu_tx_t *tx) in raidz_reflow_scratch_sync() argument 4034 vdev_raidz_expand_t *vre = arg; in raidz_reflow_scratch_sync() 4388 spa_t *spa = arg; in spa_raidz_expand_thread_check() 4400 spa_raidz_expand_thread(void *arg, zthr_t *zthr) in spa_raidz_expand_thread() argument 4402 spa_t *spa = arg; in spa_raidz_expand_thread() 4658 vdev_raidz_attach_sync(void *arg, dmu_tx_t *tx) in vdev_raidz_attach_sync() argument [all …]
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_da.c | 1939 dp = arg; in dadump() 2118 struct cam_path *path, void *arg) in daasync() argument 2130 cgd = (struct ccb_getdev *)arg; in daasync() 2165 buftype = (uintptr_t)arg; in daasync() 2181 ccb = (union ccb *)arg; in daasync() 2792 cgd = (struct ccb_getdev *)arg; in daregister() 6043 damediapoll(void *arg) in damediapoll() argument 6045 struct cam_periph *periph = arg; in damediapoll() 6234 dasendorderedtag(void *arg) in dasendorderedtag() argument 6236 struct cam_periph *periph = arg; in dasendorderedtag() [all …]
|
/freebsd/sys/compat/linux/ |
H A D | linux_socket.c | 2623 if (arg->offset != NULL) { in linux_sendfile() 2630 error = linux_sendfile_common(td, arg->out, arg->in, in linux_sendfile() 2631 arg->offset != NULL ? &offset64 : NULL, arg->count); in linux_sendfile() 2652 if (arg->offset != NULL) { in linux_sendfile64() 2658 error = linux_sendfile_common(td, arg->out, arg->in, in linux_sendfile64() 2659 arg->offset != NULL ? &offset : NULL, arg->count); in linux_sendfile64() 2691 void *arg; in linux_socketcall() local 2703 arg = l_args; in linux_socketcall() 2705 arg = a; in linux_socketcall() 2711 return (linux_bind(td, arg)); in linux_socketcall() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | arcstat.in | 420 for opt, arg in opts: 426 opfile = arg 433 sep = arg 436 desired_cols = arg
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 3468 do_import_task(void *arg) in do_import_task() argument 3470 import_parameters_t *ip = arg; in do_import_task() 9553 upgrade_cb(zpool_handle_t *zhp, void *arg) in upgrade_cb() argument 9555 upgrade_cbdata_t *cbp = arg; in upgrade_cb() 9605 upgrade_list_older_cb(zpool_handle_t *zhp, void *arg) in upgrade_list_older_cb() argument 9607 upgrade_cbdata_t *cbp = arg; in upgrade_list_older_cb() 9641 upgrade_list_disabled_cb(zpool_handle_t *zhp, void *arg) in upgrade_list_disabled_cb() argument 9643 upgrade_cbdata_t *cbp = arg; in upgrade_list_disabled_cb() 11276 wait_status_thread(void *arg) in wait_status_thread() argument 11278 wait_data_t *wd = (wait_data_t *)arg; in wait_status_thread()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 768 extern int bpobj_enqueue_alloc_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 769 extern int bpobj_enqueue_free_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 1114 void *arg); 1116 spa_remap_cb_t callback, void *arg);
|
H A D | spa_impl.h | 482 task_func_t *func, void *arg, uint_t flags, taskq_ent_t *ent, zio_t *zio); 484 task_func_t *func, void *arg, uint_t flags);
|
H A D | vdev_impl.h | 87 uint64_t offset, uint64_t size, void *arg); 89 vdev_remap_cb_t callback, void *arg); 591 extern void vdev_dirty(vdev_t *vd, int flags, void *arg, uint64_t txg);
|
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) 250 void *arg, size_t stksize, int state); 304 extern void rw_init(krwlock_t *rwlp, char *name, int type, void *arg); 329 extern void cv_init(kcondvar_t *cv, char *name, int type, void *arg); 670 extern int set_global_var(char const *arg);
|
/freebsd/sys/cam/ctl/ |
H A D | scsi_ctl.c | 187 static void ctlfe_online(void *arg); 188 static void ctlfe_offline(void *arg); 291 cpi = (struct ccb_pathinq *)arg; in ctlfeasync() 401 ac = (struct ac_contract *)arg; in ctlfeasync() 1437 switch (inot->arg) { in ctlfedone() 1475 __func__, inot->arg); in ctlfedone() 1637 ctlfe_online(void *arg) in ctlfe_online() argument 1695 ctlfe_onoffline(arg, /*online*/ 1); in ctlfe_online() 1700 ctlfe_offline(void *arg) in ctlfe_offline() argument 1709 ctlfe_onoffline(arg, /*online*/ 0); in ctlfe_offline() [all …]
|
H A D | ctl.c | 468 static void ctl_done_timer_wakeup(void *arg); 483 static void ctl_thresh_thread(void *arg); 484 static void ctl_work_thread(void *arg); 5937 ctl_ie_timer(void *arg) in ctl_ie_timer() argument 5939 struct ctl_lun *lun = arg; in ctl_ie_timer() 13269 ctl_datamove_timer_wakeup(void *arg) argument 13273 io = (union ctl_io *)arg; 14185 ctl_done_timer_wakeup(void *arg) argument 14189 io = (union ctl_io *)arg; 14301 ctl_work_thread(void *arg) argument [all …]
|
H A D | ctl_io.h | 269 typedef void (*ctl_ref)(void *arg, int diff);
|
/freebsd/sys/cam/ |
H A D | cam_ccb.h | 1245 u_int arg; /* Function specific */ member 1253 u_int arg; /* Response information */ member 1505 mmcio->cmd.arg = mmc_arg; in cam_fill_mmcio() 1508 mmcio->stop.arg = 0; in cam_fill_mmcio()
|
H A D | cam_iosched.c | 599 cam_iosched_ticker(void *arg) in cam_iosched_ticker() argument 601 struct cam_iosched_softc *isc = arg; in cam_iosched_ticker()
|
/freebsd/stand/userboot/test/ |
H A D | test.c | 62 void test_exit(void *arg, int v); 69 test_putc(void *arg, int ch) in test_putc() argument 77 test_getc(void *arg) in test_getc() argument 87 test_poll(void *arg) in test_poll() argument 271 test_close(void *arg, void *h) in test_close() argument 285 test_isdir(void *arg, void *h) in test_isdir() argument 483 test_exec(void *arg, uint64_t pc) in test_exec() argument 486 test_exit(arg, 0); in test_exec() 494 test_delay(void *arg, int usec) in test_delay() argument 501 test_exit(void *arg, int v) in test_exit() argument [all …]
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_xpt.c | 136 void *arg); 200 nvme_probe_register(struct cam_periph *periph, void *arg) in nvme_probe_register() argument 205 request_ccb = (union ccb *)arg; in nvme_probe_register()
|
/freebsd/sbin/camcontrol/ |
H A D | camcontrol.c | 269 camcontrol_optret getoption(struct camcontrol_opts *table, char *arg, 374 getoption(struct camcontrol_opts *table, char *arg, uint32_t *cmdnum, in getoption() argument 382 if (strncmp(opts->optname, arg, strlen(arg)) == 0) { in getoption() 7054 const char *arg; in sanitize() local 7057 arg = "-c"; in sanitize() 7059 arg = "-I"; in sanitize() 7061 arg = "-P"; in sanitize() 7063 arg = NULL; in sanitize() 7064 if (arg != NULL) { in sanitize() 7066 "operation", arg); in sanitize()
|