Home
last modified time | relevance | path

Searched full:unlock (Results 1 – 25 of 2983) sorted by relevance

12345678910>>...120

/kernel/linux/linux-6.6/tools/memory-model/
Dlinux-kernel.bell29 'rcu-unlock (*rcu_read_unlock*) ||
34 'after-unlock-lock (*smp_mb__after_unlock_lock*) ||
35 'after-srcu-read-unlock (*smp_mb__after_srcu_read_unlock*)
39 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
42 let Srcu = Srcu-lock | Srcu-unlock | Sync-srcu
44 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *)
47 and unmatched-unlocks = Rcu-unlock \ range(matched)
58 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
60 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *)
61 let carry-srcu-data = (data ; [~ Srcu-unlock] ; rf)*
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c11 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-5.10/fs/ocfs2/dlm/
Ddlmunlock.c69 * 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-6.6/fs/ocfs2/dlm/
Ddlmunlock.c67 * So to unlock a converting lock, you must first cancel the
68 * convert (passing LKM_CANCEL in flags), then call the unlock
181 /* must clear the actions because this unlock in dlmunlock_common()
236 /* Unlock request will directly succeed after owner dies, in dlmunlock_common()
258 /* if cancel or unlock succeeded, lvb work is done */ in dlmunlock_common()
314 struct dlm_unlock_lock unlock; in dlm_send_remote_unlock_request() local
333 memset(&unlock, 0, sizeof(unlock)); in dlm_send_remote_unlock_request()
334 unlock.node_idx = dlm->node_num; in dlm_send_remote_unlock_request()
335 unlock.flags = cpu_to_be32(flags); in dlm_send_remote_unlock_request()
336 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request()
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/locks/
Dmini_lock.cocci3 /// 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-6.6/scripts/coccinelle/locks/
Dmini_lock.cocci3 /// 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/tools/memory-model/
Dlinux-kernel.bell29 '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/
Dhwspinlock.h381 * 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-6.6/include/linux/
Dhwspinlock.h387 * hwspin_unlock_irqrestore() - unlock hwspinlock, restore irq state
388 * @hwlock: a previously-acquired hwspinlock which we want to unlock
391 * This function will unlock a specific hwspinlock, enable preemption and
396 * to call unlock on a @hwlock that is already unlocked.
405 * hwspin_unlock_irq() - unlock hwspinlock, enable interrupts
406 * @hwlock: a previously-acquired hwspinlock which we want to unlock
408 * This function will unlock a specific hwspinlock, enable preemption and
412 * calling this function: it is a bug to call unlock on a @hwlock that is
421 * hwspin_unlock_raw() - unlock hwspinlock
422 * @hwlock: a previously-acquired hwspinlock which we want to unlock
[all …]
/kernel/linux/linux-6.6/drivers/crypto/ccp/
Ddbc.c131 goto unlock; in dbc_ioctl()
136 goto unlock; in dbc_ioctl()
141 goto unlock; in dbc_ioctl()
149 goto unlock; in dbc_ioctl()
154 goto unlock; in dbc_ioctl()
159 goto unlock; in dbc_ioctl()
166 goto unlock; in dbc_ioctl()
171 goto unlock; in dbc_ioctl()
176 goto unlock; in dbc_ioctl()
183 unlock: in dbc_ioctl()
Dplatform-access.c84 goto unlock; in psp_send_platform_access_msg()
90 goto unlock; in psp_send_platform_access_msg()
111 goto unlock; in psp_send_platform_access_msg()
118 goto unlock; in psp_send_platform_access_msg()
133 goto unlock; in psp_send_platform_access_msg()
141 unlock: in psp_send_platform_access_msg()
167 goto unlock; in psp_ring_platform_doorbell()
175 goto unlock; in psp_ring_platform_doorbell()
183 goto unlock; in psp_ring_platform_doorbell()
187 unlock: in psp_ring_platform_doorbell()
/kernel/linux/linux-5.10/crypto/
Dalgif_hash.c83 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 …]
Daf_alg.c67 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-6.6/drivers/leds/
Dled-class-flash.c49 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()
100 goto unlock; in flash_strobe_store()
104 goto unlock; in flash_strobe_store()
108 goto unlock; in flash_strobe_store()
113 goto unlock; in flash_strobe_store()
115 unlock: in flash_strobe_store()
149 goto unlock; in flash_timeout_store()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dled-class-flash.c49 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-6.6/Documentation/locking/
Dfutex-requeue-pi.rst30 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/
Dfutex-requeue-pi.rst30 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/drivers/media/rc/
Dbpf-lirc.c154 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-6.6/drivers/media/rc/
Dbpf-lirc.c154 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()
324 goto unlock; in lirc_prog_query()
329 goto unlock; in lirc_prog_query()
336 unlock: in lirc_prog_query()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
Dhfi.c57 goto unlock; in hfi_core_init()
63 goto unlock; in hfi_core_init()
68 goto unlock; in hfi_core_init()
75 goto unlock; in hfi_core_init()
79 unlock: in hfi_core_init()
91 goto unlock; in hfi_core_deinit()
97 goto unlock; in hfi_core_deinit()
108 goto unlock; in hfi_core_deinit()
115 unlock: in hfi_core_deinit()
149 goto unlock; in hfi_core_ping()
[all …]
/kernel/linux/linux-6.6/mm/
Dpurgeable.c162 goto unlock; in lock_uxpte()
166 goto unlock; in lock_uxpte()
170 unlock: in lock_uxpte()
183 goto unlock; in unlock_uxpte()
185 unlock: in unlock_uxpte()
197 goto unlock; in uxpte_set_present()
201 goto unlock; in uxpte_set_present()
205 unlock: in uxpte_set_present()
219 goto unlock; in uxpte_clear_present()
223 goto unlock; in uxpte_clear_present()
[all …]
/kernel/linux/linux-5.10/mm/
Dpurgeable.c160 goto unlock; in lock_uxpte()
164 goto unlock; in lock_uxpte()
168 unlock: in lock_uxpte()
181 goto unlock; in unlock_uxpte()
183 unlock: in unlock_uxpte()
195 goto unlock; in uxpte_set_present()
199 goto unlock; in uxpte_set_present()
203 unlock: in uxpte_set_present()
217 goto unlock; in uxpte_clear_present()
221 goto unlock; in uxpte_clear_present()
[all …]
/kernel/linux/linux-5.10/kernel/locking/
Dosq_lock.c38 * 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-6.6/kernel/locking/
Dosq_lock.c38 * 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-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c220 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 …]

12345678910>>...120