Home
last modified time | relevance | path

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

123456

/linux-4.19.296/fs/freevxfs/
Dvxfs_lookup.c94 int pg_ofs = pos & ~PAGE_MASK; in vxfs_find_entry()
107 (kaddr + (pos & ~PAGE_MASK)); in vxfs_find_entry()
243 int pg_ofs = pos & ~PAGE_MASK; in vxfs_readdir()
258 (kaddr + (pos & ~PAGE_MASK)); in vxfs_readdir()
/linux-4.19.296/fs/hfsplus/
Dbnode.c29 off &= ~PAGE_MASK; in hfs_bnode_read()
82 off &= ~PAGE_MASK; in hfs_bnode_write()
112 off &= ~PAGE_MASK; in hfs_bnode_clear()
139 src &= ~PAGE_MASK; in hfs_bnode_copy()
141 dst &= ~PAGE_MASK; in hfs_bnode_copy()
198 src = (src & ~PAGE_MASK) + 1; in hfs_bnode_move()
201 dst = (dst & ~PAGE_MASK) + 1; in hfs_bnode_move()
248 src &= ~PAGE_MASK; in hfs_bnode_move()
250 dst &= ~PAGE_MASK; in hfs_bnode_move()
445 node->page_offset = off & ~PAGE_MASK; in __hfs_bnode_create()
Dbtree.c398 off &= ~PAGE_MASK; in hfs_bmap_alloc()
444 off &= ~PAGE_MASK; in hfs_bmap_alloc()
494 off &= ~PAGE_MASK; in hfs_bmap_free()
/linux-4.19.296/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c173 first = (data & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked()
174 last = ((data+size-1) & PAGE_MASK) >> PAGE_SHIFT; in videobuf_dma_init_user_locked()
175 dma->offset = data & ~PAGE_MASK; in videobuf_dma_init_user_locked()
189 err = get_user_pages_longterm(data & PAGE_MASK, dma->nr_pages, in videobuf_dma_init_user_locked()
306 & PAGE_MASK; in videobuf_dma_map()
307 dma->sglist[0].offset = dma->bus_addr & ~PAGE_MASK; in videobuf_dma_map()
/linux-4.19.296/include/linux/
Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
Dpagemap.h583 if (((unsigned long)uaddr & PAGE_MASK) == in fault_in_pages_writeable()
584 ((unsigned long)end & PAGE_MASK)) in fault_in_pages_writeable()
608 if (((unsigned long)uaddr & PAGE_MASK) == in fault_in_pages_readable()
609 ((unsigned long)end & PAGE_MASK)) { in fault_in_pages_readable()
Dpfn_t.h13 #define PFN_FLAGS_MASK (((u64) (~PAGE_MASK)) << (BITS_PER_LONG_LONG - PAGE_SHIFT))
/linux-4.19.296/fs/
Dbinfmt_aout.c274 error = vm_brk(text_addr & PAGE_MASK, map_size); in load_aout_binary()
289 if ((fd_offset & ~PAGE_MASK) != 0 && printk_ratelimit()) in load_aout_binary()
296 if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) { in load_aout_binary()
376 if ((N_TXTOFF(ex) & ~PAGE_MASK) != 0) { in load_aout_library()
/linux-4.19.296/include/crypto/
Dif_alg.h192 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf()
218 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/linux-4.19.296/fs/ntfs/
Dcompress.c111 kp_ofs = initialized_size & ~PAGE_MASK; in zero_partial_compressed_page()
271 *dest_ofs = (*dest_ofs + NTFS_SB_SIZE) & ~PAGE_MASK; in ntfs_decompress()
298 if (!(*dest_ofs &= ~PAGE_MASK)) { in ntfs_decompress()
332 if (!(*dest_ofs &= ~PAGE_MASK)) in ntfs_decompress()
737 cb_max_ofs = cb_max_page & ~PAGE_MASK; in ntfs_read_compressed_block()
Dbitmap.c85 pos = (start_bit >> 3) & ~PAGE_MASK; in __ntfs_bitmap_set_bits_in_run()
/linux-4.19.296/include/asm-generic/
Dfixmap.h21 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
Dpage.h22 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-memops.c56 ret = get_vaddr_frames(start & PAGE_MASK, nr, flags, vec); in vb2_create_framevec()
/linux-4.19.296/fs/hfs/
Dbtree.c272 off &= ~PAGE_MASK; in hfs_bmap_alloc()
317 off &= ~PAGE_MASK; in hfs_bmap_alloc()
364 off &= ~PAGE_MASK; in hfs_bmap_free()
/linux-4.19.296/drivers/misc/genwqe/
Dcard_dev.c524 if (((unsigned long)(load->data_addr) & ~PAGE_MASK) != 0) in do_flash_update()
660 if (((unsigned long)(load->data_addr) & ~PAGE_MASK) != 0) in do_flash_read()
783 if (m->size > ULONG_MAX - PAGE_SIZE - (m->addr & ~PAGE_MASK)) in genwqe_pin_mem()
786 map_addr = (m->addr & PAGE_MASK); in genwqe_pin_mem()
787 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); in genwqe_pin_mem()
816 map_addr = (m->addr & PAGE_MASK); in genwqe_unpin_mem()
817 map_size = round_up(m->size + (m->addr & ~PAGE_MASK), PAGE_SIZE); in genwqe_unpin_mem()
/linux-4.19.296/drivers/edac/
Dhighbank_mc_edac.c77 err_addr & ~PAGE_MASK, 0, in highbank_mc_err_handler()
87 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
Dti_edac.c108 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
116 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
Dcell_edac.c48 offset = address & ~PAGE_MASK; in cell_edac_count_ce()
71 offset = address & ~PAGE_MASK; in cell_edac_count_ue()
/linux-4.19.296/fs/qnx6/
Ddir.c53 u32 offs = (s << sb->s_blocksize_bits) & ~PAGE_MASK; in qnx6_longname()
120 unsigned start = (pos & ~PAGE_MASK) / QNX6_DIR_ENTRY_SIZE; in qnx6_readdir()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_dma.c366 err = __scif_pin_pages((void *)(addr & PAGE_MASK), in scif_register_temp()
393 (*out_window)->va_for_temp = addr & PAGE_MASK; in scif_register_temp()
663 off_t page_off = off & ~PAGE_MASK; in _get_local_va()
770 page_off = off & ~PAGE_MASK; in scif_off_to_dma_addr()
813 offset_in_page = offset & ~PAGE_MASK; in scif_rma_local_cpu_copy()
933 offset_in_ca = offset & ~PAGE_MASK; in scif_rma_list_dma_copy_unaligned()
1474 src_page_off = src_offset & ~PAGE_MASK; in scif_rma_list_cpu_copy()
1475 dst_page_off = dst_offset & ~PAGE_MASK; in scif_rma_list_cpu_copy()
1725 req.nr_bytes = ALIGN(len + (addr & ~PAGE_MASK), in scif_rma_copy()
1727 req.va_for_temp = addr & PAGE_MASK; in scif_rma_copy()
/linux-4.19.296/fs/proc/
Dtask_nommu.c118 *text = (PAGE_ALIGN(mm->end_code) - (mm->start_code & PAGE_MASK)) in task_statm()
120 *data = (PAGE_ALIGN(mm->start_stack) - (mm->start_data & PAGE_MASK)) in task_statm()
/linux-4.19.296/fs/ceph/
Dioctl.c43 if ((l->object_size & ~PAGE_MASK) || in __validate_layout()
44 (l->stripe_unit & ~PAGE_MASK) || in __validate_layout()
/linux-4.19.296/drivers/sfi/
Dsfi_core.c76 (((unsigned long)(addr1) & PAGE_MASK) == \
77 ((unsigned long)(addr2) & PAGE_MASK))
/linux-4.19.296/fs/isofs/
Dcompress.c237 ((cstart_block << zisofs_block_shift) & PAGE_MASK)); in zisofs_fill_pages()
273 poffset &= ~PAGE_MASK; in zisofs_fill_pages()

123456