| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/ |
| HD | libzfs_util.c | 73 libzfs_errno(libzfs_handle_t *hdl) in libzfs_errno() argument 75 return (hdl->libzfs_error); in libzfs_errno() 79 libzfs_error_action(libzfs_handle_t *hdl) in libzfs_error_action() argument 81 return (hdl->libzfs_action); in libzfs_error_action() 85 libzfs_error_description(libzfs_handle_t *hdl) in libzfs_error_description() argument 87 if (hdl->libzfs_desc[0] != '\0') in libzfs_error_description() 88 return (hdl->libzfs_desc); in libzfs_error_description() 90 switch (hdl->libzfs_error) { in libzfs_error_description() 326 assert(hdl->libzfs_error == 0); in libzfs_error_description() 332 zfs_error_aux(libzfs_handle_t *hdl, const char *fmt, ...) in zfs_error_aux() argument [all …]
|
| HD | libzfs_config.c | 77 namespace_clear(libzfs_handle_t *hdl) in namespace_clear() argument 79 if (hdl->libzfs_ns_avl) { in namespace_clear() 83 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, in namespace_clear() 90 uu_avl_destroy(hdl->libzfs_ns_avl); in namespace_clear() 91 hdl->libzfs_ns_avl = NULL; in namespace_clear() 94 if (hdl->libzfs_ns_avlpool) { in namespace_clear() 95 uu_avl_pool_destroy(hdl->libzfs_ns_avlpool); in namespace_clear() 96 hdl->libzfs_ns_avlpool = NULL; in namespace_clear() 104 namespace_reload(libzfs_handle_t *hdl) in namespace_reload() argument 112 if (hdl->libzfs_ns_gen == 0) { in namespace_reload() [all …]
|
| HD | libzfs_dataset.c | 104 zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type, in zfs_validate_name() argument 111 if (hdl != NULL) in zfs_validate_name() 112 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 118 if (hdl != NULL) in zfs_validate_name() 119 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 125 if (hdl != NULL) in zfs_validate_name() 126 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 132 if (hdl != NULL) in zfs_validate_name() 133 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 139 if (hdl != NULL) in zfs_validate_name() [all …]
|
| HD | libzfs_pool.c | 78 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() local 82 zcmd_alloc_dst_nvlist(hdl, &zc, 0); in zpool_get_all_props() 84 while (zfs_ioctl(hdl, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 86 zcmd_expand_dst_nvlist(hdl, &zc); in zpool_get_all_props() 93 if (zcmd_read_dst_nvlist(hdl, &zc, &zhp->zpool_props) != 0) { in zpool_get_all_props() 488 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, in zpool_valid_proplist() argument 502 (void) no_memory(hdl); in zpool_valid_proplist() 514 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "'%s' " in zpool_valid_proplist() 516 (void) zfs_error(hdl, EZFS_PROPREADONLY, in zpool_valid_proplist() 521 if (zprop_parse_value(hdl, elem, vprop, ZFS_TYPE_VDEV, in zpool_valid_proplist() [all …]
|
| HD | libzfs_sendrecv.c | 74 static int guid_to_name_redact_snaps(libzfs_handle_t *hdl, const char *parent, 447 get_snap_guid(libzfs_handle_t *hdl, const char *fs, const char *snap) in get_snap_guid() argument 456 zfs_handle_t *zhp = zfs_open(hdl, name, ZFS_TYPE_SNAPSHOT); in get_snap_guid() 470 get_snap_txg(libzfs_handle_t *hdl, const char *fs, const char *snap) in get_snap_txg() argument 479 if (zfs_dataset_exists(hdl, name, ZFS_TYPE_SNAPSHOT)) { in get_snap_txg() 480 zfs_handle_t *zhp = zfs_open(hdl, name, ZFS_TYPE_SNAPSHOT); in get_snap_txg() 681 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, in gather_nvlist() argument 691 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in gather_nvlist() 768 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_send_space() local 771 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_send_space() [all …]
|
| HD | libzfs_crypto.c | 107 zfs_prop_parse_keylocation(libzfs_handle_t *restrict hdl, const char *str, in zfs_prop_parse_keylocation() argument 120 if (regexec(&hdl->libzfs_urire, str, ARRAY_SIZE(pmatch), in zfs_prop_parse_keylocation() 125 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_prop_parse_keylocation() 137 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_prop_parse_keylocation() 147 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "Invalid keylocation")); in zfs_prop_parse_keylocation() 203 validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat, in validate_key() argument 210 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 217 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 226 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 233 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/cmd/zed/agents/ |
| HD | fmd_api.c | 99 fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip) in fmd_hdl_register() argument 102 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_register() 116 fmd_hdl_debug(hdl, "register module"); in fmd_hdl_register() 122 fmd_hdl_unregister(fmd_hdl_t *hdl) in fmd_hdl_unregister() argument 124 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_unregister() 129 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_accepted.fmds_name, in fmd_hdl_unregister() 132 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_caseopen.fmds_name, in fmd_hdl_unregister() 134 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_casesolved.fmds_name, in fmd_hdl_unregister() 136 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_caseclosed.fmds_name, in fmd_hdl_unregister() 145 fmd_hdl_debug(hdl, "%s: %llu", in fmd_hdl_unregister() [all …]
|
| HD | zfs_diagnosis.c | 135 static void zfs_purge_cases(fmd_hdl_t *hdl); 150 zfs_case_unserialize(fmd_hdl_t *hdl, fmd_case_t *cp) in zfs_case_unserialize() argument 154 zcp = fmd_hdl_zalloc(hdl, sizeof (zfs_case_t), FMD_SLEEP); in zfs_case_unserialize() 157 fmd_buf_read(hdl, cp, CASE_DATA, &zcp->zc_data, in zfs_case_unserialize() 161 fmd_hdl_free(hdl, zcp, sizeof (zfs_case_t)); in zfs_case_unserialize() 172 zcp->zc_remove_timer = fmd_timer_install(hdl, zcp, in zfs_case_unserialize() 178 fmd_case_setspecific(hdl, cp, zcp); in zfs_case_unserialize() 187 zfs_other_slow_cases(fmd_hdl_t *hdl, const zfs_case_data_t *zfs_case) in zfs_other_slow_cases() argument 202 fmd_serd_gc(hdl); in zfs_other_slow_cases() 203 zfs_purge_cases(hdl); in zfs_other_slow_cases() [all …]
|
| HD | zfs_retire.c | 62 zfs_retire_clear_data(fmd_hdl_t *hdl, zfs_retire_data_t *zdp) in zfs_retire_clear_data() argument 68 fmd_hdl_free(hdl, zrp, sizeof (zfs_retire_repaired_t)); in zfs_retire_clear_data() 246 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare() argument 272 replacement = fmd_nvl_alloc(hdl, FMD_SLEEP); in replace_with_spare() 304 fmd_hdl_debug(hdl, "zpool_vdev_replace '%s' with spare '%s'", in replace_with_spare() 327 zfs_vdev_repair(fmd_hdl_t *hdl, nvlist_t *nvl) in zfs_vdev_repair() argument 329 zfs_retire_data_t *zdp = fmd_hdl_getspecific(hdl); in zfs_vdev_repair() 354 zrp = fmd_hdl_alloc(hdl, sizeof (zfs_retire_repaired_t), FMD_SLEEP); in zfs_vdev_repair() 360 fmd_hdl_debug(hdl, "marking repaired vdev %llu on pool %llu", in zfs_vdev_repair() 365 zfs_retire_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in zfs_retire_recv() argument [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/module/zfs/ |
| HD | sa.c | 133 static int sa_build_index(sa_handle_t *hdl, sa_buf_type_t buftype); 140 static int sa_modify_attrs(sa_handle_t *hdl, sa_attr_type_t newattr, 219 sa_handle_t *hdl = buf; in sa_cache_constructor() local 221 mutex_init(&hdl->sa_lock, NULL, MUTEX_DEFAULT, NULL); in sa_cache_constructor() 229 sa_handle_t *hdl = buf; in sa_cache_destructor() local 230 mutex_destroy(&hdl->sa_lock); in sa_cache_destructor() 299 sa_get_spill(sa_handle_t *hdl) in sa_get_spill() argument 302 if (hdl->sa_spill == NULL) { in sa_get_spill() 303 if ((rc = dmu_spill_hold_existing(hdl->sa_bonus, NULL, in sa_get_spill() 304 &hdl->sa_spill)) == 0) in sa_get_spill() [all …]
|
| HD | zfs_znode.c | 87 zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, const void *tag) in zfs_release_sa_handle() argument 89 sa_handle_destroy(hdl); in zfs_release_sa_handle() 98 zfs_obj_to_pobj(objset_t *osp, sa_handle_t *hdl, sa_attr_type_t *sa_table, in zfs_obj_to_pobj() argument 118 if ((error = sa_bulk_lookup(hdl, bulk, count)) != 0) in zfs_obj_to_pobj() 154 zfs_obj_to_stats_impl(sa_handle_t *hdl, sa_attr_type_t *sa_table, in zfs_obj_to_stats_impl() argument 169 return (sa_bulk_lookup(hdl, bulk, count)); in zfs_obj_to_stats_impl() 173 zfs_obj_to_path_impl(objset_t *osp, uint64_t obj, sa_handle_t *hdl, in zfs_obj_to_path_impl() argument 184 sa_hdl = hdl; in zfs_obj_to_path_impl() 233 if (sa_hdl != hdl) { in zfs_obj_to_path_impl() 245 if (sa_hdl != NULL && sa_hdl != hdl) { in zfs_obj_to_path_impl() [all …]
|
| /freebsd-14-stable/usr.sbin/bluetooth/ath3kfw/ |
| HD | ath3k_hw.c | 50 ath3k_load_fwfile(struct libusb_device_handle *hdl, in ath3k_load_fwfile() argument 66 ret = libusb_control_transfer(hdl, in ath3k_load_fwfile() 92 ret = libusb_bulk_transfer(hdl, in ath3k_load_fwfile() 112 ath3k_get_state(struct libusb_device_handle *hdl, unsigned char *state) in ath3k_get_state() argument 116 ret = libusb_control_transfer(hdl, in ath3k_get_state() 137 ath3k_get_version(struct libusb_device_handle *hdl, in ath3k_get_version() argument 142 ret = libusb_control_transfer(hdl, in ath3k_get_version() 165 ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path) in ath3k_load_patch() argument 174 ret = ath3k_get_state(hdl, &fw_state); in ath3k_load_patch() 186 ret = ath3k_get_version(hdl, &fw_ver); in ath3k_load_patch() [all …]
|
| HD | ath3k_hw.h | 53 extern int ath3k_load_fwfile(struct libusb_device_handle *hdl, 55 extern int ath3k_get_state(struct libusb_device_handle *hdl, 57 extern int ath3k_get_version(struct libusb_device_handle *hdl, 59 extern int ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path); 60 extern int ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path); 61 extern int ath3k_set_normal_mode(libusb_device_handle *hdl); 62 extern int ath3k_switch_pid(libusb_device_handle *hdl);
|
| HD | main.c | 149 ath3k_init_ar3012(libusb_device_handle *hdl, const char *fw_path) in ath3k_init_ar3012() argument 153 ret = ath3k_load_patch(hdl, fw_path); in ath3k_init_ar3012() 159 ret = ath3k_load_syscfg(hdl, fw_path); in ath3k_init_ar3012() 165 ret = ath3k_set_normal_mode(hdl); in ath3k_init_ar3012() 171 ath3k_switch_pid(hdl); in ath3k_init_ar3012() 176 ath3k_init_firmware(libusb_device_handle *hdl, const char *file_prefix) in ath3k_init_firmware() argument 195 ret = ath3k_load_fwfile(hdl, &fw); in ath3k_init_firmware() 244 libusb_device_handle *hdl; in main() local 339 r = libusb_open(dev, &hdl); in main() 349 r = ath3k_get_state(hdl, &state); in main() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| HD | libzfs_compat.c | 221 zfs_ioctl(libzfs_handle_t *hdl, int request, zfs_cmd_t *zc) in zfs_ioctl() argument 223 return (lzc_ioctl_fd(hdl->libzfs_fd, request, zc)); in zfs_ioctl() 249 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk() argument 251 (void) hdl, (void) path, (void) msg; in zpool_relabel_disk() 256 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk() argument 258 (void) hdl, (void) zhp, (void) name; in zpool_label_disk() 270 zfs_destroy_snaps_nvl_os(libzfs_handle_t *hdl, nvlist_t *snaps) in zfs_destroy_snaps_nvl_os() argument 272 (void) hdl, (void) snaps; in zfs_destroy_snaps_nvl_os() 282 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_jail() local 297 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_jail() [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzutil/ |
| HD | zutil_import.c | 75 libpc_error_description(libpc_handle_t *hdl) in libpc_error_description() argument 77 if (hdl->lpc_desc[0] != '\0') in libpc_error_description() 78 return (hdl->lpc_desc); in libpc_error_description() 80 switch (hdl->lpc_error) { in libpc_error_description() 93 assert(hdl->lpc_error == 0); in libpc_error_description() 99 zutil_error_aux(libpc_handle_t *hdl, const char *fmt, ...) in zutil_error_aux() argument 105 (void) vsnprintf(hdl->lpc_desc, sizeof (hdl->lpc_desc), fmt, ap); in zutil_error_aux() 106 hdl->lpc_desc_active = B_TRUE; in zutil_error_aux() 112 zutil_verror(libpc_handle_t *hdl, lpc_error_t error, const char *fmt, in zutil_verror() argument 118 hdl->lpc_error = error; in zutil_verror() [all …]
|
| /freebsd-14-stable/usr.sbin/bluetooth/iwmbtfw/ |
| HD | main.c | 231 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_init_firmware() argument 304 ret = iwmbt_load_rsa_header(hdl, &fw); in iwmbt_init_firmware() 306 ret = iwmbt_load_ecdsa_header(hdl, &fw); in iwmbt_init_firmware() 311 ret = iwmbt_load_fwfile(hdl, &fw, boot_param, header_len); in iwmbt_init_firmware() 321 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path) in iwmbt_init_ddc() argument 335 ret = iwmbt_load_ddc(hdl, &ddc); in iwmbt_init_ddc() 387 handle_7260(libusb_device_handle *hdl, char *firmware_dir) in handle_7260() argument 394 r = iwmbt_get_version(hdl, &ver); in handle_7260() 420 r = iwmbt_enter_manufacturer(hdl); in handle_7260() 428 r = iwmbt_patch_fwfile(hdl, &fw); in handle_7260() [all …]
|
| HD | iwmbt_hw.h | 96 extern int iwmbt_patch_fwfile(struct libusb_device_handle *hdl, 98 extern int iwmbt_load_rsa_header(struct libusb_device_handle *hdl, 100 extern int iwmbt_load_ecdsa_header(struct libusb_device_handle *hdl, 102 extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl, 104 extern int iwmbt_enter_manufacturer(struct libusb_device_handle *hdl); 105 extern int iwmbt_exit_manufacturer(struct libusb_device_handle *hdl, 107 extern int iwmbt_get_version(struct libusb_device_handle *hdl, 109 extern int iwmbt_get_version_tlv(struct libusb_device_handle *hdl, 111 extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl, 113 extern int iwmbt_intel_reset(struct libusb_device_handle *hdl, [all …]
|
| HD | iwmbt_hw.c | 54 iwmbt_send_fragment(struct libusb_device_handle *hdl, in iwmbt_send_fragment() argument 67 ret = libusb_bulk_transfer(hdl, in iwmbt_send_fragment() 81 ret = libusb_bulk_transfer(hdl, in iwmbt_send_fragment() 98 iwmbt_hci_command(struct libusb_device_handle *hdl, struct iwmbt_hci_cmd *cmd, in iwmbt_hci_command() argument 104 ret = libusb_control_transfer(hdl, in iwmbt_hci_command() 125 ret = libusb_interrupt_transfer(hdl, in iwmbt_hci_command() 163 iwmbt_patch_fwfile(struct libusb_device_handle *hdl, in iwmbt_patch_fwfile() argument 223 ret = libusb_control_transfer(hdl, in iwmbt_patch_fwfile() 277 ret = libusb_interrupt_transfer(hdl, in iwmbt_patch_fwfile() 308 ret = iwmbt_send_fragment(hdl, \ [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
| HD | libzfs_util_os.c | 56 zfs_ioctl(libzfs_handle_t *hdl, int request, zfs_cmd_t *zc) in zfs_ioctl() argument 58 return (ioctl(hdl->libzfs_fd, request, zc)); in zfs_ioctl() 182 zfs_destroy_snaps_nvl_os(libzfs_handle_t *hdl, nvlist_t *snaps) in zfs_destroy_snaps_nvl_os() argument 184 (void) hdl, (void) snaps; in zfs_destroy_snaps_nvl_os() 220 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_userns() local 238 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() 240 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_userns() 242 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() 244 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_userns() 246 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() [all …]
|
| HD | libzfs_pool_os.c | 60 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk() argument 65 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_relabel_disk() 67 return (zfs_error(hdl, EZFS_OPENFAILED, msg)); in zpool_relabel_disk() 83 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_relabel_disk() 85 return (zfs_error(hdl, EZFS_NOCAP, msg)); in zpool_relabel_disk() 211 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk() argument 246 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_label_disk() 248 return (zfs_error(hdl, EZFS_OPENFAILED, errbuf)); in zpool_label_disk() 257 (void) no_memory(hdl); in zpool_label_disk() 260 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_label_disk() [all …]
|
| /freebsd-14-stable/libexec/rtld-elf/tests/ |
| HD | dlopen_test.c | 16 void *hdl, *sym; in ATF_TC_BODY() local 18 hdl = dlopen("libthr.so", RTLD_NOW); in ATF_TC_BODY() 19 ATF_REQUIRE(hdl != NULL); in ATF_TC_BODY() 21 sym = dlsym(hdl, "pthread_create"); in ATF_TC_BODY() 24 dlclose(hdl); in ATF_TC_BODY() 26 sym = dlsym(hdl, "pthread_create"); in ATF_TC_BODY() 33 void *hdl; in ATF_TC_BODY() local 39 hdl = dlopen("libthr.so", RTLD_NOW | RTLD_GLOBAL); in ATF_TC_BODY() 40 ATF_REQUIRE(hdl != NULL); in ATF_TC_BODY() 42 dlclose(hdl); in ATF_TC_BODY()
|
| /freebsd-14-stable/sys/dev/irdma/ |
| HD | icrdma.c | 124 struct irdma_handler *hdl; in irdma_find_handler() local 128 list_for_each_entry(hdl, &irdma_handlers, list) { in irdma_find_handler() 129 if (!hdl->iwdev->rf->peer_info) in irdma_find_handler() 131 if (hdl->iwdev->rf->peer_info->dev == p_dev->dev) { in irdma_find_handler() 133 return hdl; in irdma_find_handler() 148 struct irdma_handler *hdl; in peer_to_iwdev() local 150 hdl = irdma_find_handler(peer); in peer_to_iwdev() 151 if (!hdl) { in peer_to_iwdev() 156 return hdl->iwdev; in peer_to_iwdev() 562 struct irdma_handler *hdl; in irdma_probe() local [all …]
|
| /freebsd-14-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | lib_win32con.c | 169 IsConsoleHandle(HANDLE hdl) in IsConsoleHandle() argument 174 T((T_CALLED("lib_win32con::IsConsoleHandle(HANDLE=%p"), hdl)); in IsConsoleHandle() 178 if (!GetConsoleMode(hdl, &dwFlag)) { in IsConsoleHandle() 197 HANDLE hdl = INVALID_HANDLE_VALUE; in _nc_console_test() local 199 hdl = _nc_console_handle(fd); in _nc_console_test() 200 code = (int) IsConsoleHandle(hdl); in _nc_console_test() 204 #define OutHandle() ((WINCONSOLE.isTermInfoConsole || WINCONSOLE.progMode) ? WINCONSOLE.hdl : WINCO… 209 if (WINCONSOLE.lastOut != WINCONSOLE.hdl) { in _nc_console_selectActiveHandle() 210 WINCONSOLE.lastOut = WINCONSOLE.hdl; in _nc_console_selectActiveHandle() 218 HANDLE hdl = _nc_console_handle(fd); in _nc_console_fd2handle() local [all …]
|
| /freebsd-14-stable/sys/contrib/openzfs/lib/libzfsbootenv/ |
| HD | lzbe_device.c | 30 libzfs_handle_t *hdl; in lzbe_set_boot_device() local 40 if ((hdl = libzfs_init()) == NULL) in lzbe_set_boot_device() 43 zphdl = zpool_open(hdl, pool); in lzbe_set_boot_device() 45 libzfs_fini(hdl); in lzbe_set_boot_device() 102 fprintf(stderr, "%s\n", libzfs_error_description(hdl)); in lzbe_set_boot_device() 106 libzfs_fini(hdl); in lzbe_set_boot_device() 116 libzfs_handle_t *hdl; in lzbe_get_boot_device() local 125 if ((hdl = libzfs_init()) == NULL) in lzbe_get_boot_device() 128 zphdl = zpool_open(hdl, pool); in lzbe_get_boot_device() 130 libzfs_fini(hdl); in lzbe_get_boot_device() [all …]
|