Lines Matching refs:PAGE_CACHE_BITS
16 #define PAGE_CACHE_BITS (PAGE_CACHE_SIZE * 8) macro
36 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, NULL); in hfsplus_block_allocate()
42 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
44 offset &= ~(PAGE_CACHE_BITS - 1); in hfsplus_block_allocate()
45 if ((size ^ offset) / PAGE_CACHE_BITS) in hfsplus_block_allocate()
46 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
48 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
77 offset += PAGE_CACHE_BITS; in hfsplus_block_allocate()
80 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
87 if ((size ^ offset) / PAGE_CACHE_BITS) in hfsplus_block_allocate()
88 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
90 end = pptr + ((size + 31) & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
130 offset += PAGE_CACHE_BITS; in hfsplus_block_allocate()
131 page = read_mapping_page(mapping, offset / PAGE_CACHE_BITS, in hfsplus_block_allocate()
139 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_allocate()
183 pnr = offset / PAGE_CACHE_BITS; in hfsplus_block_free()
188 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_free()
189 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_free()
223 end = pptr + PAGE_CACHE_BITS / 32; in hfsplus_block_free()