| /f-stack/dpdk/lib/librte_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()
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_net.c | 305 int locked; in mac_ifnet_create() local 310 MAC_IFNET_LOCK(ifp, locked); in mac_ifnet_create() 343 int locked; in mac_ifnet_create_mbuf() local 350 MAC_IFNET_LOCK(ifp, locked); in mac_ifnet_create_mbuf() 362 int error, locked; in mac_bpfdesc_check_receive() local 370 MAC_IFNET_LOCK(ifp, locked); in mac_bpfdesc_check_receive() 386 int error, locked; in mac_ifnet_check_transmit() local 395 MAC_IFNET_LOCK(ifp, locked); in mac_ifnet_check_transmit() 411 int error, locked; in mac_ifnet_ioctl_get() local 433 MAC_IFNET_LOCK(ifp, locked); in mac_ifnet_ioctl_get() [all …]
|
| H A D | mac_inet.c | 269 int locked; in mac_netinet_arp_send() local 276 MAC_IFNET_LOCK(ifp, locked); in mac_netinet_arp_send() 279 MAC_IFNET_UNLOCK(ifp, locked); in mac_netinet_arp_send() 314 int locked; in mac_netinet_igmp_send() local 321 MAC_IFNET_LOCK(ifp, locked); in mac_netinet_igmp_send() 324 MAC_IFNET_UNLOCK(ifp, locked); in mac_netinet_igmp_send()
|
| H A D | mac_internal.h | 221 #define MAC_IFNET_LOCK(ifp, locked) do { \ argument 224 locked = 1; \ 226 locked = 0; \ 230 #define MAC_IFNET_UNLOCK(ifp, locked) do { \ argument 231 if (locked) { \ 233 locked = 0; \
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/ |
| H A D | core.c | 40 static volatile int locked; variable 103 assert(locked == 0); in sodium_crit_enter() 104 locked = 1; in sodium_crit_enter() 112 if (locked == 0) { in sodium_crit_leave() 118 locked = 0; in sodium_crit_leave() 134 assert(locked == 0); in sodium_crit_enter() 135 locked = 1; in sodium_crit_enter() 145 if (locked == 0) { in sodium_crit_leave() 151 locked = 0; in sodium_crit_leave()
|
| /f-stack/dpdk/lib/librte_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 while (__atomic_load_n(&sl->locked, __ATOMIC_RELAXED)) in rte_spinlock_lock() 88 __atomic_store_n(&sl->locked, 0, __ATOMIC_RELEASE); in rte_spinlock_unlock() 108 return __atomic_compare_exchange_n(&sl->locked, &exp, 1, in rte_spinlock_trylock() 124 return __atomic_load_n(&sl->locked, __ATOMIC_ACQUIRE); in rte_spinlock_is_locked()
|
| H A D | rte_mcslock.h | 31 int locked; /* 1 if the queue locked, 0 otherwise */ member 51 __atomic_store_n(&me->locked, 1, __ATOMIC_RELAXED); in rte_mcslock_lock() 86 while (__atomic_load_n(&me->locked, __ATOMIC_ACQUIRE)) in rte_mcslock_lock() 124 __atomic_store_n(&me->next->locked, 0, __ATOMIC_RELEASE); in rte_mcslock_unlock()
|
| /f-stack/freebsd/contrib/ck/include/spinlock/ |
| H A D | anderson.h | 42 unsigned int locked; member 64 slots[0].locked = false; in ck_spinlock_anderson_init() 67 slots[i].locked = true; in ck_spinlock_anderson_init() 97 r = ck_pr_load_uint(&lock->slots[position].locked); in ck_spinlock_anderson_locked() 138 while (ck_pr_load_uint(&lock->slots[position].locked) == true) in ck_spinlock_anderson_lock() 142 ck_pr_store_uint(&lock->slots[position].locked, true); in ck_spinlock_anderson_lock() 163 ck_pr_store_uint(&lock->slots[position].locked, false); in ck_spinlock_anderson_unlock()
|
| H A D | mcs.h | 39 unsigned int locked; member 62 node->locked = true; in ck_spinlock_mcs_trylock() 91 node->locked = true; in ck_spinlock_mcs_lock() 107 while (ck_pr_load_uint(&node->locked) == true) in ck_spinlock_mcs_lock() 151 ck_pr_store_uint(&next->locked, false); in ck_spinlock_mcs_unlock()
|
| /f-stack/dpdk/lib/librte_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()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_vfs.c | 55 int locked; in vfs_setmntopt() local 57 if (!(locked = mtx_owned(MNT_MTX(vfsp)))) in vfs_setmntopt() 93 if (!locked) in vfs_setmntopt() 100 int locked; in vfs_clearmntopt() local 102 if (!(locked = mtx_owned(MNT_MTX(vfsp)))) in vfs_clearmntopt() 105 if (!locked) in vfs_clearmntopt()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-mux-gpmux.txt | 31 - mux-locked: If present, explicitly allow unrelated I2C transactions on the 41 If mux-locked is not present, the multiplexer is assumed to be parent-locked. 44 The properties of mux-locked and parent-locked multiplexers are discussed 65 mux-locked;
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_lro.c | 555 if (tp && locked) { in tcp_flush_out_le() 566 if (tp && locked) { in tcp_flush_out_le() 746 if (tp && locked) { in tcp_lro_condense() 750 if (tp && locked) { in tcp_lro_condense() 758 if (tp && locked) { in tcp_lro_condense() 797 if (tp && locked) { in tcp_lro_condense() 836 if (tp && locked) { in tcp_lro_condense() 870 int locked = 0; in tcp_lro_flush() local 943 locked = 1; in tcp_lro_flush() 964 locked = 0; in tcp_lro_flush() [all …]
|
| H A D | tcp_syncache.c | 1147 bool locked; in syncache_expand() local 1156 locked = false; in syncache_expand() 1159 locked = true; in syncache_expand() 1185 if (locked && !V_tcp_syncookies) { in syncache_expand() 1204 if (locked) in syncache_expand() 1470 bool locked; in syncache_add() local 1595 locked = false; in syncache_add() 1598 locked = true; in syncache_add() 1664 if (!locked) { in syncache_add() 1687 KASSERT(locked, in syncache_add() [all …]
|
| /f-stack/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);
|
| /f-stack/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 | 840 boolean_t locked = B_FALSE; in ef10_filter_add_internal() local 860 locked = B_TRUE; in ef10_filter_add_internal() 879 locked = B_FALSE; in ef10_filter_add_internal() 923 locked = B_FALSE; in ef10_filter_add_internal() 933 locked = B_TRUE; in ef10_filter_add_internal() 945 locked = B_FALSE; in ef10_filter_add_internal() 994 if (locked) in ef10_filter_add_internal() 1150 boolean_t locked = B_FALSE; in ef10_filter_delete() local 1157 locked = B_TRUE; in ef10_filter_delete() 1176 locked = B_FALSE; in ef10_filter_delete() [all …]
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_worker.c | 341 int locked; in audit_worker_process_record() local 352 locked = 1; in audit_worker_process_record() 354 locked = 0; in audit_worker_process_record() 424 if (locked) in audit_worker_process_record()
|
| /f-stack/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 …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/clock/ti/ |
| H A D | apll.txt | 7 (reference clock and bypass clock), with analog phase locked 10 modes (locked, low power stop etc.) APLL mostly behaves like
|
| H A D | dpll.txt | 7 (reference clock and bypass clock), with digital phase locked 10 modes (locked, low power stop etc.) This binding has several
|
| /f-stack/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 …]
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.h | 109 s32 txgbe_prot_autoc_read_raptor(struct txgbe_hw *hw, bool *locked, u64 *value); 110 s32 txgbe_prot_autoc_write_raptor(struct txgbe_hw *hw, bool locked, u64 value);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_config.c | 403 boolean_t locked = B_FALSE; in spa_config_generate() local 409 locked = B_TRUE; in spa_config_generate() 534 if (locked) in spa_config_generate()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/nvmem/ |
| H A D | st,stm32-romem.yaml | 10 This represents STM32 Factory-programmed read only non-volatile area: locked
|