Home
last modified time | relevance | path

Searched refs:PAGE_MASK (Results 1 – 20 of 20) sorted by relevance

/include/linux/
Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
Dpagemap.h574 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()
Dpfn_t.h15 #define PFN_FLAGS_MASK (((u64) (~PAGE_MASK)) << (BITS_PER_LONG_LONG - PAGE_SHIFT))
Dbvec.h153 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance()
Dmm_types.h236 #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK)
Dscatterlist.h25 #define SCATTERLIST_MAX_SEGMENT (UINT_MAX & PAGE_MASK)
Dfscache-cache.h465 if (i_size & ~PAGE_MASK) in fscache_set_store_limit()
Dbio.h545 BUG_ON(addr & ~PAGE_MASK); in bvec_kmap_irq()
552 unsigned long ptr = (unsigned long) buffer & PAGE_MASK; in bvec_kunmap_irq()
Dmmu_notifier.h481 unsigned long ___addr = __address & PAGE_MASK; \
Dbuffer_head.h172 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK)
Dhugetlb.h653 return PAGE_MASK; in huge_page_mask()
Dfilter.h871 unsigned long addr = real_start & PAGE_MASK; in bpf_jit_binary_hdr()
Defi.h1338 *addr &= PAGE_MASK; in memrange_efi_to_native()
Dmm.h1459 #define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK)
Dfs.h2435 #define MAX_RW_COUNT (INT_MAX & PAGE_MASK)
/include/rdma/
Dib_umem.h60 return umem->address & ~PAGE_MASK; in ib_umem_offset()
/include/crypto/
Dif_alg.h189 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()
/include/net/
Dxdp_sock.h160 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()
/include/asm-generic/
Dfixmap.h22 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
Dpage.h22 #define PAGE_MASK (~(PAGE_SIZE-1)) macro