/haiku/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 leMFT_REF mref);
|
H A D | mft.c | 64 * @mref: starting mft record number to read 68 * Read @count mft records starting at @mref from volume @vol into buffer 82 int ntfs_mft_records_read(const ntfs_volume *vol, const MFT_REF mref, argument 88 ntfs_log_trace("inode %llu\n", (unsigned long long)MREF(mref)); 93 b, (long long)count, (unsigned long long)MREF(mref)); 96 m = MREF(mref); 123 * @mref: starting mft record number to write 127 * Write @count mft records starting at @mref from data buffer @b to volume 144 int ntfs_mft_records_write(const ntfs_volume *vol, const MFT_REF mref, argument 156 m = MREF(mref); 234 ntfs_mft_record_check(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *m) argument 348 ntfs_file_record_read(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD **mrec, ATTR_RECORD **attr) argument 401 ntfs_mft_record_layout(const ntfs_volume *vol, const MFT_REF mref, MFT_RECORD *mrec) argument 478 ntfs_mft_record_format(const ntfs_volume *vol, const MFT_REF mref) argument [all...] |
H A D | inode.c | 137 * @mref: inode number / mft record number to open 140 * specified by @mref. @mref specifies the inode number / mft record to read, 157 static ntfs_inode *ntfs_inode_real_open(ntfs_volume *vol, const MFT_REF mref) argument 166 ntfs_log_enter("Entering for inode %lld\n", (long long)MREF(mref)); 174 if (ntfs_file_record_read(vol, mref, &ni->mrec, NULL)) 180 ni->mft_no = MREF(mref); 189 " %lld", (long long)MREF(mref)); 196 (long long)MREF(mref)); 237 "%lld", (long long)l, (long long)MREF(mref)); 441 ntfs_inode_invalidate(ntfs_volume *vol, const MFT_REF mref) argument 465 ntfs_inode_open(ntfs_volume *vol, const MFT_REF mref) argument 583 ntfs_extent_inode_open(ntfs_inode *base_ni, const leMFT_REF mref) argument [all...] |
H A D | index.h | 153 MFT_REF mref);
|
H A D | attrlist.c | 110 leMFT_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.c | 253 u64 mref = 0; local 352 mref = le64_to_cpu(ie->indexed_file); 354 return mref; 360 * cached in mref in which case return mref. 364 if (mref) 365 return mref; 468 mref = le64_to_cpu(ie->indexed_file); 472 return mref; 500 * the mft reference of a matching name cached in mref i 913 ntfs_dir_entry_type(ntfs_inode *dir_ni, MFT_REF mref, FILE_ATTR_FLAGS attributes) argument 968 MFT_REF mref; local 1049 MFT_REF mref; local [all...] |
H A D | dir.h | 107 const MFT_REF mref, const unsigned dt_type);
|
H A D | reparse.c | 136 u64 mref; local 149 mref = (u64)-1; /* default return (not found) */ 197 mref = le64_to_cpu(lemref); 209 return (mref);
|
H A D | attrib.h | 401 extern int ntfs_attr_inconsistent(const ATTR_RECORD *a, const MFT_REF mref);
|
H A D | index.c | 1619 * @mref: reference of the inode which @fn describes 1623 int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref) argument 1645 ie->indexed_file = cpu_to_le64(mref);
|
H A D | attrib.c | 3437 int ntfs_attr_inconsistent(const ATTR_RECORD *a, const MFT_REF mref) argument 3452 inum = MREF(mref);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | mbuf.c | 241 struct mbuf *mref; local 250 mref = memoryBuffer; 255 mref = __containerof(refcnt, struct mbuf, m_ext.ext_count); 264 * and for this type we won't free the mref. 287 object_cache_free(sMBufCache, mref, 0); 290 if (freembuf && memoryBuffer != mref)
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.c | 784 * @mref: MFT Reference (inode number) 791 * If the mref, being tested, lies outside the range, the buffer will be 798 int utils_mftrec_in_use(ntfs_volume *vol, MFT_REF mref) argument 811 /* Does mref lie in the section of $Bitmap we already have cached? */ 812 if (((s64)MREF(mref) < bmpmref) 813 || ((s64)MREF(mref) >= (s64)(bmpmref + (sizeof(buffer) << 3)))) { 818 bmpmref = mref & (~((sizeof(buffer) << 3) - 1)); 828 bit = 1 << (mref & 7); 829 byte = (mref >> 3) & (sizeof(buffer) - 1); 831 "in use %d\n", (long long) mref, (lon [all...] |
H A D | utils.h | 50 int utils_mftrec_in_use(ntfs_volume *vol, MFT_REF mref);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 1163 const int name_type, const s64 pos, const MFT_REF mref, const unsigned dt_type) 1182 entry->inode = MREF(mref); 1162 _ntfs_readdir_callback(void* _cookie, const ntfschar* ntfs_name, const int ntfs_name_len, const int name_type, const s64 pos, const MFT_REF mref, const unsigned dt_type) argument
|