Searched refs:oldcount (Results 1 – 8 of 8) sorted by relevance
| /linux/kernel/locking/ |
| H A D | rwsem.c | 434 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() 476 oldcount = atomic_long_fetch_add(adjustment, &sem->count); in rwsem_mark_wake() 477 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake() 484 if (!(oldcount & RWSEM_FLAG_HANDOFF)) { in rwsem_mark_wake() 548 oldcount = atomic_long_read(&sem->count); in rwsem_mark_wake() 555 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake() 562 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake() 415 long oldcount, woken = 0, adjustment = 0; rwsem_mark_wake() local
|
| /linux/drivers/usb/class/ |
| H A D | cdc-acm.h | 93 struct async_icount oldcount; /* for comparison of counter */ member
|
| H A D | cdc-acm.c | 336 acm->oldcount = acm->iocount; in acm_process_notification() 1031 old = acm->oldcount; in wait_serial_change() 1033 acm->oldcount = new; in wait_serial_change()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_display.c | 327 int oldcount, i = qcrtc->index; in qxl_crtc_update_monitors_config() local 340 oldcount = qdev->monitors_config->count; in qxl_crtc_update_monitors_config() 368 oldcount == qdev->monitors_config->count) in qxl_crtc_update_monitors_config() 374 if (oldcount != qdev->monitors_config->count) in qxl_crtc_update_monitors_config() 376 oldcount, qdev->monitors_config->count, in qxl_crtc_update_monitors_config()
|
| /linux/drivers/staging/greybus/ |
| H A D | uart.c | 56 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 D | expr.c | 539 int oldcount; in expr_eliminate_dups() local 543 oldcount = trans_count; in expr_eliminate_dups() 559 trans_count = oldcount; in expr_eliminate_dups()
|
| /linux/fs/btrfs/ |
| H A D | backref.c | 268 static void update_share_count(struct share_check *sc, int oldcount, in update_share_count() argument 271 if ((!sc) || (oldcount == 0 && newcount < 1)) in update_share_count() 274 if (oldcount > 0 && newcount < 1) in update_share_count() 276 else if (oldcount < 1 && newcount > 0) in update_share_count()
|
| /linux/drivers/net/wireless/marvell/ |
| H A D | mwl8k.c | 1590 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()
|