Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddir.c1737 ni->mrec->link_count = const_cpu_to_le16(1); in __ntfs_create()
1873 int link_count = le16_to_cpu(ni->mrec->link_count); in ntfs_check_unlinkable_dir() local
1883 if ((link_count == 1) || in ntfs_check_unlinkable_dir()
1884 (link_count == 2 && fn->file_name_type == FILE_NAME_DOS)) { in ntfs_check_unlinkable_dir()
2031 if ((ni->mrec->link_count == const_cpu_to_le16(1)) && !actx->base_ntfs_ino) { in ntfs_delete()
2039 ni->mrec->link_count = cpu_to_le16(le16_to_cpu( in ntfs_delete()
2040 ni->mrec->link_count) - 1); in ntfs_delete()
2087 if (ni->mrec->link_count) { in ntfs_delete()
2269 ni->mrec->link_count = cpu_to_le16(le16_to_cpu( in ntfs_link_i()
2270 ni->mrec->link_count) + 1); in ntfs_link_i()
[all …]
H A 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
H A 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()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2911 i = le16_to_cpu(m_file->link_count); in create_hardlink_res()
2917 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink_res()
2927 m_file->link_count = cpu_to_le16( in create_hardlink_res()
2928 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
2949 m_file->link_count = cpu_to_le16( in create_hardlink_res()
2950 le16_to_cpu(m_file->link_count) - 1); in create_hardlink_res()
3026 i = le16_to_cpu(m_file->link_count); in create_hardlink()
3032 m_file->link_count = cpu_to_le16(i + 1); in create_hardlink()
3042 m_file->link_count = cpu_to_le16( in create_hardlink()
3043 le16_to_cpu(m_file->link_count) - 1); in create_hardlink()
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c131 stbuf->st_nlink = le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getstat()
171 le16_to_cpu(ni->mrec->link_count); in ntfs_fuse_getstat()