Home
last modified time | relevance | path

Searched refs:swap_lock (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/mm/
Dswapfile.c56 static DEFINE_SPINLOCK(swap_lock);
1651 spin_lock(&swap_lock); in swap_type_of()
1662 spin_unlock(&swap_lock); in swap_type_of()
1667 spin_unlock(&swap_lock); in swap_type_of()
1675 spin_lock(&swap_lock); in find_first_swap()
1682 spin_unlock(&swap_lock); in find_first_swap()
1685 spin_unlock(&swap_lock); in find_first_swap()
1714 spin_lock(&swap_lock); in count_swap_pages()
1726 spin_unlock(&swap_lock); in count_swap_pages()
2327 assert_spin_locked(&swap_lock); in _enable_swap_info()
[all …]
/Linux-v6.6/drivers/usb/typec/tcpm/
Dtcpm.c385 struct mutex swap_lock; /* swap command lock */ member
5605 mutex_lock(&port->swap_lock); in tcpm_dr_set()
5668 mutex_unlock(&port->swap_lock); in tcpm_dr_set()
5677 mutex_lock(&port->swap_lock); in tcpm_pr_set()
5717 mutex_unlock(&port->swap_lock); in tcpm_pr_set()
5726 mutex_lock(&port->swap_lock); in tcpm_vconn_set()
5762 mutex_unlock(&port->swap_lock); in tcpm_vconn_set()
5789 mutex_lock(&port->swap_lock); in tcpm_pps_set_op_curr()
5840 mutex_unlock(&port->swap_lock); in tcpm_pps_set_op_curr()
5850 mutex_lock(&port->swap_lock); in tcpm_pps_set_out_volt()
[all …]
/Linux-v6.6/Documentation/filesystems/
Dlocking.rst506 swap_slot_free_notify is called with swap_lock and sometimes the page lock