Home
last modified time | relevance | path

Searched refs:spinlock_t (Results 1 – 25 of 2656) sorted by relevance

12345678910>>...107

/Linux-v6.6/include/linux/
Dspinlock_rt.h10 extern void __rt_spin_lock_init(spinlock_t *lock, const char *name,
13 static inline void __rt_spin_lock_init(spinlock_t *lock, const char *name, in __rt_spin_lock_init()
35 extern void rt_spin_lock(spinlock_t *lock);
36 extern void rt_spin_lock_nested(spinlock_t *lock, int subclass);
37 extern void rt_spin_lock_nest_lock(spinlock_t *lock, struct lockdep_map *nest_lock);
38 extern void rt_spin_unlock(spinlock_t *lock);
39 extern void rt_spin_lock_unlock(spinlock_t *lock);
40 extern int rt_spin_trylock_bh(spinlock_t *lock);
41 extern int rt_spin_trylock(spinlock_t *lock);
43 static __always_inline void spin_lock(spinlock_t *lock) in spin_lock()
[all …]
Dspinlock.h324 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check()
349 static __always_inline void spin_lock(spinlock_t *lock) in spin_lock()
354 static __always_inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh()
359 static __always_inline int spin_trylock(spinlock_t *lock) in spin_trylock()
374 static __always_inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq()
389 static __always_inline void spin_unlock(spinlock_t *lock) in spin_unlock()
394 static __always_inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh()
399 static __always_inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq()
404 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) in spin_unlock_irqrestore()
409 static __always_inline int spin_trylock_bh(spinlock_t *lock) in spin_trylock_bh()
[all …]
Dspinlock_types.h29 } spinlock_t; typedef
41 (spinlock_t) __SPIN_LOCK_INITIALIZER(lockname)
43 #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
55 } spinlock_t; typedef
70 spinlock_t name = __SPIN_LOCK_UNLOCKED(name)
/Linux-v6.6/tools/virtio/linux/
Dspinlock.h6 typedef pthread_spinlock_t spinlock_t; typedef
8 static inline void spin_lock_init(spinlock_t *lock) in spin_lock_init()
14 static inline void spin_lock(spinlock_t *lock) in spin_lock()
20 static inline void spin_unlock(spinlock_t *lock) in spin_unlock()
26 static inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh()
31 static inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh()
36 static inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq()
41 static inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq()
46 static inline void spin_lock_irqsave(spinlock_t *lock, unsigned long f) in spin_lock_irqsave()
51 static inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long f) in spin_unlock_irqrestore()
/Linux-v6.6/net/batman-adv/
Dtypes.h227 spinlock_t neigh_list_lock;
288 spinlock_t lock;
360 spinlock_t ogm_cnt_lock;
395 spinlock_t mcast_handler_lock;
451 spinlock_t tt_buff_lock;
460 spinlock_t tt_lock;
485 spinlock_t neigh_list_lock;
494 spinlock_t bcast_seqno_lock;
510 spinlock_t in_coding_list_lock;
513 spinlock_t out_coding_list_lock;
[all …]
/Linux-v6.6/drivers/clk/tegra/
Dclk.h123 spinlock_t *lock;
137 u8 frac_width, spinlock_t *lock);
139 void __iomem *reg, spinlock_t *lock);
381 spinlock_t *lock;
407 spinlock_t *lock);
412 spinlock_t *lock);
418 spinlock_t *lock);
424 spinlock_t *lock);
430 spinlock_t *lock);
436 spinlock_t *lock, unsigned long parent_rate);
[all …]
/Linux-v6.6/tools/virtio/ringtest/
Dptr_ring.c22 typedef pthread_spinlock_t spinlock_t; typedef
64 static void spin_lock_init(spinlock_t *lock) in spin_lock_init()
70 static void spin_lock(spinlock_t *lock) in spin_lock()
76 static void spin_unlock(spinlock_t *lock) in spin_unlock()
82 static void spin_lock_bh(spinlock_t *lock) in spin_lock_bh()
87 static void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh()
92 static void spin_lock_irq(spinlock_t *lock) in spin_lock_irq()
97 static void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq()
102 static void spin_lock_irqsave(spinlock_t *lock, unsigned long f) in spin_lock_irqsave()
107 static void spin_unlock_irqrestore(spinlock_t *lock, unsigned long f) in spin_unlock_irqrestore()
/Linux-v6.6/drivers/clk/spear/
Dclk.h52 spinlock_t *lock;
65 spinlock_t *lock;
79 spinlock_t *lock;
96 spinlock_t *lock;
103 spinlock_t *lock;
113 u8 rtbl_cnt, spinlock_t *lock, struct clk **gate_clk);
116 struct frac_rate_tbl *rtbl, u8 rtbl_cnt, spinlock_t *lock);
119 rtbl_cnt, spinlock_t *lock);
124 spinlock_t *lock, struct clk **pll_clk,
/Linux-v6.6/drivers/clk/mmp/
Dclk.h34 spinlock_t *lock;
41 spinlock_t *lock);
96 spinlock_t *lock;
106 spinlock_t *lock);
119 spinlock_t *lock;
127 spinlock_t *lock);
131 unsigned int delay, unsigned int apbc_flags, spinlock_t *lock);
134 spinlock_t *lock);
173 spinlock_t *lock;
189 spinlock_t *lock;
[all …]
/Linux-v6.6/include/target/iscsi/
Discsi_target_core.h448 spinlock_t datain_lock;
449 spinlock_t dataout_timeout_lock;
451 spinlock_t istate_lock;
453 spinlock_t error_lock;
455 spinlock_t r2t_lock;
571 spinlock_t cmd_lock;
572 spinlock_t conn_usage_lock;
573 spinlock_t immed_queue_lock;
574 spinlock_t nopin_timer_lock;
575 spinlock_t response_queue_lock;
[all …]
/Linux-v6.6/drivers/hid/intel-ish-hid/ishtp/
Dishtp-dev.h144 spinlock_t device_lock;
156 spinlock_t read_list_spinlock;
160 spinlock_t cl_list_lock;
165 spinlock_t device_list_lock;
174 spinlock_t rd_msg_spinlock;
180 spinlock_t wr_processing_spinlock;
188 spinlock_t fw_clients_lock;
199 spinlock_t ishtp_dma_tx_lock;
Dclient.h62 spinlock_t free_list_spinlock;
65 spinlock_t in_process_spinlock;
71 spinlock_t tx_list_spinlock;
72 spinlock_t tx_free_list_spinlock;
86 spinlock_t fc_spinlock;
/Linux-v6.6/drivers/clk/stm32/
Dclk-stm32-core.h55 spinlock_t *lock,
98 spinlock_t *lock; /* spin lock */
108 spinlock_t *lock; /* spin lock */
118 spinlock_t *lock; /* spin lock */
130 spinlock_t *lock; /* spin lock */
145 spinlock_t *lock,
151 spinlock_t *lock,
157 spinlock_t *lock,
163 spinlock_t *lock,
/Linux-v6.6/kernel/locking/
Dspinlock_rt.c44 static __always_inline void __rt_spin_lock(spinlock_t *lock) in __rt_spin_lock()
52 void __sched rt_spin_lock(spinlock_t *lock) in rt_spin_lock()
60 void __sched rt_spin_lock_nested(spinlock_t *lock, int subclass) in rt_spin_lock_nested()
67 void __sched rt_spin_lock_nest_lock(spinlock_t *lock, in rt_spin_lock_nest_lock()
76 void __sched rt_spin_unlock(spinlock_t *lock) in rt_spin_unlock()
92 void __sched rt_spin_lock_unlock(spinlock_t *lock) in rt_spin_lock_unlock()
99 static __always_inline int __rt_spin_trylock(spinlock_t *lock) in __rt_spin_trylock()
114 int __sched rt_spin_trylock(spinlock_t *lock) in rt_spin_trylock()
120 int __sched rt_spin_trylock_bh(spinlock_t *lock) in rt_spin_trylock_bh()
133 void __rt_spin_lock_init(spinlock_t *lock, const char *name, in __rt_spin_lock_init()
/Linux-v6.6/fs/btrfs/
Dfs.h282 spinlock_t lock;
283 spinlock_t refill_lock;
319 spinlock_t lock;
380 spinlock_t fs_roots_radix_lock;
455 spinlock_t super_lock;
492 spinlock_t trans_lock;
503 spinlock_t delayed_iput_lock;
518 spinlock_t ordered_root_lock;
530 spinlock_t delalloc_root_lock;
600 spinlock_t defrag_inodes_lock;
[all …]
/Linux-v6.6/include/target/
Dtarget_core_base.h259 spinlock_t lba_map_lock;
263 spinlock_t tg_pt_gps_lock;
277 spinlock_t lu_gp_lock;
286 spinlock_t lu_gp_mem_lock;
306 spinlock_t tg_pt_gp_lock;
336 spinlock_t t10_vpd_lock;
390 spinlock_t registration_lock;
391 spinlock_t aptpl_reg_lock;
519 spinlock_t t_state_lock;
581 spinlock_t nacl_sess_lock;
[all …]
/Linux-v6.6/lib/
Dbucket_locks.c14 int __alloc_bucket_spinlocks(spinlock_t **locks, unsigned int *locks_mask, in __alloc_bucket_spinlocks()
18 spinlock_t *tlocks = NULL; in __alloc_bucket_spinlocks()
33 if (sizeof(spinlock_t) != 0) { in __alloc_bucket_spinlocks()
34 tlocks = kvmalloc_array(size, sizeof(spinlock_t), gfp); in __alloc_bucket_spinlocks()
50 void free_bucket_spinlocks(spinlock_t *locks) in free_bucket_spinlocks()
/Linux-v6.6/Documentation/translations/zh_CN/mm/
Dsplit_page_table_lock.rst87 - 如果spinlock_t适合于long,我们使用page->ptr作为spinlock,这样我们
89 - 如果spinlock_t的大小大于long的大小,我们使用page->ptl作为spinlock_t
93 PTE表的spinlock_t分配在pagetable_pte_ctor()中,PMD表的spinlock_t
/Linux-v6.6/include/drm/
Ddrm_device.h72 spinlock_t lock;
237 spinlock_t vblank_time_lock;
242 spinlock_t vbl_lock;
276 spinlock_t event_lock;
371 spinlock_t buf_lock;
/Linux-v6.6/include/net/
Dgen_stats.h27 spinlock_t * lock;
41 int gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock,
46 spinlock_t *lock, struct gnet_dump *d,
73 spinlock_t *lock,
79 spinlock_t *lock,
/Linux-v6.6/drivers/infiniband/sw/rxe/
Drxe_verbs.h64 spinlock_t cq_lock;
82 spinlock_t sq_lock; /* guard queue */
89 spinlock_t producer_lock; /* guard queue producer */
90 spinlock_t consumer_lock; /* guard queue consumer */
251 spinlock_t state_lock; /* guard requester and completer */
336 spinlock_t lock;
366 spinlock_t port_lock; /* guard port */
391 spinlock_t mcg_lock;
396 spinlock_t pending_lock; /* guard pending_mmaps */
399 spinlock_t mmap_offset_lock; /* guard mmap_offset */
/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.h7 extern spinlock_t globalmutex_power;
8 extern spinlock_t globalmutex_for_fwdownload;
9 extern spinlock_t globalmutex_for_power_and_efuse;
/Linux-v6.6/drivers/staging/gdm724x/
Dgdm_mux.h63 spinlock_t to_host_lock;
64 spinlock_t submit_list_lock;
65 spinlock_t free_list_lock;
81 spinlock_t write_lock;
/Linux-v6.6/Documentation/locking/
Dlocktypes.rst49 - spinlock_t
73 - spinlock_t
109 interrupt handlers and soft interrupts. This conversion allows spinlock_t
192 PREEMPT_RT kernels map local_lock to a per-CPU spinlock_t, thus changing
195 - All spinlock_t changes also apply to local_lock.
205 PREEMPT_RT kernel due to the PREEMPT_RT specific spinlock_t semantics.
208 raw_spinlock_t and spinlock_t
221 spinlock_t section in raw_spinlock_t and spinlock_t
224 The semantics of spinlock_t change with the state of PREEMPT_RT.
226 On a non-PREEMPT_RT kernel spinlock_t is mapped to raw_spinlock_t and has
[all …]
/Linux-v6.6/include/rdma/
Drdma_vt.h38 spinlock_t lock; /* protect changes in this struct */
395 spinlock_t n_pds_lock; /* Protect pd allocated count */
398 spinlock_t n_ahs_lock; /* Protect ah allocated count */
401 spinlock_t n_srqs_lock; /* Protect srqs allocated count */
411 spinlock_t n_qps_lock; /* protect qps, rc qps and busy jiffy counts */
415 spinlock_t mmap_offset_lock; /* protect mmap_offset */
417 spinlock_t pending_lock; /* protect pending mmap list */
421 spinlock_t n_cqs_lock; /* protect count of in use cqs */
425 spinlock_t n_mcast_grps_lock;

12345678910>>...107