/Linux-v6.6/tools/memory-model/ |
D | linux-kernel.bell | 29 '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 …]
|
D | linux-kernel.cat | 30 let po-unlock-lock-po = po ; [UL] ; (po|rf) ; [LKR] ; po 41 * Note: The po-unlock-lock-po relation only passes the lock to the direct 51 ([M] ; po-unlock-lock-po ; 52 [After-unlock-lock] ; po ; [M]) | 53 ([M] ; po? ; [Srcu-unlock] ; fencerel(After-srcu-read-unlock) ; [M]) 61 Rcu-lock | Rcu-unlock | Srcu-lock | Srcu-unlock) | 85 let ppo = to-r | to-w | (fence & int) | (po-unlock-lock-po & int) 91 po-unlock-lock-po) ; [Marked] ; rmw-sequence
|
/Linux-v6.6/fs/ocfs2/dlm/ |
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-v6.6/scripts/coccinelle/locks/ |
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-v6.6/include/linux/ |
D | hwspinlock.h | 381 * 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-v6.6/drivers/crypto/ccp/ |
D | dbc.c | 131 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()
|
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() 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()
|
/Linux-v6.6/drivers/leds/ |
D | led-class-flash.c | 49 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-v6.6/Documentation/locking/ |
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);
|
D | hwspinlock.rst | 252 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-v6.6/drivers/media/rc/ |
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-v6.6/drivers/media/platform/qcom/venus/ |
D | hfi.c | 57 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-v6.6/kernel/locking/ |
D | osq_lock.c | 38 * 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-v6.6/drivers/block/null_blk/ |
D | zoned.c | 386 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-v6.6/drivers/thermal/ |
D | thermal_sysfs.c | 133 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-v6.6/drivers/media/mc/ |
D | mc-request.c | 107 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-v6.6/rust/kernel/sync/ |
D | lock.rs | 24 /// is owned, that is, between calls to `lock` and `unlock`. 31 /// The state required to be kept between lock and unlock. 59 unsafe fn unlock(ptr: *mut Self::State, guard_state: &Self::GuardState); in unlock() method 66 /// variant) that has been unlocked with [`Backend::unlock`] and will be relocked now. 129 /// Allows mutual exclusion primitives that implement the [`Backend`] trait to automatically unlock 144 // SAFETY: The caller owns the lock, so it is safe to unlock it. in do_unlocked() 145 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in do_unlocked() 173 // SAFETY: The caller owns the lock, so it is safe to unlock it. in drop() 174 unsafe { B::unlock(self.lock.state.get(), &self.state) }; in drop()
|
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/ |
D | adf_dev_mgr.c | 164 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-v6.6/arch/powerpc/platforms/powermac/ |
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-v6.6/crypto/ |
D | af_alg.c | 70 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-v6.6/net/bluetooth/ |
D | hci_event.c | 817 goto unlock; in hci_cc_write_auth_payload_timeout() 825 unlock: in hci_cc_write_auth_payload_timeout() 1100 goto unlock; in hci_cc_read_clock() 1104 goto unlock; in hci_cc_read_clock() 1113 unlock: in hci_cc_read_clock() 1207 goto unlock; in hci_cc_pin_code_reply() 1211 goto unlock; in hci_cc_pin_code_reply() 1217 unlock: in hci_cc_pin_code_reply() 1664 goto unlock; in hci_cc_le_set_ext_adv_enable() 1676 unlock: in hci_cc_le_set_ext_adv_enable() [all …]
|
/Linux-v6.6/drivers/net/ethernet/intel/igb/ |
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-v6.6/drivers/net/wireless/silabs/wfx/ |
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-v6.6/kernel/power/ |
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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | legacy.c | 396 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 …]
|