| /dpdk/lib/eal/x86/include/ |
| H A D | rte_spinlock.h | 39 : [locked] "=m" (sl->locked), [lv] "=q" (lock_val) in rte_spinlock_lock() 50 : [locked] "=m" (sl->locked), [ulv] "=q" (unlock_val) in rte_spinlock_unlock() 62 : [locked] "=m" (sl->locked), [lockval] "=q" (lockval) in rte_spinlock_trylock() 125 if (likely(rte_try_tm(&sl->locked))) in rte_spinlock_lock_tm() 134 if (likely(rte_try_tm(&sl->locked))) in rte_spinlock_trylock_tm() 143 if (unlikely(sl->locked)) in rte_spinlock_unlock_tm() 152 if (likely(rte_try_tm(&slr->sl.locked))) in rte_spinlock_recursive_lock_tm() 161 if (unlikely(slr->sl.locked)) in rte_spinlock_recursive_unlock_tm() 170 if (likely(rte_try_tm(&slr->sl.locked))) in rte_spinlock_recursive_trylock_tm()
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_spinlock.h | 31 volatile int locked; /**< lock status 0 = unlocked, 1 = locked */ member 48 sl->locked = 0; in rte_spinlock_init() 66 while (!__atomic_compare_exchange_n(&sl->locked, &exp, 1, 0, in rte_spinlock_lock() 68 rte_wait_until_equal_32((volatile uint32_t *)&sl->locked, in rte_spinlock_lock() 88 __atomic_store_n(&sl->locked, 0, __ATOMIC_RELEASE); in rte_spinlock_unlock() 109 return __atomic_compare_exchange_n(&sl->locked, &exp, 1, in rte_spinlock_trylock() 125 return __atomic_load_n(&sl->locked, __ATOMIC_ACQUIRE); in rte_spinlock_is_locked()
|
| H A D | rte_mcslock.h | 32 int locked; /* 1 if the queue locked, 0 otherwise */ member 52 __atomic_store_n(&me->locked, 1, __ATOMIC_RELAXED); in rte_mcslock_lock() 87 rte_wait_until_equal_32((uint32_t *)&me->locked, 0, __ATOMIC_ACQUIRE); in rte_mcslock_lock() 126 __atomic_store_n(&me->next->locked, 0, __ATOMIC_RELEASE); in rte_mcslock_unlock()
|
| /dpdk/lib/eal/ppc/include/ |
| H A D | rte_spinlock.h | 24 while (__sync_lock_test_and_set(&sl->locked, 1)) in rte_spinlock_lock() 25 while (sl->locked) in rte_spinlock_lock() 32 __sync_lock_release(&sl->locked); in rte_spinlock_unlock() 38 return __sync_lock_test_and_set(&sl->locked, 1) == 0; in rte_spinlock_trylock()
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_tunnel.c | 540 boolean_t locked = B_FALSE; in efx_tunnel_reconfigure() local 554 locked = B_TRUE; in efx_tunnel_reconfigure() 568 locked = B_FALSE; in efx_tunnel_reconfigure() 577 locked = B_TRUE; in efx_tunnel_reconfigure() 614 locked = B_FALSE; in efx_tunnel_reconfigure() 621 EFSYS_ASSERT(locked == B_FALSE); in efx_tunnel_reconfigure() 634 if (locked) in efx_tunnel_reconfigure()
|
| H A D | ef10_filter.c | 847 boolean_t locked = B_FALSE; in ef10_filter_add_internal() local 867 locked = B_TRUE; in ef10_filter_add_internal() 886 locked = B_FALSE; in ef10_filter_add_internal() 930 locked = B_FALSE; in ef10_filter_add_internal() 940 locked = B_TRUE; in ef10_filter_add_internal() 952 locked = B_FALSE; in ef10_filter_add_internal() 1001 if (locked) in ef10_filter_add_internal() 1157 boolean_t locked = B_FALSE; in ef10_filter_delete() local 1164 locked = B_TRUE; in ef10_filter_delete() 1183 locked = B_FALSE; in ef10_filter_delete() [all …]
|
| H A D | efx_ev.c | 1250 unsigned int locked; in siena_ev_qmoderate() local 1276 locked = (eep->ee_index == 0) ? 1 : 0; in siena_ev_qmoderate() 1279 eep->ee_index, &dword, locked); in siena_ev_qmoderate()
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_82599.h | 33 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val); 34 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 reg_val, bool locked);
|
| H A D | ixgbe_82599.c | 217 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) in prot_autoc_read_82599() argument 221 *locked = false; in prot_autoc_read_82599() 229 *locked = true; in prot_autoc_read_82599() 246 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) in prot_autoc_write_82599() argument 258 if (!locked && ixgbe_verify_lesm_fw_enabled_82599(hw)) { in prot_autoc_write_82599() 264 locked = true; in prot_autoc_write_82599() 274 if (locked) in prot_autoc_write_82599()
|
| H A D | ixgbe_common.c | 203 bool locked = false; in ixgbe_setup_fc_generic() local 230 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, ®_bp); in ixgbe_setup_fc_generic() 333 ret_val = hw->mac.ops.prot_autoc_write(hw, reg_bp, locked); in ixgbe_setup_fc_generic() 3356 *locked = false; in prot_autoc_read_generic() 3372 UNREFERENCED_1PARAMETER(locked); in prot_autoc_write_generic() 3429 bool locked = false; in ixgbe_blink_led_start_generic() local 3443 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, &autoc_reg); in ixgbe_blink_led_start_generic() 3450 ret_val = hw->mac.ops.prot_autoc_write(hw, autoc_reg, locked); in ixgbe_blink_led_start_generic() 3477 bool locked = false; in ixgbe_blink_led_stop_generic() local 3485 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, &autoc_reg); in ixgbe_blink_led_stop_generic() [all …]
|
| H A D | ixgbe_common.h | 94 s32 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked);
|
| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_phy.c | 720 if (!locked) { in __e1000_read_phy_reg_igp() 737 if (!locked) in __e1000_read_phy_reg_igp() 789 if (!locked) { in __e1000_write_phy_reg_igp() 806 if (!locked) in __e1000_write_phy_reg_igp() 858 if (!locked) { in __e1000_read_kmrn_reg() 879 if (!locked) in __e1000_read_kmrn_reg() 933 if (!locked) { in __e1000_write_kmrn_reg() 951 if (!locked) in __e1000_write_kmrn_reg() 3568 if (!locked) in __e1000_read_phy_reg_hv() 3695 if (!locked) in __e1000_write_phy_reg_hv() [all …]
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.c | 719 if (!locked) { in __igc_read_phy_reg_igp() 736 if (!locked) in __igc_read_phy_reg_igp() 788 if (!locked) { in __igc_write_phy_reg_igp() 805 if (!locked) in __igc_write_phy_reg_igp() 857 if (!locked) { in __igc_read_kmrn_reg() 878 if (!locked) in __igc_read_kmrn_reg() 950 if (!locked) in __igc_write_kmrn_reg() 3611 if (!locked) in __igc_read_phy_reg_hv() 3739 if (!locked) in __igc_write_phy_reg_hv() 4248 if (locked) in igc_read_phy_reg_mphy() [all …]
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.h | 110 s32 txgbe_prot_autoc_read_raptor(struct txgbe_hw *hw, bool *locked, u64 *value); 111 s32 txgbe_prot_autoc_write_raptor(struct txgbe_hw *hw, bool locked, u64 value);
|
| H A D | txgbe_hw.c | 2545 s32 txgbe_prot_autoc_read_raptor(struct txgbe_hw *hw, bool *locked, u64 *value) in txgbe_prot_autoc_read_raptor() argument 2560 if (locked) in txgbe_prot_autoc_read_raptor() 2561 *locked = lock_state; in txgbe_prot_autoc_read_raptor() 2577 s32 txgbe_prot_autoc_write_raptor(struct txgbe_hw *hw, bool locked, u64 autoc) in txgbe_prot_autoc_write_raptor() argument 2589 if (!locked && txgbe_verify_lesm_fw_enabled_raptor(hw)) { in txgbe_prot_autoc_write_raptor() 2595 locked = true; in txgbe_prot_autoc_write_raptor() 2605 if (locked) in txgbe_prot_autoc_write_raptor()
|
| H A D | txgbe_type.h | 534 s32 (*prot_autoc_read)(struct txgbe_hw *hw, bool *locked, u64 *value); 535 s32 (*prot_autoc_write)(struct txgbe_hw *hw, bool locked, u64 value);
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.h | 183 u32 locked:1; /* filter is administratively locked */ member
|
| H A D | cxgbe_filter.c | 160 if (f->locked) in writable_filter()
|
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_hw_types.h | 297 u8 locked; /* (VDEV only) */ member
|
| /dpdk/drivers/net/enic/base/ |
| H A D | vnic_dev.c | 69 int locked; member 102 vdev->locked = 0; in vnic_register_lock()
|
| /dpdk/doc/guides/howto/ |
| H A D | pvp_reference_benchmark.rst | 229 <locked/>
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | l2_forward_job_stats.rst | 266 First infinite for loop is to minimize impact of stats reading. Lock is only locked/unlocked when a…
|
| /dpdk/doc/guides/linux_gsg/ |
| H A D | linux_drivers.rst | 176 mappings is limited by kernel with user locked memory limit of a process (rlimit)
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | env_abstraction_layer.rst | 263 it is opened and locked for the entire time the hugepage is used. 301 (the limit of locked memory amount, ``MEMLOCK``, still applies).
|
| /dpdk/doc/guides/nics/ |
| H A D | enic.rst | 591 it may be necessary to increase the maximum locked memory of the user.
|