Home
last modified time | relevance | path

Searched refs:B_TRUE (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dnvlist_to_lua.c82 return (B_TRUE); in nvlist_equal()
111 unexpected_failures = B_TRUE; in test()
117 unexpected_failures = B_TRUE; in test()
145 test("boolean", B_TRUE, B_FALSE); in run_tests()
147 fnvlist_add_boolean_value(nvl, key, B_TRUE); in run_tests()
172 test("int64", B_TRUE, B_TRUE); in run_tests()
178 test("string", B_TRUE, B_TRUE); in run_tests()
186 test("nvlist", B_TRUE, B_TRUE); in run_tests()
189 boolean_t val[2] = { B_FALSE, B_TRUE }; in run_tests()
231 test("int64_array", B_TRUE, B_FALSE); in run_tests()
[all …]
/freebsd/sys/dev/sfxge/common/
H A Dhunt_nic.c125 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 Dsiena_nic.c155 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 Dmedford_nic.c90 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 Def10_filter.c56 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 Dmedford2_nic.c94 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 Def10_nic.c1113 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 Dlibzfs_status.c175 if (ignore_replacing == B_TRUE) { in find_vdev_problem()
401 find_vdev_problem(nvroot, vdev_faulted, NULL, B_TRUE)) in check_status()
405 find_vdev_problem(nvroot, vdev_missing, NULL, B_TRUE)) in check_status()
409 find_vdev_problem(nvroot, vdev_broken, NULL, B_TRUE)) in check_status()
432 if (find_vdev_problem(nvroot, vdev_faulted, NULL, B_TRUE) == EDOM) in check_status()
434 if (find_vdev_problem(nvroot, vdev_missing, NULL, B_TRUE) == EDOM) in check_status()
436 if (find_vdev_problem(nvroot, vdev_faulted, NULL, B_TRUE)) in check_status()
438 if (find_vdev_problem(nvroot, vdev_missing, NULL, B_TRUE)) in check_status()
440 if (find_vdev_problem(nvroot, vdev_broken, NULL, B_TRUE)) in check_status()
446 if (!isimport && find_vdev_problem(nvroot, vdev_errors, NULL, B_TRUE)) in check_status()
[all …]
H A Dlibzfs_changelist.c147 commit_smb_shares = B_TRUE; in changelist_prefix()
271 commit_nfs_shares = B_TRUE; in changelist_postfix()
274 commit_nfs_shares = B_TRUE; in changelist_postfix()
280 commit_smb_shares = B_TRUE; in changelist_postfix()
283 commit_smb_shares = B_TRUE; in changelist_postfix()
319 return (B_TRUE); in isa_child_of()
449 ASSERT3U(cn->cn_mounted, ==, B_TRUE); in changelist_add_mounted()
452 cn->cn_needpost = B_TRUE; in changelist_add_mounted()
456 clp->cl_haszonedchild = B_TRUE; in changelist_add_mounted()
520 cn->cn_needpost = B_TRUE; in change_one()
[all …]
H A Dlibzfs_import.c186 clear_l2arc_header = B_TRUE; in zpool_clear_label()
203 labels_cleared = B_TRUE; in zpool_clear_label()
212 header_cleared = B_TRUE; in zpool_clear_label()
230 return (B_TRUE); in find_guid()
236 return (B_TRUE); in find_guid()
329 ret = B_TRUE; in zpool_in_use()
378 ret = B_TRUE; in zpool_in_use()
400 ret = B_TRUE; in zpool_in_use()
416 ret = B_TRUE; in zpool_in_use()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c90 static boolean_t log_history = B_TRUE;
571 show_properties = B_TRUE; in usage()
581 (void) zprop_iter(usage_prop_cb, fp, B_FALSE, B_TRUE, in usage()
671 return (B_TRUE); in parseprop()
693 return (B_TRUE); in parsepropname()
752 pt_shown = B_TRUE; in update_progress()
882 parents = B_TRUE; in zfs_do_clone()
884 parents_nomount = B_TRUE; in zfs_do_clone()
887 nomount = B_TRUE; in zfs_do_clone()
1159 verbose = B_TRUE; in zfs_do_create()
[all …]
H A Dzfs_iter.c95 boolean_t should_close = B_TRUE; in zfs_callback()
238 return (B_TRUE); in zfs_sort_only_by_fast()
265 return (B_TRUE); in zfs_list_only_by_fast()
380 lvalid = rvalid = B_TRUE; in zfs_sort()
389 sizeof (lbuf), NULL, NULL, 0, B_TRUE) == 0); in zfs_sort()
391 sizeof (rbuf), NULL, NULL, 0, B_TRUE) == 0); in zfs_sort()
420 if (psc->sc_reverse == B_TRUE) in zfs_sort()
461 cb.cb_props_table[p->pl_prop] = B_TRUE; in zfs_for_each()
469 cb.cb_props_table[sortcol->sc_prop] = B_TRUE; in zfs_for_each()
474 cb.cb_props_table[ZFS_PROP_ZONED] = B_TRUE; in zfs_for_each()
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_prop.c688 B_TRUE, sfeatures); in zfs_prop_init()
691 B_TRUE, sfeatures); in zfs_prop_init()
694 "<iters>", "PBKDF2ITERS", B_TRUE, sfeatures); in zfs_prop_init()
696 PROP_READONLY, ZFS_TYPE_DATASET, "<uint64>", "OBJSETID", B_TRUE, in zfs_prop_init()
758 B_TRUE, sfeatures); in zfs_prop_init()
761 B_TRUE, sfeatures); in zfs_prop_init()
764 "STMF_SBD_LU", B_TRUE, sfeatures); in zfs_prop_init()
775 ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, "IVSETGUID", B_TRUE, in zfs_prop_init()
779 B_TRUE, sfeatures); in zfs_prop_init()
785 PROP_READONLY, ZFS_TYPE_DATASET, "KEYGUID", B_TRUE, sfeatures); in zfs_prop_init()
[all …]
H A Dzprop_common.c88 return (B_TRUE); in zfs_mod_supported_prop()
140 objset_types, values, colname, B_FALSE, B_TRUE, B_TRUE, NULL, in zprop_register_string()
152 objset_types, values, colname, B_TRUE, B_TRUE, flex, NULL, in zprop_register_number()
163 objset_types, values, colname, B_FALSE, B_TRUE, B_TRUE, idx_tbl, in zprop_register_index()
261 return (B_TRUE); in propname_match()
304 B_TRUE, B_FALSE, type); in zprop_name_to_prop()
411 return (B_TRUE); in zprop_valid_for_type()
H A Dzfs_comutil.c63 return (B_TRUE); in zfs_allocatable_devs()
90 return (B_TRUE); in zfs_special_devs()
240 return (B_TRUE); in zfs_dataset_name_hidden()
242 return (B_TRUE); in zfs_dataset_name_hidden()
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c447 static boolean_t log_history = B_TRUE;
625 return (zpool_power(zhp, vdev, B_TRUE)); in zpool_power_on()
727 B_TRUE, current_prop_type); in usage()
738 B_TRUE, current_prop_type); in usage()
788 initialize_all = B_TRUE; in zpool_do_initialize()
818 wait = B_TRUE; in zpool_do_initialize()
860 err = for_each_pool(argc, argv, B_TRUE, NULL, ZFS_TYPE_POOL, in zpool_do_initialize()
918 if (is_hole == B_TRUE) { in print_vdev_tree()
933 printed = B_TRUE; in print_vdev_tree()
1004 return (B_TRUE); in find_vdev()
[all …]
H A Dzpool_vdev.c103 error_seen = B_TRUE; in vdev_error()
223 return (B_TRUE); in is_spare()
241 return (B_TRUE); in is_spare()
255 return (B_TRUE); in is_spare()
320 wholedisk = B_TRUE; in make_leaf_vdev()
390 if (check_sector_size_database(path, &sector_size) == B_TRUE) in make_leaf_vdev()
437 return (B_TRUE); in is_raidz_mirror()
452 return (B_TRUE); in is_raidz_draid()
608 dontreport = B_TRUE; in get_replication()
660 dontreport = B_TRUE; in get_replication()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_super.c667 vfs->vfs_do_exec = B_TRUE; in zpl_parse_param()
671 vfs->vfs_do_setuid = B_TRUE; in zpl_parse_param()
675 vfs->vfs_do_devices = B_TRUE; in zpl_parse_param()
680 vfs->vfs_do_atime = B_TRUE; in zpl_parse_param()
684 vfs->vfs_do_relatime = B_TRUE; in zpl_parse_param()
687 vfs->vfs_atime = B_TRUE; in zpl_parse_param()
688 vfs->vfs_do_atime = B_TRUE; in zpl_parse_param()
690 vfs->vfs_do_relatime = B_TRUE; in zpl_parse_param()
695 vfs->vfs_do_xattr = B_TRUE; in zpl_parse_param()
699 vfs->vfs_do_xattr = B_TRUE; in zpl_parse_param()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddmu.h257 DMU_OTN_UINT8_METADATA = DMU_OT(DMU_BSWAP_UINT8, B_TRUE, B_FALSE),
259 DMU_OTN_UINT16_METADATA = DMU_OT(DMU_BSWAP_UINT16, B_TRUE, B_FALSE),
261 DMU_OTN_UINT32_METADATA = DMU_OT(DMU_BSWAP_UINT32, B_TRUE, B_FALSE),
263 DMU_OTN_UINT64_METADATA = DMU_OT(DMU_BSWAP_UINT64, B_TRUE, B_FALSE),
265 DMU_OTN_ZAP_METADATA = DMU_OT(DMU_BSWAP_ZAP, B_TRUE, B_FALSE),
267 DMU_OTN_UINT8_ENC_DATA = DMU_OT(DMU_BSWAP_UINT8, B_FALSE, B_TRUE),
268 DMU_OTN_UINT8_ENC_METADATA = DMU_OT(DMU_BSWAP_UINT8, B_TRUE, B_TRUE),
269 DMU_OTN_UINT16_ENC_DATA = DMU_OT(DMU_BSWAP_UINT16, B_FALSE, B_TRUE),
270 DMU_OTN_UINT16_ENC_METADATA = DMU_OT(DMU_BSWAP_UINT16, B_TRUE, B_TRUE),
271 DMU_OTN_UINT32_ENC_DATA = DMU_OT(DMU_BSWAP_UINT32, B_FALSE, B_TRUE),
[all …]
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Duio.h90 B_TRUE : B_FALSE); in zfs_dio_page_aligned()
96 return ((IS_P2ALIGNED(offset, blksz)) ? B_TRUE : B_FALSE); in zfs_dio_offset_aligned()
102 return (((size % blksz) == 0) ? B_TRUE : B_FALSE); in zfs_dio_size_aligned()
109 zfs_dio_size_aligned(size, blksz)) ? B_TRUE : B_FALSE); in zfs_dio_aligned()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c327 res = B_TRUE; in is_draid_fdomain_failure()
495 rebuild = B_TRUE; in replace_with_spare()
509 replacement, B_TRUE, rebuild) == 0) { in replace_with_spare()
512 return (B_TRUE); in replace_with_spare()
612 spare = B_TRUE; in zfs_retire_recv()
614 l2arc = B_TRUE; in zfs_retire_recv()
665 skip_removal = B_TRUE; in zfs_retire_recv()
713 is_repair = B_TRUE; in zfs_retire_recv()
742 fault_device = B_TRUE; in zfs_retire_recv()
745 degrade_device = B_TRUE; in zfs_retire_recv()
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_proc.c113 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/os/freebsd/zfs/
H A Dzfs_vfsops.c514 zfsvfs->z_xattr_sa = B_TRUE; in xattr_changed_cb()
682 readonly = B_TRUE; in zfs_register_callbacks()
683 do_readonly = B_TRUE; in zfs_register_callbacks()
686 do_readonly = B_TRUE; in zfs_register_callbacks()
690 do_setuid = B_TRUE; in zfs_register_callbacks()
692 setuid = B_TRUE; in zfs_register_callbacks()
693 do_setuid = B_TRUE; in zfs_register_callbacks()
697 do_exec = B_TRUE; in zfs_register_callbacks()
699 exec = B_TRUE; in zfs_register_callbacks()
700 do_exec = B_TRUE; in zfs_register_callbacks()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_rlock.c189 return (B_TRUE); in zfs_rangelock_enter_writer()
210 return (B_TRUE); in zfs_rangelock_enter_writer()
216 lr->lr_write_wanted = B_TRUE; in zfs_rangelock_enter_writer()
251 proxy->lr_proxy = B_TRUE; in zfs_rangelock_proxify()
280 rear->lr_proxy = B_TRUE; in zfs_rangelock_split()
305 lr->lr_proxy = B_TRUE; in zfs_rangelock_new_proxy()
430 prev->lr_read_wanted = B_TRUE; in zfs_rangelock_enter_reader()
456 next->lr_read_wanted = B_TRUE; in zfs_rangelock_enter_reader()
471 return (B_TRUE); in zfs_rangelock_enter_reader()
532 return (zfs_rangelock_enter_impl(rl, off, len, type, B_TRUE)); in zfs_rangelock_tryenter()
H A Dzfs_ioctl.c393 boolean_t rc = B_TRUE; in zpl_earlier_version()
400 return (B_TRUE); in zpl_earlier_version()
660 error = dmu_objset_own(name, DMU_OST_ZFS, B_TRUE, B_TRUE, in zfs_set_slabel_policy()
665 dmu_objset_disown(os, B_TRUE, setsl_tag); in zfs_set_slabel_policy()
1590 zc->zc_nvlist_dst_filled = B_TRUE; in put_nvlist()
1666 dmu_objset_disown(zfsvfs->z_os, B_TRUE, zfsvfs); in zfsvfs_rele()
1680 boolean_t unload_wkey = B_TRUE; in zfs_ioc_pool_create()
2132 if ((error = dmu_objset_hold_flags(zc->zc_name, B_TRUE, in zfs_ioc_obj_to_path()
2136 dmu_objset_rele_flags(os, B_TRUE, FTAG); in zfs_ioc_obj_to_path()
2141 dmu_objset_rele_flags(os, B_TRUE, FTAG); in zfs_ioc_obj_to_path()
[all …]

12345678910>>...13