/openbmc/linux/tools/memory-model/ |
H A 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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 293.out | 26 qemu-io: can't open: Invalid password, cannot unlock any keyslot 29 qemu-io: can't open: Invalid password, cannot unlock any keyslot 57 qemu-io: can't open: Invalid password, cannot unlock any keyslot 58 qemu-io: can't open: Invalid password, cannot unlock any keyslot 59 qemu-io: can't open: Invalid password, cannot unlock any keyslot 69 qemu-io: can't open: Invalid password, cannot unlock any keyslot 70 qemu-io: can't open: Invalid password, cannot unlock any keyslot 71 qemu-io: can't open: Invalid password, cannot unlock any keyslot 79 qemu-io: can't open: Invalid password, cannot unlock any keyslot 82 qemu-io: can't open: Invalid password, cannot unlock any keyslot [all …]
|
/openbmc/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 …]
|
/openbmc/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;
|
/openbmc/linux/include/linux/ |
H A D | hwspinlock.h | 387 * hwspin_unlock_irqrestore() - unlock hwspinlock, restore irq state 388 * @hwlock: a previously-acquired hwspinlock which we want to unlock 391 * This function will unlock a specific hwspinlock, enable preemption and 396 * to call unlock on a @hwlock that is already unlocked. 405 * hwspin_unlock_irq() - unlock hwspinlock, enable interrupts 406 * @hwlock: a previously-acquired hwspinlock which we want to unlock 408 * This function will unlock a specific hwspinlock, enable preemption and 412 * calling this function: it is a bug to call unlock on a @hwlock that is 421 * hwspin_unlock_raw() - unlock hwspinlock 422 * @hwlock: a previously-acquired hwspinlock which we want to unlock [all …]
|
/openbmc/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()
|
H A 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()
|
/openbmc/linux/drivers/leds/ |
H A 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/libcamera/libcamera/ |
H A D | 0001-media_device-Add-bool-return-type-to-unlock.patch | 4 Subject: [PATCH 1/2] media_device: Add bool return type to unlock() 6 unlock uses lockf which is marked with __attribute__ 32 - void unlock(); 33 + bool unlock(); 45 -void MediaDevice::unlock() 46 +bool MediaDevice::unlock()
|
/openbmc/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);
|
/openbmc/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()
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | ody-plugins.cpp | 14 * @brief Adds all chips in the OCMB PLL domain with active PLL unlock 18 * If more than one OCMB within the PLL domain is reporting a PLL unlock 51 throw std::logic_error("Expected at least one PLL unlock signature. " in pll_unlock() 56 // The hardware callouts will be all OCMBs with PLL unlock attentions and in pll_unlock() 61 // There is only one OCMB chip with a PLL unlock. So, the error is in pll_unlock() 69 // There are more than one OCMB chip with a PLL unlock. So, the error is in pll_unlock()
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A 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 …]
|
/openbmc/docs/designs/ |
H A D | estoraged.md | 16 encrypted filesystem, wipe its contents, lock/unlock the device, or change the 34 make use of the lock/unlock feature (CMD42) at the eMMC hardware level as an 40 [Enabling SD/uSD Card Lock/Unlock Feature in Linux](https://media-www.micron.com/-/media/client/glo… 48 - Device Password: The password to lock or unlock the device hardware. 57 - Unlock the device 75 unlock the eMMC device when the BMC boots. It is the responsibility of the 88 - (method) Unlock 140 is often used to unlock an encrypted block device, where it takes the password 150 And it provides several additional methods related to encryption: Lock, Unlock, 168 lock, unlock, and change password.
|
/openbmc/linux/kernel/locking/ |
H A 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()
|
/openbmc/linux/drivers/block/null_blk/ |
H A D | zoned.c | 397 goto unlock; in null_zone_write() 414 goto unlock; in null_zone_write() 419 goto unlock; in null_zone_write() 429 goto unlock; in null_zone_write() 446 goto unlock; in null_zone_write() 461 unlock: in null_zone_write() 480 goto unlock; in null_open_zone() 484 goto unlock; in null_open_zone() 492 goto unlock; in null_open_zone() 498 goto unlock; in null_open_zone() [all …]
|
/openbmc/linux/rust/kernel/sync/ |
H A 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()
|
/openbmc/linux/drivers/media/mc/ |
H A 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 …]
|
/openbmc/linux/drivers/thermal/ |
H A 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 …]
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/crypto/ |
H A 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 …]
|
/openbmc/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()
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_event.c | 828 goto unlock; in hci_cc_write_auth_payload_timeout() 834 unlock: in hci_cc_write_auth_payload_timeout() 1075 goto unlock; in hci_cc_read_clock() 1079 goto unlock; in hci_cc_read_clock() 1088 unlock: in hci_cc_read_clock() 1158 goto unlock; in hci_cc_pin_code_reply() 1162 goto unlock; in hci_cc_pin_code_reply() 1168 unlock: in hci_cc_pin_code_reply() 1618 goto unlock; in hci_cc_le_set_ext_adv_enable() 1630 unlock: in hci_cc_le_set_ext_adv_enable() [all …]
|
/openbmc/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()
|