Home
last modified time | relevance | path

Searched refs:link_count (Results 1 – 13 of 13) sorted by relevance

/third_party/e2fsprogs/lib/ext2fs/
Dnamei.c27 int link_count, char *buf, ext2_ino_t *res_inode);
30 ext2_ino_t inode, int link_count, in follow_link() argument
41 root, dir, inode, link_count); in follow_link()
50 if (link_count++ >= EXT2FS_MAX_NESTED_LINKS) in follow_link()
85 link_count, buf, res_inode); in follow_link()
99 int link_count, char *buf, in dir_namei() argument
126 link_count, buf, &dir); in dir_namei()
137 int link_count, char *buf, ext2_ino_t *res_inode) in open_namei() argument
146 root, base, pathlen, pathname, link_count); in open_namei()
149 link_count, buf, &base_name, &namelen, &dir); in open_namei()
[all …]
/third_party/e2fsprogs/e2fsck/
Dpass4.c147 __u16 link_count, link_counted; in e2fsck_pass4() local
204 ext2fs_icount_fetch(ctx->inode_link_info, i, &link_count); in e2fsck_pass4()
225 &link_count); in e2fsck_pass4()
239 if (link_counted != link_count) { in e2fsck_pass4()
246 if ((link_count != inode->i_links_count) && !isdir && in e2fsck_pass4()
248 pctx.num = link_count; in e2fsck_pass4()
257 link_count == 1) { in e2fsck_pass4()
/third_party/ntfs-3g/libntfs-3g/
Ddir.c1734 ni->mrec->link_count = const_cpu_to_le16(1); in __ntfs_create()
1870 int link_count = le16_to_cpu(ni->mrec->link_count); in ntfs_check_unlinkable_dir() local
1880 if ((link_count == 1) || in ntfs_check_unlinkable_dir()
1881 (link_count == 2 && fn->file_name_type == FILE_NAME_DOS)) { in ntfs_check_unlinkable_dir()
2028 if ((ni->mrec->link_count == const_cpu_to_le16(1)) && !actx->base_ntfs_ino) { in ntfs_delete()
2036 ni->mrec->link_count = cpu_to_le16(le16_to_cpu( in ntfs_delete()
2037 ni->mrec->link_count) - 1); in ntfs_delete()
2084 if (ni->mrec->link_count) { in ntfs_delete()
2266 ni->mrec->link_count = cpu_to_le16(le16_to_cpu( in ntfs_link_i()
2267 ni->mrec->link_count) + 1); in ntfs_link_i()
[all …]
Dmft.c446 mrec->link_count = const_cpu_to_le16(0); in ntfs_mft_record_layout()
1467 && !ext_ni->mrec->link_count) in ntfs_mft_rec_alloc()
/third_party/ntfs-3g/ntfsprogs/
Dmkntfs.c3212 i = le16_to_cpu(m_file->link_count); in create_hardlink_res()
3218 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink_res()
3228 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3229 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
3250 m_file->link_count = cpu_to_le16( in create_hardlink_res()
3251 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
3327 i = le16_to_cpu(m_file->link_count); in create_hardlink()
3333 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink()
3343 m_file->link_count = cpu_to_le16( in create_hardlink()
3344 le16_to_cpu(m_file->link_count) - 1); in create_hardlink()
[all …]
Dntfsmftalloc.c235 le16_to_cpu(m->link_count)); in dump_mft_record()
Dntfstruncate.c646 le16_to_cpu(m->link_count)); in dump_mft_record()
Dplaylog.c1235 links = le16_to_cpu(entry->link_count) + 1; in insert_resident()
1236 entry->link_count = cpu_to_le16(links); in insert_resident()
1311 links = le16_to_cpu(entry->link_count) - 1; in remove_resident()
1312 entry->link_count = cpu_to_le16(links); in remove_resident()
1563 record->link_count = cpu_to_le16(0); in delete_names()
3341 if (record->link_count in undo_delete_file()
Dntfsinfo.c2287 (unsigned)le16_to_cpu(mrec->link_count), in ntfs_dump_inode_general_info()
2288 (unsigned)le16_to_cpu(mrec->link_count)); in ntfs_dump_inode_general_info()
/third_party/ntfs-3g/include/ntfs-3g/
Dlayout.h359 /* 18*/ le16 link_count; /* Number of hard links, i.e. the number of member
434 /* 18*/ le16 link_count; /* Number of hard links, i.e. the number of member
/third_party/e2fsprogs/lib/blkid/
Dprobe.h475 __u16 link_count; member
/third_party/ntfs-3g/src/
Dntfs-3g.c838 stbuf->st_nlink = le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getattr()
880 stbuf->st_nlink = le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getattr()
Dlowntfs-3g.c756 stbuf->st_nlink = le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getstat()
796 le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getstat()