Searched refs:TOK_INCR (Results 1 – 2 of 2) sorted by relevance
307 atomic_add_long(&tok->t_count, TOK_INCR); in _lwkt_trytokref()355 … if ((atomic_fetchadd_long(&tok->t_count, TOK_INCR) & TOK_EXCLUSIVE) == 0) { in _lwkt_trytokref()359 -TOK_INCR); in _lwkt_trytokref()360 count -= TOK_INCR; in _lwkt_trytokref()369 atomic_add_long(&tok->t_count, TOK_INCR); in _lwkt_trytokref()457 count = atomic_fetchadd_long(&tok->t_count, -TOK_INCR); in _lwkt_reltokref()
138 #define TOK_INCR 4 /* Shared count increment */ macro