Lines Matching refs:curr_value
556 __u32 curr_value; in ext2fs_icount_increment() local
564 curr_value = icount_16_xlate(icount->fullmap[ino] + 1); in ext2fs_icount_increment()
565 icount->fullmap[ino] = curr_value; in ext2fs_icount_increment()
573 curr_value = 2; in ext2fs_icount_increment()
582 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_increment()
583 curr_value++; in ext2fs_icount_increment()
584 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_increment()
601 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_increment()
602 curr_value++; in ext2fs_icount_increment()
603 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_increment()
609 *ret = icount_16_xlate(curr_value); in ext2fs_icount_increment()
616 __u32 curr_value; in ext2fs_icount_decrement() local
627 curr_value = --icount->fullmap[ino]; in ext2fs_icount_decrement()
629 *ret = icount_16_xlate(curr_value); in ext2fs_icount_decrement()
649 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_decrement()
650 if (!curr_value) in ext2fs_icount_decrement()
652 curr_value--; in ext2fs_icount_decrement()
653 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_decrement()
656 if (curr_value == 1) in ext2fs_icount_decrement()
658 if ((curr_value == 0) && icount->multiple) in ext2fs_icount_decrement()
662 *ret = icount_16_xlate(curr_value); in ext2fs_icount_decrement()