Searched refs:bmp_pos (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | lcnalloc.c | 240 LCN bmp_pos; /* current bit position inside the bitmap */ in ntfs_cluster_alloc() local 310 bmp_pos = zone_start; in ntfs_cluster_alloc() 319 last_read_pos = bmp_pos >> 3; in ntfs_cluster_alloc() 334 lcn = bmp_pos & 7; in ntfs_cluster_alloc() 335 bmp_pos &= ~7; in ntfs_cluster_alloc() 384 if (prev_lcn == lcn + bmp_pos - prev_run_len && rlpos) { in ntfs_cluster_alloc() 389 (long long)lcn, (long long)bmp_pos, in ntfs_cluster_alloc() 402 rl[rlpos].lcn = prev_lcn = lcn + bmp_pos; in ntfs_cluster_alloc() 415 search_zone, lcn + bmp_pos + 1 + in ntfs_cluster_alloc() 442 bmp_pos = zone_start; in ntfs_cluster_alloc() [all …]
|
H A D | dir.c | 1107 s64 i_size, br, ia_pos, bmp_pos, ia_start; in ntfs_readdir() local 1299 bmp_pos = ia_pos >> index_block_size_bits; in ntfs_readdir() 1300 if (bmp_pos >> 3 >= bmp_na->data_size) { in ntfs_readdir() 1306 bmp_buf_size = min(bmp_na->data_size - (bmp_pos >> 3), 4096); in ntfs_readdir() 1311 br = ntfs_attr_pread(bmp_na, bmp_pos >> 3, bmp_buf_size, bmp); in ntfs_readdir() 1323 bmp_pos++; in ntfs_readdir() 1326 if (bmp_pos >> 3 >= bmp_na->data_size) in ntfs_readdir() 1328 ia_pos = bmp_pos << index_block_size_bits; in ntfs_readdir() 1333 if ((bmp_pos >> 3) + bmp_buf_size > bmp_na->data_size) in ntfs_readdir() 1334 bmp_buf_size = bmp_na->data_size - (bmp_pos >> 3); in ntfs_readdir() [all …]
|