Searched refs:PAGE_MASK (Results 1 – 20 of 20) sorted by relevance
18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
574 if (((unsigned long)uaddr & PAGE_MASK) == in fault_in_pages_writeable()575 ((unsigned long)end & PAGE_MASK)) in fault_in_pages_writeable()599 if (((unsigned long)uaddr & PAGE_MASK) == in fault_in_pages_readable()600 ((unsigned long)end & PAGE_MASK)) { in fault_in_pages_readable()
15 #define PFN_FLAGS_MASK (((u64) (~PAGE_MASK)) << (BITS_PER_LONG_LONG - PAGE_SHIFT))
153 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance()
236 #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK)
25 #define SCATTERLIST_MAX_SEGMENT (UINT_MAX & PAGE_MASK)
465 if (i_size & ~PAGE_MASK) in fscache_set_store_limit()
545 BUG_ON(addr & ~PAGE_MASK); in bvec_kmap_irq()552 unsigned long ptr = (unsigned long) buffer & PAGE_MASK; in bvec_kunmap_irq()
481 unsigned long ___addr = __address & PAGE_MASK; \
172 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK)
653 return PAGE_MASK; in huge_page_mask()
871 unsigned long addr = real_start & PAGE_MASK; in bpf_jit_binary_hdr()
1338 *addr &= PAGE_MASK; in memrange_efi_to_native()
1459 #define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK)
2435 #define MAX_RW_COUNT (INT_MAX & PAGE_MASK)
60 return umem->address & ~PAGE_MASK; in ib_umem_offset()
189 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf()215 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
160 return (char *)(page_addr & PAGE_MASK) + (addr & ~PAGE_MASK); in xdp_umem_get_data()167 return umem->pages[addr >> PAGE_SHIFT].dma + (addr & ~PAGE_MASK); in xdp_umem_get_dma()
22 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
22 #define PAGE_MASK (~(PAGE_SIZE-1)) macro