| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
| D | msm_gem_shrinker.c | 11 static bool msm_gem_shrinker_lock(struct drm_device *dev, bool *unlock) in msm_gem_shrinker_lock() argument 30 *unlock = true; in msm_gem_shrinker_lock() 34 *unlock = false; in msm_gem_shrinker_lock() 49 bool unlock; in msm_gem_shrinker_count() local 51 if (!msm_gem_shrinker_lock(dev, &unlock)) in msm_gem_shrinker_count() 59 if (unlock) in msm_gem_shrinker_count() 73 bool unlock; in msm_gem_shrinker_scan() local 75 if (!msm_gem_shrinker_lock(dev, &unlock)) in msm_gem_shrinker_scan() 87 if (unlock) in msm_gem_shrinker_scan() 104 bool unlock; in msm_gem_shrinker_vmap() local [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/msm/ |
| D | msm_gem_shrinker.c | 21 static bool msm_gem_shrinker_lock(struct drm_device *dev, bool *unlock) in msm_gem_shrinker_lock() argument 40 *unlock = true; in msm_gem_shrinker_lock() 44 *unlock = false; in msm_gem_shrinker_lock() 59 bool unlock; in msm_gem_shrinker_count() local 61 if (!msm_gem_shrinker_lock(dev, &unlock)) in msm_gem_shrinker_count() 69 if (unlock) in msm_gem_shrinker_count() 83 bool unlock; in msm_gem_shrinker_scan() local 85 if (!msm_gem_shrinker_lock(dev, &unlock)) in msm_gem_shrinker_scan() 97 if (unlock) in msm_gem_shrinker_scan() 114 bool unlock; in msm_gem_shrinker_vmap() local [all …]
|
| /kernel/linux/linux-4.19/scripts/coccinelle/locks/ |
| D | mini_lock.cocci | 2 /// where the unlock is missing from an if branch, and there is a lock 3 /// before the if and an unlock after the if. False positives are due to 66 identifier lock,unlock; 78 *unlock@up(E1,...); 83 unlock << err.unlock; 88 cocci.print_secs(unlock,p2) 93 unlock << err.unlock;
|
| /kernel/linux/linux-5.10/scripts/coccinelle/locks/ |
| D | mini_lock.cocci | 3 /// where the unlock is missing from an if branch, and there is a lock 4 /// before the if and an unlock after the if. False positives are due to 67 identifier lock,unlock; 79 *unlock@up(E1,...); 84 unlock << err.unlock; 89 cocci.print_secs(unlock,p2) 94 unlock << err.unlock;
|
| /kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
| D | dlmunlock.c | 69 * So to unlock a converting lock, you must first cancel the 70 * convert (passing LKM_CANCEL in flags), then call the unlock 183 /* must clear the actions because this unlock in dlmunlock_common() 238 /* Unlock request will directly succeed after owner dies, in dlmunlock_common() 260 /* if cancel or unlock succeeded, lvb work is done */ in dlmunlock_common() 316 struct dlm_unlock_lock unlock; in dlm_send_remote_unlock_request() local 335 memset(&unlock, 0, sizeof(unlock)); in dlm_send_remote_unlock_request() 336 unlock.node_idx = dlm->node_num; in dlm_send_remote_unlock_request() 337 unlock.flags = cpu_to_be32(flags); in dlm_send_remote_unlock_request() 338 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request() [all …]
|
| /kernel/linux/linux-4.19/fs/ocfs2/dlm/ |
| D | dlmunlock.c | 84 * So to unlock a converting lock, you must first cancel the 85 * convert (passing LKM_CANCEL in flags), then call the unlock 198 /* must clear the actions because this unlock in dlmunlock_common() 253 /* Unlock request will directly succeed after owner dies, in dlmunlock_common() 275 /* if cancel or unlock succeeded, lvb work is done */ in dlmunlock_common() 331 struct dlm_unlock_lock unlock; in dlm_send_remote_unlock_request() local 350 memset(&unlock, 0, sizeof(unlock)); in dlm_send_remote_unlock_request() 351 unlock.node_idx = dlm->node_num; in dlm_send_remote_unlock_request() 352 unlock.flags = cpu_to_be32(flags); in dlm_send_remote_unlock_request() 353 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request() [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/ |
| D | linux-kernel.bell | 29 'rcu-unlock (*rcu_read_unlock*) || 34 'after-unlock-lock (*smp_mb__after_unlock_lock*) 38 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu 41 let Srcu = Srcu-lock | Srcu-unlock | Sync-srcu 43 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *) 46 and unmatched-unlocks = Rcu-unlock \ range(matched) 57 flag ~empty Rcu-unlock \ range(rcu-rscs) as unbalanced-rcu-locking 59 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *) 62 and unmatched-unlocks = Srcu-unlock \ range(matched) 73 flag ~empty Srcu-unlock \ range(srcu-rscs) as unbalanced-srcu-locking
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | hwspinlock.h | 381 * hwspin_unlock_irqrestore() - unlock hwspinlock, restore irq state 382 * @hwlock: a previously-acquired hwspinlock which we want to unlock 385 * This function will unlock a specific hwspinlock, enable preemption and 390 * to call unlock on a @hwlock that is already unlocked. 399 * hwspin_unlock_irq() - unlock hwspinlock, enable interrupts 400 * @hwlock: a previously-acquired hwspinlock which we want to unlock 402 * This function will unlock a specific hwspinlock, enable preemption and 406 * calling this function: it is a bug to call unlock on a @hwlock that is 415 * hwspin_unlock_raw() - unlock hwspinlock 416 * @hwlock: a previously-acquired hwspinlock which we want to unlock [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | algif_hash.c | 83 goto unlock; in hash_sendmsg() 97 goto unlock; in hash_sendmsg() 106 goto unlock; in hash_sendmsg() 118 goto unlock; in hash_sendmsg() 125 unlock: in hash_sendmsg() 149 goto unlock; in hash_sendpage() 165 goto unlock; in hash_sendpage() 173 goto unlock; in hash_sendpage() 177 unlock: in hash_sendpage() 202 goto unlock; in hash_recvmsg() [all …]
|
| D | af_alg.c | 67 goto unlock; in af_alg_register_type() 73 goto unlock; in af_alg_register_type() 82 unlock: in af_alg_register_type() 190 goto unlock; in alg_bind() 197 unlock: in alg_bind() 238 goto unlock; in alg_setsockopt() 244 goto unlock; in alg_setsockopt() 249 goto unlock; in alg_setsockopt() 251 goto unlock; in alg_setsockopt() 257 goto unlock; in alg_setsockopt() [all …]
|
| /kernel/linux/linux-4.19/crypto/ |
| D | algif_hash.c | 88 goto unlock; in hash_sendmsg() 102 goto unlock; in hash_sendmsg() 111 goto unlock; in hash_sendmsg() 123 goto unlock; in hash_sendmsg() 130 unlock: in hash_sendmsg() 154 goto unlock; in hash_sendpage() 170 goto unlock; in hash_sendpage() 178 goto unlock; in hash_sendpage() 182 unlock: in hash_sendpage() 207 goto unlock; in hash_recvmsg() [all …]
|
| D | af_alg.c | 71 goto unlock; in af_alg_register_type() 77 goto unlock; in af_alg_register_type() 86 unlock: in af_alg_register_type() 190 goto unlock; in alg_bind() 197 unlock: in alg_bind() 239 goto unlock; in alg_setsockopt() 245 goto unlock; in alg_setsockopt() 250 goto unlock; in alg_setsockopt() 252 goto unlock; in alg_setsockopt() 258 goto unlock; in alg_setsockopt() [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | hwspinlock.h | 341 * hwspin_unlock_irqrestore() - unlock hwspinlock, restore irq state 342 * @hwlock: a previously-acquired hwspinlock which we want to unlock 345 * This function will unlock a specific hwspinlock, enable preemption and 350 * to call unlock on a @hwlock that is already unlocked. 359 * hwspin_unlock_irq() - unlock hwspinlock, enable interrupts 360 * @hwlock: a previously-acquired hwspinlock which we want to unlock 362 * This function will unlock a specific hwspinlock, enable preemption and 366 * calling this function: it is a bug to call unlock on a @hwlock that is 375 * hwspin_unlock_raw() - unlock hwspinlock 376 * @hwlock: a previously-acquired hwspinlock which we want to unlock [all …]
|
| /kernel/linux/linux-4.19/drivers/leds/ |
| D | led-class-flash.c | 52 goto unlock; in flash_brightness_store() 57 goto unlock; in flash_brightness_store() 61 goto unlock; in flash_brightness_store() 64 unlock: in flash_brightness_store() 104 goto unlock; in flash_strobe_store() 109 goto unlock; in flash_strobe_store() 113 goto unlock; in flash_strobe_store() 118 goto unlock; in flash_strobe_store() 120 unlock: in flash_strobe_store() 154 goto unlock; in flash_timeout_store() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/i915/ |
| D | i915_gem_shrinker.c | 39 static bool shrinker_lock(struct drm_i915_private *i915, bool *unlock) in shrinker_lock() argument 43 *unlock = false; in shrinker_lock() 47 *unlock = false; in shrinker_lock() 52 *unlock = true; in shrinker_lock() 57 return *unlock; in shrinker_lock() 60 *unlock = true; in shrinker_lock() 67 static void shrinker_unlock(struct drm_i915_private *i915, bool unlock) in shrinker_unlock() argument 69 if (!unlock) in shrinker_unlock() 161 bool unlock; in i915_gem_shrink() local 163 if (!shrinker_lock(i915, &unlock)) in i915_gem_shrink() [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | led-class-flash.c | 49 goto unlock; in flash_brightness_store() 54 goto unlock; in flash_brightness_store() 58 goto unlock; in flash_brightness_store() 61 unlock: in flash_brightness_store() 101 goto unlock; in flash_strobe_store() 106 goto unlock; in flash_strobe_store() 110 goto unlock; in flash_strobe_store() 115 goto unlock; in flash_strobe_store() 117 unlock: in flash_strobe_store() 151 goto unlock; in flash_timeout_store() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/rc/ |
| D | bpf-lirc.c | 124 goto unlock; in lirc_bpf_attach() 129 goto unlock; in lirc_bpf_attach() 135 goto unlock; in lirc_bpf_attach() 140 unlock: in lirc_bpf_attach() 162 goto unlock; in lirc_bpf_detach() 173 goto unlock; in lirc_bpf_detach() 178 unlock: in lirc_bpf_detach() 289 goto unlock; in lirc_prog_query() 294 goto unlock; in lirc_prog_query() 300 unlock: in lirc_prog_query()
|
| /kernel/linux/linux-4.19/Documentation/ |
| D | futex-requeue-pi.txt | 30 unlock(mutex); 32 unlock(cond->__data.__lock); 36 unlock(cond->__data.__lock); 43 unlock(cond->__data.__lock); 64 unlock(mutex); 66 unlock(cond->__data.__lock); 70 unlock(cond->__data.__lock); 77 unlock(cond->__data.__lock);
|
| /kernel/linux/linux-5.10/Documentation/locking/ |
| D | futex-requeue-pi.rst | 30 unlock(mutex); 32 unlock(cond->__data.__lock); 36 unlock(cond->__data.__lock); 43 unlock(cond->__data.__lock); 64 unlock(mutex); 66 unlock(cond->__data.__lock); 70 unlock(cond->__data.__lock); 77 unlock(cond->__data.__lock);
|
| /kernel/linux/linux-4.19/kernel/locking/ |
| D | osq_lock.c | 38 * Get a stable @node->next pointer, either for unlock() or unqueue() purposes. 63 * unlock()/unqueue(). in osq_wait_next() 70 * leave it in, a concurrent unlock()/unqueue() from in osq_wait_next() 74 * If the concurrent unlock()/unqueue() wins the race, we'll in osq_wait_next() 103 * unlock() uncontended, or fastpath) and RELEASE (to publish in osq_lock() 130 * moment unlock can proceed and wipe the node element from stack. in osq_lock() 155 * unlock()/unqueue() wait for a next pointer since @lock points to us in osq_lock() 165 * We can only fail the cmpxchg() racing against an unlock(), in osq_lock() 184 * Similar to unlock(), wait for @node->next or move @lock from @node in osq_lock()
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | bpf-lirc.c | 154 goto unlock; in lirc_bpf_attach() 160 goto unlock; in lirc_bpf_attach() 165 goto unlock; in lirc_bpf_attach() 170 unlock: in lirc_bpf_attach() 192 goto unlock; in lirc_bpf_detach() 203 goto unlock; in lirc_bpf_detach() 208 unlock: in lirc_bpf_detach() 320 goto unlock; in lirc_prog_query() 325 goto unlock; in lirc_prog_query() 332 unlock: in lirc_prog_query()
|
| /kernel/linux/linux-5.10/kernel/locking/ |
| D | osq_lock.c | 38 * Get a stable @node->next pointer, either for unlock() or unqueue() purposes. 63 * unlock()/unqueue(). in osq_wait_next() 70 * leave it in, a concurrent unlock()/unqueue() from in osq_wait_next() 74 * If the concurrent unlock()/unqueue() wins the race, we'll in osq_wait_next() 103 * unlock() uncontended, or fastpath) and RELEASE (to publish in osq_lock() 130 * moment unlock can proceed and wipe the node element from stack. in osq_lock() 152 * unlock()/unqueue() wait for a next pointer since @lock points to us in osq_lock() 166 * We can only fail the cmpxchg() racing against an unlock(), in osq_lock() 185 * Similar to unlock(), wait for @node->next or move @lock from @node in osq_lock()
|
| /kernel/linux/linux-4.19/net/bluetooth/ |
| D | mgmt.c | 1310 goto unlock; in mgmt_set_discoverable_complete() 1331 unlock: in mgmt_set_discoverable_complete() 1469 goto unlock; in mgmt_set_connectable_complete() 1483 unlock: in mgmt_set_connectable_complete() 1595 goto unlock; in set_bondable() 1611 unlock: in set_bondable() 1800 goto unlock; in set_hs() 1809 goto unlock; in set_hs() 1817 goto unlock; in set_hs() 1822 unlock: in set_hs() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | reporter_tx.c | 220 goto unlock; in mlx5e_tx_reporter_diagnose() 227 goto unlock; in mlx5e_tx_reporter_diagnose() 231 goto unlock; in mlx5e_tx_reporter_diagnose() 235 goto unlock; in mlx5e_tx_reporter_diagnose() 239 goto unlock; in mlx5e_tx_reporter_diagnose() 243 goto unlock; in mlx5e_tx_reporter_diagnose() 247 goto unlock; in mlx5e_tx_reporter_diagnose() 251 goto unlock; in mlx5e_tx_reporter_diagnose() 255 goto unlock; in mlx5e_tx_reporter_diagnose() 265 goto unlock; in mlx5e_tx_reporter_diagnose() [all …]
|
| /kernel/linux/linux-5.10/net/bluetooth/ |
| D | mgmt.c | 1353 goto unlock; in mgmt_set_discoverable_complete() 1374 unlock: in mgmt_set_discoverable_complete() 1518 goto unlock; in mgmt_set_connectable_complete() 1532 unlock: in mgmt_set_connectable_complete() 1644 goto unlock; in set_bondable() 1660 unlock: in set_bondable() 1849 goto unlock; in set_hs() 1858 goto unlock; in set_hs() 1866 goto unlock; in set_hs() 1871 unlock: in set_hs() [all …]
|