Lines Matching defs:bytes
11 * vbo - virtual byte offset - Offset inside the file in bytes.
16 * mi - MFT inode - One MFT record(usually 1024 bytes or 4K), consists of attributes.
159 * 'upcase' table is 128K bytes of memory.
180 void *ntfs_set_shared(void *ptr, u32 bytes)
189 } else if (bytes == s_shared[i].len &&
190 !memcmp(s_shared[i].ptr, ptr, bytes)) {
199 s_shared[j].len = bytes;
835 static u32 format_size_gb(const u64 bytes, u32 *mb)
838 u64 kbytes = bytes >> 10;
860 * NTFS mount begins from boot - special formatted 512 bytes.
861 * There are two boots: the first and the last 512 bytes of volume.
915 ntfs_err(sb, "%s: invalid bytes per sector %u.", hint,
957 sbi->attr_size_tr = (5 * record_size >> 4); // ~320 bytes
961 ntfs_err(sb, "%s: invalid bytes per MFT record %u (%d).", hint,
967 ntfs_err(sb, "Unsupported bytes per MFT record %u.",
984 ntfs_err(sb, "%s: invalid bytes per index %u(%d).", hint,
990 ntfs_err(sb, "%s: unsupported bytes per index %u.", hint,
1017 ntfs_err(sb, "%s: invalid bytes per cluster (%u).", hint,
1160 u32 idx, done, bytes;
1425 bytes = inode->i_size;
1426 sbi->def_table = t = kvmalloc(bytes, GFP_KERNEL);
1432 for (done = idx = 0; done < bytes; done += PAGE_SIZE, idx++) {
1433 unsigned long tail = bytes - done;
1458 while (done + sizeof(struct ATTR_DEF_ENTRY) <= bytes) {
1659 u64 lbo, bytes, start, end;
1672 bytes = (u64)len << sbi->cluster_bits;
1678 end = (lbo + bytes) & sbi->discard_granularity_mask_inv;