| /freebsd-12.1/sys/ofed/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_multicast.c | 285 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags)) { in ipoib_mcast_sendonly_join() 359 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_complete() 393 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_complete() 461 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join() 478 if (!test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_task() 505 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) in ipoib_mcast_join_task() 512 if (test_bit(IPOIB_MCAST_RUN, &priv->flags)) in ipoib_mcast_join_task() 631 if (!test_bit(IPOIB_FLAG_OPER_UP, &priv->flags) || in ipoib_mcast_send() 668 if (test_bit(IPOIB_MCAST_FLAG_BUSY, &mcast->flags)) in ipoib_mcast_send() 786 if (test_bit(IPOIB_FLAG_UMCAST, &priv->flags) && in ipoib_mcast_restart() [all …]
|
| H A D | ipoib_ib.c | 264 if (test_bit(IPOIB_FLAG_CSUM, &priv->flags) && likely(wc->wc_flags & IB_WC_IP_CSUM_OK)) in ipoib_ib_handle_rx_wc() 358 test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) in ipoib_ib_handle_tx_wc() 586 if (!test_bit(IPOIB_STOP_REAPER, &priv->flags)) in ipoib_reap_ah() 668 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_up() 687 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) { in ipoib_ib_dev_down() 897 if (!test_bit(IPOIB_FLAG_INITIALIZED, &priv->flags)) { in __ipoib_ib_dev_flush() 902 if (!test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) { in __ipoib_ib_dev_flush() 942 if (test_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags)) { in __ipoib_ib_dev_flush() 1002 if (test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) in ipoib_pkey_poll() 1006 if (!test_bit(IPOIB_PKEY_STOP, &priv->flags)) in ipoib_pkey_poll() [all …]
|
| H A D | ipoib_ethtool.c | 52 return test_bit(IPOIB_FLAG_CSUM, &priv->flags) && in ipoib_get_rx_csum() 53 !test_bit(IPOIB_FLAG_ADMIN_CM, &priv->flags); in ipoib_get_rx_csum()
|
| H A D | ipoib_verbs.c | 85 if (!test_bit(IPOIB_PKEY_ASSIGNED, &priv->flags)) in ipoib_init_qp()
|
| H A D | ipoib_main.c | 194 if (!test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) { in ipoib_open() 246 if (!test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) { in ipoib_stop() 873 if (!test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) { in ipoib_detach()
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | dn_sched_prio.c | 60 #define test_bit(ix, pData) ((*pData) & (1<<(ix))) macro 92 if (test_bit(prio, &si->bitmap) == 0) { in prio_enqueue() 177 if (test_bit(prio, &si->bitmap) == 0) { in prio_new_queue()
|
| H A D | dn_sched_qfq.c | 96 static int test_bit(int ix, bitmap *p) in test_bit() function 116 #define test_bit(ix, pData) ((*pData) & (1<<(ix))) macro 768 if (test_bit(grp->index, &q->bitmaps[ER]) &&
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_eq.c | 313 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_get_slave_port_state() 330 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_set_slave_port_state() 348 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state() 376 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in set_and_calc_slave_port_state() 607 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int() 651 if (!test_bit(i, slaves_port.slaves) && !mlx4_is_bonded(dev)) in mlx4_eq_int() 1405 sum += !!test_bit(port - 1, in mlx4_get_eqs_per_port() 1438 if (test_bit(port - 1, in mlx4_assign_eq() 1450 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq() 1463 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq() [all …]
|
| H A D | mlx4_alloc.c | 87 while ((start < nbits) && (test_bit(start, bitmap) || in find_aligned_range() 99 if (test_bit(i, bitmap) || ((u32)i & skip_mask)) { in find_aligned_range() 772 if (db->order == 0 && test_bit(i ^ 1, db->u.pgdir->order0)) { in mlx4_db_free()
|
| H A D | mlx4_cmd.c | 1972 if (test_bit(i, port_qos->priority_bm)) in mlx4_allocate_port_vpps() 2012 if (!test_bit(port - 1, actv_ports.ports)) in mlx4_master_activate_admin_state() 2078 if (!test_bit(port - 1, actv_ports.ports)) in mlx4_master_deactivate_admin_state() 2807 if (test_bit(port - 1, actv_ports.ports)) in mlx4_phys_to_slave_port() 2829 if (test_bit(port - 1, actv_ports.ports)) in mlx4_phys_to_slaves_pport() 2899 if (test_bit(i, port_qos->priority_bm) && max_tx_rate) { in mlx4_set_vport_qos() 2933 test_bit(vf_admin->default_qos, info->priority_bm)) in mlx4_is_vf_vst_and_prio_qos()
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_lib/ |
| H A D | mlx5_gid.c | 59 if (test_bit(MLX5_INTERFACE_STATE_UP, &dev->intf_state)) { in mlx5_core_reserve_gids() 83 …WARN(test_bit(MLX5_INTERFACE_STATE_UP, &dev->intf_state), "Unreserving GIDs when interfaces are up… in mlx5_core_unreserve_gids()
|
| /freebsd-12.1/sys/dev/drm/ |
| H A D | mga_drv.h | 253 if ( test_bit( 0, &dev_priv->prim.wrapped ) ) { \ 267 if ( test_bit( 0, &dev_priv->prim.wrapped ) ) { \ 326 if ( !test_bit( 0, &dev_priv->prim.wrapped ) ) { \
|
| H A D | drm_atomic.h | 70 test_bit(int b, volatile void *p) in test_bit() function
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | i915_gem_tiling.c | 489 (test_bit(m->pindex, obj->bit_17) != 0)) { in i915_gem_object_do_bit_17_swizzle_page() 508 (test_bit(i, obj->bit_17) != 0)) { in i915_gem_object_do_bit_17_swizzle()
|
| /freebsd-12.1/sys/dev/axgbe/ |
| H A D | xgbe_osdep.h | 91 test_bit(int pos, unsigned long *p) in test_bit() function
|
| H A D | xgbe-mdio.c | 991 if (test_bit(XGBE_LINK_ERR, &pdata->dev_state)) { in xgbe_phy_status() 1013 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) in xgbe_phy_status() 1016 if (test_bit(XGBE_LINK_INIT, &pdata->dev_state)) { in xgbe_phy_status()
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_health.c | 434 if (!test_bit(MLX5_DROP_NEW_RECOVERY_WORK, &health->flags)) { in health_care() 463 if (!test_bit(MLX5_DROP_NEW_HEALTH_WORK, &health->flags)) in mlx5_trigger_health_work() 600 if (!test_bit(MLX5_DROP_NEW_WATCHDOG_WORK, &health->flags)) in mlx5_trigger_health_watchdog()
|
| /freebsd-12.1/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_flow_table.c | 649 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_enable_vlan_filter() 661 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_disable_vlan_filter() 676 test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_vlan_rx_add_vid() 691 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_vlan_rx_kill_vid() 1012 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_handle_ifp_addr() 1024 bool rx_mode_enable = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_set_rx_mode_core() 1076 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_set_rx_mode_work()
|
| H A D | mlx5_en_main.c | 625 was_opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_media_change() 647 if (test_bit(MLX5E_STATE_OPENED, &priv->state)) in mlx5e_update_carrier_work() 929 if (test_bit(MLX5E_STATE_OPENED, &priv->state) != 0 && in mlx5e_update_stats_locked() 1042 if (test_bit(MLX5E_STATE_OPENED, &priv->state) != 0) in mlx5e_update_stats_work() 1577 if (test_bit(MLX5E_STATE_OPENED, &priv->state) == 0) in mlx5e_refresh_sq_inline() 2561 if (test_bit(MLX5E_STATE_OPENED, &priv->state) == 0) in mlx5e_refresh_channel_params() 2993 if (test_bit(MLX5E_STATE_OPENED, &priv->state) != 0) in mlx5e_open_locked() 3096 if (test_bit(MLX5E_STATE_OPENED, &priv->state) == 0) in mlx5e_close_locked() 3235 if (test_bit(MLX5E_STATE_OPENED, &priv->state) == 0) in mlx5e_ioctl() 3763 if (test_bit(MLX5E_STATE_OPENED, &priv->state) == 0) in mlx5e_modify_tx_dma() [all …]
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_atomic.h | 74 #define test_bit(b, p) \ macro
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_iwcm.c | 275 !test_bit(IWCM_F_CONNECT_WAIT, &cm_id_priv->flags)); in iw_cm_disconnect() 343 !test_bit(IWCM_F_CONNECT_WAIT, &cm_id_priv->flags)); in destroy_cm_id() 893 if (!test_bit(IWCM_F_DROP_EVENTS, &cm_id_priv->flags)) { in cm_work_handler()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | bitops.h | 275 #define test_bit(i, a) \ macro
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_alias_GUID.c | 96 if (test_bit(i + 4, (unsigned long *)&guid_indexes)) { in mlx4_ib_update_cache_on_guid_change() 217 if (!(test_bit(i + 4, (unsigned long *)&guid_indexes))) in mlx4_ib_notify_slaves_on_guid_change()
|
| /freebsd-12.1/sys/dev/drm2/ttm/ |
| H A D | ttm_bo_vm.c | 156 if (test_bit(TTM_BO_PRIV_FLAG_MOVING, &bo->priv_flags)) { in ttm_bo_vm_fault()
|
| /freebsd-12.1/sys/dev/xen/pcifront/ |
| H A D | pcifront.c | 385 while (test_bit in do_pci_op()
|