| /freebsd/crypto/krb5/src/kdc/ |
| H A D | kdc_audit.c | 51 audit_module_handle *hp, hdl; in free_handles() local 57 hdl = *hp; in free_handles() 58 if (hdl->vt.close != NULL) in free_handles() 59 hdl->vt.close(hdl->auctx); in free_handles() 60 free(hdl); in free_handles() 76 audit_module_handle *list = NULL, hdl = NULL; in load_audit_modules() local 95 hdl = k5alloc(sizeof(*hdl), &ret); in load_audit_modules() 96 if (hdl == NULL) in load_audit_modules() 98 ret = (*mod)(context, 1, 1, (krb5_plugin_vtable)&hdl->vt); in load_audit_modules() 100 free(hdl); in load_audit_modules() [all …]
|
| /freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
| H A D | fmd_api.c | 100 fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip) in fmd_hdl_register() argument 103 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_register() 117 fmd_hdl_debug(hdl, "register module"); in fmd_hdl_register() 123 fmd_hdl_unregister(fmd_hdl_t *hdl) in fmd_hdl_unregister() argument 125 fmd_module_t *mp = (fmd_module_t *)hdl; in fmd_hdl_unregister() 130 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_accepted.fmds_name, in fmd_hdl_unregister() 133 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_caseopen.fmds_name, in fmd_hdl_unregister() 135 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_casesolved.fmds_name, in fmd_hdl_unregister() 137 fmd_hdl_debug(hdl, "%s: %llu", msp->ms_caseclosed.fmds_name, in fmd_hdl_unregister() 146 fmd_hdl_debug(hdl, "%s: %llu", in fmd_hdl_unregister() [all …]
|
| H A D | zfs_diagnosis.c | 137 static void zfs_purge_cases(fmd_hdl_t *hdl); 152 zfs_case_unserialize(fmd_hdl_t *hdl, fmd_case_t *cp) in zfs_case_unserialize() argument 156 zcp = fmd_hdl_zalloc(hdl, sizeof (zfs_case_t), FMD_SLEEP); in zfs_case_unserialize() 159 fmd_buf_read(hdl, cp, CASE_DATA, &zcp->zc_data, in zfs_case_unserialize() 163 fmd_hdl_free(hdl, zcp, sizeof (zfs_case_t)); in zfs_case_unserialize() 174 zcp->zc_remove_timer = fmd_timer_install(hdl, zcp, in zfs_case_unserialize() 180 fmd_case_setspecific(hdl, cp, zcp); in zfs_case_unserialize() 189 zfs_other_serd_cases(fmd_hdl_t *hdl, const zfs_case_data_t *zfs_case) in zfs_other_serd_cases() argument 204 fmd_serd_gc(hdl); in zfs_other_serd_cases() 205 zfs_purge_cases(hdl); in zfs_other_serd_cases() [all …]
|
| H A D | zfs_retire.c | 63 zfs_retire_clear_data(fmd_hdl_t *hdl, zfs_retire_data_t *zdp) in zfs_retire_clear_data() argument 69 fmd_hdl_free(hdl, zrp, sizeof (zfs_retire_repaired_t)); in zfs_retire_clear_data() 247 replace_with_spare(fmd_hdl_t *hdl, zpool_handle_t *zhp, nvlist_t *vdev) in replace_with_spare() argument 273 replacement = fmd_nvl_alloc(hdl, FMD_SLEEP); in replace_with_spare() 305 fmd_hdl_debug(hdl, "zpool_vdev_replace '%s' with spare '%s'", in replace_with_spare() 328 zfs_vdev_repair(fmd_hdl_t *hdl, nvlist_t *nvl) in zfs_vdev_repair() argument 330 zfs_retire_data_t *zdp = fmd_hdl_getspecific(hdl); in zfs_vdev_repair() 355 zrp = fmd_hdl_alloc(hdl, sizeof (zfs_retire_repaired_t), FMD_SLEEP); in zfs_vdev_repair() 361 fmd_hdl_debug(hdl, "marking repaired vdev %llu on pool %llu", in zfs_vdev_repair() 366 zfs_retire_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, in zfs_retire_recv() argument [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_util.c | 75 libzfs_errno(libzfs_handle_t *hdl) in libzfs_errno() argument 77 return (hdl->libzfs_error); in libzfs_errno() 81 libzfs_error_action(libzfs_handle_t *hdl) in libzfs_error_action() argument 83 return (hdl->libzfs_action); in libzfs_error_action() 87 libzfs_error_description(libzfs_handle_t *hdl) in libzfs_error_description() argument 89 if (hdl->libzfs_desc[0] != '\0') in libzfs_error_description() 90 return (hdl->libzfs_desc); in libzfs_error_description() 92 switch (hdl->libzfs_error) { in libzfs_error_description() 330 assert(hdl->libzfs_error == 0); in libzfs_error_description() 336 zfs_error_aux(libzfs_handle_t *hdl, const char *fmt, ...) in zfs_error_aux() argument [all …]
|
| H A D | libzfs_config.c | 78 namespace_clear(libzfs_handle_t *hdl) in namespace_clear() argument 80 if (hdl->libzfs_ns_avl) { in namespace_clear() 84 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, in namespace_clear() 91 uu_avl_destroy(hdl->libzfs_ns_avl); in namespace_clear() 92 hdl->libzfs_ns_avl = NULL; in namespace_clear() 95 if (hdl->libzfs_ns_avlpool) { in namespace_clear() 96 uu_avl_pool_destroy(hdl->libzfs_ns_avlpool); in namespace_clear() 97 hdl->libzfs_ns_avlpool = NULL; in namespace_clear() 105 namespace_reload(libzfs_handle_t *hdl) in namespace_reload() argument 113 if (hdl->libzfs_ns_gen == 0) { in namespace_reload() [all …]
|
| H A D | libzfs_pool.c | 80 libzfs_handle_t *hdl = zhp->zpool_hdl; in zpool_get_all_props() local 88 zcmd_write_src_nvlist(hdl, &zc, innvl); in zpool_get_all_props() 92 zcmd_alloc_dst_nvlist(hdl, &zc, 0); in zpool_get_all_props() 94 while (zfs_ioctl(hdl, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 96 zcmd_expand_dst_nvlist(hdl, &zc); in zpool_get_all_props() 103 if (zcmd_read_dst_nvlist(hdl, &zc, &zhp->zpool_props) != 0) { in zpool_get_all_props() 529 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, in zpool_valid_proplist() argument 544 (void) no_memory(hdl); in zpool_valid_proplist() 556 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "'%s' " in zpool_valid_proplist() 558 (void) zfs_error(hdl, EZFS_PROPREADONLY, in zpool_valid_proplist() [all …]
|
| H A D | libzfs_dataset.c | 109 zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type, in zfs_validate_name() argument 116 if (hdl != NULL) in zfs_validate_name() 117 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 123 if (hdl != NULL) in zfs_validate_name() 124 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 130 if (hdl != NULL) in zfs_validate_name() 131 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 137 if (hdl != NULL) in zfs_validate_name() 138 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_validate_name() 144 if (hdl != NULL) in zfs_validate_name() [all …]
|
| H A D | libzfs_sendrecv.c | 76 static int guid_to_name_redact_snaps(libzfs_handle_t *hdl, const char *parent, 449 get_snap_guid(libzfs_handle_t *hdl, const char *fs, const char *snap) in get_snap_guid() argument 458 zfs_handle_t *zhp = zfs_open(hdl, name, ZFS_TYPE_SNAPSHOT); in get_snap_guid() 472 get_snap_txg(libzfs_handle_t *hdl, const char *fs, const char *snap) in get_snap_txg() argument 481 if (zfs_dataset_exists(hdl, name, ZFS_TYPE_SNAPSHOT)) { in get_snap_txg() 482 zfs_handle_t *zhp = zfs_open(hdl, name, ZFS_TYPE_SNAPSHOT); in get_snap_txg() 683 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, in gather_nvlist() argument 693 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in gather_nvlist() 770 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_send_space() local 773 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_send_space() [all …]
|
| H A D | libzfs_crypto.c | 108 zfs_prop_parse_keylocation(libzfs_handle_t *restrict hdl, const char *str, in zfs_prop_parse_keylocation() argument 121 if (regexec(&hdl->libzfs_urire, str, ARRAY_SIZE(pmatch), in zfs_prop_parse_keylocation() 126 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_prop_parse_keylocation() 138 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_prop_parse_keylocation() 148 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "Invalid keylocation")); in zfs_prop_parse_keylocation() 204 validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat, in validate_key() argument 211 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 218 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 227 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() 234 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in validate_key() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | sa.c | 135 static int sa_build_index(sa_handle_t *hdl, sa_buf_type_t buftype); 142 static int sa_modify_attrs(sa_handle_t *hdl, sa_attr_type_t newattr, 221 sa_handle_t *hdl = buf; in sa_cache_constructor() local 223 mutex_init(&hdl->sa_lock, NULL, MUTEX_DEFAULT, NULL); in sa_cache_constructor() 231 sa_handle_t *hdl = buf; in sa_cache_destructor() local 232 mutex_destroy(&hdl->sa_lock); in sa_cache_destructor() 301 sa_get_spill(sa_handle_t *hdl) in sa_get_spill() argument 304 if (hdl->sa_spill == NULL) { in sa_get_spill() 305 if ((rc = dmu_spill_hold_existing(hdl->sa_bonus, NULL, in sa_get_spill() 306 &hdl->sa_spill)) == 0) in sa_get_spill() [all …]
|
| H A D | zfs_znode.c | 88 zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, const void *tag) in zfs_release_sa_handle() argument 90 sa_handle_destroy(hdl); in zfs_release_sa_handle() 99 zfs_obj_to_pobj(objset_t *osp, sa_handle_t *hdl, sa_attr_type_t *sa_table, in zfs_obj_to_pobj() argument 119 if ((error = sa_bulk_lookup(hdl, bulk, count)) != 0) in zfs_obj_to_pobj() 155 zfs_obj_to_stats_impl(sa_handle_t *hdl, sa_attr_type_t *sa_table, in zfs_obj_to_stats_impl() argument 170 return (sa_bulk_lookup(hdl, bulk, count)); in zfs_obj_to_stats_impl() 174 zfs_obj_to_path_impl(objset_t *osp, uint64_t obj, sa_handle_t *hdl, in zfs_obj_to_path_impl() argument 186 sa_hdl = hdl; in zfs_obj_to_path_impl() 237 if (sa_hdl != hdl) { in zfs_obj_to_path_impl() 249 if (sa_hdl != NULL && sa_hdl != hdl) { in zfs_obj_to_path_impl() [all …]
|
| /freebsd/lib/libbe/ |
| H A D | libbe.3 | 42 .Fn libbe_close "libbe_handle_t *hdl" 45 .Fn be_active_name "libbe_handle_t *hdl" 48 .Fn be_active_path "libbe_handle_t *hdl" 51 .Fn be_nextboot_name "libbe_handle_t *hdl" 54 .Fn be_nextboot_path "libbe_handle_t *hdl" 57 .Fn be_root_path "libbe_handle_t *hdl" 60 .Fn be_snapshot "libbe_handle_t *hdl" "const char *be_name" "const char *snap_name" "bool recursive… 63 .Fn be_is_auto_snapshot_name "libbe_handle_t *hdl" "const char *snap" 66 .Fn be_create "libbe_handle_t *hdl" "const char *be_name" 69 .Fn be_create_depth "libbe_handle_t *hdl" "const char *be_name" "const char *snap" "int depth" [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 76 libpc_error_description(libpc_handle_t *hdl) in libpc_error_description() argument 78 if (hdl->lpc_desc[0] != '\0') in libpc_error_description() 79 return (hdl->lpc_desc); in libpc_error_description() 81 switch (hdl->lpc_error) { in libpc_error_description() 94 assert(hdl->lpc_error == 0); in libpc_error_description() 100 zutil_error_aux(libpc_handle_t *hdl, const char *fmt, ...) in zutil_error_aux() argument 106 (void) vsnprintf(hdl->lpc_desc, sizeof (hdl->lpc_desc), fmt, ap); in zutil_error_aux() 107 hdl->lpc_desc_active = B_TRUE; in zutil_error_aux() 113 zutil_verror(libpc_handle_t *hdl, lpc_error_t error, const char *fmt, in zutil_verror() argument 119 hdl->lpc_error = error; in zutil_verror() [all …]
|
| /freebsd/libexec/rtld-elf/tests/ |
| H A D | 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/sys/dev/irdma/ |
| H A D | icrdma.c | 118 * irdma_find_handler - obtain hdl object to identify pf 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() [all …]
|
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | 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/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_compat.c | 244 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk() argument 246 (void) hdl, (void) path, (void) msg; in zpool_relabel_disk() 251 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk() argument 253 (void) hdl, (void) zhp, (void) name; in zpool_label_disk() 265 zfs_destroy_snaps_nvl_os(libzfs_handle_t *hdl, nvlist_t *snaps) in zfs_destroy_snaps_nvl_os() argument 267 (void) hdl, (void) snaps; in zfs_destroy_snaps_nvl_os() 277 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_jail() local 292 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_jail() 294 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_jail() 296 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_jail() [all …]
|
| /freebsd/usr.sbin/bluetooth/ath3kfw/ |
| H A D | 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 …]
|
| /freebsd/usr.sbin/bluetooth/iwmbtfw/ |
| H A D | 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...] |
| H A D | main.c | 231 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_patch_firmware() 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_firmware() 335 ret = iwmbt_load_ddc(hdl, &ddc); in iwmbt_init_firmware() 387 handle_7260(libusb_device_handle *hdl, char *firmware_dir) in parse_ugen_name() 394 r = iwmbt_get_version(hdl, &ver); in usage() 420 r = iwmbt_enter_manufacturer(hdl); in main() 428 r = iwmbt_patch_fwfile(hdl, in main() 228 iwmbt_patch_firmware(libusb_device_handle * hdl,const char * firmware_path) iwmbt_patch_firmware() argument 253 iwmbt_init_firmware(libusb_device_handle * hdl,const char * firmware_path,uint32_t * boot_param,uint8_t hw_variant,uint8_t sbe_type) iwmbt_init_firmware() argument 343 iwmbt_init_ddc(libusb_device_handle * hdl,const char * ddc_path) iwmbt_init_ddc() argument 407 libusb_device_handle *hdl = NULL; main() local [all...] |
| H A D | 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, \ 322 iwmbt_load_rsa_header(struct libusb_device_handle * hdl,const struct iwmbt_firmware * fw) iwmbt_load_rsa_header() argument 341 iwmbt_load_ecdsa_header(struct libusb_device_handle * hdl,const struct iwmbt_firmware * fw) iwmbt_load_ecdsa_header() argument 354 iwmbt_load_fwfile(struct libusb_device_handle * hdl,const struct iwmbt_firmware * fw,uint32_t * boot_param,int offset) iwmbt_load_fwfile() argument 412 iwmbt_enter_manufacturer(struct libusb_device_handle * hdl) iwmbt_enter_manufacturer() argument 440 iwmbt_exit_manufacturer(struct libusb_device_handle * hdl,int mode) iwmbt_exit_manufacturer() argument 480 iwmbt_get_version(struct libusb_device_handle * hdl,struct iwmbt_version * version) iwmbt_get_version() argument 514 iwmbt_get_version_tlv(struct libusb_device_handle * hdl,struct iwmbt_version_tlv * version) iwmbt_get_version_tlv() argument 648 iwmbt_get_boot_params(struct libusb_device_handle * hdl,struct iwmbt_boot_params * params) iwmbt_get_boot_params() argument 682 iwmbt_intel_reset(struct libusb_device_handle * hdl,uint32_t boot_param) iwmbt_intel_reset() argument 721 iwmbt_load_ddc(struct libusb_device_handle * hdl,const struct iwmbt_firmware * ddc) iwmbt_load_ddc() argument 765 iwmbt_set_event_mask(struct libusb_device_handle * hdl) iwmbt_set_event_mask() argument [all...] |
| /freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_util_os.c | 177 zfs_destroy_snaps_nvl_os(libzfs_handle_t *hdl, nvlist_t *snaps) in zfs_destroy_snaps_nvl_os() argument 179 (void) hdl, (void) snaps; in zfs_destroy_snaps_nvl_os() 215 libzfs_handle_t *hdl = zhp->zfs_hdl; in zfs_userns() local 233 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() 235 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_userns() 237 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() 239 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_userns() 241 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() 243 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_userns() 245 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, in zfs_userns() [all …]
|
| H A D | libzfs_pool_os.c | 61 zpool_relabel_disk(libzfs_handle_t *hdl, const char *path, const char *msg) in zpool_relabel_disk() argument 66 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_relabel_disk() 68 return (zfs_error(hdl, EZFS_OPENFAILED, msg)); in zpool_relabel_disk() 84 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_relabel_disk() 86 return (zfs_error(hdl, EZFS_NOCAP, msg)); in zpool_relabel_disk() 212 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) in zpool_label_disk() argument 247 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_label_disk() 249 return (zfs_error(hdl, EZFS_OPENFAILED, errbuf)); in zpool_label_disk() 258 (void) no_memory(hdl); in zpool_label_disk() 261 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, "cannot " in zpool_label_disk() [all …]
|
| /freebsd/sys/contrib/openzfs/lib/libzfsbootenv/ |
| H A D | lzbe_device.c | 31 libzfs_handle_t *hdl; in lzbe_set_boot_device() local 41 if ((hdl = libzfs_init()) == NULL) in lzbe_set_boot_device() 44 zphdl = zpool_open(hdl, pool); in lzbe_set_boot_device() 46 libzfs_fini(hdl); in lzbe_set_boot_device() 103 fprintf(stderr, "%s\n", libzfs_error_description(hdl)); in lzbe_set_boot_device() 107 libzfs_fini(hdl); in lzbe_set_boot_device() 117 libzfs_handle_t *hdl; in lzbe_get_boot_device() local 126 if ((hdl = libzfs_init()) == NULL) in lzbe_get_boot_device() 129 zphdl = zpool_open(hdl, pool); in lzbe_get_boot_device() 131 libzfs_fini(hdl); in lzbe_get_boot_device() [all …]
|