Lines Matching refs:curr_value
518 __u32 curr_value; in ext2fs_icount_increment() local
532 curr_value = 2; in ext2fs_icount_increment()
541 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_increment()
542 curr_value++; in ext2fs_icount_increment()
543 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_increment()
560 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_increment()
561 curr_value++; in ext2fs_icount_increment()
562 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_increment()
568 *ret = icount_16_xlate(curr_value); in ext2fs_icount_increment()
575 __u32 curr_value; in ext2fs_icount_decrement() local
598 get_inode_count(icount, ino, &curr_value); in ext2fs_icount_decrement()
599 if (!curr_value) in ext2fs_icount_decrement()
601 curr_value--; in ext2fs_icount_decrement()
602 if (set_inode_count(icount, ino, curr_value)) in ext2fs_icount_decrement()
605 if (curr_value == 1) in ext2fs_icount_decrement()
607 if ((curr_value == 0) && icount->multiple) in ext2fs_icount_decrement()
611 *ret = icount_16_xlate(curr_value); in ext2fs_icount_decrement()