Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/openbmc/linux/Documentation/i2c/
H A Di2c-topology.rst40 mux-locked or parent-locked muxes.
43 Mux-locked muxes
48 adapter are locked. Mux-locked muxes are mostly interesting if the
55 Mux-locked Example
95 parent-locked mux that the root adapter is locked during the
193 Parent-locked mux as parent of parent-locked mux
200 | root |--+--| locked | | locked | '--------'
217 Mux-locked mux as parent of mux-locked mux
240 Mux-locked mux as parent of parent-locked mux
274 Parent-locked mux as parent of mux-locked mux
[all …]
/openbmc/linux/kernel/locking/
H A Dqspinlock_paravirt.h121 return !READ_ONCE(lock->locked) && in trylock_clear_pending()
302 if (READ_ONCE(node->locked)) in pv_wait_node()
322 if (!READ_ONCE(node->locked)) { in pv_wait_node()
343 !READ_ONCE(node->locked)); in pv_wait_node()
391 WRITE_ONCE(lock->locked, _Q_SLOW_VAL); in pv_kick_node()
470 pv_wait(&lock->locked, _Q_SLOW_VAL); in pv_wait_head_or_lock()
507 if (unlikely(locked != _Q_SLOW_VAL)) { in __pv_queued_spin_unlock_slowpath()
533 smp_store_release(&lock->locked, 0); in __pv_queued_spin_unlock_slowpath()
549 u8 locked; in __pv_queued_spin_unlock() local
556 locked = cmpxchg_release(&lock->locked, _Q_LOCKED_VAL, 0); in __pv_queued_spin_unlock()
[all …]
H A Dmcs_spinlock.h20 int locked; /* 1 if lock acquired */ member
70 node->locked = 0; in mcs_spin_lock()
94 arch_mcs_spin_lock_contended(&node->locked); in mcs_spin_lock()
118 arch_mcs_spin_unlock_contended(&next->locked); in mcs_spin_unlock()
H A Dosq_lock.c97 node->locked = 0; in osq_lock()
143 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() || in osq_lock()
170 if (smp_load_acquire(&node->locked)) in osq_lock()
225 WRITE_ONCE(next->locked, 1); in osq_unlock()
231 WRITE_ONCE(next->locked, 1); in osq_unlock()
H A Dqspinlock.c264 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in set_locked()
383 smp_cond_load_acquire(&lock->locked, !VAL); in queued_spin_lock_slowpath()
437 node->locked = 0; in queued_spin_lock_slowpath()
477 arch_mcs_spin_lock_contended(&node->locked); in queued_spin_lock_slowpath()
512 goto locked; in queued_spin_lock_slowpath()
516 locked: in queued_spin_lock_slowpath()
556 arch_mcs_spin_unlock_contended(&next->locked); in queued_spin_lock_slowpath()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dremotedata.py19 self.locked = []
34 def store(self, d, locked=False): argument
42 if locked:
43 self.locked.append(idx)
47 def check_store(self, d, locked=False): argument
57 idx = self.store(d, locked)
62 if idx in self.locked:
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_locked_port.sh102 bridge link set dev $swp1 locked on
112 bridge link set dev $swp1 locked off
133 bridge link set dev $swp1 locked on
142 bridge link set dev $swp1 locked off
161 bridge link set dev $swp1 locked on
170 bridge link set dev $swp1 locked off
187 bridge link set dev $swp1 learning on locked on
195 bridge link set dev $swp1 learning on locked on mab on
226 bridge link set dev $swp1 learning on locked on mab on
262 bridge link set dev $swp1 learning on locked on mab on
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_locked_port.sh102 bridge link set dev $swp1 locked on
112 bridge link set dev $swp1 locked off
133 bridge link set dev $swp1 locked on
142 bridge link set dev $swp1 locked off
161 bridge link set dev $swp1 locked on
170 bridge link set dev $swp1 locked off
187 bridge link set dev $swp1 learning on locked on
195 bridge link set dev $swp1 learning on locked on mab on
226 bridge link set dev $swp1 learning on locked on mab on
262 bridge link set dev $swp1 learning on locked on mab on
[all …]
/openbmc/linux/scripts/coccinelle/locks/
H A Ddouble_lock.cocci17 @locked@
42 position p1 != locked.p1;
43 position locked.p;
45 expression x <= locked.E1;
46 expression E,locked.E1;
65 expression x <= locked.E1;
66 expression locked.E1;
69 position locked.p,p1,p2;
H A Dcall_kern.cocci39 @locked exists@
74 @depends on locked && patch@
81 @depends on locked && !patch@
90 p1 << locked.p1;
91 p2 << locked.p2;
101 p1 << locked.p1;
102 p2 << locked.p2;
/openbmc/qemu/tests/qemu-iotests/
H A D172.out65 Removable device: not locked, tray closed
70 Removable device: not locked, tray closed
73 Removable device: not locked, tray closed
118 Removable device: not locked, tray closed
123 Removable device: not locked, tray closed
127 Removable device: not locked, tray closed
130 Removable device: not locked, tray closed
175 Removable device: not locked, tray closed
180 Removable device: not locked, tray closed
185 Removable device: not locked, tray closed
[all …]
H A D186.out11 Removable device: not locked, tray closed
19 Removable device: not locked, tray closed
27 Removable device: not locked, tray closed
35 Removable device: not locked, tray closed
43 Removable device: not locked, tray closed
51 Removable device: not locked, tray closed
110 Removable device: not locked, tray closed
119 Removable device: not locked, tray closed
128 Removable device: not locked, tray closed
137 Removable device: not locked, tray closed
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb_lib.h18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked);
24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked);
26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked);
28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked);
93 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) in ice_init_pf_dcb() argument
102 bool __always_unused locked) in ice_pf_dcb_cfg() argument
131 static inline void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) { } in ice_pf_dcb_recfg() argument
/openbmc/linux/mm/
H A Dgup.c831 int *locked) in faultin_page() argument
876 *locked = 0; in faultin_page()
1099 int *locked) in __get_user_pages() argument
1409 *locked = 1; in __get_user_pages_locked()
1494 *locked = 1; in __get_user_pages_locked()
1523 *locked = 0; in __get_user_pages_locked()
1586 if (locked) in populate_vma_page_range()
1594 NULL, locked ? locked : &local_locked); in populate_vma_page_range()
1707 if (locked) in __mm_populate()
2258 locked ? locked : &local_locked, in get_user_pages_remote()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dlgs8gxx.c359 u8 *locked) in lgs8gxx_autolock_gi() argument
393 *locked = 0; in lgs8gxx_autolock_gi()
422 if (locked) in lgs8gxx_auto_detect()
423 goto locked; in lgs8gxx_auto_detect()
430 if (locked) in lgs8gxx_auto_detect()
431 goto locked; in lgs8gxx_auto_detect()
437 if (locked) in lgs8gxx_auto_detect()
438 goto locked; in lgs8gxx_auto_detect()
441 locked: in lgs8gxx_auto_detect()
461 if (!locked) in lgs8gxx_auto_detect()
[all …]
H A Datbm8830.c147 static int is_locked(struct atbm_state *priv, u8 *locked) in is_locked() argument
153 if (locked != NULL) in is_locked()
154 *locked = (status == 1); in is_locked()
261 u8 locked = 0; in atbm8830_set_fe() local
277 is_locked(priv, &locked); in atbm8830_set_fe()
278 if (locked != 0) { in atbm8830_set_fe()
329 u8 locked = 0; in atbm8830_read_status() local
335 is_locked(priv, &locked); in atbm8830_read_status()
336 if (locked) { in atbm8830_read_status()
/openbmc/linux/sound/core/seq/
H A Dseq_queue.h29 bool locked; /* timer is only accesibble by owner if set */ member
57 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags);
86 int snd_seq_queue_set_owner(int queueid, int client, int locked);
87 int snd_seq_queue_set_locked(int queueid, int client, int locked);
H A Dseq_queue.c96 static struct snd_seq_queue *queue_new(int owner, int locked) in queue_new() argument
122 q->locked = locked; in queue_new()
168 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int info_flags) in snd_seq_queue_alloc() argument
172 q = queue_new(client, locked); in snd_seq_queue_alloc()
356 return (q->owner == client) || (!q->locked && !q->klocked); in check_access()
406 int snd_seq_queue_set_owner(int queueid, int client, int locked) in snd_seq_queue_set_owner() argument
420 q->locked = locked ? 1 : 0; in snd_seq_queue_set_owner()
739 bool locked; in snd_seq_info_queues_read() local
754 locked = q->locked; in snd_seq_info_queues_read()
760 snd_iprintf(buffer, "lock status : %s\n", locked ? "Locked" : "Free"); in snd_seq_info_queues_read()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_quark_dts_thermal.c104 bool locked; member
134 if (!aux_entry->locked) { in soc_dts_enable()
162 if (!aux_entry->locked) { in soc_dts_disable()
211 if (aux_entry->locked) { in update_trip_temp()
305 if (!aux_entry->locked) { in free_soc_dts()
341 aux_entry->locked = true; in alloc_soc_dts()
344 aux_entry->locked = false; in alloc_soc_dts()
349 if (!aux_entry->locked) { in alloc_soc_dts()
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c197 static bool locked; variable
204 assert(!locked); in mutex_fn()
205 locked = true; in mutex_fn()
207 locked = false; in mutex_fn()
216 assert(!locked); in lockable_fn()
217 locked = true; in lockable_fn()
219 locked = false; in lockable_fn()
231 g_assert(locked); in do_test_co_mutex()
239 g_assert(locked); in do_test_co_mutex()
243 g_assert(!locked); in do_test_co_mutex()
/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c253 int ret, locked; in spi_nor_mtd_otp_info() local
266 locked = ops->is_locked(nor, i); in spi_nor_mtd_otp_info()
267 if (locked < 0) { in spi_nor_mtd_otp_info()
268 ret = locked; in spi_nor_mtd_otp_info()
272 buf->locked = !!locked; in spi_nor_mtd_otp_info()
289 int locked; in spi_nor_mtd_otp_range_is_locked() local
298 locked = ops->is_locked(nor, region); in spi_nor_mtd_otp_range_is_locked()
300 if (locked) in spi_nor_mtd_otp_range_is_locked()
301 return locked; in spi_nor_mtd_otp_range_is_locked()
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-gpmux.yaml49 mux-locked:
63 If mux-locked is not present, the multiplexer is assumed to be parent-locked.
66 The properties of mux-locked and parent-locked multiplexers are discussed
89 mux-locked;
/openbmc/skeleton/flashbios/
H A Dflash_bios_obj.c73 gboolean locked = shared_resource_get_lock(lock); in on_lock() local
74 if(locked) in on_lock()
94 gboolean locked = shared_resource_get_lock(lock); in on_is_locked() local
96 shared_resource_complete_is_locked(lock,invocation,locked,name); in on_is_locked()
120 gboolean locked = shared_resource_get_lock(lock); in on_update_via_tftp() local
122 if(locked) in on_update_via_tftp()
185 gboolean locked = shared_resource_get_lock(lock); in on_update() local
188 if(locked) in on_update()
/openbmc/linux/drivers/staging/vme_user/
H A Dvme_bridge.h19 int locked; member
32 int locked; member
65 int locked; member
76 int locked; member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-intel-pmc15 * bit 31 - global reset is locked
20 in case the register is not locked.
21 The "global reset bit" should be locked on a production

12345678910>>...21