Home
last modified time | relevance | path

Searched refs:__acquire (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/linux/tools/include/linux/
H A Dcompiler_types.h21 # define __acquire(x) __context__(x,1) macro
23 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0)
29 # define __acquire(x) (void)0 macro
/openbmc/linux/include/linux/
H A Dbit_spinlock.h35 __acquire(bitlock); in bit_spin_lock()
50 __acquire(bitlock); in bit_spin_trylock()
H A Dcompiler_types.h33 # define __acquire(x) __context__(x,1) macro
35 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0)
61 # define __acquire(x) (void)0 macro
H A Drwlock.h39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while…
42 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi…
H A Drcupdate.h785 __acquire(RCU); in rcu_read_lock()
839 __acquire(RCU_BH); in rcu_read_lock_bh()
877 __acquire(RCU_SCHED); in rcu_read_lock_sched()
887 __acquire(RCU_SCHED); in rcu_read_lock_sched_notrace()
H A Dspinlock_api_up.h28 do { __acquire(lock); (void)(lock); } while (0)
H A Dspinlock.h186 __acquire(lock); in do_raw_spin_lock()
/openbmc/linux/lib/
H A Donce.c52 __acquire(once_lock); in __do_once_start()
82 __acquire(once_mutex); in __do_once_sleepable_start()
/openbmc/u-boot/include/linux/
H A Dcompiler.h16 # define __acquire(x) __context__(x,1) macro
18 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0)
41 # define __acquire(x) (void)0 macro
/openbmc/linux/security/landlock/
H A Dobject.c59 __acquire(&object->lock); in landlock_put_object()
/openbmc/linux/drivers/clk/
H A Dclk-fractional-divider.c80 __acquire(fd->lock); in clk_fd_get_div()
188 __acquire(fd->lock); in clk_fd_set_rate()
H A Dclk-multiplier.c136 __acquire(mult->lock); in clk_multiplier_set_rate()
H A Dclk-gate.c68 __acquire(gate->lock); in clk_gate_endisable()
H A Dclk-milbeaut.c302 __acquire(mux->lock); in m10v_mux_set_parent()
427 __acquire(divider->lock); in m10v_clk_divider_set_rate()
H A Dclk-mux.c109 __acquire(mux->lock); in clk_mux_set_parent()
H A Dclk-xgene.c247 __acquire(fd->lock); in xgene_clk_pmd_recalc_rate()
318 __acquire(fd->lock); in xgene_clk_pmd_set_rate()
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mux.c41 __acquire(mux->lock); in mtk_clk_mux_enable_setclr()
105 __acquire(mux->lock); in mtk_clk_mux_set_parent_setclr_lock()
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-btree.h22 # define __dm_bless_for_disk(x) __acquire(x)
/openbmc/linux/fs/erofs/
H A Dpcpubuf.c32 __acquire(pcb->lock); in erofs_get_pcpubuf()
/openbmc/linux/drivers/clk/meson/
H A Dclk-mpll.c122 __acquire(mpll->lock); in mpll_set_rate()
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c1377 __acquire(&send_cq->lock); in hns_roce_lock_cqs()
1378 __acquire(&recv_cq->lock); in hns_roce_lock_cqs()
1381 __acquire(&recv_cq->lock); in hns_roce_lock_cqs()
1384 __acquire(&send_cq->lock); in hns_roce_lock_cqs()
1387 __acquire(&recv_cq->lock); in hns_roce_lock_cqs()
/openbmc/linux/drivers/clk/rockchip/
H A Dclk-half-divider.c123 __acquire(divider->lock); in clk_half_divider_set_rate()
/openbmc/linux/fs/jbd2/
H A Dtransaction.c242 __acquire(&journal->j_state_lock); /* fake out sparse */ in add_transaction_credits()
271 __acquire(&journal->j_state_lock); /* fake out sparse */ in add_transaction_credits()
276 __acquire(&journal->j_state_lock); /* fake out sparse */ in add_transaction_credits()
300 __acquire(&journal->j_state_lock); /* fake out sparse */ in add_transaction_credits()
318 __acquire(&journal->j_state_lock); /* fake out sparse */ in add_transaction_credits()
/openbmc/linux/Documentation/locking/
H A Dlockstat.rst24 __acquire
/openbmc/linux/drivers/base/power/
H A Dclock_ops.c137 __acquire(&psd->lock); in pm_clk_op_unlock()

123