Home
last modified time | relevance | path

Searched refs:vdev_type (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio.kshlib66 typeset vdev_type=$2
68 if [[ "$vdev_type" == "stripe" ]]; then
71 elif [[ "$vdev_type" == "mirror" || "$vdev_type" == "raidz" ||
72 "$vdev_type" == "draid" ]]; then
74 awk -v d="$vdev_type" '$0 ~ d {print $6}' )
77 get_zpool_status_chksum_verify_failures(): $vdev_type"
104 typeset vdev_type=$2
114 $note_str on ZPool: $pool with $vdev_type"
116 status_failures=$(get_zpool_status_chksum_verify_failures $pool $vdev_type)
H A Ddio_read_verify.ksh61 typeset vdev_type=$type
62 if [[ "${vdev_type}" == "" ]]; then
63 vdev_type="stripe"
67 ${vdev_type}"
96 check_dio_chksum_verify_failures "$TESTPOOL1" "$vdev_type" 1 "rd"
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c268 const char *vdev_type = "unknown"; in get_vdev_name() local
269 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_name()
277 vdev_type); in get_vdev_name()
281 parent_name, vdev_type, (u_longlong_t)vdev_id); in get_vdev_name()
303 const char *vdev_type = "unknown"; in get_vdev_desc() local
306 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_desc()
311 s = escape_string(vdev_type); in get_vdev_desc()
316 t = escape_string(vdev_type); in get_vdev_desc()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Drebuild_raidz.ksh54 for vdev_type in "raidz" "raidz2" "raidz3"; do
55 log_must zpool create -f $TESTPOOL1 $vdev_type ${VDEV_FILES[@]}
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dreg.c648 enum wmi_vdev_type vdev_type, in ath11k_reg_build_regd() argument
662 if (vdev_type == WMI_VDEV_TYPE_STA) { in ath11k_reg_build_regd()
883 return arvif->vdev_type; in ath11k_reg_get_ar_vdev_type()
896 enum wmi_vdev_type vdev_type; in ath11k_reg_handle_chan_list() local
956 vdev_type = ath11k_reg_get_ar_vdev_type(ar); in ath11k_reg_handle_chan_list()
960 power_type, vdev_type, intersect); in ath11k_reg_handle_chan_list()
962 regd = ath11k_reg_build_regd(ab, reg_info, intersect, vdev_type, power_type); in ath11k_reg_handle_chan_list()
H A Dreg.h40 enum wmi_vdev_type vdev_type,
H A Dmac.c1646 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath11k_mac_setup_bcn_tmpl()
2681 switch (arvif->vdev_type) { in ath11k_peer_assoc_h_qos()
2988 arvif->vdev_type == WMI_VDEV_TYPE_AP) in ath11k_mac_set_he_txbf_conf()
3498 arvif->vdev_type == WMI_VDEV_TYPE_STA && in ath11k_mac_supports_station_tpc()
4385 else if (arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath11k_mac_op_set_key()
4427 flags, arvif->vdev_type, arvif->num_stations); in ath11k_mac_op_set_key()
5066 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath11k_mac_inc_num_stations()
5085 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath11k_mac_dec_num_stations()
5247 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath11k_conf_tx_uapsd()
5497 arvif->vdev_type == WMI_VDEV_TYPE_AP) in ath11k_mac_set_txbf_conf()
[all …]
H A Dwow.c356 switch (arvif->vdev_type) { in ath11k_vif_wow_set_wakeups()
493 switch (arvif->vdev_type) { in ath11k_vif_wow_clean_nlo()
585 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath11k_wow_arp_ns_offload()
608 if (arvif->vdev_type != WMI_VDEV_TYPE_STA || in ath11k_gtk_rekey_offload()
H A Dcore.h385 enum wmi_vdev_type vdev_type; member
H A Ddp.c991 switch (arvif->vdev_type) { in ath11k_dp_update_vdev_search()
/freebsd/cddl/usr.sbin/zfsd/
H A Dcase_file.cc530 const char *devPath, *poolname, *vdev_type; in ActivateSpare() local
613 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_TYPE, &vdev_type); in ActivateSpare()
621 return (Replace(vdev_type, devPath, /*isspare*/true)); in ActivateSpare()
1139 CaseFile::Replace(const char* vdev_type, const char* path, bool isspare) { in Replace() argument
1191 if (nvlist_add_string(newvd, ZPOOL_CONFIG_TYPE, vdev_type) != 0 in Replace()
H A Dcase_file.h369 bool Replace(const char* vdev_type, const char* path, bool isspare);
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c1132 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath12k_mac_setup_bcn_tmpl()
1798 switch (arvif->vdev_type) { in ath12k_peer_assoc_h_qos()
3182 else if (arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath12k_mac_op_set_key()
3609 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath12k_mac_inc_num_stations()
3627 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath12k_mac_dec_num_stations()
3692 arvif->vdev_type != WMI_VDEV_TYPE_AP) { in ath12k_mac_station_add()
3965 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath12k_conf_tx_uapsd()
4166 arvif->vdev_type == WMI_VDEV_TYPE_AP) in ath12k_mac_set_txbf_conf()
4174 arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath12k_mac_set_txbf_conf()
5176 arg->type = arvif->vdev_type; in ath12k_mac_setup_vdev_create_arg()
[all …]
H A Dcore.h213 enum wmi_vdev_type vdev_type; member
H A Ddp.c1092 switch (arvif->vdev_type) { in ath12k_dp_update_vdev_search()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c1536 if (arvif->vdev_type == WMI_VDEV_TYPE_AP) { in ath10k_vdev_start_restart()
1544 } else if (arvif->vdev_type == WMI_VDEV_TYPE_IBSS) { in ath10k_vdev_start_restart()
1662 if (arvif->vdev_type != WMI_VDEV_TYPE_AP && in ath10k_mac_setup_bcn_tmpl()
1663 arvif->vdev_type != WMI_VDEV_TYPE_IBSS) in ath10k_mac_setup_bcn_tmpl()
1711 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath10k_mac_setup_prb_tmpl()
2025 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath10k_mac_vif_disable_keepalive()
2060 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath10k_mac_vif_ap_csa_count_down()
2692 switch (arvif->vdev_type) { in ath10k_peer_assoc_h_qos()
2940 if (arvif->is_up && arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath10k_mac_is_connected()
5628 arvif->vdev_type = WMI_VDEV_TYPE_STA; in ath10k_add_interface()
[all …]
H A Dwow.c276 switch (arvif->vdev_type) { in ath10k_vif_wow_set_wakeups()
411 switch (arvif->vdev_type) { in ath10k_vif_wow_clean_nlo()
H A Dcore.h584 enum wmi_vdev_type vdev_type; member
H A Dcore.c2911 int vdev_type; in ath10k_core_reset_rx_filter() local
2916 vdev_type = WMI_VDEV_TYPE_STA; in ath10k_core_reset_rx_filter()
2920 ret = ath10k_wmi_vdev_create(ar, vdev_id, vdev_type, vdev_subtype, in ath10k_core_reset_rx_filter()
H A Dwmi-tlv.c2237 enum wmi_vdev_type vdev_type, in ath10k_wmi_tlv_op_gen_vdev_create() argument
2254 cmd->vdev_type = __cpu_to_le32(vdev_type); in ath10k_wmi_tlv_op_gen_vdev_create()
/freebsd/sys/dev/hptrr/
H A Dldm.h338 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dzfsboot1634 vdev_type="$ZFSBOOT_VDEV_TYPE"
1637 [ "$vdev_type" = "stripe" ] && vdev_type=
1640 "$vdev_type" $ZFSBOOT_DISKS || continue
/freebsd/sys/dev/hpt27xx/
H A Dldm.h344 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd/sys/dev/hptnr/
H A Dldm.h343 #define mIsArray(vdev_type) ((vdev_type)>VD_PARTITION) argument
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c13256 const char *vdev_type; in vdev_any_spare_replacing() local
13258 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing()
13260 if (strcmp(vdev_type, VDEV_TYPE_REPLACING) == 0 || in vdev_any_spare_replacing()
13261 strcmp(vdev_type, VDEV_TYPE_SPARE) == 0 || in vdev_any_spare_replacing()
13262 strcmp(vdev_type, VDEV_TYPE_DRAID_SPARE) == 0) { in vdev_any_spare_replacing()

12