/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | nvlist_to_lua.c | 81 return (B_TRUE); in nvlist_equal() 110 unexpected_failures = B_TRUE; in test() 116 unexpected_failures = B_TRUE; in test() 144 test("boolean", B_TRUE, B_FALSE); in run_tests() 146 fnvlist_add_boolean_value(nvl, key, B_TRUE); in run_tests() 171 test("int64", B_TRUE, B_TRUE); in run_tests() 177 test("string", B_TRUE, B_TRUE); in run_tests() 185 test("nvlist", B_TRUE, B_TRUE); in run_tests() 188 boolean_t val[2] = { B_FALSE, B_TRUE }; in run_tests() 230 test("int64_array", B_TRUE, B_FALSE); in run_tests() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | hunt_nic.c | 125 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG35388, B_TRUE, in hunt_board_cfg() 128 encp->enc_bug35388_workaround = B_TRUE; in hunt_board_cfg() 138 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG41750, B_TRUE, in hunt_board_cfg() 141 encp->enc_bug41750_workaround = B_TRUE; in hunt_board_cfg() 145 encp->enc_bug41750_workaround = B_TRUE; in hunt_board_cfg() 155 encp->enc_bug41750_workaround = B_TRUE; in hunt_board_cfg() 168 B_TRUE, &flags); in hunt_board_cfg() 170 encp->enc_bug26807_workaround = B_TRUE; in hunt_board_cfg() 212 encp->enc_bug61297_workaround = B_TRUE; in hunt_board_cfg()
|
H A D | siena_nic.c | 155 encp->enc_rx_scale_l4_hash_supported = B_TRUE; in siena_board_cfg() 189 encp->enc_allow_set_mac_with_installed_filters = B_TRUE; in siena_board_cfg() 261 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE); in siena_nic_biu_test() 264 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE); in siena_nic_biu_test() 266 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE); in siena_nic_biu_test() 272 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE); in siena_nic_biu_test() 284 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE); in siena_nic_biu_test() 287 EFX_BAR_TBL_WRITEO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE); in siena_nic_biu_test() 289 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 0, &oword, B_TRUE); in siena_nic_biu_test() 295 EFX_BAR_TBL_READO(enp, FR_AZ_DRIVER_REG, 1, &oword, B_TRUE); in siena_nic_biu_test() [all …]
|
H A D | medford_nic.c | 90 encp->enc_bug41750_workaround = B_TRUE; in medford_board_cfg() 94 encp->enc_bug26807_workaround = B_TRUE; in medford_board_cfg() 101 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG61265, B_TRUE, in medford_board_cfg() 104 encp->enc_bug61265_workaround = B_TRUE; in medford_board_cfg() 111 encp->enc_bug61297_workaround = B_TRUE; in medford_board_cfg() 154 encp->enc_vpd_is_global = B_TRUE; in medford_board_cfg()
|
H A D | ef10_filter.c | 56 return (B_TRUE); in ef10_filter_entry_is_busy() 67 return (B_TRUE); in ef10_filter_entry_is_auto_old() 493 return (B_TRUE); in ef10_filter_equal() 505 return (B_TRUE); in ef10_filter_same_dest() 509 return (B_TRUE); in ef10_filter_same_dest() 546 return (B_TRUE); in ef10_filter_is_exclusive() 553 return (B_TRUE); in ef10_filter_is_exclusive() 556 return (B_TRUE); in ef10_filter_is_exclusive() 588 restoring = B_TRUE; in ef10_filter_restore() 668 locked = B_TRUE; in ef10_filter_add_internal() [all …]
|
H A D | medford2_nic.c | 94 encp->enc_bug41750_workaround = B_TRUE; in medford2_board_cfg() 98 encp->enc_bug26807_workaround = B_TRUE; in medford2_board_cfg() 105 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG61265, B_TRUE, in medford2_board_cfg() 108 encp->enc_bug61265_workaround = B_TRUE; in medford2_board_cfg() 158 encp->enc_vpd_is_global = B_TRUE; in medford2_board_cfg()
|
H A D | ef10_nic.c | 1113 encp->enc_rx_scale_additional_modes_supported = B_TRUE; in ef10_get_datapath_caps() 1120 encp->enc_fw_assisted_tso_enabled = B_TRUE; in ef10_get_datapath_caps() 1126 encp->enc_fw_assisted_tso_v2_enabled = B_TRUE; in ef10_get_datapath_caps() 1136 encp->enc_fw_assisted_tso_v2_encap_enabled = B_TRUE; in ef10_get_datapath_caps() 1142 encp->enc_datapath_cap_evb = B_TRUE; in ef10_get_datapath_caps() 1148 encp->enc_hw_tx_insert_vlan_enabled = B_TRUE; in ef10_get_datapath_caps() 1154 encp->enc_rx_batching_enabled = B_TRUE; in ef10_get_datapath_caps() 1166 encp->enc_rx_disable_scatter_supported = B_TRUE; in ef10_get_datapath_caps() 1172 encp->enc_rx_packed_stream_supported = B_TRUE; in ef10_get_datapath_caps() 1181 encp->enc_rx_var_packed_stream_supported = B_TRUE; in ef10_get_datapath_caps() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_status.c | 170 if (ignore_replacing == B_TRUE) { in find_vdev_problem() 181 return (B_TRUE); in find_vdev_problem() 187 return (B_TRUE); in find_vdev_problem() 197 return (B_TRUE); in find_vdev_problem() 373 find_vdev_problem(nvroot, vdev_faulted, B_TRUE)) in check_status() 377 find_vdev_problem(nvroot, vdev_missing, B_TRUE)) in check_status() 381 find_vdev_problem(nvroot, vdev_broken, B_TRUE)) in check_status() 404 if (find_vdev_problem(nvroot, vdev_faulted, B_TRUE)) in check_status() 406 if (find_vdev_problem(nvroot, vdev_missing, B_TRUE)) in check_status() 408 if (find_vdev_problem(nvroot, vdev_broken, B_TRUE)) in check_status() [all …]
|
H A D | libzfs_changelist.c | 150 commit_smb_shares = B_TRUE; in changelist_prefix() 278 commit_nfs_shares = B_TRUE; in changelist_postfix() 281 commit_nfs_shares = B_TRUE; in changelist_postfix() 287 commit_smb_shares = B_TRUE; in changelist_postfix() 290 commit_smb_shares = B_TRUE; in changelist_postfix() 319 return (B_TRUE); in isa_child_of() 476 ASSERT3U(cn->cn_mounted, ==, B_TRUE); in changelist_add_mounted() 479 cn->cn_needpost = B_TRUE; in changelist_add_mounted() 483 clp->cl_haszonedchild = B_TRUE; in changelist_add_mounted() 549 cn->cn_needpost = B_TRUE; in change_one() [all …]
|
H A D | libzfs_import.c | 185 clear_l2arc_header = B_TRUE; in zpool_clear_label() 202 labels_cleared = B_TRUE; in zpool_clear_label() 211 header_cleared = B_TRUE; in zpool_clear_label() 229 return (B_TRUE); in find_guid() 235 return (B_TRUE); in find_guid() 328 ret = B_TRUE; in zpool_in_use() 377 ret = B_TRUE; in zpool_in_use() 399 ret = B_TRUE; in zpool_in_use() 415 ret = B_TRUE; in zpool_in_use()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_vfsops.c | 128 vfsp->vfs_readonly = B_TRUE; in zfsvfs_parse_option() 129 vfsp->vfs_do_readonly = B_TRUE; in zfsvfs_parse_option() 133 vfsp->vfs_do_readonly = B_TRUE; in zfsvfs_parse_option() 136 vfsp->vfs_setuid = B_TRUE; in zfsvfs_parse_option() 137 vfsp->vfs_do_setuid = B_TRUE; in zfsvfs_parse_option() 141 vfsp->vfs_do_setuid = B_TRUE; in zfsvfs_parse_option() 144 vfsp->vfs_exec = B_TRUE; in zfsvfs_parse_option() 145 vfsp->vfs_do_exec = B_TRUE; in zfsvfs_parse_option() 149 vfsp->vfs_do_exec = B_TRUE; in zfsvfs_parse_option() 152 vfsp->vfs_devices = B_TRUE; in zfsvfs_parse_option() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_main.c | 88 static boolean_t log_history = B_TRUE; 558 show_properties = B_TRUE; in usage() 568 (void) zprop_iter(usage_prop_cb, fp, B_FALSE, B_TRUE, in usage() 658 return (B_TRUE); in parseprop() 680 return (B_TRUE); in parsepropname() 739 pt_shown = B_TRUE; in update_progress() 842 parents = B_TRUE; in zfs_do_clone() 1088 verbose = B_TRUE; in zfs_do_create() 1089 parseable = B_TRUE; in zfs_do_create() 1092 parents = B_TRUE; in zfs_do_create() [all …]
|
H A D | zfs_iter.c | 95 boolean_t should_close = B_TRUE; in zfs_callback() 239 return (B_TRUE); in zfs_sort_only_by_fast() 266 return (B_TRUE); in zfs_list_only_by_fast() 381 lvalid = rvalid = B_TRUE; in zfs_sort() 390 sizeof (lbuf), NULL, NULL, 0, B_TRUE) == 0); in zfs_sort() 392 sizeof (rbuf), NULL, NULL, 0, B_TRUE) == 0); in zfs_sort() 423 if (psc->sc_reverse == B_TRUE) in zfs_sort() 471 cb.cb_props_table[p->pl_prop] = B_TRUE; in zfs_for_each() 479 cb.cb_props_table[sortcol->sc_prop] = B_TRUE; in zfs_for_each() 484 cb.cb_props_table[ZFS_PROP_ZONED] = B_TRUE; in zfs_for_each() [all …]
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | zfs_prop.c | 678 B_TRUE, sfeatures); in zfs_prop_init() 681 B_TRUE, sfeatures); in zfs_prop_init() 684 "<iters>", "PBKDF2ITERS", B_TRUE, sfeatures); in zfs_prop_init() 686 PROP_READONLY, ZFS_TYPE_DATASET, "<uint64>", "OBJSETID", B_TRUE, in zfs_prop_init() 726 B_TRUE, sfeatures); in zfs_prop_init() 729 B_TRUE, sfeatures); in zfs_prop_init() 732 "STMF_SBD_LU", B_TRUE, sfeatures); in zfs_prop_init() 743 ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, "IVSETGUID", B_TRUE, in zfs_prop_init() 747 B_TRUE, sfeatures); in zfs_prop_init() 753 PROP_READONLY, ZFS_TYPE_DATASET, "KEYGUID", B_TRUE, sfeatures); in zfs_prop_init() [all …]
|
H A D | zprop_common.c | 87 return (B_TRUE); in zfs_mod_supported_prop() 139 objset_types, values, colname, B_FALSE, B_TRUE, B_TRUE, NULL, in zprop_register_string() 151 objset_types, values, colname, B_TRUE, B_TRUE, flex, NULL, in zprop_register_number() 162 objset_types, values, colname, B_FALSE, B_TRUE, B_TRUE, idx_tbl, in zprop_register_index() 260 return (B_TRUE); in propname_match() 303 B_TRUE, B_FALSE, type); in zprop_name_to_prop() 410 return (B_TRUE); in zprop_valid_for_type()
|
H A D | zfs_comutil.c | 62 return (B_TRUE); in zfs_allocatable_devs() 89 return (B_TRUE); in zfs_special_devs() 239 return (B_TRUE); in zfs_dataset_name_hidden() 241 return (B_TRUE); in zfs_dataset_name_hidden()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dmu.h | 127 B_TRUE : dmu_ot[(ot)].ot_dbuf_metadata_cache) 255 DMU_OTN_UINT8_METADATA = DMU_OT(DMU_BSWAP_UINT8, B_TRUE, B_FALSE), 257 DMU_OTN_UINT16_METADATA = DMU_OT(DMU_BSWAP_UINT16, B_TRUE, B_FALSE), 259 DMU_OTN_UINT32_METADATA = DMU_OT(DMU_BSWAP_UINT32, B_TRUE, B_FALSE), 261 DMU_OTN_UINT64_METADATA = DMU_OT(DMU_BSWAP_UINT64, B_TRUE, B_FALSE), 263 DMU_OTN_ZAP_METADATA = DMU_OT(DMU_BSWAP_ZAP, B_TRUE, B_FALSE), 265 DMU_OTN_UINT8_ENC_DATA = DMU_OT(DMU_BSWAP_UINT8, B_FALSE, B_TRUE), 266 DMU_OTN_UINT8_ENC_METADATA = DMU_OT(DMU_BSWAP_UINT8, B_TRUE, B_TRUE), 267 DMU_OTN_UINT16_ENC_DATA = DMU_OT(DMU_BSWAP_UINT16, B_FALSE, B_TRUE), 268 DMU_OTN_UINT16_ENC_METADATA = DMU_OT(DMU_BSWAP_UINT16, B_TRUE, B_TRUE), [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_main.c | 446 static boolean_t log_history = B_TRUE; 652 return (zpool_power(zhp, vdev, B_TRUE)); in zpool_power_on() 754 B_TRUE, current_prop_type); in usage() 765 B_TRUE, current_prop_type); in usage() 840 wait = B_TRUE; in zpool_do_initialize() 925 if (is_hole == B_TRUE) { in print_vdev_tree() 940 printed = B_TRUE; in print_vdev_tree() 1011 return (B_TRUE); in find_vdev() 1017 return (B_TRUE); in find_vdev() 1262 return (B_TRUE); in prop_list_contains_feature() [all …]
|
H A D | zpool_vdev.c | 102 error_seen = B_TRUE; in vdev_error() 222 return (B_TRUE); in is_spare() 240 return (B_TRUE); in is_spare() 254 return (B_TRUE); in is_spare() 320 wholedisk = B_TRUE; in make_leaf_vdev() 415 if (check_sector_size_database(path, §or_size) == B_TRUE) in make_leaf_vdev() 462 return (B_TRUE); in is_raidz_mirror() 477 return (B_TRUE); in is_raidz_draid() 628 dontreport = B_TRUE; in get_replication() 680 dontreport = B_TRUE; in get_replication() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_retire.c | 294 rebuild = B_TRUE; in replace_with_spare() 308 replacement, B_TRUE, rebuild) == 0) { in replace_with_spare() 311 return (B_TRUE); in replace_with_spare() 410 spare = B_TRUE; in zfs_retire_recv() 412 l2arc = B_TRUE; in zfs_retire_recv() 493 is_repair = B_TRUE; in zfs_retire_recv() 522 fault_device = B_TRUE; in zfs_retire_recv() 525 degrade_device = B_TRUE; in zfs_retire_recv() 528 degrade_device = B_TRUE; in zfs_retire_recv() 533 is_disk = B_TRUE; in zfs_retire_recv() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | uio.h | 88 B_TRUE : B_FALSE); in zfs_dio_page_aligned() 94 return ((IS_P2ALIGNED(offset, blksz)) ? B_TRUE : B_FALSE); in zfs_dio_offset_aligned() 100 return (((size % blksz) == 0) ? B_TRUE : B_FALSE); in zfs_dio_size_aligned() 107 zfs_dio_size_aligned(size, blksz)) ? B_TRUE : B_FALSE); in zfs_dio_aligned()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 498 zfsvfs->z_xattr_sa = B_TRUE; in xattr_changed_cb() 666 readonly = B_TRUE; in zfs_register_callbacks() 667 do_readonly = B_TRUE; in zfs_register_callbacks() 670 do_readonly = B_TRUE; in zfs_register_callbacks() 674 do_setuid = B_TRUE; in zfs_register_callbacks() 676 setuid = B_TRUE; in zfs_register_callbacks() 677 do_setuid = B_TRUE; in zfs_register_callbacks() 681 do_exec = B_TRUE; in zfs_register_callbacks() 683 exec = B_TRUE; in zfs_register_callbacks() 684 do_exec = B_TRUE; in zfs_register_callbacks() [all...] |
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 113 dbp->dbp_active = B_TRUE; in dt_proc_bpcreate() 182 dbp->dbp_active = B_TRUE; in dt_proc_bpenable() 349 (err = rd_event_enable(dpr->dpr_rtld, B_TRUE)) == RD_OK) { in dt_proc_attach() 476 dt_proc_attach(dpr, B_TRUE); in dt_proc_control() 483 dpr->dpr_quit = B_TRUE; in dt_proc_control() 484 notify = B_TRUE; in dt_proc_control() 489 dpr->dpr_quit = B_TRUE; in dt_proc_control() 490 notify = B_TRUE; in dt_proc_control() 526 dt_proc_bpdestroy(dpr, B_TRUE); in dt_proc_control() 527 dpr->dpr_done = B_TRUE; in dt_proc_control() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_ioctl.c | 337 boolean_t rc = B_TRUE; in zpl_earlier_version() 344 return (B_TRUE); in zpl_earlier_version() 568 error = dmu_objset_own(name, DMU_OST_ZFS, B_TRUE, B_TRUE, in zfs_set_slabel_policy() 573 dmu_objset_disown(os, B_TRUE, setsl_tag); in zfs_set_slabel_policy() 1356 zc->zc_nvlist_dst_filled = B_TRUE; in put_nvlist() 1431 dmu_objset_disown(zfsvfs->z_os, B_TRUE, zfsvfs); in zfsvfs_rele() 1445 boolean_t unload_wkey = B_TRUE; in zfs_ioc_pool_create() 1862 if ((error = dmu_objset_hold_flags(zc->zc_name, B_TRUE, in zfs_ioc_obj_to_path() 1866 dmu_objset_rele_flags(os, B_TRUE, FTAG); in zfs_ioc_obj_to_path() 1871 dmu_objset_rele_flags(os, B_TRUE, FTAG); in zfs_ioc_obj_to_path() [all …]
|
H A D | zfs_rlock.c | 188 return (B_TRUE); in zfs_rangelock_enter_writer() 209 return (B_TRUE); in zfs_rangelock_enter_writer() 215 lr->lr_write_wanted = B_TRUE; in zfs_rangelock_enter_writer() 250 proxy->lr_proxy = B_TRUE; in zfs_rangelock_proxify() 279 rear->lr_proxy = B_TRUE; in zfs_rangelock_split() 304 lr->lr_proxy = B_TRUE; in zfs_rangelock_new_proxy() 429 prev->lr_read_wanted = B_TRUE; in zfs_rangelock_enter_reader() 455 next->lr_read_wanted = B_TRUE; in zfs_rangelock_enter_reader() 470 return (B_TRUE); in zfs_rangelock_enter_reader() 531 return (zfs_rangelock_enter_impl(rl, off, len, type, B_TRUE)); in zfs_rangelock_tryenter()
|