Home
last modified time | relevance | path

Searched refs:oldcount (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/locking/
H A Drwsem.c415 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() local
457 oldcount = atomic_long_fetch_add(adjustment, &sem->count); in rwsem_mark_wake()
458 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake()
465 if (!(oldcount & RWSEM_FLAG_HANDOFF)) { in rwsem_mark_wake()
526 oldcount = atomic_long_read(&sem->count); in rwsem_mark_wake()
533 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake()
540 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake()
/linux/drivers/usb/class/
H A Dcdc-acm.h93 struct async_icount oldcount; /* for comparison of counter */ member
H A Dcdc-acm.c334 acm->oldcount = acm->iocount; in acm_process_notification()
1019 old = acm->oldcount; in wait_serial_change()
1021 acm->oldcount = new; in wait_serial_change()
/linux/drivers/staging/greybus/
H A Duart.c56 struct async_icount oldcount; member
648 old = gb_tty->oldcount; in wait_serial_change()
650 gb_tty->oldcount = new; in wait_serial_change()
/linux/scripts/kconfig/
H A Dexpr.c539 int oldcount; in expr_eliminate_dups() local
543 oldcount = trans_count; in expr_eliminate_dups()
559 trans_count = oldcount; in expr_eliminate_dups()
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c1590 int oldcount; in mwl8k_tx_wait_empty() local
1593 oldcount = priv->pending_tx_pkts; in mwl8k_tx_wait_empty()
1621 if (priv->pending_tx_pkts < oldcount) { in mwl8k_tx_wait_empty()
1624 oldcount, priv->pending_tx_pkts); in mwl8k_tx_wait_empty()