Home
last modified time | relevance | path

Searched refs:i_links_count (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.6.0/subsys/fs/ext2/
Dext2_struct.h81 uint16_t i_links_count; member
174 uint16_t i_links_count; /* link count */ member
Dext2_impl.c888 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()
Dext2_diskops.c110 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()
Dext2_format.c318 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()