Home
last modified time | relevance | path

Searched refs:serve (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dtlb.c113 unsigned long serve; member
119 ss->serve = val; in spinaphore_init()
124 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin() local
126 if (time_before(t, ss->serve)) in down_spin()
132 asm volatile ("ld8.c.nc %0=[%1]" : "=r"(serve) : "r"(&ss->serve) : "memory"); in down_spin()
133 if (time_before(t, serve)) in down_spin()
141 ia64_fetchadd(1, &ss->serve, rel); in up_spin()
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dtlb.c113 unsigned long serve; member
119 ss->serve = val; in spinaphore_init()
124 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin() local
126 if (time_before(t, ss->serve)) in down_spin()
132 asm volatile ("ld8.c.nc %0=[%1]" : "=r"(serve) : "r"(&ss->serve) : "memory"); in down_spin()
133 if (time_before(t, serve)) in down_spin()
141 ia64_fetchadd(1, &ss->serve, rel); in up_spin()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dspinlock.h45 int *p = (int *)&lock->lock, ticket, serve; in __ticket_spin_lock() local
55 asm volatile ("ld4.c.nc %0=[%1]" : "=r"(serve) : "r"(p) : "memory"); in __ticket_spin_lock()
57 if (!(((serve >> TICKET_SHIFT) ^ ticket) & TICKET_MASK)) in __ticket_spin_lock()
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dspinlock.h45 int *p = (int *)&lock->lock, ticket, serve; in __ticket_spin_lock() local
55 asm volatile ("ld4.c.nc %0=[%1]" : "=r"(serve) : "r"(p) : "memory"); in __ticket_spin_lock()
57 if (!(((serve >> TICKET_SHIFT) ^ ticket) & TICKET_MASK)) in __ticket_spin_lock()

Completed in 3 milliseconds