Home
last modified time | relevance | path

Searched refs:acquire (Results 1 – 25 of 257) sorted by relevance

1234567891011

/OK3568_Linux_fs/kernel/tools/memory-model/
H A Dlinux-kernel.def14 smp_load_acquire(X) __load{acquire}(*X)
33 xchg_acquire(X,V) __xchg{acquire}(X,V)
36 cmpxchg_acquire(X,V,W) __cmpxchg{acquire}(X,V,W)
70 atomic_add_return_acquire(V,X) __atomic_op_return{acquire}(X,+,V)
74 atomic_fetch_add_acquire(V,X) __atomic_fetch_op{acquire}(X,+,V)
79 atomic_inc_return_acquire(X) __atomic_op_return{acquire}(X,+,1)
83 atomic_fetch_inc_acquire(X) __atomic_fetch_op{acquire}(X,+,1)
88 atomic_sub_return_acquire(V,X) __atomic_op_return{acquire}(X,-,V)
92 atomic_fetch_sub_acquire(V,X) __atomic_fetch_op{acquire}(X,-,V)
97 atomic_dec_return_acquire(X) __atomic_op_return{acquire}(X,-,1)
[all …]
H A Dlinux-kernel.bell18 'acquire (*smp_load_acquire*) ||
20 instructions R[{'once,'acquire,'noreturn}]
22 instructions RMW[{'once,'acquire,'release}]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Dstop_token121 void acquire()
125 memory_order::acquire,
176 return _M_value.load(memory_order::acquire) & ~_S_locked_bit;
182 return _M_value.load(memory_order::acquire) & _S_stop_requested_bit;
215 // The successful call to _M_try_lock is an acquire operation.
232 auto __old = _M_value.load(memory_order::acquire);
294 auto __old = _M_value.load(memory_order::acquire);
362 __cb->_M_done.acquire();
372 // Returns true if the lock is acquired (with memory order acquire).
377 memory_order __failure = memory_order::acquire) noexcept
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Dstop_token121 void acquire()
125 memory_order::acquire,
176 return _M_value.load(memory_order::acquire) & ~_S_locked_bit;
182 return _M_value.load(memory_order::acquire) & _S_stop_requested_bit;
215 // The successful call to _M_try_lock is an acquire operation.
232 auto __old = _M_value.load(memory_order::acquire);
294 auto __old = _M_value.load(memory_order::acquire);
362 __cb->_M_done.acquire();
372 // Returns true if the lock is acquired (with memory order acquire).
377 memory_order __failure = memory_order::acquire) noexcept
[all …]
/OK3568_Linux_fs/kernel/tools/memory-model/litmus-tests/
H A DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus6 * This litmus test demonstrates that a release-acquire chain suffices
8 * that the release-acquire chain suffices is because in all but one
11 * (AKA non-rf) link, so release-acquire is all that is needed.
H A DREADME46 and load-acquire replaced with READ_ONCE().
49 Can a release-acquire chain order a prior store against
58 Does a release-acquire pair suffice for the load-buffering
64 and load-acquire replaced with READ_ONCE().
71 in one process, and use an acquire load followed by a pair of
76 acquire load followed by a pair of spin_is_locked() calls
87 As below, but with a release-acquire chain.
126 As below, but without the smp_wmb() and acquire load.
129 Can a smp_wmb(), instead of a release, and an acquire order
149 Is the ordering provided by a release-acquire chain sufficient
[all …]
H A DS+fencewmbonceonce+poacquireonce.litmus6 * Can a smp_wmb(), instead of a release, and an acquire order a prior
H A DLB+poacquireonce+pooncerelease.litmus6 * Does a release-acquire pair suffice for the load-buffering litmus
H A DS+poonceonces.litmus6 * Starting with a two-process release-acquire chain ordering P0()'s
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dfutex-requeue-pi.rst91 to be able to acquire the rt_mutex before returning to user space.
93 acquire the rt_mutex as it would open a race window between the
99 allow the requeue code to acquire an uncontended rt_mutex on behalf
115 requeueing, futex_requeue() attempts to acquire the requeue target
127 tasks as it can acquire the lock for, which in the majority of cases
129 either pthread_cond_broadcast() or pthread_cond_signal() acquire the
H A Dww-mutex-design.rst64 trying to acquire locks doesn't grab a new reservation id, but keeps the one it
66 acquire context. Furthermore the acquire context keeps track of debugging state
67 to catch w/w mutex interface abuse. An acquire context is representing a
71 w/w mutexes, since it is required to initialize the acquire context. The lock
74 Furthermore there are three different class of w/w lock acquire functions:
99 * Functions to only acquire a single w/w mutex, which results in the exact same
103 Again this is not strictly required. But often you only want to acquire a
104 single lock in which case it's pointless to set up an acquire context (and so
119 Three different ways to acquire locks within the same w/w class. Common
344 (1) Waiters with an acquire context are sorted by stamp order; waiters
[all …]
/OK3568_Linux_fs/kernel/Documentation/litmus-tests/atomic/
H A DAtomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus1 C Atomic-RMW+mb__after_atomic-is-stronger-than-acquire
7 * stronger than a normal acquire: both the read and write parts of
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c226 struct vfpf_acquire_tlv *req = &bp->vf2pf_mbox->req.acquire; in bnx2x_vfpf_acquire()
1363 struct vfpf_acquire_tlv *acquire) in bnx2x_vf_mbx_is_windows_vm() argument
1370 if (!acquire->bulletin_addr || in bnx2x_vf_mbx_is_windows_vm()
1371 acquire->resc_request.num_mc_filters == 32 || in bnx2x_vf_mbx_is_windows_vm()
1372 ((acquire->vfdev_info.vf_os & VF_OS_MASK) == in bnx2x_vf_mbx_is_windows_vm()
1391 if (bnx2x_vf_mbx_is_windows_vm(bp, &mbx->msg->req.acquire)) in bnx2x_vf_mbx_acquire_chk_dorq()
1401 struct vfpf_acquire_tlv *acquire = &mbx->msg->req.acquire; in bnx2x_vf_mbx_acquire() local
1406 vf->abs_vfid, acquire->vfdev_info.vf_id, acquire->vfdev_info.vf_os, in bnx2x_vf_mbx_acquire()
1407 acquire->resc_request.num_rxqs, acquire->resc_request.num_txqs, in bnx2x_vf_mbx_acquire()
1408 acquire->resc_request.num_sbs, acquire->resc_request.num_mac_filters, in bnx2x_vf_mbx_acquire()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_i225.c200 status = hw->nvm.ops.acquire(hw); in igc_read_nvm_srrd_i225()
298 status = hw->nvm.ops.acquire(hw); in igc_write_nvm_srwr_i225()
324 status = hw->nvm.ops.acquire(hw); in igc_validate_nvm_checksum_i225()
419 ret_val = hw->nvm.ops.acquire(hw); in igc_update_nvm_checksum_i225()
478 nvm->ops.acquire = igc_acquire_nvm_i225; in igc_init_nvm_params_i225()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A Dphy.c250 ret_val = hw->phy.ops.acquire(hw); in e1000e_read_phy_reg_m88()
275 ret_val = hw->phy.ops.acquire(hw); in e1000e_write_phy_reg_m88()
322 if (!hw->phy.ops.acquire) in __e1000e_read_phy_reg_igp()
325 ret_val = hw->phy.ops.acquire(hw); in __e1000e_read_phy_reg_igp()
389 if (!hw->phy.ops.acquire) in __e1000e_write_phy_reg_igp()
392 ret_val = hw->phy.ops.acquire(hw); in __e1000e_write_phy_reg_igp()
457 if (!hw->phy.ops.acquire) in __e1000_read_kmrn_reg()
460 ret_val = hw->phy.ops.acquire(hw); in __e1000_read_kmrn_reg()
530 if (!hw->phy.ops.acquire) in __e1000_write_kmrn_reg()
533 ret_val = hw->phy.ops.acquire(hw); in __e1000_write_kmrn_reg()
[all …]
H A Dich8lan.c216 hw->phy.ops.acquire(hw); in e1000_phy_is_accessible_pchlan()
307 ret_val = hw->phy.ops.acquire(hw); in e1000_init_phy_workarounds_pchlan()
833 ret_val = hw->phy.ops.acquire(hw); in e1000_set_eee_pchlan()
919 ret_val = hw->phy.ops.acquire(hw); in e1000_k1_workaround_lpt_lp()
1138 ret_val = hw->phy.ops.acquire(hw); in e1000_enable_ulp_lpt_lp()
1299 ret_val = hw->phy.ops.acquire(hw); in e1000_disable_ulp_lpt_lp()
1446 ret_val = hw->phy.ops.acquire(hw); in e1000_check_for_copper_link_ich8lan()
1487 ret_val = hw->phy.ops.acquire(hw); in e1000_check_for_copper_link_ich8lan()
1512 ret_val = hw->phy.ops.acquire(hw); in e1000_check_for_copper_link_ich8lan()
2139 ret_val = hw->phy.ops.acquire(hw); in e1000_sw_lcd_config_ich8lan()
[all …]
/OK3568_Linux_fs/kernel/Documentation/litmus-tests/
H A DREADME15 Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus
17 stronger than a normal acquire: both the read and write parts of
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_i210.c200 if (!(hw->nvm.ops.acquire(hw))) { in igb_read_nvm_srrd_i210()
300 if (!(hw->nvm.ops.acquire(hw))) { in igb_write_nvm_srwr_i210()
543 if (!(hw->nvm.ops.acquire(hw))) { in igb_validate_nvm_checksum_i210()
589 if (!(hw->nvm.ops.acquire(hw))) { in igb_update_nvm_checksum_i210()
798 nvm->ops.acquire = igb_acquire_nvm_i210; in igb_init_nvm_params_i210()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Ddirectory-locking.rst11 always acquire the locks in order by increasing address. We'll call
75 attempts to acquire lock on B, A will remain the parent of B until we
76 acquire the lock on B. (Proof: only cross-directory rename can change
91 attempt to acquire some lock and already holds at least one lock. Let's
121 try to acquire lock on descendent before the lock on ancestor.
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Duievent.py74 self.eventQueueLock.acquire()
93 self.eventQueueLock.acquire()
/OK3568_Linux_fs/kernel/Documentation/RCU/
H A DUP.rst60 callback function must acquire this same lock. In this case, if
120 like spin_lock_bh() to acquire the lock. Please note that
131 callbacks acquire locks directly. However, a great many RCU
132 callbacks do acquire locks *indirectly*, for example, via
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmemory.h36 void __iomem *(*acquire)(struct nvkm_memory *); member
70 #define nvkm_kmap(o) (o)->func->acquire(o)
/OK3568_Linux_fs/kernel/tools/memory-model/Documentation/
H A Drecipes.txt195 load buffering, release-acquire chains, store buffering.
213 Release and acquire
237 The init_stack_slab() function in lib/stackdepot.c uses release-acquire
405 Release-acquire chains
408 Release-acquire chains are a low-overhead, flexible, and easy-to-use
464 is that in this version, CPU2() is not part of the release-acquire chain.
467 Despite this limitation, release-acquire chains are low-overhead as
559 release-acquire chain suffices. Both the MP and the ISA2
566 locking and in the release-acquire sections.
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dxfrm_sysctl.rst11 default 30 - hard timeout in seconds for acquire requests
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Das102_fe.h14 int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);

1234567891011