/Linux-v6.1/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.1/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.1/tools/memory-model/ |
D | linux-kernel.bell | 29 '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-v6.1/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.1/crypto/ |
D | algif_hash.c | 83 goto unlock; in hash_sendmsg() 97 goto unlock; in hash_sendmsg() 107 goto unlock; in hash_sendmsg() 119 goto unlock; in hash_sendmsg() 126 unlock: in hash_sendmsg() 150 goto unlock; in hash_sendpage() 166 goto unlock; in hash_sendpage() 174 goto unlock; in hash_sendpage() 178 unlock: in hash_sendpage() 203 goto unlock; in hash_recvmsg() [all …]
|
D | af_alg.c | 64 goto unlock; in af_alg_register_type() 70 goto unlock; in af_alg_register_type() 79 unlock: in af_alg_register_type() 187 goto unlock; in alg_bind() 194 unlock: in alg_bind() 235 goto unlock; in alg_setsockopt() 241 goto unlock; in alg_setsockopt() 246 goto unlock; in alg_setsockopt() 248 goto unlock; in alg_setsockopt() 254 goto unlock; in alg_setsockopt() [all …]
|
/Linux-v6.1/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.1/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.1/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.1/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.1/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.1/drivers/block/null_blk/ |
D | zoned.c | 390 goto unlock; in null_zone_write() 407 goto unlock; in null_zone_write() 412 goto unlock; in null_zone_write() 422 goto unlock; in null_zone_write() 439 goto unlock; in null_zone_write() 454 unlock: in null_zone_write() 473 goto unlock; in null_open_zone() 477 goto unlock; in null_open_zone() 485 goto unlock; in null_open_zone() 491 goto unlock; in null_open_zone() [all …]
|
/Linux-v6.1/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.1/drivers/crypto/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() 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-v6.1/drivers/staging/iio/meter/ |
D | ade7854-i2c.c | 56 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-v6.1/arch/powerpc/platforms/powermac/ |
D | feature.c | 62 #define UNLOCK(flags) raw_spin_unlock_irqrestore(&feature_lock, flags); macro 150 UNLOCK(flags); in simple_feature_tweak() 207 UNLOCK(flags); in ohare_htw_scc_enable() 220 UNLOCK(flags); in ohare_htw_scc_enable() 240 UNLOCK(flags); in ohare_htw_scc_enable() 326 UNLOCK(flags); in heathrow_modem_enable() 337 UNLOCK(flags); in heathrow_modem_enable() 345 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable() 348 UNLOCK(flags); mdelay(250); LOCK(flags); in heathrow_modem_enable() 351 UNLOCK(flags); mdelay(250); in heathrow_modem_enable() [all …]
|
/Linux-v6.1/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.1/net/bluetooth/ |
D | hci_event.c | 1086 goto unlock; in hci_cc_read_clock() 1090 goto unlock; in hci_cc_read_clock() 1099 unlock: in hci_cc_read_clock() 1193 goto unlock; in hci_cc_pin_code_reply() 1197 goto unlock; in hci_cc_pin_code_reply() 1203 unlock: in hci_cc_pin_code_reply() 1650 goto unlock; in hci_cc_le_set_ext_adv_enable() 1662 unlock: in hci_cc_le_set_ext_adv_enable() 2250 goto unlock; in hci_cc_read_tx_power() 2261 unlock: in hci_cc_read_tx_power() [all …]
|
/Linux-v6.1/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.1/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.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | legacy.c | 398 goto unlock; in mlx5_esw_query_vport_drop_stats() 410 goto unlock; in mlx5_esw_query_vport_drop_stats() 416 goto unlock; in mlx5_esw_query_vport_drop_stats() 423 unlock: in mlx5_esw_query_vport_drop_stats() 443 goto unlock; /* compatibility with libvirt */ in mlx5_eswitch_set_vport_vlan() 446 goto unlock; in mlx5_eswitch_set_vport_vlan() 451 unlock: in mlx5_eswitch_set_vport_vlan() 471 goto unlock; in mlx5_eswitch_set_vport_spoofchk() 484 unlock: in mlx5_eswitch_set_vport_spoofchk() 503 goto unlock; in mlx5_eswitch_set_vport_trust() [all …]
|
/Linux-v6.1/drivers/usb/usbip/ |
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-v6.1/net/caif/ |
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-v6.1/include/asm-generic/bitops/ |
D | lock.h | 34 * arch_clear_bit_unlock - Clear a bit in memory, for unlock 48 * arch___clear_bit_unlock - Clear a bit in memory, for unlock 54 * ops to safely unlock. 71 * byte is negative, for unlock.
|