Searched refs:i_links_count (Results 1 – 4 of 4) sorted by relevance
81 uint16_t i_links_count; member174 uint16_t i_links_count; /* link count */ member
888 inode->i_links_count = 0; in ext2_create_inode()1041 new_inode->i_links_count += 1; in ext2_create_file()1079 new_inode->i_links_count += 1; in ext2_create_dir()1097 new_inode->i_links_count += 1; in ext2_create_dir()1111 parent->i_links_count += 1; in ext2_create_dir()1292 if ((IS_REG_FILE(inode->i_mode) && inode->i_links_count == 1) || in ext2_inode_unlink()1293 (IS_DIR(inode->i_mode) && inode->i_links_count == 2)) { in ext2_inode_unlink()1301 inode->i_links_count -= 1; in ext2_inode_unlink()
110 inode->i_links_count = sys_le16_to_cpu(dino->i_links_count); in fill_inode()121 dino->i_links_count = sys_cpu_to_le16(inode->i_links_count); in fill_disk_inode()397 LOG_DBG("mode:%d size:%d links:%d", dino->i_mode, dino->i_size, dino->i_links_count); in ext2_fetch_inode()
318 in[inode_offset].i_links_count = sys_cpu_to_le16(3); /* 2 from itself, 1 from child */ in ext2_format()339 in[inode_offset].i_links_count = sys_cpu_to_le16(2); /* 1 from itself, 1 from parent */ in ext2_format()