Lines Matching refs:PAGE_CACHE_BITS
17 #define PAGE_CACHE_BITS (PAGE_SIZE * 8) macro
37 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL); in hfsplus_block_allocate()
43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
45 offset &= ~(PAGE_CACHE_BITS - 1); in hfsplus_block_allocate()
46 if ((size ^ offset) / PAGE_CACHE_BITS) in hfsplus_block_allocate()
47 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
49 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
78 offset += PAGE_CACHE_BITS; in hfsplus_block_allocate()
81 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
88 if ((size ^ offset) / PAGE_CACHE_BITS) in hfsplus_block_allocate()
89 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
91 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
131 offset += PAGE_CACHE_BITS; in hfsplus_block_allocate()
132 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
140 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
184 pnr = offset / PAGE_CACHE_BITS; in hfsplus_block_free()
189 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_free()
190 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_free()
224 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_free()