Home
last modified time | relevance | path

Searched refs:new_max (Results 1 – 3 of 3) sorted by relevance

/fs/
Dchar_dev.c120 int new_max = baseminor + minorct - 1; in __register_chrdev_region() local
123 if (new_max >= old_min && new_max <= old_max) { in __register_chrdev_region()
134 if (new_min < old_min && new_max > old_max) { in __register_chrdev_region()
/fs/xfs/libxfs/
Dxfs_inode_fork.c483 int new_max; in xfs_iroot_realloc() local
515 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
516 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
538 new_max = cur_max + rec_diff; in xfs_iroot_realloc()
539 ASSERT(new_max >= 0); in xfs_iroot_realloc()
540 if (new_max > 0) in xfs_iroot_realloc()
541 new_size = XFS_BMAP_BROOT_SPACE_CALC(mp, new_max); in xfs_iroot_realloc()
559 if (new_max > 0) { in xfs_iroot_realloc()
565 memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); in xfs_iroot_realloc()
574 memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); in xfs_iroot_realloc()
/fs/nfs/
Dnfs4session.c90 u32 new_max = find_last_bit(tbl->used_slots, slotid); in nfs4_free_slot() local
91 if (new_max < slotid) in nfs4_free_slot()
92 tbl->highest_used_slotid = new_max; in nfs4_free_slot()