/linux-6.1.9/include/linux/ |
D | spinlock_rt.h | 10 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 …]
|
D | spinlock.h | 323 static __always_inline raw_spinlock_t *spinlock_check(spinlock_t *lock) in spinlock_check() 348 static __always_inline void spin_lock(spinlock_t *lock) in spin_lock() 353 static __always_inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh() 358 static __always_inline int spin_trylock(spinlock_t *lock) in spin_trylock() 373 static __always_inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq() 388 static __always_inline void spin_unlock(spinlock_t *lock) in spin_unlock() 393 static __always_inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh() 398 static __always_inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq() 403 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) in spin_unlock_irqrestore() 408 static __always_inline int spin_trylock_bh(spinlock_t *lock) in spin_trylock_bh() [all …]
|
D | spinlock_types.h | 29 } 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-6.1.9/tools/virtio/linux/ |
D | spinlock.h | 6 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-6.1.9/net/batman-adv/ |
D | types.h | 227 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-6.1.9/drivers/clk/tegra/ |
D | clk.h | 123 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-6.1.9/tools/virtio/ringtest/ |
D | ptr_ring.c | 22 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-6.1.9/drivers/clk/spear/ |
D | clk.h | 52 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-6.1.9/drivers/clk/mmp/ |
D | clk.h | 34 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-6.1.9/drivers/hid/intel-ish-hid/ishtp/ |
D | ishtp-dev.h | 144 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;
|
D | client.h | 62 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-6.1.9/include/target/iscsi/ |
D | iscsi_target_core.h | 451 spinlock_t datain_lock; 452 spinlock_t dataout_timeout_lock; 454 spinlock_t istate_lock; 456 spinlock_t error_lock; 458 spinlock_t r2t_lock; 573 spinlock_t cmd_lock; 574 spinlock_t conn_usage_lock; 575 spinlock_t immed_queue_lock; 576 spinlock_t nopin_timer_lock; 577 spinlock_t response_queue_lock; [all …]
|
/linux-6.1.9/drivers/clk/stm32/ |
D | clk-stm32-core.h | 55 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-6.1.9/kernel/locking/ |
D | spinlock_rt.c | 44 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-6.1.9/lib/ |
D | bucket_locks.c | 14 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-6.1.9/include/target/ |
D | target_core_base.h | 257 spinlock_t lba_map_lock; 261 spinlock_t tg_pt_gps_lock; 275 spinlock_t lu_gp_lock; 284 spinlock_t lu_gp_mem_lock; 304 spinlock_t tg_pt_gp_lock; 334 spinlock_t t10_vpd_lock; 388 spinlock_t registration_lock; 389 spinlock_t aptpl_reg_lock; 516 spinlock_t t_state_lock; 578 spinlock_t nacl_sess_lock; [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | split_page_table_lock.rst | 87 - 如果spinlock_t适合于long,我们使用page->ptr作为spinlock,这样我们 89 - 如果spinlock_t的大小大于long的大小,我们使用page->ptl作为spinlock_t 93 PTE表的spinlock_t分配在pgtable_pte_page_ctor()中,PMD表的spinlock_t
|
/linux-6.1.9/include/drm/ |
D | drm_device.h | 72 spinlock_t lock; 221 spinlock_t vblank_time_lock; 226 spinlock_t vbl_lock; 260 spinlock_t event_lock; 340 spinlock_t buf_lock;
|
/linux-6.1.9/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | locks.h | 125 } spinlock_t; typedef 129 #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED 131 static inline void spin_lock_init(spinlock_t *lock) in spin_lock_init() 136 static inline void spin_lock(spinlock_t *lock) in spin_lock() 148 static inline void spin_unlock(spinlock_t *lock) in spin_unlock() 166 static inline bool spin_trylock(spinlock_t *lock) in spin_trylock()
|
/linux-6.1.9/include/net/ |
D | gen_stats.h | 27 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-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.h | 64 spinlock_t cq_lock; 84 spinlock_t sq_lock; /* guard queue */ 91 spinlock_t producer_lock; /* guard queue producer */ 92 spinlock_t consumer_lock; /* guard queue consumer */ 259 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-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.h | 7 extern spinlock_t globalmutex_power; 8 extern spinlock_t globalmutex_for_fwdownload; 9 extern spinlock_t globalmutex_for_power_and_efuse;
|
/linux-6.1.9/drivers/staging/gdm724x/ |
D | gdm_mux.h | 63 spinlock_t to_host_lock; 64 spinlock_t submit_list_lock; 65 spinlock_t free_list_lock; 81 spinlock_t write_lock;
|
D | gdm_usb.h | 71 spinlock_t lock; 79 spinlock_t to_host_lock; 80 spinlock_t rx_lock; 81 spinlock_t submit_lock;
|
/linux-6.1.9/Documentation/locking/ |
D | locktypes.rst | 49 - 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 …]
|