Home
last modified time | relevance | path

Searched refs:tickets (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/csky/include/asm/
H A Dspinlock.h31 while (lockval.tickets.next != lockval.tickets.owner) in arch_spin_lock()
32 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
68 WRITE_ONCE(lock->tickets.owner, lock->tickets.owner + 1); in arch_spin_unlock()
73 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()
83 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local
[all...]
H A Dspinlock_types.h19 } tickets; member
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dspinlock.h73 while (lockval.tickets.next != lockval.tickets.owner) { in arch_spin_lock()
75 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
110 lock->tickets.owner++; in arch_spin_unlock()
116 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()
126 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local
127 return (tickets in arch_spin_is_contended()
[all...]
H A Dspinlock_types.h22 } tickets; member
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dspinlock.h73 while (lockval.tickets.next != lockval.tickets.owner) { in arch_spin_lock()
75 lockval.tickets.owner = READ_ONCE(lock->tickets.owner); in arch_spin_lock()
110 lock->tickets.owner++; in arch_spin_unlock()
116 return lock.tickets.owner == lock.tickets.next; in arch_spin_value_unlocked()
126 struct __raw_tickets tickets = READ_ONCE(lock->tickets); in arch_spin_is_contended() local
127 return (tickets in arch_spin_is_contended()
[all...]
H A Dspinlock_types.h22 } tickets; member
/kernel/linux/linux-5.10/fs/btrfs/
H A Dspace-info.c66 * the tail of space_info->tickets, kick async flush thread
79 * then the ->tickets list checking to see if the reservation can be
207 INIT_LIST_HEAD(&space_info->tickets); in create_space_info()
400 head = &space_info->tickets; in btrfs_try_granting_tickets()
550 if (list_empty(&space_info->tickets) && in shrink_delalloc()
599 else if (!list_empty(&space_info->tickets)) in may_commit_transaction()
600 ticket = list_first_entry(&space_info->tickets, in may_commit_transaction()
847 * maybe_fail_all_tickets - we've exhausted our flushing, start failing tickets
852 * progress in satisfying tickets. The reservation code handles tickets i
[all...]
H A Dspace-info.h56 struct list_head tickets; member
60 * tickets
/kernel/linux/linux-6.6/fs/btrfs/
H A Dspace-info.c70 * the tail of space_info->tickets, kick async flush thread
83 * then the ->tickets list checking to see if the reservation can be
142 * out of a pre-tickets era where we could end up committing the transaction
243 INIT_LIST_HEAD(&space_info->tickets); in create_space_info()
446 head = &space_info->tickets; in btrfs_try_granting_tickets()
688 if (list_empty(&space_info->tickets) && in shrink_delalloc()
869 * We have tickets queued, bail so we don't compete with the async in need_preemptive_reclaim()
918 * space before tickets need to wait for things to finish. In the case in need_preemptive_reclaim()
981 * maybe_fail_all_tickets - we've exhausted our flushing, start failing tickets
986 * progress in satisfying tickets
[all...]
H A Dspace-info.h138 struct list_head tickets; member
142 * tickets

Completed in 6 milliseconds