Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio.kshlib62 function get_zpool_status_chksum_verify_failures # pool_name vdev_type
65 typeset vdev_type=$2
67 if [[ "$vdev_type" == "stripe" ]]; then
70 elif [[ "$vdev_type" == "mirror" || "$vdev_type" == "raidz" ||
71 "$vdev_type" == "draid" ]]; then
73 awk -v d="$vdev_type" '$0 ~ d {print $6}' )
76 get_zpool_status_chksum_verify_failures(): $vdev_type"
100 function check_dio_chksum_verify_failures # pool vdev_type op expect_errors
103 typeset vdev_type
[all...]
H A Ddio_read_verify.ksh62 typeset vdev_type=$type
63 if [[ "${vdev_type}" == "" ]]; then
64 vdev_type="stripe"
68 ${vdev_type}"
103 check_dio_chksum_verify_failures "$TESTPOOL1" "$vdev_type" 1 "rd"
/freebsd/sys/contrib/openzfs/cmd/zpool_influxdb/
H A Dzpool_influxdb.c267 const char *vdev_type = "unknown"; in get_vdev_name() local
268 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_name()
276 vdev_type); in get_vdev_name()
280 parent_name, vdev_type, (u_longlong_t)vdev_id); in get_vdev_name()
302 const char *vdev_type = "unknown"; in get_vdev_desc() local
305 (void) nvlist_lookup_string(nvroot, ZPOOL_CONFIG_TYPE, &vdev_type); in get_vdev_desc()
310 s = escape_string(vdev_type); in get_vdev_desc()
315 t = escape_string(vdev_type); in get_vdev_desc()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Drebuild_raidz.ksh53 for vdev_type in "raidz" "raidz2" "raidz3"; do
54 log_must zpool create -f $TESTPOOL1 $vdev_type ${VDEV_FILES[@]}
/freebsd/cddl/usr.sbin/zfsd/
H A Dcase_file.cc520 const char *devPath, *poolname, *vdev_type; in ActivateSpare() local
603 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_TYPE, &vdev_type); in ActivateSpare()
611 return (Replace(vdev_type, devPath, /*isspare*/true)); in ActivateSpare()
1125 CaseFile::Replace(const char* vdev_type, const char* path, bool isspare) { in Replace() argument
1177 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()
H A Dwmi.h2708 __le32 vdev_type; member
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c1558 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath11k_mac_setup_bcn_tmpl()
2589 switch (arvif->vdev_type) { in ath11k_peer_assoc_h_qos()
2896 arvif->vdev_type == WMI_VDEV_TYPE_AP) in ath11k_mac_set_he_txbf_conf()
4244 else if (arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath11k_mac_op_set_key()
4878 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath11k_mac_inc_num_stations()
4896 if (arvif->vdev_type == WMI_VDEV_TYPE_STA && !sta->tdls) in ath11k_mac_dec_num_stations()
4971 arvif->vdev_type != WMI_VDEV_TYPE_AP) { in ath11k_mac_station_add()
5284 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath11k_conf_tx_uapsd()
5487 arvif->vdev_type == WMI_VDEV_TYPE_AP) in ath11k_mac_set_txbf_conf()
5497 arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath11k_mac_set_txbf_conf()
[all …]
H A Dwow.c347 switch (arvif->vdev_type) { in ath11k_vif_wow_set_wakeups()
488 switch (arvif->vdev_type) { in ath11k_vif_wow_clean_nlo()
580 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath11k_wow_arp_ns_offload()
603 if (arvif->vdev_type != WMI_VDEV_TYPE_STA || in ath11k_gtk_rekey_offload()
H A Dcore.h337 enum wmi_vdev_type vdev_type; member
H A Ddp.c988 switch (arvif->vdev_type) { in ath11k_dp_update_vdev_search()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dmac.c1512 if (arvif->vdev_type == WMI_VDEV_TYPE_AP) { in ath10k_vdev_start_restart()
1520 } else if (arvif->vdev_type == WMI_VDEV_TYPE_IBSS) { in ath10k_vdev_start_restart()
1638 if (arvif->vdev_type != WMI_VDEV_TYPE_AP && in ath10k_mac_setup_bcn_tmpl()
1639 arvif->vdev_type != WMI_VDEV_TYPE_IBSS) in ath10k_mac_setup_bcn_tmpl()
1687 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath10k_mac_setup_prb_tmpl()
2001 if (arvif->vdev_type != WMI_VDEV_TYPE_STA) in ath10k_mac_vif_disable_keepalive()
2036 if (arvif->vdev_type != WMI_VDEV_TYPE_AP) in ath10k_mac_vif_ap_csa_count_down()
2668 switch (arvif->vdev_type) { in ath10k_peer_assoc_h_qos()
2916 if (arvif->is_up && arvif->vdev_type == WMI_VDEV_TYPE_STA) in ath10k_mac_is_connected()
5598 arvif->vdev_type = WMI_VDEV_TYPE_STA; in ath10k_add_interface()
[all …]
H A Dwow.c275 switch (arvif->vdev_type) { in ath10k_vif_wow_set_wakeups()
410 switch (arvif->vdev_type) { in ath10k_vif_wow_clean_nlo()
H A Dcore.h580 enum wmi_vdev_type vdev_type; member
H A Dcore.c2849 int vdev_type; in ath10k_core_reset_rx_filter() local
2854 vdev_type = WMI_VDEV_TYPE_STA; in ath10k_core_reset_rx_filter()
2858 ret = ath10k_wmi_vdev_create(ar, vdev_id, vdev_type, vdev_subtype, in ath10k_core_reset_rx_filter()
H A Dwmi-tlv.c2232 enum wmi_vdev_type vdev_type, in ath10k_wmi_tlv_op_gen_vdev_create() argument
2249 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/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/usr.sbin/bsdinstall/scripts/
H A Dzfsboot1750 vdev_type="$ZFSBOOT_VDEV_TYPE"
1753 [ "$vdev_type" = "stripe" ] && vdev_type=
1756 "$vdev_type" $ZFSBOOT_DISKS || continue
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c13070 const char *vdev_type; in vdev_any_spare_replacing() local
13072 (void) nvlist_lookup_string(nv, ZPOOL_CONFIG_TYPE, &vdev_type); in vdev_any_spare_replacing()
13074 if (strcmp(vdev_type, VDEV_TYPE_REPLACING) == 0 || in vdev_any_spare_replacing()
13075 strcmp(vdev_type, VDEV_TYPE_SPARE) == 0 || in vdev_any_spare_replacing()
13076 strcmp(vdev_type, VDEV_TYPE_DRAID_SPARE) == 0) { in vdev_any_spare_replacing()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev.c5524 const char *vdev_type = vd->vdev_ops->vdev_op_type; in vdev_is_bootable() local
5526 if (strcmp(vdev_type, VDEV_TYPE_MISSING) == 0) in vdev_is_bootable()

12