/freebsd-11.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | kidmap.h | 38 #define kidmap_get_destroy(hdl) do { } while (0) 39 #define kidmap_get_mappings(hdl) (NULL)
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_util.c | 60 libzfs_errno(libzfs_handle_t *hdl) argument 62 return (hdl->libzfs_error); 66 libzfs_error_action(libzfs_handle_t *hdl) argument 68 return (hdl->libzfs_action); 72 libzfs_error_description(libzfs_handle_t *hdl) argument 74 if (hdl->libzfs_desc[0] != '\0') 75 return (hdl->libzfs_desc); 77 switch (hdl->libzfs_error) { 240 assert(hdl->libzfs_error == 0); 247 zfs_error_aux(libzfs_handle_t *hdl, cons argument 261 zfs_verror(libzfs_handle_t *hdl, int error, const char *fmt, va_list ap) argument 287 zfs_error(libzfs_handle_t *hdl, int error, const char *msg) argument 294 zfs_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 308 zfs_common_error(libzfs_handle_t *hdl, int error, const char *fmt, va_list ap) argument 338 zfs_standard_error(libzfs_handle_t *hdl, int error, const char *msg) argument 345 zfs_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 411 zpool_standard_error(libzfs_handle_t *hdl, int error, const char *msg) argument 418 zpool_standard_error_fmt(libzfs_handle_t *hdl, int error, const char *fmt, ...) argument 498 no_memory(libzfs_handle_t *hdl) argument 507 zfs_alloc(libzfs_handle_t *hdl, size_t size) argument 522 zfs_asprintf(libzfs_handle_t *hdl, const char *fmt, ...) argument 544 zfs_realloc(libzfs_handle_t *hdl, void *ptr, size_t oldsize, size_t newsize) argument 561 zfs_strdup(libzfs_handle_t *hdl, const char *str) argument 616 libzfs_print_on_error(libzfs_handle_t *hdl, boolean_t printerr) argument 639 libzfs_handle_t *hdl; local 680 libzfs_fini(libzfs_handle_t *hdl) argument 723 zfs_path_to_zhandle(libzfs_handle_t *hdl, char *path, zfs_type_t argtype) argument 780 zcmd_alloc_dst_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, size_t len) argument 799 zcmd_expand_dst_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc) argument 825 zcmd_write_nvlist_com(libzfs_handle_t *hdl, uint64_t *outnv, uint64_t *outlen, nvlist_t *nvl) argument 845 zcmd_write_conf_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) argument 852 zcmd_write_src_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t *nvl) argument 862 zcmd_read_dst_nvlist(libzfs_handle_t *hdl, zfs_cmd_t *zc, nvlist_t **nvlp) argument 872 zfs_ioctl(libzfs_handle_t *hdl, int request, zfs_cmd_t *zc) argument 1094 str2shift(libzfs_handle_t *hdl, const char *buf) argument 1130 zfs_nicestrtonum(libzfs_handle_t *hdl, const char *value, uint64_t *num) argument 1210 zprop_parse_value(libzfs_handle_t *hdl, nvpair_t *elem, int prop, zfs_type_t type, nvlist_t *ret, char **svalp, uint64_t *ivalp, const char *errbuf) argument 1330 addlist(libzfs_handle_t *hdl, char *propname, zprop_list_t **listp, zfs_type_t type) argument 1385 zprop_get_list(libzfs_handle_t *hdl, char *props, zprop_list_t **listp, zfs_type_t type) argument 1480 libzfs_handle_t *hdl; member in struct:expand_data 1504 zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, zfs_type_t type) argument [all...] |
H A D | libzfs_fru.c | 106 libzfs_handle_t *hdl = arg; local 117 if (hdl->libzfs_chassis_id[0] == '\0' && 121 (void) strlcpy(hdl->libzfs_chassis_id, devpath, 122 sizeof (hdl->libzfs_chassis_id)); 137 if (libzfs_fru_lookup(hdl, devpath) != NULL) { 180 frup->zf_chain = hdl->libzfs_fru_hash[idx]; 181 hdl->libzfs_fru_hash[idx] = frup; 182 frup->zf_next = hdl->libzfs_fru_list; 183 hdl->libzfs_fru_list = frup; 257 libzfs_fru_refresh(libzfs_handle_t *hdl) argument 307 libzfs_fru_lookup(libzfs_handle_t *hdl, const char *devpath) argument 333 libzfs_fru_devpath(libzfs_handle_t *hdl, const char *fru) argument 379 libzfs_fru_compare(libzfs_handle_t *hdl, const char *a, const char *b) argument 397 libzfs_fru_notself(libzfs_handle_t *hdl, const char *fru) argument 427 libzfs_fru_clear(libzfs_handle_t *hdl, boolean_t final) argument [all...] |
H A D | libzfs_config.c | 78 namespace_clear(libzfs_handle_t *hdl) argument 80 if (hdl->libzfs_ns_avl) { 84 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, 91 uu_avl_destroy(hdl->libzfs_ns_avl); 92 hdl->libzfs_ns_avl = NULL; 95 if (hdl->libzfs_ns_avlpool) { 96 uu_avl_pool_destroy(hdl->libzfs_ns_avlpool); 97 hdl->libzfs_ns_avlpool = NULL; 105 namespace_reload(libzfs_handle_t *hdl) argument 113 if (hdl 269 libzfs_handle_t *hdl = zhp->zpool_hdl; local 386 zpool_iter(libzfs_handle_t *hdl, zpool_iter_f func, void *data) argument 431 zfs_iter_root(libzfs_handle_t *hdl, zfs_iter_f func, void *data) argument [all...] |
H A D | libzfs_dataset.c | 136 zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type, argument 144 if (hdl != NULL) { 147 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 152 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 157 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 162 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 167 zfs_error_aux(hdl, 173 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 178 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 183 zfs_error_aux(hdl, dgettex 236 libzfs_handle_t *hdl = zhp->zfs_hdl; local 265 libzfs_handle_t *hdl = zhp->zfs_hdl; local 279 libzfs_handle_t *hdl = zhp->zfs_hdl; local 313 zpool_free_handles(libzfs_handle_t *hdl) argument 331 libzfs_handle_t *hdl = zhp->zfs_hdl; local 353 libzfs_handle_t *hdl = zhp->zfs_hdl; local 476 make_dataset_handle(libzfs_handle_t *hdl, const char *path) argument 505 make_dataset_handle_zc(libzfs_handle_t *hdl, zfs_cmd_t *zc) argument 654 zfs_open(libzfs_handle_t *hdl, const char *path, int types) argument 740 libzfs_mnttab_init(libzfs_handle_t *hdl) argument 748 libzfs_mnttab_update(libzfs_handle_t *hdl) argument 768 libzfs_mnttab_fini(libzfs_handle_t *hdl) argument 784 libzfs_mnttab_cache(libzfs_handle_t *hdl, boolean_t enable) argument 790 libzfs_mnttab_find(libzfs_handle_t *hdl, const char *fsname, struct mnttab *entry) argument 823 libzfs_mnttab_add(libzfs_handle_t *hdl, const char *special, const char *mountp, const char *mntopts) argument 839 libzfs_mnttab_remove(libzfs_handle_t *hdl, const char *fsname) argument 893 zfs_valid_proplist(libzfs_handle_t *hdl, zfs_type_t type, nvlist_t *nvl, uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, const char *errbuf) argument 1446 zfs_setprop_error(libzfs_handle_t *hdl, zfs_prop_t prop, int err, char *errbuf) argument 1551 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1585 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1758 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1982 libzfs_handle_t *hdl = zhp->zfs_hdl; local 3018 check_parents(libzfs_handle_t *hdl, const char *path, uint64_t *zoned, boolean_t accept_ancestor, int *prefixlen) argument 3099 zfs_dataset_exists(libzfs_handle_t *hdl, const char *path, zfs_type_t types) argument 3125 create_parents(libzfs_handle_t *hdl, char *target, int prefixlen) argument 3198 zfs_create_ancestors(libzfs_handle_t *hdl, const char *path) argument 3221 zfs_create(libzfs_handle_t *hdl, const char *path, zfs_type_t type, nvlist_t *props) argument 3462 zfs_destroy_snaps_nvl(libzfs_handle_t *hdl, nvlist_t *snaps, boolean_t defer) argument 3510 libzfs_handle_t *hdl = zhp->zfs_hdl; local 3583 libzfs_handle_t *hdl = zhp->zfs_hdl; local 3658 zfs_snapshot_nvl(libzfs_handle_t *hdl, nvlist_t *snaps, nvlist_t *props) argument 3735 zfs_snapshot(libzfs_handle_t *hdl, const char *path, boolean_t recursive, nvlist_t *props) argument 3921 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4152 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4246 zfs_deleg_share_nfs(libzfs_handle_t *hdl, char *dataset, char *path, char *resource, void *export, void *sharetab, int sharemax, zfs_share_op_t operation) argument 4298 zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path, zfs_smb_acl_op_t cmd, char *resource1, char *resource2) argument 4348 zfs_smb_acl_add(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4356 zfs_smb_acl_remove(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4364 zfs_smb_acl_purge(libzfs_handle_t *hdl, char *dataset, char *path) argument 4371 zfs_smb_acl_rename(libzfs_handle_t *hdl, char *dataset, char *path, char *oldname, char *newname) argument 4385 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4484 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4583 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4660 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4727 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4786 libzfs_handle_t *hdl = zhp->zfs_hdl; local 4861 libzfs_handle_t *hdl = zhp->zfs_hdl; local [all...] |
H A D | libzfs_pool.c | 69 libzfs_handle_t *hdl = zhp->zpool_hdl; local 73 if (zcmd_alloc_dst_nvlist(hdl, &zc, 0) != 0) 76 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { 78 if (zcmd_expand_dst_nvlist(hdl, &zc) != 0) { 88 if (zcmd_read_dst_nvlist(hdl, &zc, &zhp->zpool_props) != 0) { 420 zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname, argument 433 (void) no_memory(hdl); 449 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 451 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); 456 zfs_error_aux(hdl, dgettex 709 libzfs_handle_t *hdl = zhp->zpool_hdl; local 871 zpool_name_valid(libzfs_handle_t *hdl, boolean_t isopen, const char *pool) argument 959 zpool_open_canfail(libzfs_handle_t *hdl, const char *pool) argument 1001 zpool_open_silent(libzfs_handle_t *hdl, const char *pool, zpool_handle_t **ret) argument 1032 zpool_open(libzfs_handle_t *hdl, const char *pool) argument 1086 zpool_create(libzfs_handle_t *hdl, const char *pool, nvlist_t *nvroot, nvlist_t *props, nvlist_t *fsprops) argument 1222 libzfs_handle_t *hdl = zhp->zpool_hdl; local 1266 libzfs_handle_t *hdl = zhp->zpool_hdl; local 1413 zpool_rewind_exclaim(libzfs_handle_t *hdl, const char *name, boolean_t dryrun, nvlist_t *config) argument 1464 zpool_explain_recover(libzfs_handle_t *hdl, const char *name, int reason, nvlist_t *config) argument 1549 zpool_import(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, char *altroot) argument 1580 print_vdev_tree(libzfs_handle_t *hdl, const char *name, nvlist_t *nv, int indent) argument 1637 zpool_import_props(libzfs_handle_t *hdl, nvlist_t *config, const char *newname, nvlist_t *props, int flags) argument 1829 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2334 zpool_relabel_disk(libzfs_handle_t *hdl, const char *name) argument 2382 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2454 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2502 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2537 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2599 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2767 libzfs_handle_t *hdl = zhp->zpool_hdl; local 2866 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3073 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3119 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3192 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3215 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3236 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3346 zpool_vdev_name(libzfs_handle_t *hdl, zpool_handle_t *zhp, nvlist_t *nv, boolean_t verbose) argument 3585 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3608 zpool_log_history(libzfs_handle_t *hdl, const char *message) argument 3637 libzfs_handle_t *hdl = zhp->zpool_hdl; local 3901 zpool_label_disk(libzfs_handle_t *hdl, zpool_handle_t *zhp, const char *name) argument 4006 supported_dump_vdev_type(libzfs_handle_t *hdl, nvlist_t *config, char *errbuf) argument 4047 libzfs_handle_t *hdl; local [all...] |
H A D | libzfs_mount.c | 124 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto) argument 129 if (hdl->libzfs_sharetab == NULL) 132 (void) fseek(hdl->libzfs_sharetab, 0, SEEK_SET); 134 while (fgets(buf, sizeof (buf), hdl->libzfs_sharetab) != NULL) { 273 libzfs_handle_t *hdl = zhp->zfs_hdl; local 292 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 294 return (zfs_error_fmt(hdl, EZFS_MOUNTFAILED, 310 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 312 return (zfs_error_fmt(hdl, EZFS_MOUNTFAILED, 326 zfs_error_aux(hdl, dgettex 361 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) argument 379 libzfs_handle_t *hdl = zhp->zfs_hdl; local 732 libzfs_handle_t *hdl = zhp->zfs_hdl; local 856 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t proto) argument 921 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1134 libzfs_handle_t *hdl = zhp->zpool_hdl; local 1217 libzfs_handle_t *hdl = zhp->zpool_hdl; local [all...] |
H A D | libzfs_sendrecv.c | 138 ddt_hash_append(libzfs_handle_t *hdl, dedup_table_t *ddt, dedup_entry_t **ddepp, argument 145 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 176 ddt_update(libzfs_handle_t *hdl, dedup_table_t *ddt, zio_cksum_t *cs, argument 192 ddt_hash_append(hdl, ddt, ddepp, cs, prop, dr); 781 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, argument 788 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); 845 libzfs_handle_t *hdl = zhp->zfs_hdl; local 863 zfs_error_aux(hdl, dgettext(TEXT_DOMAIN, 865 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); 868 if (zfs_dataset_exists(hdl, z 909 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1004 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1385 zfs_send_resume_token_to_nvlist(libzfs_handle_t *hdl, const char *token) argument 1462 zfs_send_resume(libzfs_handle_t *hdl, sendflags_t *flags, int outfd, const char *resume_token) argument 1905 libzfs_handle_t *hdl = zhp->zfs_hdl; local 1962 recv_read(libzfs_handle_t *hdl, int fd, void *buf, int ilen, boolean_t byteswap, zio_cksum_t *zc) argument 1994 recv_read_nvlist(libzfs_handle_t *hdl, int fd, int len, nvlist_t **nvp, boolean_t byteswap, zio_cksum_t *zc) argument 2021 recv_rename(libzfs_handle_t *hdl, const char *name, const char *tryname, int baselen, char *newname, recvflags_t *flags) argument 2094 recv_destroy(libzfs_handle_t *hdl, const char *name, int baselen, char *newname, recvflags_t *flags) argument 2190 guid_to_name(libzfs_handle_t *hdl, const char *parent, uint64_t guid, boolean_t bookmark_ok, char *name) argument 2243 created_before(libzfs_handle_t *hdl, avl_tree_t *avl, uint64_t guid1, uint64_t guid2) argument 2291 recv_incremental_replication(libzfs_handle_t *hdl, const char *tofs, recvflags_t *flags, nvlist_t *stream_nv, avl_tree_t *stream_avl, nvlist_t *renamed) argument 2600 zfs_receive_package(libzfs_handle_t *hdl, int fd, const char *destname, recvflags_t *flags, dmu_replay_record_t *drr, zio_cksum_t *zc, char **top_zfs, int cleanup_fd, uint64_t *action_handlep) argument 2819 recv_skip(libzfs_handle_t *hdl, int fd, boolean_t byteswap) argument 2902 recv_ecksum_set_aux(libzfs_handle_t *hdl, const char *target_snap, boolean_t resumable) argument 2939 zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap, const char *originsnap, recvflags_t *flags, dmu_replay_record_t *drr, dmu_replay_record_t *drr_noswap, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3523 zfs_receive_impl(libzfs_handle_t *hdl, const char *tosnap, const char *originsnap, recvflags_t *flags, int infd, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3643 zfs_receive(libzfs_handle_t *hdl, const char *tosnap, nvlist_t *props, recvflags_t *flags, int infd, avl_tree_t *stream_avl) argument [all...] |
H A D | libzfs_import.c | 217 add_config(libzfs_handle_t *hdl, pool_list_t *pl, const char *path, argument 235 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) 238 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) { 278 if ((pe = zfs_alloc(hdl, sizeof (pool_entry_t))) == NULL) { 297 if ((ve = zfs_alloc(hdl, sizeof (vdev_entry_t))) == NULL) { 317 if ((ce = zfs_alloc(hdl, sizeof (config_entry_t))) == NULL) { 335 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) 338 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) { 354 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, argument 360 if (zpool_open_silent(hdl, nam 378 refresh_config(libzfs_handle_t *hdl, nvlist_t *config) argument 438 get_configs(libzfs_handle_t *hdl, pool_list_t *pl, boolean_t active_ok) argument 1139 zpool_find_import_impl(libzfs_handle_t *hdl, importargs_t *iarg) argument 1352 zpool_find_import(libzfs_handle_t *hdl, int argc, char **argv) argument 1368 zpool_find_import_cached(libzfs_handle_t *hdl, const char *cachefile, char *poolname, uint64_t guid) argument 1502 zpool_search_import(libzfs_handle_t *hdl, importargs_t *import) argument 1577 zpool_in_use(libzfs_handle_t *hdl, int fd, pool_state_t *state, char **namestr, boolean_t *inuse) argument [all...] |
H A D | libzfs_diff.c | 516 libzfs_handle_t *hdl = di->zhp->zfs_hdl; local 524 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) { 531 return (zfs_error(hdl, EZFS_DIFF, di->errbuf)); 536 return (zfs_standard_error(hdl, err, di->errbuf)); 540 di->tmpsnap = zfs_strdup(hdl, zc.zc_value); 541 di->tosnap = zfs_asprintf(hdl, "%s@%s", di->ds, di->tmpsnap); 562 libzfs_handle_t *hdl = di->zhp->zfs_hdl; local 582 if (!zfs_validate_name(hdl, fromsnap, ZFS_TYPE_SNAPSHOT, 584 return (zfs_error(hdl, EZFS_INVALIDNAME, 592 di->fromsnap = zfs_strdup(hdl, fromsna [all...] |
H A D | libzfs_impl.h | 157 int zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, 201 int zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type,
|
H A D | libzfs_changelist.c | 164 libzfs_handle_t *hdl; local 188 hdl = cn->cn_handle->zfs_hdl; 189 assert(hdl != NULL); 190 zfs_uninit_libshare(hdl);
|
H A D | libzfs.h | 568 extern int zfs_snapshot_nvl(libzfs_handle_t *hdl, nvlist_t *snaps, 628 extern nvlist_t *zfs_send_resume_token_to_nvlist(libzfs_handle_t *hdl,
|
/freebsd-11.0-release/usr.sbin/bluetooth/ath3kfw/ |
H A D | ath3k_hw.h | 55 extern int ath3k_load_fwfile(struct libusb_device_handle *hdl, 57 extern int ath3k_get_state(struct libusb_device_handle *hdl, 59 extern int ath3k_get_version(struct libusb_device_handle *hdl, 61 extern int ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path); 62 extern int ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path); 63 extern int ath3k_set_normal_mode(libusb_device_handle *hdl); 64 extern int ath3k_switch_pid(libusb_device_handle *hdl);
|
H A D | ath3k_hw.c | 52 ath3k_load_fwfile(struct libusb_device_handle *hdl, argument 68 ret = libusb_control_transfer(hdl, 94 ret = libusb_bulk_transfer(hdl, 114 ath3k_get_state(struct libusb_device_handle *hdl, unsigned char *state) argument 118 ret = libusb_control_transfer(hdl, 139 ath3k_get_version(struct libusb_device_handle *hdl, argument 144 ret = libusb_control_transfer(hdl, 167 ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path) argument 176 ret = ath3k_get_state(hdl, &fw_state); 188 ret = ath3k_get_version(hdl, 238 ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path) argument 297 ath3k_set_normal_mode(libusb_device_handle *hdl) argument 338 ath3k_switch_pid(libusb_device_handle *hdl) argument [all...] |
H A D | main.c | 151 ath3k_init_ar3012(libusb_device_handle *hdl, const char *fw_path) argument 155 ret = ath3k_load_patch(hdl, fw_path); 161 ret = ath3k_load_syscfg(hdl, fw_path); 167 ret = ath3k_set_normal_mode(hdl); 173 ath3k_switch_pid(hdl); 178 ath3k_init_firmware(libusb_device_handle *hdl, const char *file_prefix) argument 197 ret = ath3k_load_fwfile(hdl, &fw); 246 libusb_device_handle *hdl; local 341 r = libusb_open(dev, &hdl); 351 r = ath3k_get_state(hdl, [all...] |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | sa.c | 132 static int sa_build_index(sa_handle_t *hdl, sa_buf_type_t buftype); 139 static int sa_modify_attrs(sa_handle_t *hdl, sa_attr_type_t newattr, 213 sa_handle_t *hdl = buf; local 215 mutex_init(&hdl->sa_lock, NULL, MUTEX_DEFAULT, NULL); 223 sa_handle_t *hdl = buf; local 224 mutex_destroy(&hdl->sa_lock); 302 sa_get_spill(sa_handle_t *hdl) argument 305 if (hdl->sa_spill == NULL) { 306 if ((rc = dmu_spill_hold_existing(hdl->sa_bonus, NULL, 307 &hdl 323 sa_attr_op(sa_handle_t *hdl, sa_bulk_attr_t *bulk, int count, sa_data_op_t data_op, dmu_tx_t *tx) argument 492 sa_resize_spill(sa_handle_t *hdl, uint32_t size, dmu_tx_t *tx) argument 645 sa_build_layouts(sa_handle_t *hdl, sa_bulk_attr_t *attr_desc, int attr_count, dmu_tx_t *tx) argument 1220 sa_handle_t *hdl = userp; local 1227 sa_byteswap(sa_handle_t *hdl, sa_buf_type_t buftype) argument 1268 sa_build_index(sa_handle_t *hdl, sa_buf_type_t buftype) argument 1341 sa_handle_destroy(sa_handle_t *hdl) argument 1438 sa_lookup_impl(sa_handle_t *hdl, sa_bulk_attr_t *bulk, int count) argument 1446 sa_lookup(sa_handle_t *hdl, sa_attr_type_t attr, void *buf, uint32_t buflen) argument 1465 sa_lookup_uio(sa_handle_t *hdl, sa_attr_type_t attr, uio_t *uio) argument 1569 sa_attr_register_sync(sa_handle_t *hdl, dmu_tx_t *tx) argument 1611 sa_replace_all_by_template_locked(sa_handle_t *hdl, sa_bulk_attr_t *attr_desc, int attr_count, dmu_tx_t *tx) argument 1622 sa_replace_all_by_template(sa_handle_t *hdl, sa_bulk_attr_t *attr_desc, int attr_count, dmu_tx_t *tx) argument 1642 sa_modify_attrs(sa_handle_t *hdl, sa_attr_type_t newattr, sa_data_op_t action, sa_data_locator_t *locator, void *datastart, uint16_t buflen, dmu_tx_t *tx) argument 1789 sa_bulk_update_impl(sa_handle_t *hdl, sa_bulk_attr_t *bulk, int count, dmu_tx_t *tx) argument 1816 sa_update(sa_handle_t *hdl, sa_attr_type_t type, void *buf, uint32_t buflen, dmu_tx_t *tx) argument 1834 sa_update_from_cb(sa_handle_t *hdl, sa_attr_type_t attr, uint32_t buflen, sa_data_locator_t *locator, void *userdata, dmu_tx_t *tx) argument 1856 sa_size(sa_handle_t *hdl, sa_attr_type_t attr, int *size) argument 1878 sa_bulk_lookup_locked(sa_handle_t *hdl, sa_bulk_attr_t *attrs, int count) argument 1886 sa_bulk_lookup(sa_handle_t *hdl, sa_bulk_attr_t *attrs, int count) argument 1898 sa_bulk_update(sa_handle_t *hdl, sa_bulk_attr_t *attrs, int count, dmu_tx_t *tx) argument 1910 sa_remove(sa_handle_t *hdl, sa_attr_type_t attr, dmu_tx_t *tx) argument 1922 sa_object_info(sa_handle_t *hdl, dmu_object_info_t *doi) argument 1928 sa_object_size(sa_handle_t *hdl, uint32_t *blksize, u_longlong_t *nblocks) argument 1935 sa_set_userp(sa_handle_t *hdl, void *ptr) argument 1941 sa_get_db(sa_handle_t *hdl) argument 1947 sa_get_userdata(sa_handle_t *hdl) argument 1969 sa_handle_object(sa_handle_t *hdl) argument 2002 sa_handle_lock(sa_handle_t *hdl) argument 2009 sa_handle_unlock(sa_handle_t *hdl) argument [all...] |
H A D | zfs_sa.c | 195 zfs_sa_upgrade(sa_handle_t *hdl, dmu_tx_t *tx) argument 197 dmu_buf_t *db = sa_get_db(hdl); 198 znode_t *zp = sa_get_userdata(hdl); 243 if (sa_bulk_lookup_locked(hdl, bulk, count) != 0) 301 VERIFY(sa_replace_all_by_template_locked(hdl, sa_attrs,
|
H A D | zfs_znode.c | 607 dmu_object_type_t obj_type, sa_handle_t *hdl) 647 zfs_znode_sa_init(zfsvfs, zp, db, obj_type, hdl); 666 if (hdl == NULL) 1124 sa_handle_t *hdl; local 1155 hdl = dmu_buf_get_user(db); 1156 if (hdl != NULL) { 1157 zp = sa_get_userdata(hdl); 1985 zfs_release_sa_handle(sa_handle_t *hdl, dmu_buf_t *db, void *tag) argument 1987 sa_handle_destroy(hdl); 1996 zfs_obj_to_pobj(objset_t *osp, sa_handle_t *hdl, sa_attr_type_ argument 606 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, dmu_object_type_t obj_type, sa_handle_t *hdl) argument 2052 zfs_obj_to_stats_impl(sa_handle_t *hdl, sa_attr_type_t *sa_table, zfs_stat_t *sb) argument 2071 zfs_obj_to_path_impl(objset_t *osp, uint64_t obj, sa_handle_t *hdl, sa_attr_type_t *sa_table, char *buf, int len) argument 2146 sa_handle_t *hdl; local 2170 sa_handle_t *hdl; local [all...] |
H A D | dmu_tx.c | 1618 dmu_tx_hold_sa(dmu_tx_t *tx, sa_handle_t *hdl, boolean_t may_grow) argument 1623 ASSERT(hdl != NULL); 1625 object = sa_handle_object(hdl); 1645 if (sa->sa_force_spill || may_grow || hdl->sa_spill) { 1649 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus;
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | sa_impl.h | 224 #define SA_GET_DB(hdl, type) \ 225 (dmu_buf_impl_t *)((type == SA_BONUS) ? hdl->sa_bonus : hdl->sa_spill) 227 #define SA_GET_HDR(hdl, type) \ 228 ((sa_hdr_phys_t *)((dmu_buf_impl_t *)(SA_GET_DB(hdl, \ 231 #define SA_IDX_TAB_GET(hdl, type) \ 232 (type == SA_BONUS ? hdl->sa_bonus_tab : hdl->sa_spill_tab) 259 #define SA_ATTR_INFO(sa, idx, hdr, attr, bulk, type, hdl) \
|
/freebsd-11.0-release/cddl/usr.sbin/zfsd/ |
H A D | zfsd_event.cc | 446 zpool_handle_t* hdl; local 448 hdl = zpl.front(); 449 VdevIterator(hdl).Each(TryDetach, (void*)hdl); 502 zpool_handle_t *hdl(static_cast<zpool_handle_t*>(cbArg)); 527 vdev.Path().c_str(), zpool_get_name(hdl)); 528 zpool_vdev_detach(hdl, vdev.Path().c_str());
|
/freebsd-11.0-release/sys/dev/isp/ |
H A D | ispvar.h | 316 #define ISP_H2HT(hdl) ((hdl & ISP_HANDLE_USAGE_MASK) >> ISP_HANDLE_USAGE_SHIFT) 323 #define ISP_H2SEQ(hdl) ((hdl & ISP_HANDLE_SEQ_MASK) >> ISP_HANDLE_SEQ_SHIFT) 324 #define ISP_VALID_HANDLE(c, hdl) \ 325 ((ISP_H2HT(hdl) == ISP_HANDLE_INITIATOR || \ 326 ISP_H2HT(hdl) == ISP_HANDLE_TARGET || \ 327 ISP_H2HT(hdl) == ISP_HANDLE_CTRL) && \ 328 ((hdl) & ISP_HANDLE_CMD_MASK) < (c)->isp_maxcmds && \ 329 (hdl) [all...] |
H A D | isp_target.c | 498 uint32_t code, hdl; local 522 hdl = va_arg(ap, uint32_t); 569 cto->ct_syshandle = hdl; 577 hdl = va_arg(ap, uint32_t); 596 if (hdl == 0) { 612 cto->ct_syshandle = hdl;
|
/freebsd-11.0-release/contrib/ncurses/ncurses/win32con/ |
H A D | win_driver.c | 48 #define okConsoleHandle(TCB) (TCB != 0 && !InvalidConsoleHandle(TCB->hdl)) 205 return WriteConsoleOutputW(TCB->hdl, ci, siz, loc, &rec); 246 return WriteConsoleOutput(TCB->hdl, ci, siz, loc, &rec); 333 if (PropOf(TCB)->lastOut != TCB->hdl) { 334 PropOf(TCB)->lastOut = TCB->hdl; 554 if (GetConsoleScreenBufferInfo(TCB->hdl, &(p->SBI))) { 596 SetConsoleTextAttribute(TCB->hdl, a); 609 SetConsoleTextAttribute(TCB->hdl, a); 742 PropOf(TCB)->lastOut = progFlag ? TCB->hdl : TCB->out; 883 if (ReadConsoleOutput(TCB->hdl, [all...] |