Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c66 static DEFINE_SPINLOCK(swap_lock);
1442 spin_lock(&swap_lock); in swap_sync_discard()
1445 spin_unlock(&swap_lock); in swap_sync_discard()
1454 spin_lock(&swap_lock); in swap_sync_discard()
1458 spin_unlock(&swap_lock); in swap_sync_discard()
2223 lockdep_assert_held(&swap_lock); in __find_hibernation_swap_type()
2266 spin_lock(&swap_lock); in pin_hibernation_swap_type()
2270 spin_unlock(&swap_lock); in pin_hibernation_swap_type()
2276 spin_unlock(&swap_lock); in pin_hibernation_swap_type()
2286 spin_unlock(&swap_lock); in pin_hibernation_swap_type()
[all …]
/linux/lib/
H A Dsbitmap.c68 guard(raw_spinlock_irqsave)(&map->swap_lock); in sbitmap_deferred_clear()
139 raw_spin_lock_init(&sb->map[i].swap_lock); in sbitmap_init_node()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c549 struct mutex swap_lock; /* swap command lock */ member
7436 mutex_lock(&port->swap_lock); in tcpm_dr_set()
7499 mutex_unlock(&port->swap_lock); in tcpm_dr_set()
7508 mutex_lock(&port->swap_lock); in tcpm_pr_set()
7548 mutex_unlock(&port->swap_lock); in tcpm_pr_set()
7557 mutex_lock(&port->swap_lock); in tcpm_vconn_set()
7593 mutex_unlock(&port->swap_lock); in tcpm_vconn_set()
7620 mutex_lock(&port->swap_lock); in tcpm_aug_set_op_curr()
7676 mutex_unlock(&port->swap_lock); in tcpm_aug_set_op_curr()
7686 mutex_lock(&port->swap_lock); in tcpm_aug_set_out_volt()
[all …]
/linux/Documentation/filesystems/
H A Dlocking.rst444 swap_slot_free_notify is called with swap_lock and sometimes the page lock