Home
last modified time | relevance | path

Searched refs:flags2 (Results 1 – 25 of 81) sorted by relevance

1234

/freebsd/tests/sys/file/
H A Dfcntlflags_test.c44 int fd, flags1, flags2, flags3; in subtests() local
69 flags2 = fcntl(fd, F_GETFL); in subtests()
70 if (flags2 == -1) in subtests()
72 else if (flags2 == flags1) in subtests()
78 testnum++, flags1, flags2); in subtests()
79 if (fcntl(fd, F_SETFL, flags2 | O_NONBLOCK) == -1) in subtests()
88 else if (flags3 == (flags2 | O_NONBLOCK)) in subtests()
94 testnum++, flags3, flags2 | O_NONBLOCK); in subtests()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw.c489 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) || in mlx4_QUERY_FUNC_CAP_wrapper()
829 dev_cap->flags2 = 0; in mlx4_QUERY_DEV_CAP()
883 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_XOR; in mlx4_QUERY_DEV_CAP()
885 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS_TOP; in mlx4_QUERY_DEV_CAP()
888 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_RSS; in mlx4_QUERY_DEV_CAP()
902 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FLOWSTATS_EN; in mlx4_QUERY_DEV_CAP()
905 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_FS_EN; in mlx4_QUERY_DEV_CAP()
908 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_UC_MC_SNIFFER; in mlx4_QUERY_DEV_CAP()
911 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_PORT_BEACON; in mlx4_QUERY_DEV_CAP()
914 dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_DMFS_IPOIB; in mlx4_QUERY_DEV_CAP()
[all …]
H A Dmlx4_main.c236 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS) { in mlx4_query_func()
255 if (!(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) || in mlx4_enable_cqe_eqe_stride()
256 !(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE)) in mlx4_enable_cqe_eqe_stride()
264 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
265 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
280 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_CQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
281 dev_cap->flags2 &= ~MLX4_DEV_CAP_FLAG2_EQE_STRIDE; in mlx4_enable_cqe_eqe_stride()
327 if (!(dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_IGNORE_FCS)) in mlx4_enable_ignore_fcs()
332 dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS; in mlx4_enable_ignore_fcs()
339 dev->caps.flags2 &= ~MLX4_DEV_CAP_FLAG2_IGNORE_FCS; in mlx4_enable_ignore_fcs()
[all …]
/freebsd/contrib/pjdfstest/tests/rename/
H A D08.t15 flags2="SF_NOUNLINK SF_APPEND"
20 flags2="SF_NOUNLINK SF_APPEND UF_NOUNLINK UF_APPEND"
50 for flag in ${flags2}; do
H A D07.t15 flags2="SF_NOUNLINK"
20 flags2="SF_NOUNLINK UF_NOUNLINK"
53 for flag in ${flags2}; do
/freebsd/libexec/rc/tests/
H A Drc_subr_test.sh62 ps -p "$(cat "$__pidfile")" -ax -o flags,flags2
64 ps -p "$(cat "$__childpidfile")" -ax -o flags,flags2
102 ps -p "$(cat "$__pidfile")" -ax -o flags,flags2
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_txrx.c447 uint32_t flags2; in bnxt_pkt_get_l2() local
476 flags2 = le32toh(rcph->flags2); in bnxt_pkt_get_l2()
478 if ((flags2 & RX_PKT_CMPL_FLAGS2_META_FORMAT_MASK) == in bnxt_pkt_get_l2()
486 if (flags2 & RX_PKT_CMPL_FLAGS2_IP_CS_CALC) { in bnxt_pkt_get_l2()
491 if (flags2 & (RX_PKT_CMPL_FLAGS2_L4_CS_CALC | in bnxt_pkt_get_l2()
525 uint32_t flags2; in bnxt_pkt_get_tpa() local
556 flags2 = le32toh(tpas->high.flags2); in bnxt_pkt_get_tpa()
557 if ((flags2 & RX_TPA_START_CMPL_FLAGS2_META_FORMAT_MASK) == in bnxt_pkt_get_tpa()
566 if (flags2 & RX_TPA_START_CMPL_FLAGS2_IP_CS_CALC) { in bnxt_pkt_get_tpa()
570 if (flags2 & RX_TPA_START_CMPL_FLAGS2_L4_CS_CALC) { in bnxt_pkt_get_tpa()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_capa.c569 capa->flags2 |= WPA_DRIVER_FLAGS2_BEACON_RATE_HE; in wiphy_info_ext_feature_flags()
604 capa->flags2 |= WPA_DRIVER_FLAGS2_SAE_OFFLOAD_STA; in wiphy_info_ext_feature_flags()
636 capa->flags2 |= WPA_DRIVER_FLAGS2_CONTROL_PORT_RX; in wiphy_info_ext_feature_flags()
640 capa->flags2 |= WPA_DRIVER_FLAGS2_CONTROL_PORT_TX_STATUS; in wiphy_info_ext_feature_flags()
675 capa->flags2 |= WPA_DRIVER_FLAGS2_BEACON_PROTECTION_CLIENT; in wiphy_info_ext_feature_flags()
679 capa->flags2 |= WPA_DRIVER_FLAGS2_OCV; in wiphy_info_ext_feature_flags()
683 capa->flags2 |= WPA_DRIVER_FLAGS2_RADAR_BACKGROUND; in wiphy_info_ext_feature_flags()
687 capa->flags2 |= WPA_DRIVER_FLAGS2_SEC_LTF_STA; in wiphy_info_ext_feature_flags()
688 capa->flags2 |= WPA_DRIVER_FLAGS2_SEC_LTF_AP; in wiphy_info_ext_feature_flags()
693 capa->flags2 |= WPA_DRIVER_FLAGS2_SEC_RTT_STA; in wiphy_info_ext_feature_flags()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_hsi_rdma.h71 u8 flags2; member
128 u8 flags2; member
197 u8 flags2; member
276 u8 flags2; member
347 u8 flags2; member
414 u8 flags2; member
663 u8 flags2; member
823 u8 flags2; member
1079 u8 flags2; member
1183 u8 flags2; member
[all …]
H A Dfcoe_common.h243 u8 flags2; member
300 u8 flags2; member
465 u8 flags2; member
553 u8 flags2; member
635 u8 flags2; member
706 u8 flags2; member
786 u8 flags2; member
853 u8 flags2; member
H A Decore_hsi_roce.h598 u8 flags2; member
703 u8 flags2; member
804 u8 flags2; member
874 u8 flags2; member
958 u8 flags2; member
1188 u8 flags2; member
1510 u8 flags2; member
1842 u8 flags2; member
1963 u8 flags2; member
2080 u8 flags2; member
[all …]
H A Discsi_common.h855 u8 flags2; member
906 u8 flags2; member
953 u8 flags2; member
1037 u8 flags2; member
1120 u8 flags2; member
1184 u8 flags2; member
1244 u8 flags2; member
1919 u8 flags2; member
1999 u8 flags2; member
H A Decore_hsi_iscsi.h105 u8 flags2; member
353 u8 flags2; member
447 u8 flags2; member
618 u8 flags2; member
880 u8 flags2; member
988 u8 flags2; member
H A Decore_hsi_fcoe.h276 u8 flags2; member
517 u8 flags2; member
601 u8 flags2; member
823 u8 flags2; member
1067 u8 flags2; member
1167 u8 flags2; member
H A Decore_hsi_iwarp.h107 u8 flags2; member
355 u8 flags2; member
515 u8 flags2; member
775 u8 flags2; member
1291 u8 flags2; member
1444 u8 flags2; member
H A Decore_hsi_eth.h98 u8 flags2; member
405 u8 flags2; member
506 u8 flags2; member
624 u8 flags2; member
892 u8 flags2; member
1054 u8 flags2; member
1801 u8 flags2; member
2069 u8 flags2; member
2290 u8 flags2; member
2558 u8 flags2; member
H A Decore_hsi_common.h512 u8 flags2; member
766 u8 flags2; member
867 u8 flags2; member
985 u8 flags2; member
1253 u8 flags2; member
1370 u8 flags2; member
/freebsd/sys/netsmb/
H A Dsmb_rq.c109 u_int16_t flags2; in smb_rq_new() local
121 flags2 = vcp->vc_hflags2; in smb_rq_new()
123 flags2 &= ~SMB_FLAGS2_UNICODE; in smb_rq_new()
125 flags2 &= ~SMB_FLAGS2_SECURITY_SIGNATURE; in smb_rq_new()
126 mb_put_uint16le(mbp, flags2); in smb_rq_new()
127 if ((flags2 & SMB_FLAGS2_SECURITY_SIGNATURE) == 0) { in smb_rq_new()
/freebsd/sbin/camcontrol/
H A Dpersist.c267 (cap->flags2 & SPRI_ALLOW_CMD_MASK) >> SPRI_ALLOW_CMD_SHIFT); in persist_print_cap()
274 switch (cap->flags2 & SPRI_ALLOW_CMD_MASK) { in persist_print_cap()
337 (cap->flags2 & SPRI_ALLOW_CMD_MASK) >> in persist_print_cap()
342 (cap->flags2 & SPRI_PTPL_A) ? 1 : 0); in persist_print_cap()
344 && (cap->flags2 & SPRI_TMV)) { in persist_print_cap()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac3_mac.c66 .flags2 = HE_BITS(MU_FLAGS2_BW_FROM_SIG_A_BW_KNOWN), in mt76_connac3_mac_decode_he_mu_radiotap()
79 he_mu->flags2 |= MU_PREP(FLAGS2_BW_FROM_SIG_A_BW, status->bw) | in mt76_connac3_mac_decode_he_mu_radiotap()
/freebsd/contrib/ofed/libmlx4/
H A Dwqe.h142 uint32_t flags2; member
H A Dqp.c132 bseg->flags2 = 0; in set_bind_seg()
134 bseg->flags2 |= htobe32(MLX4_WQE_BIND_TYPE_2); in set_bind_seg()
136 bseg->flags2 |= htobe32(MLX4_WQE_BIND_ZERO_BASED); in set_bind_seg()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhw.c1145 return (resp->data_tx_completion.flags2 & HTT_TX_CMPL_FLAG_DATA_RSSI); in ath10k_htt_tx_rssi_enable()
1150 return (resp->data_tx_completion.flags2 & in ath10k_htt_tx_rssi_enable_wcn3990()
1159 if (resp->data_tx_completion.flags2 & HTT_TX_DATA_APPEND_RETRIES) in ath10k_get_htt_tx_data_rssi_pad()
1163 if (resp->data_tx_completion.flags2 & HTT_TX_DATA_APPEND_TIMESTAMP) in ath10k_get_htt_tx_data_rssi_pad()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_resources.c68 (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_LB_SRC_CHK) && in mlx4_en_fill_qp_context()
/freebsd/sys/dev/irdma/
H A Dirdma_utils.c2409 unsigned long flags2; in irdma_generate_flush_completions() local
2411 spin_lock_irqsave(&iwqp->lock, flags2); in irdma_generate_flush_completions()
2415 spin_unlock_irqrestore(&iwqp->lock, flags2); in irdma_generate_flush_completions()
2443 spin_unlock_irqrestore(&iwqp->lock, flags2); in irdma_generate_flush_completions()
2456 unsigned long flags2; in irdma_generate_flush_completions() local
2458 spin_lock_irqsave(&iwqp->lock, flags2); in irdma_generate_flush_completions()
2462 spin_unlock_irqrestore(&iwqp->lock, flags2); in irdma_generate_flush_completions()
2485 spin_unlock_irqrestore(&iwqp->lock, flags2); in irdma_generate_flush_completions()

1234