Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ufs/
Dballoc.c347 unsigned cgno, oldcount, newcount; in ufs_new_fragments() local
368 oldcount = ufs_fragnum (fragment); in ufs_new_fragments()
369 newcount = oldcount + count; in ufs_new_fragments()
374 if (oldcount) { in ufs_new_fragments()
418 if (oldcount == 0) { in ufs_new_fragments()
421 ufs_clear_frags(inode, result + oldcount, in ufs_new_fragments()
422 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
438 result = ufs_add_fragments(inode, tmp, oldcount, newcount); in ufs_new_fragments()
445 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
466 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
[all …]
/linux-6.6.21/kernel/locking/
Drwsem.c416 long oldcount, woken = 0, adjustment = 0; in rwsem_mark_wake() local
458 oldcount = atomic_long_fetch_add(adjustment, &sem->count); in rwsem_mark_wake()
459 if (unlikely(oldcount & RWSEM_WRITER_MASK)) { in rwsem_mark_wake()
466 if (!(oldcount & RWSEM_FLAG_HANDOFF)) { in rwsem_mark_wake()
527 oldcount = atomic_long_read(&sem->count); in rwsem_mark_wake()
534 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake()
541 if (oldcount & RWSEM_FLAG_HANDOFF) in rwsem_mark_wake()
/linux-6.6.21/drivers/usb/class/
Dcdc-acm.h93 struct async_icount oldcount; /* for comparison of counter */ member
Dcdc-acm.c334 acm->oldcount = acm->iocount; in acm_process_notification()
1006 old = acm->oldcount; in wait_serial_change()
1008 acm->oldcount = new; in wait_serial_change()
/linux-6.6.21/drivers/gpu/drm/qxl/
Dqxl_display.c322 int oldcount, i = qcrtc->index; in qxl_crtc_update_monitors_config() local
335 oldcount = qdev->monitors_config->count; in qxl_crtc_update_monitors_config()
363 oldcount == qdev->monitors_config->count) in qxl_crtc_update_monitors_config()
369 if (oldcount != qdev->monitors_config->count) in qxl_crtc_update_monitors_config()
371 oldcount, qdev->monitors_config->count, in qxl_crtc_update_monitors_config()
/linux-6.6.21/drivers/staging/greybus/
Duart.c56 struct async_icount oldcount; member
646 old = gb_tty->oldcount; in wait_serial_change()
648 gb_tty->oldcount = new; in wait_serial_change()
/linux-6.6.21/scripts/kconfig/
Dexpr.c666 int oldcount; in expr_eliminate_dups() local
670 oldcount = trans_count; in expr_eliminate_dups()
684 trans_count = oldcount; in expr_eliminate_dups()
/linux-6.6.21/fs/btrfs/
Dbackref.c256 static void update_share_count(struct share_check *sc, int oldcount, in update_share_count() argument
259 if ((!sc) || (oldcount == 0 && newcount < 1)) in update_share_count()
262 if (oldcount > 0 && newcount < 1) in update_share_count()
264 else if (oldcount < 1 && newcount > 0) in update_share_count()
/linux-6.6.21/drivers/net/wireless/marvell/
Dmwl8k.c1581 int oldcount; in mwl8k_tx_wait_empty() local
1584 oldcount = priv->pending_tx_pkts; in mwl8k_tx_wait_empty()
1612 if (priv->pending_tx_pkts < oldcount) { in mwl8k_tx_wait_empty()
1615 oldcount, priv->pending_tx_pkts); in mwl8k_tx_wait_empty()