Home
last modified time | relevance | path

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

12345678910>>...65

/Linux-v5.15/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 …]
/Linux-v5.15/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;
/Linux-v5.15/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
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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);
Dhwspinlock.rst252 Unlock a previously-locked hwspinlock. Always succeed, and can be called
257 code should **never** unlock an hwspinlock which is already unlocked
264 Unlock a previously-locked hwspinlock and enable local interrupts.
265 The caller should **never** unlock an hwspinlock which is already unlocked.
276 Unlock a previously-locked hwspinlock.
278 The caller should **never** unlock an hwspinlock which is already unlocked.
288 Unlock a previously-locked hwspinlock.
290 The caller should **never** unlock an hwspinlock which is already unlocked.
298 Unlock a previously-locked hwspinlock.
300 The caller should **never** unlock an hwspinlock which is already unlocked.
[all …]
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/net/bluetooth/
Dmgmt.c1358 goto unlock; in mgmt_set_discoverable_complete()
1379 unlock: in mgmt_set_discoverable_complete()
1523 goto unlock; in mgmt_set_connectable_complete()
1537 unlock: in mgmt_set_connectable_complete()
1649 goto unlock; in set_bondable()
1665 unlock: in set_bondable()
1854 goto unlock; in set_hs()
1863 goto unlock; in set_hs()
1871 goto unlock; in set_hs()
1876 unlock: in set_hs()
[all …]
Dhci_event.c910 goto unlock; in hci_cc_read_clock()
914 goto unlock; in hci_cc_read_clock()
923 unlock: in hci_cc_read_clock()
1007 goto unlock; in hci_cc_pin_code_reply()
1011 goto unlock; in hci_cc_pin_code_reply()
1017 unlock: in hci_cc_pin_code_reply()
1336 goto unlock; in hci_cc_le_set_ext_adv_enable()
1348 unlock: in hci_cc_le_set_ext_adv_enable()
1874 goto unlock; in hci_cc_read_tx_power()
1885 unlock: in hci_cc_read_tx_power()
[all …]
/Linux-v5.15/drivers/block/null_blk/
Dzoned.c387 goto unlock; in null_zone_write()
404 goto unlock; in null_zone_write()
409 goto unlock; in null_zone_write()
419 goto unlock; in null_zone_write()
436 goto unlock; in null_zone_write()
451 unlock: in null_zone_write()
470 goto unlock; in null_open_zone()
474 goto unlock; in null_open_zone()
482 goto unlock; in null_open_zone()
488 goto unlock; in null_open_zone()
[all …]
/Linux-v5.15/drivers/media/mc/
Dmc-request.c107 goto unlock; in media_request_poll()
111 goto unlock; in media_request_poll()
114 unlock: in media_request_poll()
419 goto unlock; in media_request_object_bind()
432 unlock: in media_request_object_bind()
452 goto unlock; in media_request_object_unbind()
455 goto unlock; in media_request_object_unbind()
460 goto unlock; in media_request_object_unbind()
464 goto unlock; in media_request_object_unbind()
474 unlock: in media_request_object_unbind()
[all …]
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c164 goto unlock; in adf_devmgr_add_dev()
172 goto unlock; in adf_devmgr_add_dev()
178 goto unlock; in adf_devmgr_add_dev()
204 goto unlock; in adf_devmgr_add_dev()
210 goto unlock; in adf_devmgr_add_dev()
216 goto unlock; in adf_devmgr_add_dev()
226 unlock: in adf_devmgr_add_dev()
261 goto unlock; in adf_devmgr_rm_dev()
271 unlock: in adf_devmgr_rm_dev()
323 goto unlock; in adf_devmgr_get_dev_by_id()
[all …]
/Linux-v5.15/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()
112 unlock: in hfi_core_deinit()
146 goto unlock; in hfi_core_ping()
151 goto unlock; in hfi_core_ping()
[all …]
/Linux-v5.15/drivers/staging/iio/meter/
Dade7854-i2c.c56 goto unlock; in ade7854_i2c_write_reg()
61 unlock: in ade7854_i2c_write_reg()
82 goto unlock; in ade7854_i2c_read_reg()
86 goto unlock; in ade7854_i2c_read_reg()
104 goto unlock; in ade7854_i2c_read_reg()
107 unlock: in ade7854_i2c_read_reg()
/Linux-v5.15/arch/powerpc/platforms/powermac/
Dfeature.c63 #define UNLOCK(flags) raw_spin_unlock_irqrestore(&feature_lock, flags); macro
151 UNLOCK(flags); in simple_feature_tweak()
208 UNLOCK(flags); in ohare_htw_scc_enable()
221 UNLOCK(flags); in ohare_htw_scc_enable()
241 UNLOCK(flags); in ohare_htw_scc_enable()
327 UNLOCK(flags); in heathrow_modem_enable()
338 UNLOCK(flags); in heathrow_modem_enable()
346 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable()
349 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable()
352 UNLOCK(flags); mdelay(250); in heathrow_modem_enable()
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/igb/
De1000_mbx.c12 * @unlock: skip locking or not
17 bool unlock) in igb_read_mbx() argument
27 ret_val = mbx->ops.read(hw, msg, size, mbx_id, unlock); in igb_read_mbx()
110 * igb_unlock_mbx - unlock the mailbox
121 if (mbx->ops.unlock) in igb_unlock_mbx()
122 ret_val = mbx->ops.unlock(hw, mbx_id); in igb_unlock_mbx()
408 * @unlock: unlock the mailbox when done?
415 u16 vf_number, bool unlock) in igb_read_mbx_pf() argument
430 if (unlock) in igb_read_mbx_pf()
465 mbx->ops.unlock = igb_release_mbx_lock_pf; in igb_init_mbx_params_pf()
/Linux-v5.15/kernel/power/
Duser.c58 goto Unlock; in snapshot_open()
64 goto Unlock; in snapshot_open()
99 Unlock: in snapshot_open()
143 goto Unlock; in snapshot_read()
148 goto Unlock; in snapshot_read()
158 Unlock: in snapshot_read()
178 goto unlock; in snapshot_write()
185 goto unlock; in snapshot_write()
192 unlock: in snapshot_write()
/Linux-v5.15/drivers/staging/wfx/
Dhwio.c72 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in read32_locked()
83 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in write32_locked()
105 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in write32_bits_locked()
182 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in indirect_read_locked()
194 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in indirect_write_locked()
210 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in indirect_read32_locked()
227 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in indirect_write32_locked()
241 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_data_read()
257 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_data_write()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c397 goto unlock; in mlx5_esw_query_vport_drop_stats()
409 goto unlock; in mlx5_esw_query_vport_drop_stats()
415 goto unlock; in mlx5_esw_query_vport_drop_stats()
422 unlock: in mlx5_esw_query_vport_drop_stats()
442 goto unlock; /* compatibility with libvirt */ in mlx5_eswitch_set_vport_vlan()
445 goto unlock; in mlx5_eswitch_set_vport_vlan()
450 unlock: in mlx5_eswitch_set_vport_vlan()
470 goto unlock; in mlx5_eswitch_set_vport_spoofchk()
483 unlock: in mlx5_eswitch_set_vport_spoofchk()
502 goto unlock; in mlx5_eswitch_set_vport_trust()
[all …]
/Linux-v5.15/drivers/usb/usbip/
Dvudc_sysfs.c82 goto unlock; in dev_desc_read()
87 unlock: in dev_desc_read()
121 goto unlock; in usbip_sockfd_store()
128 goto unlock; in usbip_sockfd_store()
152 /* unlock and create threads and get tasks */ in usbip_sockfd_store()
201 goto unlock; in usbip_sockfd_store()
223 unlock: in usbip_sockfd_store()
/Linux-v5.15/net/caif/
Dcfcnfg.c313 goto unlock; in caif_connect_client()
318 goto unlock; in caif_connect_client()
324 goto unlock; in caif_connect_client()
328 goto unlock; in caif_connect_client()
332 goto unlock; in caif_connect_client()
339 goto unlock; in caif_connect_client()
357 unlock: in caif_connect_client()
393 goto unlock; in cfcnfg_linkup_rsp()
402 goto unlock; in cfcnfg_linkup_rsp()
436 goto unlock; in cfcnfg_linkup_rsp()
[all …]

12345678910>>...65