/kernel/linux/linux-5.10/Documentation/i2c/ |
D | i2c-topology.rst | 38 mux-locked or parent-locked muxes. As is evident from below, it can be 39 useful to know if a mux is mux-locked or if it is parent-locked. The 45 i2c-arb-gpio-challenge Parent-locked 46 i2c-mux-gpio Normally parent-locked, mux-locked iff 49 i2c-mux-gpmux Normally parent-locked, mux-locked iff 51 i2c-mux-ltc4306 Mux-locked 52 i2c-mux-mlxcpld Parent-locked 53 i2c-mux-pca9541 Parent-locked 54 i2c-mux-pca954x Parent-locked 55 i2c-mux-pinctrl Normally parent-locked, mux-locked iff [all …]
|
/kernel/linux/linux-4.19/Documentation/i2c/ |
D | i2c-topology | 36 mux-locked or parent-locked muxes. As is evident from below, it can be 37 useful to know if a mux is mux-locked or if it is parent-locked. The 41 i2c-arb-gpio-challenge Parent-locked 42 i2c-mux-gpio Normally parent-locked, mux-locked iff 45 i2c-mux-gpmux Normally parent-locked, mux-locked iff 47 i2c-mux-ltc4306 Mux-locked 48 i2c-mux-mlxcpld Parent-locked 49 i2c-mux-pca9541 Parent-locked 50 i2c-mux-pca954x Parent-locked 51 i2c-mux-pinctrl Normally parent-locked, mux-locked iff [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | ttm_lock.c | 63 bool locked = false; in __ttm_read_lock() local 68 locked = true; in __ttm_read_lock() 71 return locked; in __ttm_read_lock() 86 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock() argument 90 *locked = false; in __ttm_read_trylock() 96 *locked = true; in __ttm_read_trylock() 108 bool locked; in ttm_read_trylock() local 112 (lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock() 114 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock() 117 BUG_ON(locked); in ttm_read_trylock() [all …]
|
/kernel/linux/linux-4.19/drivers/gpu/drm/ttm/ |
D | ttm_lock.c | 68 bool locked = false; in __ttm_read_lock() local 78 locked = true; in __ttm_read_lock() 81 return locked; in __ttm_read_lock() 97 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock() argument 101 *locked = false; in __ttm_read_trylock() 112 *locked = true; in __ttm_read_trylock() 124 bool locked; in ttm_read_trylock() local 128 (lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock() 130 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock() 133 BUG_ON(locked); in ttm_read_trylock() [all …]
|
/kernel/linux/linux-4.19/kernel/locking/ |
D | qspinlock_paravirt.h | 93 (cmpxchg_acquire(&lock->locked, 0, _Q_LOCKED_VAL) == 0)) { in pv_hybrid_queued_unfair_trylock() 123 return !READ_ONCE(lock->locked) && in trylock_clear_pending() 304 if (READ_ONCE(node->locked)) in pv_wait_node() 324 if (!READ_ONCE(node->locked)) { in pv_wait_node() 344 qstat_inc(qstat_pv_spurious_wakeup, !READ_ONCE(node->locked)); in pv_wait_node() 392 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); in pv_kick_node() 457 if (xchg(&lock->locked, _Q_SLOW_VAL) == 0) { in pv_wait_head_or_lock() 463 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in pv_wait_head_or_lock() 471 pv_wait(&lock->locked, _Q_SLOW_VAL); in pv_wait_head_or_lock() 494 __pv_queued_spin_unlock_slowpath(struct qspinlock *lock, u8 locked) in __pv_queued_spin_unlock_slowpath() argument [all …]
|
D | mcs_spinlock.h | 20 int locked; /* 1 if lock acquired */ member 70 node->locked = 0; in mcs_spin_lock() 94 arch_mcs_spin_lock_contended(&node->locked); in mcs_spin_lock() 118 arch_mcs_spin_unlock_contended(&next->locked); in mcs_spin_unlock()
|
D | osq_lock.c | 97 node->locked = 0; in osq_lock() 137 while (!READ_ONCE(node->locked)) { in osq_lock() 169 if (smp_load_acquire(&node->locked)) in osq_lock() 224 WRITE_ONCE(next->locked, 1); in osq_unlock() 230 WRITE_ONCE(next->locked, 1); in osq_unlock()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | qspinlock_paravirt.h | 91 (cmpxchg_acquire(&lock->locked, 0, _Q_LOCKED_VAL) == 0)) { in pv_hybrid_queued_unfair_trylock() 121 return !READ_ONCE(lock->locked) && in trylock_clear_pending() 302 if (READ_ONCE(node->locked)) in pv_wait_node() 322 if (!READ_ONCE(node->locked)) { in pv_wait_node() 343 !READ_ONCE(node->locked)); in pv_wait_node() 391 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); in pv_kick_node() 456 if (xchg(&lock->locked, _Q_SLOW_VAL) == 0) { in pv_wait_head_or_lock() 462 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in pv_wait_head_or_lock() 470 pv_wait(&lock->locked, _Q_SLOW_VAL); in pv_wait_head_or_lock() 493 __pv_queued_spin_unlock_slowpath(struct qspinlock *lock, u8 locked) in __pv_queued_spin_unlock_slowpath() argument [all …]
|
D | mcs_spinlock.h | 20 int locked; /* 1 if lock acquired */ member 70 node->locked = 0; in mcs_spin_lock() 94 arch_mcs_spin_lock_contended(&node->locked); in mcs_spin_lock() 118 arch_mcs_spin_unlock_contended(&next->locked); in mcs_spin_unlock()
|
D | osq_lock.c | 97 node->locked = 0; in osq_lock() 143 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() || in osq_lock() 170 if (smp_load_acquire(&node->locked)) in osq_lock() 225 WRITE_ONCE(next->locked, 1); in osq_unlock() 231 WRITE_ONCE(next->locked, 1); in osq_unlock()
|
/kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | locks.h | 58 bool locked; member 65 return __sync_bool_compare_and_swap(&lock->locked, false, true); in lock_impl_trylock() 68 bool old_locked = lock->locked; in lock_impl_trylock() 69 lock->locked = true; in lock_impl_trylock() 96 BUG_ON(!__sync_bool_compare_and_swap(&lock->locked, true, false)); in lock_impl_unlock() 102 bool old_locked = lock->locked; in lock_impl_unlock() 103 lock->locked = false; in lock_impl_unlock() 112 lock->locked = false; in lock_impl_init() 115 #define LOCK_IMPL_INITIALIZER {.locked = false}
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | locks.h | 58 bool locked; member 65 return __sync_bool_compare_and_swap(&lock->locked, false, true); in lock_impl_trylock() 68 bool old_locked = lock->locked; in lock_impl_trylock() 69 lock->locked = true; in lock_impl_trylock() 96 BUG_ON(!__sync_bool_compare_and_swap(&lock->locked, true, false)); in lock_impl_unlock() 102 bool old_locked = lock->locked; in lock_impl_unlock() 103 lock->locked = false; in lock_impl_unlock() 112 lock->locked = false; in lock_impl_init() 115 #define LOCK_IMPL_INITIALIZER {.locked = false}
|
/kernel/linux/linux-4.19/scripts/coccinelle/locks/ |
D | double_lock.cocci | 16 @locked@ 41 position p1 != locked.p1; 42 position locked.p; 44 expression x <= locked.E1; 45 expression E,locked.E1; 64 expression x <= locked.E1; 65 expression locked.E1; 68 position locked.p,p1,p2;
|
D | call_kern.cocci | 38 @locked exists@ 73 @depends on locked && patch@ 80 @depends on locked && !patch@ 89 p1 << locked.p1; 90 p2 << locked.p2; 100 p1 << locked.p1; 101 p2 << locked.p2;
|
/kernel/linux/linux-5.10/scripts/coccinelle/locks/ |
D | double_lock.cocci | 17 @locked@ 42 position p1 != locked.p1; 43 position locked.p; 45 expression x <= locked.E1; 46 expression E,locked.E1; 65 expression x <= locked.E1; 66 expression locked.E1; 69 position locked.p,p1,p2;
|
D | call_kern.cocci | 39 @locked exists@ 74 @depends on locked && patch@ 81 @depends on locked && !patch@ 90 p1 << locked.p1; 91 p2 << locked.p2; 101 p1 << locked.p1; 102 p2 << locked.p2;
|
/kernel/linux/linux-4.19/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 305 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked() argument 318 *locked = ((t & 0x80) == 0x80) ? 1 : 0; in lgs8gxx_is_locked() 320 *locked = ((t & 0xC0) == 0xC0) ? 1 : 0; in lgs8gxx_is_locked() 325 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock() argument 341 *locked = (ret == 0) ? 1 : 0; in lgs8gxx_wait_ca_lock() 369 u8 *locked) in lgs8gxx_autolock_gi() argument 394 err = lgs8gxx_wait_ca_lock(priv, locked); in lgs8gxx_autolock_gi() 395 if (err || !(*locked)) in lgs8gxx_autolock_gi() 403 *locked = 0; in lgs8gxx_autolock_gi() 413 u8 locked = 0, tmp_gi; in lgs8gxx_auto_detect() local [all …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 295 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked() argument 308 *locked = ((t & 0x80) == 0x80) ? 1 : 0; in lgs8gxx_is_locked() 310 *locked = ((t & 0xC0) == 0xC0) ? 1 : 0; in lgs8gxx_is_locked() 315 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock() argument 331 *locked = (ret == 0) ? 1 : 0; in lgs8gxx_wait_ca_lock() 359 u8 *locked) in lgs8gxx_autolock_gi() argument 384 err = lgs8gxx_wait_ca_lock(priv, locked); in lgs8gxx_autolock_gi() 385 if (err || !(*locked)) in lgs8gxx_autolock_gi() 393 *locked = 0; in lgs8gxx_autolock_gi() 403 u8 locked = 0, tmp_gi; in lgs8gxx_auto_detect() local [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | gup.c | 867 unsigned long address, unsigned int *flags, int *locked) in faultin_page() argument 879 if (locked) in faultin_page() 901 if (locked && !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in faultin_page() 902 *locked = 0; in faultin_page() 1030 struct vm_area_struct **vmas, int *locked) in __get_user_pages() argument 1076 gup_flags, locked); in __get_user_pages() 1077 if (locked && *locked == 0) { in __get_user_pages() 1103 ret = faultin_page(vma, start, &foll_flags, locked); in __get_user_pages() 1258 int *locked, in __get_user_pages_locked() argument 1264 if (locked) { in __get_user_pages_locked() [all …]
|
D | mremap.c | 333 bool *locked, unsigned long flags, in move_vma() argument 457 *locked = true; in move_vma() 520 unsigned long locked, lock_limit; in vma_to_resize() local 521 locked = mm->locked_vm << PAGE_SHIFT; in vma_to_resize() 523 locked += new_len - old_len; in vma_to_resize() 524 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in vma_to_resize() 543 unsigned long new_addr, unsigned long new_len, bool *locked, in mremap_to() argument 623 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to() 664 bool locked = false; in SYSCALL_DEFINE5() local 716 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5() [all …]
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_queue.h | 29 bool locked; /* timer is only accesibble by owner if set */ member 57 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags); 89 int snd_seq_queue_set_owner(int queueid, int client, int locked); 90 int snd_seq_queue_set_locked(int queueid, int client, int locked);
|
/kernel/linux/linux-4.19/sound/core/seq/ |
D | seq_queue.h | 43 unsigned int locked:1, /* timer is only accesibble by owner if set */ member 71 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags); 103 int snd_seq_queue_set_owner(int queueid, int client, int locked); 104 int snd_seq_queue_set_locked(int queueid, int client, int locked);
|
/kernel/linux/linux-5.10/drivers/thermal/intel/ |
D | intel_quark_dts_thermal.c | 103 bool locked; member 132 if (!aux_entry->locked) { in soc_dts_enable() 160 if (!aux_entry->locked) { in soc_dts_disable() 220 if (aux_entry->locked) { in update_trip_temp() 328 if (!aux_entry->locked) { in free_soc_dts() 364 aux_entry->locked = true; in alloc_soc_dts() 367 aux_entry->locked = false; in alloc_soc_dts() 372 if (!aux_entry->locked) { in alloc_soc_dts()
|
/kernel/linux/linux-4.19/drivers/thermal/ |
D | intel_quark_dts_thermal.c | 106 bool locked; member 138 if (!aux_entry->locked) { in soc_dts_enable() 171 if (!aux_entry->locked) { in soc_dts_disable() 234 if (aux_entry->locked) { in update_trip_temp() 351 if (!aux_entry->locked) { in free_soc_dts() 387 aux_entry->locked = true; in alloc_soc_dts() 390 aux_entry->locked = false; in alloc_soc_dts() 395 if (!aux_entry->locked) { in alloc_soc_dts()
|
/kernel/linux/linux-4.19/mm/ |
D | mremap.c | 258 bool *locked, struct vm_userfaultfd_ctx *uf, in move_vma() argument 364 *locked = true; in move_vma() 413 unsigned long locked, lock_limit; in vma_to_resize() local 414 locked = mm->locked_vm << PAGE_SHIFT; in vma_to_resize() 416 locked += new_len - old_len; in vma_to_resize() 417 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in vma_to_resize() 436 unsigned long new_addr, unsigned long new_len, bool *locked, in mremap_to() argument 484 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, uf, in mremap_to() 523 bool locked = false; in SYSCALL_DEFINE5() local 553 &locked, &uf, &uf_unmap_early, &uf_unmap); in SYSCALL_DEFINE5() [all …]
|