/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | mft.h | 32 extern int ntfs_mft_records_read(const ntfs_volume *vol, const MFT_REF mref, 38 * @mref: mft record number to read 41 * Read the mft record specified by @mref from volume @vol into buffer @b. 51 const MFT_REF mref, MFT_RECORD *b) 55 ntfs_log_enter("Entering for inode %lld\n", (long long)MREF(mref)); 56 ret = ntfs_mft_records_read(vol, mref, 1, b); 61 extern int ntfs_mft_record_check(const ntfs_volume *vol, const MFT_REF mref, 64 extern int ntfs_file_record_read(const ntfs_volume *vol, const MFT_REF mref, 67 extern int ntfs_mft_records_write(const ntfs_volume *vol, const MFT_REF mref, 73 * @mref 50 ntfs_mft_record_read(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *b) argument 85 ntfs_mft_record_write(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *b) argument [all...] |
H A D | inode.h | 182 extern ntfs_inode *ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref); 192 extern void ntfs_inode_invalidate(ntfs_volume *vol, const MFT_REF mref); 200 const MFT_REF mref);
|
H A D | mft.c | 63 * @mref: starting mft record number to read 67 * Read @count mft records starting at @mref from volume @vol into buffer 81 int ntfs_mft_records_read(const ntfs_volume *vol, const MFT_REF mref, argument 87 ntfs_log_trace("inode %llu\n", (unsigned long long)MREF(mref)); 92 b, (long long)count, (unsigned long long)MREF(mref)); 95 m = MREF(mref); 122 * @mref: starting mft record number to write 126 * Write @count mft records starting at @mref from data buffer @b to volume 143 int ntfs_mft_records_write(const ntfs_volume *vol, const MFT_REF mref, argument 155 m = MREF(mref); 212 ntfs_mft_record_check(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *m) argument 279 ntfs_file_record_read(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD **mrec, ATTR_RECORD **attr) argument 332 ntfs_mft_record_layout(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *mrec) argument 409 ntfs_mft_record_format(const ntfs_volume *vol, const MFT_REF mref) argument [all...] |
H A D | inode.c | 139 * @mref: inode number / mft record number to open 142 * specified by @mref. @mref specifies the inode number / mft record to read, 159 static ntfs_inode *ntfs_inode_real_open(ntfs_volume *vol, const MFT_REF mref) argument 168 ntfs_log_enter("Entering for inode %lld\n", (long long)MREF(mref)); 176 if (ntfs_file_record_read(vol, mref, &ni->mrec, NULL)) 182 ni->mft_no = MREF(mref); 191 " %lld", (long long)MREF(mref)); 233 "%lld", (long long)l, (long long)MREF(mref)); 247 (long long)MREF(mref)); 437 ntfs_inode_invalidate(ntfs_volume *vol, const MFT_REF mref) argument 461 ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref) argument 573 ntfs_extent_inode_open(ntfs_inode *base_ni, const MFT_REF mref) argument [all...] |
H A D | index.h | 148 MFT_REF mref);
|
H A D | attrlist.c | 110 MFT_REF mref; local 126 mref = MK_LE_MREF(ni->mft_no, le16_to_cpu(ni->mrec->sequence_number)); 197 ale->mft_reference = mref;
|
H A D | dir.h | 111 const MFT_REF mref, const unsigned dt_type);
|
H A D | dir.c | 249 u64 mref = 0; local 345 mref = le64_to_cpu(ie->indexed_file); 347 return mref; 353 * cached in mref in which case return mref. 357 if (mref) 358 return mref; 480 mref = le64_to_cpu(ie->indexed_file); 484 return mref; 512 * the mft reference of a matching name cached in mref i 893 MFT_REF mref; local 967 MFT_REF mref; local [all...] |
H A D | reparse.c | 141 u64 mref; local 154 mref = (u64)-1; /* default return (not found) */ 202 mref = le64_to_cpu(lemref); 214 return (mref);
|
H A D | index.c | 1517 * @mref: reference of the inode which @fn describes 1521 int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref) argument 1543 ie->indexed_file = cpu_to_le64(mref);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | ntfsdir.c | 38 const int name_len, const int name_type, const s64 pos, const MFT_REF mref, 47 if (MREF(mref) == FILE_root || MREF(mref) >= FILE_first_user 61 new_entry->ent->d_ino = MREF(mref); 37 _ntfs_dirent_filler(void *_dirent, const ntfschar *name, const int name_len, const int name_type, const s64 pos, const MFT_REF mref, const unsigned dt_type) argument
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 770 * @mref: MFT Reference (inode number) 777 * If the mref, being tested, lies outside the range, the buffer will be 784 int utils_mftrec_in_use(ntfs_volume *vol, MFT_REF mref) argument 797 /* Does mref lie in the section of $Bitmap we already have cached? */ 798 if (((s64)MREF(mref) < bmpmref) 799 || ((s64)MREF(mref) >= (s64)(bmpmref + (sizeof(buffer) << 3)))) { 804 bmpmref = mref & (~((sizeof(buffer) << 3) - 1)); 814 bit = 1 << (mref & 7); 815 byte = (mref >> 3) & (sizeof(buffer) - 1); 816 ntfs_log_debug("cluster = %lld, bmpmref = %lld, byte = %d, bit = %d, in use %d\n", mref, bmpmre 1145 MFT_REF mref; local [all...] |
H A D | utils.h | 50 int utils_mftrec_in_use(ntfs_volume *vol, MFT_REF mref);
|