Home
last modified time | relevance | path

Searched refs:unlock (Results 1 – 25 of 985) sorted by relevance

12345678910>>...40

/linux-6.6.21/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 …]
/linux-6.6.21/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-6.6.21/drivers/crypto/ccp/
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()
126 goto unlock; in psp_send_platform_access_msg()
134 unlock: in psp_send_platform_access_msg()
160 goto unlock; in psp_ring_platform_doorbell()
168 goto unlock; in psp_ring_platform_doorbell()
176 goto unlock; in psp_ring_platform_doorbell()
180 unlock: in psp_ring_platform_doorbell()
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()
/linux-6.6.21/fs/ocfs2/dlm/
Ddlmunlock.c314 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()
337 unlock.namelen = res->lockname.len; in dlm_send_remote_unlock_request()
338 memcpy(unlock.name, res->lockname.name, unlock.namelen); in dlm_send_remote_unlock_request()
341 vec[0].iov_base = &unlock; in dlm_send_remote_unlock_request()
393 struct dlm_unlock_lock *unlock = (struct dlm_unlock_lock *)msg->buf; in dlm_unlock_lock_handler() local
403 flags = be32_to_cpu(unlock->flags); in dlm_unlock_lock_handler()
[all …]
/linux-6.6.21/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-6.6.21/drivers/crypto/intel/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()
227 unlock: in adf_devmgr_add_dev()
262 goto unlock; in adf_devmgr_rm_dev()
272 unlock: in adf_devmgr_rm_dev()
325 goto unlock; in adf_devmgr_get_dev_by_id()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/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-6.6.21/drivers/block/null_blk/
Dzoned.c386 goto unlock; in null_zone_write()
403 goto unlock; in null_zone_write()
408 goto unlock; in null_zone_write()
418 goto unlock; in null_zone_write()
435 goto unlock; in null_zone_write()
450 unlock: in null_zone_write()
469 goto unlock; in null_open_zone()
473 goto unlock; in null_open_zone()
481 goto unlock; in null_open_zone()
487 goto unlock; in null_open_zone()
[all …]
/linux-6.6.21/crypto/
Daf_alg.c70 goto unlock; in af_alg_register_type()
76 goto unlock; in af_alg_register_type()
85 unlock: in af_alg_register_type()
193 goto unlock; in alg_bind()
200 unlock: in alg_bind()
367 goto unlock; in alg_setsockopt()
373 goto unlock; in alg_setsockopt()
379 goto unlock; in alg_setsockopt()
381 goto unlock; in alg_setsockopt()
390 goto unlock; in alg_setsockopt()
[all …]
/linux-6.6.21/drivers/gpu/drm/display/
Ddrm_dp_cec.c253 goto unlock; in drm_dp_cec_irq()
258 goto unlock; in drm_dp_cec_irq()
262 unlock: in drm_dp_cec_irq()
330 goto unlock; in drm_dp_cec_set_edid()
343 goto unlock; in drm_dp_cec_set_edid()
358 goto unlock; in drm_dp_cec_set_edid()
375 unlock: in drm_dp_cec_set_edid()
393 goto unlock; in drm_dp_cec_unset_edid()
412 unlock: in drm_dp_cec_unset_edid()
/linux-6.6.21/drivers/thermal/
Dthermal_sysfs.c133 goto unlock; in trip_point_temp_store()
138 goto unlock; in trip_point_temp_store()
142 goto unlock; in trip_point_temp_store()
145 unlock: in trip_point_temp_store()
192 goto unlock; in trip_point_hyst_store()
197 goto unlock; in trip_point_hyst_store()
201 goto unlock; in trip_point_hyst_store()
204 unlock: in trip_point_hyst_store()
281 goto unlock; in emul_temp_store()
292 unlock: in emul_temp_store()
[all …]
/linux-6.6.21/sound/usb/
Dmixer_scarlett_gen2.c1223 goto unlock; in scarlett2_usb()
1241 goto unlock; in scarlett2_usb()
1264 goto unlock; in scarlett2_usb()
1270 unlock: in scarlett2_usb()
1808 goto unlock; in scarlett2_sync_ctl_get()
1812 unlock: in scarlett2_sync_ctl_get()
1904 goto unlock; in scarlett2_master_volume_ctl_get()
1908 unlock: in scarlett2_master_volume_ctl_get()
1943 goto unlock; in scarlett2_volume_ctl_get()
1947 unlock: in scarlett2_volume_ctl_get()
[all …]
/linux-6.6.21/net/bluetooth/
Dhci_event.c834 goto unlock; in hci_cc_write_auth_payload_timeout()
840 unlock: in hci_cc_write_auth_payload_timeout()
1115 goto unlock; in hci_cc_read_clock()
1119 goto unlock; in hci_cc_read_clock()
1128 unlock: in hci_cc_read_clock()
1222 goto unlock; in hci_cc_pin_code_reply()
1226 goto unlock; in hci_cc_pin_code_reply()
1232 unlock: in hci_cc_pin_code_reply()
1679 goto unlock; in hci_cc_le_set_ext_adv_enable()
1691 unlock: in hci_cc_le_set_ext_adv_enable()
[all …]
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_prime.c56 goto unlock; in nouveau_gem_prime_import_sg_table()
69 goto unlock; in nouveau_gem_prime_import_sg_table()
76 goto unlock; in nouveau_gem_prime_import_sg_table()
81 unlock: in nouveau_gem_prime_import_sg_table()
/linux-6.6.21/fs/reiserfs/
Dioctl.c38 goto unlock; in reiserfs_fileattr_set()
42 goto unlock; in reiserfs_fileattr_set()
49 goto unlock; in reiserfs_fileattr_set()
54 goto unlock; in reiserfs_fileattr_set()
61 unlock: in reiserfs_fileattr_set()
/linux-6.6.21/drivers/hwmon/
Dsht4x.c87 goto unlock; in sht4x_read_values()
91 goto unlock; in sht4x_read_values()
99 goto unlock; in sht4x_read_values()
109 goto unlock; in sht4x_read_values()
116 goto unlock; in sht4x_read_values()
125 unlock: in sht4x_read_values()
/linux-6.6.21/drivers/iio/temperature/
Dmax30208.c98 goto unlock; in max30208_update_temp()
102 goto unlock; in max30208_update_temp()
106 goto unlock; in max30208_update_temp()
115 goto unlock; in max30208_update_temp()
120 unlock: in max30208_update_temp()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c396 goto unlock; in mlx5_esw_query_vport_drop_stats()
408 goto unlock; in mlx5_esw_query_vport_drop_stats()
414 goto unlock; in mlx5_esw_query_vport_drop_stats()
421 unlock: in mlx5_esw_query_vport_drop_stats()
441 goto unlock; /* compatibility with libvirt */ in mlx5_eswitch_set_vport_vlan()
444 goto unlock; in mlx5_eswitch_set_vport_vlan()
449 unlock: in mlx5_eswitch_set_vport_vlan()
469 goto unlock; in mlx5_eswitch_set_vport_spoofchk()
482 unlock: in mlx5_eswitch_set_vport_spoofchk()
501 goto unlock; in mlx5_eswitch_set_vport_trust()
[all …]
/linux-6.6.21/drivers/crypto/nx/
Dnx-842.c296 goto unlock; in nx842_crypto_compress()
306 goto unlock; in nx842_crypto_compress()
312 goto unlock; in nx842_crypto_compress()
323 goto unlock; in nx842_crypto_compress()
329 unlock: in nx842_crypto_compress()
469 goto unlock; in nx842_crypto_decompress()
477 goto unlock; in nx842_crypto_decompress()
483 goto unlock; in nx842_crypto_decompress()
489 goto unlock; in nx842_crypto_decompress()
502 goto unlock; in nx842_crypto_decompress()
[all …]
/linux-6.6.21/drivers/rtc/
Drtc-omap.c138 void (*unlock)(struct omap_rtc *rtc); member
225 rtc->type->unlock(rtc); in rtc_irq()
259 rtc->type->unlock(rtc); in omap_rtc_alarm_irq_enable()
326 rtc->type->unlock(rtc); in omap_rtc_set_time()
375 rtc->type->unlock(rtc); in omap_rtc_set_alarm()
419 rtc->type->unlock(rtc); in omap_rtc_power_off_program()
490 omap_rtc_power_off_rtc->type->unlock(omap_rtc_power_off_rtc); in omap_rtc_power_off()
516 .unlock = default_rtc_unlock,
524 .unlock = am3352_rtc_unlock,
529 .unlock = am3352_rtc_unlock,
[all …]
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dhwio.c59 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_read32_locked()
70 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_write32_locked()
92 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_write32_bits_locked()
168 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_indirect_read_locked()
180 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_indirect_write_locked()
195 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_indirect_read32_locked()
211 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_indirect_write32_locked()
224 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_data_read()
238 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_data_write()
/linux-6.6.21/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>>...40