Home
last modified time | relevance | path

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

12345678910>>...53

/linux/tools/memory-model/
H A Dlinux-kernel.bell30 'rcu-unlock (*rcu_read_unlock*) ||
35 'after-unlock-lock (*smp_mb__after_unlock_lock*) ||
36 'after-srcu-read-unlock (*smp_mb__after_srcu_read_unlock*)
51 enum SRCU = 'srcu-lock || 'srcu-unlock || 'sync-srcu
54 let Srcu = Srcu-lock | Srcu-unlock | Sync-srcu
56 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *)
59 and unmatched-unlocks = Rcu-unlock \ range(matched)
70 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
72 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *)
[all...]
H A Dlinux-kernel.cat30 let po-unlock-lock-po = po ; [UL] ; (po|rf) ; [LKR] ; po
51 * Note: The po-unlock-lock-po relation only passes the lock to the direct
61 ([M] ; po-unlock-lock-po ;
62 [After-unlock-lock] ; po ; [M]) |
63 ([M] ; po? ; [Srcu-unlock] ; fencerel(After-srcu-read-unlock) ; [M])
71 Rcu-lock | Rcu-unlock | Srcu-lock | Srcu-unlock) |
95 let ppo = to-r | to-w | (fence & int) | (po-unlock-lock-po & int)
101 po-unlock
[all...]
/linux/scripts/coccinelle/locks/
H A 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
61 identifier lock,unlock;
73 unlock@up(E1,...);
87 identifier lock,unlock;
99 *unlock@up(E1,...);
104 unlock << err.unlock;
109 cocci.print_secs(unlock,p2)
114 unlock << err.unlock;
/linux/fs/ocfs2/dlm/
H A 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/drivers/accel/ivpu/
H A Divpu_ms.c59 goto unlock; in ivpu_ms_start_ioctl()
65 goto unlock; in ivpu_ms_start_ioctl()
104 goto unlock; in ivpu_ms_start_ioctl()
109 unlock: in ivpu_ms_start_ioctl()
188 goto unlock; in ivpu_ms_get_data_ioctl()
194 goto unlock; in ivpu_ms_get_data_ioctl()
196 goto unlock; in ivpu_ms_get_data_ioctl()
201 goto unlock; in ivpu_ms_get_data_ioctl()
206 unlock: in ivpu_ms_get_data_ioctl()
285 goto unlock; in ivpu_ms_get_info_ioctl()
[all...]
/linux/drivers/crypto/ccp/
H A 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()
/linux/include/linux/
H A Dfutex_types.h60 * struct futex_unlock_cs_range - Range for the VDSO unlock critical section
61 * @start_ip: The start IP of the robust futex unlock critical section (inclusive)
62 * @len: The length of the robust futex unlock critical section
74 * struct futex_unlock_cs_ranges - Futex unlock VSDO critical sections
87 * @unlock: Futex unlock VDSO critical sections
92 struct futex_unlock_cs_ranges unlock; member
/linux/Documentation/devicetree/bindings/mfd/
H A Dadi,adp5585.yaml68 adi,unlock-events:
70 Specifies a maximum of 2 events that can be used to unlock the keypad.
85 adi,unlock-trigger-sec:
87 Defines the time in which the second unlock event must occur after the
88 first unlock event has occurred.
146 adi,unlock-trigger-sec:
147 - adi,unlock-events
169 adi,unlock-events: false
170 adi,unlock-trigger-sec: false
204 adi,unlock-events: false
[all …]
/linux/drivers/leds/
H A Dled-class-flash.c48 goto unlock; in flash_brightness_store()
53 goto unlock; in flash_brightness_store()
57 goto unlock; in flash_brightness_store()
60 unlock: in flash_brightness_store()
99 goto unlock; in flash_strobe_store()
103 goto unlock; in flash_strobe_store()
107 goto unlock; in flash_strobe_store()
112 goto unlock; in flash_strobe_store()
114 unlock: in flash_strobe_store()
148 goto unlock; in flash_timeout_store()
[all...]
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmem_protect.c733 goto unlock; in host_stage2_idmap()
736 unlock: in host_stage2_idmap()
984 goto unlock; in __pkvm_vcpu_in_poison_fault()
988 goto unlock; in __pkvm_vcpu_in_poison_fault()
992 unlock: in __pkvm_vcpu_in_poison_fault()
1008 goto unlock; in __pkvm_host_share_hyp()
1011 goto unlock; in __pkvm_host_share_hyp()
1016 unlock: in __pkvm_host_share_hyp()
1035 goto unlock; in __pkvm_guest_share_host()
1039 goto unlock; in __pkvm_guest_share_host()
[all...]
/linux/drivers/media/mc/
H A Dmc-request.c109 goto unlock; in media_request_poll()
113 goto unlock; in media_request_poll()
116 unlock: in media_request_poll()
414 goto unlock; in media_request_object_bind()
429 unlock: in media_request_object_bind()
449 goto unlock; in media_request_object_unbind()
452 goto unlock; in media_request_object_unbind()
457 goto unlock; in media_request_object_unbind()
461 goto unlock; in media_request_object_unbind()
471 unlock: in media_request_object_unbind()
[all …]
/linux/drivers/media/rc/
H A Dbpf-lirc.c153 goto unlock; in lirc_bpf_attach()
161 goto unlock; in lirc_bpf_attach()
166 goto unlock; in lirc_bpf_attach()
171 unlock: in lirc_bpf_attach()
192 goto unlock; in lirc_bpf_detach()
205 goto unlock; in lirc_bpf_detach()
210 unlock: in lirc_bpf_detach()
324 goto unlock; in lirc_prog_query()
332 goto unlock; in lirc_prog_query()
337 goto unlock; in lirc_prog_query()
[all...]
/linux/Documentation/locking/
H A 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);
/linux/rust/kernel/sync/
H A Dlock.rs30 /// is owned, that is, between calls to [`lock`] and [`unlock`].
35 /// [`unlock`]: Backend::unlock
41 /// The state required to be kept between [`lock`] and [`unlock`].
44 /// [`unlock`]: Backend::unlock
79 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock() method
86 /// variant) that has been unlocked with [`Backend::unlock`] and will be relocked now.
197 /// Allows mutual exclusion primitives that implement the [`Backend`] trait to automatically unlock
242 // SAFETY: The caller owns the lock, so it is safe to unlock i in do_unlocked()
[all...]
/linux/net/bluetooth/
H A Dhci_event.c864 goto unlock; in hci_cc_read_local_features()
870 unlock: in hci_cc_read_local_features()
1114 goto unlock; in hci_cc_read_inq_rsp_tx_power()
1118 goto unlock; in hci_cc_read_inq_rsp_tx_power()
1127 unlock: in hci_cc_read_def_err_data_reporting()
1197 goto unlock; in hci_cc_pin_code_neg_reply()
1201 goto unlock; in hci_cc_pin_code_neg_reply()
1207 unlock:
1710 goto unlock; in hci_cc_le_set_scan_param()
1715 goto unlock; in hci_cc_le_set_ext_scan_param()
[all...]
/linux/arch/powerpc/platforms/powermac/
H A Dfeature.c64 #define UNLOCK(flags) raw_spin_unlock_irqrestore(&feature_lock, flags); macro
154 UNLOCK(flags); in simple_feature_tweak()
209 UNLOCK(flags); in ohare_htw_scc_enable()
222 UNLOCK(flags); in ohare_htw_scc_enable()
242 UNLOCK(flags); in ohare_htw_scc_enable()
328 UNLOCK(flags); in heathrow_modem_enable()
339 UNLOCK(flags); in heathrow_modem_enable()
347 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable()
350 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable()
353 UNLOCK(flags); mdelay(250); in heathrow_modem_enable()
[all …]
/linux/Documentation/netlink/specs/
H A Dnfsd.yaml349 name: unlock-ip
358 name: unlock-filesystem
365 name: unlock-export
626 name: unlock-ip
628 attribute-set: unlock-ip
635 name: unlock-filesystem
637 attribute-set: unlock-filesystem
644 name: unlock-export
647 Unlike unlock-filesystem, which operates at superblock granularity,
651 attribute-set: unlock
[all...]
/linux/include/asm-generic/bitops/
H A Dinstrumented-lock.h17 * clear_bit_unlock - Clear a bit in memory, for unlock
36 * memory operation. It can be used for an unlock if no other CPUs can
63 * it is negative, for unlock.
70 * with an unlock or end of writeback. Bit 7 is used as PG_waiters to
71 * indicate whether anybody is waiting for the unlock.
/linux/drivers/net/ethernet/intel/igb/
H A 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/drivers/net/wireless/silabs/wfx/
H A 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/net/devlink/
H A Drate.c51 /* Unlock intermediate instances. */ in devl_rate_lock()
328 goto unlock; in devlink_nl_rate_get_doit()
334 goto unlock; in devlink_nl_rate_get_doit()
348 unlock: in devlink_nl_rate_get_doit()
700 goto unlock; in devlink_nl_rate_set_doit()
707 goto unlock; in devlink_nl_rate_set_doit()
715 goto unlock; in devlink_nl_rate_set_doit()
722 unlock: in devlink_nl_rate_set_doit()
757 goto unlock; in devlink_nl_rate_new_doit()
760 goto unlock; in devlink_nl_rate_new_doit()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dlegacy.c394 goto unlock; in mlx5_esw_query_vport_drop_stats()
406 goto unlock; in mlx5_esw_query_vport_drop_stats()
412 goto unlock; in mlx5_esw_query_vport_drop_stats()
419 unlock: in mlx5_esw_query_vport_drop_stats()
439 goto unlock; /* compatibility with libvirt */ in mlx5_eswitch_set_vport_vlan()
442 goto unlock; in mlx5_eswitch_set_vport_vlan()
447 unlock: in mlx5_eswitch_set_vport_vlan()
467 goto unlock; in mlx5_eswitch_set_vport_spoofchk()
480 unlock: in mlx5_eswitch_set_vport_spoofchk()
499 goto unlock; in mlx5_eswitch_set_vport_trust()
[all …]
/linux/drivers/usb/usbip/
H A 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/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c199 goto unlock; in iwl_mld_tzone_get_temp()
204 goto unlock; in iwl_mld_tzone_get_temp()
207 unlock: in iwl_mld_tzone_get_temp()
223 goto unlock; in iwl_mld_tzone_set_trip_temp()
228 goto unlock; in iwl_mld_tzone_set_trip_temp()
232 unlock: in iwl_mld_tzone_set_trip_temp()
342 goto unlock; in iwl_mld_tcool_set_cur_state()
347 goto unlock; in iwl_mld_tcool_set_cur_state()
352 unlock: in iwl_mld_tcool_set_cur_state()
/linux/drivers/gpu/drm/
H A Ddrm_exec.c51 /* Unlock and put the prelocked obj */
61 /* Unlock all objects and drop references */
105 * Unlock all locked objects, drop the references to objects and free all memory
262 * drm_exec_unlock_obj - unlock a GEM object in this exec context
264 * @obj: the GEM object to unlock
266 * Unlock the GEM object and remove it from the collection of locked objects.
267 * Should only be used to unlock the most recently locked objects. It's not time
268 * efficient to unlock objects locked long ago.

12345678910>>...53