| /linux/tools/memory-model/ |
| H A D | linux-kernel.bell | 30 '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 D | linux-kernel.cat | 30 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/fs/ocfs2/dlm/ |
| H A D | dlmunlock.c | 67 * 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/scripts/coccinelle/locks/ |
| H A 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;
|
| /linux/drivers/accel/ivpu/ |
| H A D | ivpu_ms.c | 57 goto unlock; in ivpu_ms_start_ioctl() 63 goto unlock; in ivpu_ms_start_ioctl() 96 goto unlock; in ivpu_ms_start_ioctl() 102 unlock: in ivpu_ms_start_ioctl() 180 goto unlock; in ivpu_ms_get_data_ioctl() 186 goto unlock; in ivpu_ms_get_data_ioctl() 188 goto unlock; in ivpu_ms_get_data_ioctl() 193 goto unlock; in ivpu_ms_get_data_ioctl() 198 unlock: in ivpu_ms_get_data_ioctl() 277 goto unlock; in ivpu_ms_get_info_ioctl() [all …]
|
| /linux/drivers/crypto/ccp/ |
| H A D | platform-access.c | 84 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/sound/usb/ |
| H A D | mixer_scarlett2.c | |
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | adi,adp5585.yaml | 68 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 D | led-class-flash.c | 48 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/drivers/media/rc/ |
| H A 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() 324 goto unlock; in lirc_prog_query() 329 goto unlock; in lirc_prog_query() 336 unlock: in lirc_prog_query()
|
| /linux/Documentation/locking/ |
| H A 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);
|
| /linux/rust/kernel/sync/ |
| H A D | lock.rs | 30 /// 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. 189 /// Allows mutual exclusion primitives that implement the [`Backend`] trait to automatically unlock 234 // SAFETY: The caller owns the lock, so it is safe to unlock it. in do_unlocked() 235 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in do_unlocked() 263 // SAFETY: The caller owns the lock, so it is safe to unlock it. in drop() [all …]
|
| /linux/net/bluetooth/ |
| H A D | hci_event.c | 836 goto unlock; in hci_cc_write_auth_payload_timeout() 842 unlock: in hci_cc_write_auth_payload_timeout() 1086 goto unlock; in hci_cc_read_clock() 1090 goto unlock; in hci_cc_read_clock() 1099 unlock: in hci_cc_read_clock() 1169 goto unlock; in hci_cc_pin_code_reply() 1173 goto unlock; in hci_cc_pin_code_reply() 1179 unlock: in hci_cc_pin_code_reply() 1629 goto unlock; in hci_cc_le_set_ext_adv_enable() 1641 unlock: in hci_cc_le_set_ext_adv_enable() [all …]
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | feature.c | 64 #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/include/asm-generic/bitops/ |
| H A D | instrumented-lock.h | 17 * 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 D | e1000_mbx.c | 12 * @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 D | hwio.c | 59 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/kernel/power/ |
| H A D | user.c | 60 goto Unlock; in snapshot_open() 66 goto Unlock; in snapshot_open() 101 Unlock: in snapshot_open() 147 goto Unlock; in snapshot_read() 152 goto Unlock; in snapshot_read() 162 Unlock: in snapshot_read() 188 goto unlock; in snapshot_write() 195 goto unlock; in snapshot_write() 202 unlock: in snapshot_write()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | legacy.c | 395 goto unlock; in mlx5_esw_query_vport_drop_stats() 407 goto unlock; in mlx5_esw_query_vport_drop_stats() 413 goto unlock; in mlx5_esw_query_vport_drop_stats() 420 unlock: in mlx5_esw_query_vport_drop_stats() 440 goto unlock; /* compatibility with libvirt */ in mlx5_eswitch_set_vport_vlan() 443 goto unlock; in mlx5_eswitch_set_vport_vlan() 448 unlock: in mlx5_eswitch_set_vport_vlan() 468 goto unlock; in mlx5_eswitch_set_vport_spoofchk() 481 unlock: in mlx5_eswitch_set_vport_spoofchk() 500 goto unlock; in mlx5_eswitch_set_vport_trust() [all …]
|
| /linux/net/caif/ |
| H A D | cfcnfg.c | 313 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 …]
|
| /linux/drivers/usb/usbip/ |
| H A D | vudc_sysfs.c | 82 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/rtc/ |
| H A D | rtc-omap.c | 138 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/drivers/leds/flash/ |
| H A D | leds-mt6370-flash.c | 107 goto unlock; in mt6370_torch_brightness_set() 133 goto unlock; in mt6370_torch_brightness_set() 139 goto unlock; in mt6370_torch_brightness_set() 145 goto unlock; in mt6370_torch_brightness_set() 149 unlock: in mt6370_torch_brightness_set() 217 goto unlock; in mt6370_strobe_set() 231 goto unlock; in mt6370_strobe_set() 241 goto unlock; in mt6370_strobe_set() 255 unlock: in mt6370_strobe_set() 358 goto unlock; in mt6370_flash_external_strobe_set() [all …]
|
| H A D | leds-mt6360.c | 177 goto unlock; in mt6360_torch_brightness_set() 193 goto unlock; in mt6360_torch_brightness_set() 199 goto unlock; in mt6360_torch_brightness_set() 203 unlock: in mt6360_torch_brightness_set() 255 goto unlock; in mt6360_strobe_set() 266 goto unlock; in mt6360_strobe_set() 282 goto unlock; in mt6360_strobe_set() 292 goto unlock; in mt6360_strobe_set() 305 unlock: in mt6360_strobe_set() 353 goto unlock; in mt6360_fault_get() [all …]
|
| /linux/drivers/staging/most/net/ |
| H A D | net.c | 196 goto unlock; in most_nd_open() 203 goto unlock; in most_nd_open() 215 unlock: in most_nd_open() 328 goto unlock; in comp_probe_channel() 345 goto unlock; in comp_probe_channel() 351 goto unlock; in comp_probe_channel() 357 unlock: in comp_probe_channel() 374 goto unlock; in comp_disconnect_channel() 383 goto unlock; in comp_disconnect_channel() 404 unlock: in comp_disconnect_channel()
|