/linux-6.6.21/Documentation/i2c/ |
D | i2c-topology.rst | 40 mux-locked or parent-locked muxes. 43 Mux-locked muxes 46 Mux-locked muxes does not lock the entire parent adapter during the 48 adapter are locked. Mux-locked muxes are mostly interesting if the 50 their tasks. Since the parent adapter is not fully locked during the 55 Mux-locked Example 62 | root |--+--| locked | '--------' 87 Mux-locked caveats 90 When using a mux-locked mux, be aware of the following restrictions: 93 If you build a topology with a mux-locked mux being the parent [all …]
|
/linux-6.6.21/kernel/locking/ |
D | qspinlock_paravirt.h | 91 (cmpxchg_acquire(&lock->locked, 0, _Q_LOCKED_VAL) == 0)) { in pv_hybrid_queued_unfair_trylock() 121 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() 456 if (xchg(&lock->locked, _Q_SLOW_VAL) == 0) { in pv_wait_head_or_lock() 462 WRITE_ONCE(lock->locked, _Q_LOCKED_VAL); in pv_wait_head_or_lock() 470 pv_wait(&lock->locked, _Q_SLOW_VAL); in pv_wait_head_or_lock() 503 __pv_queued_spin_unlock_slowpath(struct qspinlock *lock, u8 locked) in __pv_queued_spin_unlock_slowpath() argument [all …]
|
D | mcs_spinlock.h | 20 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()
|
D | osq_lock.c | 97 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()
|
D | qspinlock.c | 264 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()
|
/linux-6.6.21/tools/testing/selftests/net/forwarding/ |
D | bridge_locked_port.sh | 102 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 212 bridge link set dev $swp1 learning off locked off mab off 226 bridge link set dev $swp1 learning on locked on mab on [all …]
|
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/ |
D | bridge_locked_port.sh | 102 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 212 bridge link set dev $swp1 learning off locked off mab off 226 bridge link set dev $swp1 learning on locked on mab on [all …]
|
/linux-6.6.21/scripts/coccinelle/locks/ |
D | double_lock.cocci | 17 @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;
|
D | call_kern.cocci | 39 @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;
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.h | 18 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
|
D | ice_dcb_lib.c | 282 static void ice_dcb_ena_dis_vsi(struct ice_pf *pf, bool ena, bool locked) in ice_dcb_ena_dis_vsi() argument 297 ice_ena_vsi(vsi, locked); in ice_dcb_ena_dis_vsi() 299 ice_dis_vsi(vsi, locked); in ice_dcb_ena_dis_vsi() 350 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() argument 415 if (!locked) in ice_pf_dcb_cfg() 449 if (!locked) in ice_pf_dcb_cfg() 605 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg() argument 620 if (ice_pf_dcb_cfg(pf, newcfg, locked)) in ice_dcb_init_cfg() 634 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) in ice_dcb_sw_dflt_cfg() argument 667 ret = ice_pf_dcb_cfg(pf, dcbcfg, locked); in ice_dcb_sw_dflt_cfg() [all …]
|
/linux-6.6.21/mm/ |
D | gup.c | 919 int *locked) in faultin_page() argument 964 *locked = 0; in faultin_page() 986 *locked = 0; in faultin_page() 1187 int *locked) in __get_user_pages() argument 1240 PTR_ERR(page) == -EMLINK, locked); in __get_user_pages() 1468 int *locked, in __get_user_pages_locked() argument 1478 if (!*locked) { in __get_user_pages_locked() 1482 *locked = 1; in __get_user_pages_locked() 1505 locked); in __get_user_pages_locked() 1513 if (!*locked) { in __get_user_pages_locked() [all …]
|
D | mlock.c | 577 unsigned long locked; in do_mlock() local 591 locked = len >> PAGE_SHIFT; in do_mlock() 596 locked += current->mm->locked_vm; in do_mlock() 597 if ((locked > lock_limit) && (!capable(CAP_IPC_LOCK))) { in do_mlock() 604 locked -= count_mm_mlocked_page_nr(current->mm, in do_mlock() 609 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in do_mlock() 753 unsigned long lock_limit, locked; in user_shm_lock() local 757 locked = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in user_shm_lock() 762 memlock = inc_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() 765 dec_rlimit_ucounts(ucounts, UCOUNT_RLIMIT_MEMLOCK, locked); in user_shm_lock() [all …]
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 295 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked() argument 308 *locked = ((t & 0x80) == 0x80) ? 1 : 0; in lgs8gxx_is_locked() 310 *locked = ((t & 0xC0) == 0xC0) ? 1 : 0; in lgs8gxx_is_locked() 315 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock() argument 331 *locked = (ret == 0) ? 1 : 0; in lgs8gxx_wait_ca_lock() 359 u8 *locked) in lgs8gxx_autolock_gi() argument 384 err = lgs8gxx_wait_ca_lock(priv, locked); in lgs8gxx_autolock_gi() 385 if (err || !(*locked)) in lgs8gxx_autolock_gi() 393 *locked = 0; in lgs8gxx_autolock_gi() 403 u8 locked = 0, tmp_gi; in lgs8gxx_auto_detect() local [all …]
|
D | atbm8830.c | 147 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()
|
/linux-6.6.21/drivers/thermal/intel/ |
D | intel_quark_dts_thermal.c | 104 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()
|
/linux-6.6.21/sound/core/seq/ |
D | seq_queue.h | 29 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);
|
D | seq_queue.c | 96 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()
|
/linux-6.6.21/drivers/mtd/spi-nor/ |
D | otp.c | 253 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()
|
/linux-6.6.21/Documentation/devicetree/bindings/i2c/ |
D | i2c-mux-gpmux.yaml | 49 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;
|
/linux-6.6.21/drivers/platform/x86/intel/ |
D | tpmi.c | 259 int *locked, int *disabled) in tpmi_read_feature_status() argument 313 *locked = 0; in tpmi_read_feature_status() 319 *locked = 1; in tpmi_read_feature_status() 334 int *locked, int *disabled) in tpmi_get_feature_status() argument 339 return tpmi_read_feature_status(tpmi_info, feature_id, locked, disabled); in tpmi_get_feature_status() 347 int locked, disabled, ret, i; in tpmi_pfs_dbg_show() local 353 ret = tpmi_read_feature_status(tpmi_info, pfs->pfs_header.tpmi_id, &locked, in tpmi_pfs_dbg_show() 356 locked = 'U'; in tpmi_pfs_dbg_show() 360 locked = locked ? 'Y' : 'N'; in tpmi_pfs_dbg_show() 365 pfs->pfs_header.attribute, pfs->vsec_offset, locked, disabled); in tpmi_pfs_dbg_show()
|
/linux-6.6.21/drivers/staging/vme_user/ |
D | vme_bridge.h | 19 int locked; member 32 int locked; member 65 int locked; member 76 int locked; member
|
/linux-6.6.21/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 517 bool *locked, bool *busy) in ttm_bo_evict_swapout_allowable() argument 522 *locked = false; in ttm_bo_evict_swapout_allowable() 532 *locked = false; in ttm_bo_evict_swapout_allowable() 537 *locked = ret; in ttm_bo_evict_swapout_allowable() 545 if (*locked) { in ttm_bo_evict_swapout_allowable() 547 *locked = false; in ttm_bo_evict_swapout_allowable() 598 bool locked = false; in ttm_mem_evict_first() local 606 &locked, &busy)) { in ttm_mem_evict_first() 617 if (locked) in ttm_mem_evict_first() 633 ctx->no_wait_gpu, locked); in ttm_mem_evict_first() [all …]
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-platform-intel-pmc | 15 * 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
|
/linux-6.6.21/drivers/tty/ |
D | tty_ldsem.c | 234 int locked = 0; in down_write_failed() local 265 locked = writer_trylock(sem); in down_write_failed() 266 if (locked) in down_write_failed() 270 if (!locked) in down_write_failed() 280 if (!locked && list_empty(&sem->write_wait)) in down_write_failed() 288 if (!locked) in down_write_failed()
|