Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/fs/ext2/
Dext2_struct.h81 uint16_t i_links_count; member
174 uint16_t i_links_count; /* link count */ member
Dext2_impl.c890 inode->i_links_count = 0; in ext2_create_inode()
1043 new_inode->i_links_count += 1; in ext2_create_file()
1081 new_inode->i_links_count += 1; in ext2_create_dir()
1099 new_inode->i_links_count += 1; in ext2_create_dir()
1113 parent->i_links_count += 1; in ext2_create_dir()
1294 if ((IS_REG_FILE(inode->i_mode) && inode->i_links_count == 1) || in ext2_inode_unlink()
1295 (IS_DIR(inode->i_mode) && inode->i_links_count == 2)) { in ext2_inode_unlink()
1303 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.c320 in[inode_offset].i_links_count = sys_cpu_to_le16(3); /* 2 from itself, 1 from child */ in ext2_format()
341 in[inode_offset].i_links_count = sys_cpu_to_le16(2); /* 1 from itself, 1 from parent */ in ext2_format()