/fs/romfs/ |
D | mmap-nommu.c | 21 unsigned long pgoff, in romfs_get_unmapped_area() argument 35 offset = pgoff << PAGE_SHIFT; in romfs_get_unmapped_area() 38 if ((pgoff >= maxpages) || (maxpages - pgoff < lpages)) in romfs_get_unmapped_area() 44 if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) in romfs_get_unmapped_area()
|
/fs/cramfs/ |
D | inode.c | 297 static u32 cramfs_get_block_range(struct inode *inode, u32 pgoff, u32 *pages) in cramfs_get_block_range() argument 308 blockptrs = (u32 *)(sbi->linear_virt_addr + OFFSET(inode) + pgoff * 4); in cramfs_get_block_range() 318 pgoff+i, pgoff + *pages - 1, in cramfs_get_block_range() 360 unsigned long address, pgoff = vma->vm_pgoff; in cramfs_physmem_mmap() local 380 if (pgoff >= max_pages) in cramfs_physmem_mmap() 382 pages = min(vma_pages(vma), max_pages - pgoff); in cramfs_physmem_mmap() 384 offset = cramfs_get_block_range(inode, pgoff, &pages); in cramfs_physmem_mmap() 394 if (pgoff + pages == max_pages && cramfs_last_page_is_shared(inode)) { in cramfs_physmem_mmap() 435 file_dentry(file)->d_name.name, pgoff, in cramfs_physmem_mmap() 442 file_dentry(file)->d_name.name, pgoff, bailout_reason); in cramfs_physmem_mmap() [all …]
|
/fs/ |
D | dax.c | 688 pgoff_t pgoff; in copy_user_dax() local 692 rc = bdev_dax_pgoff(bdev, sector, size, &pgoff); in copy_user_dax() 697 rc = dax_direct_access(dax_dev, pgoff, PHYS_PFN(size), &kaddr, NULL); in copy_user_dax() 766 unsigned long pgoff_address(pgoff_t pgoff, struct vm_area_struct *vma) in pgoff_address() argument 770 address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in pgoff_address() 995 pgoff_t pgoff; in dax_iomap_pfn() local 999 rc = bdev_dax_pgoff(iomap->bdev, sector, size, &pgoff); in dax_iomap_pfn() 1003 length = dax_direct_access(iomap->dax_dev, pgoff, PHYS_PFN(size), in dax_iomap_pfn() 1070 pgoff_t pgoff; in __dax_zero_page_range() local 1074 rc = bdev_dax_pgoff(bdev, sector, PAGE_SIZE, &pgoff); in __dax_zero_page_range() [all …]
|
/fs/ramfs/ |
D | file-nommu.c | 29 unsigned long pgoff, 203 unsigned long pgoff, unsigned long flags) in ramfs_nommu_get_unmapped_area() argument 216 if (pgoff >= maxpages) in ramfs_nommu_get_unmapped_area() 219 if (maxpages - pgoff < lpages) in ramfs_nommu_get_unmapped_area() 227 nr = find_get_pages(inode->i_mapping, &pgoff, lpages, pages); in ramfs_nommu_get_unmapped_area()
|
D | file-mmu.c | 35 unsigned long addr, unsigned long len, unsigned long pgoff, in ramfs_mmu_get_unmapped_area() argument 38 return current->mm->get_unmapped_area(file, addr, len, pgoff, flags); in ramfs_mmu_get_unmapped_area()
|
/fs/proc/ |
D | task_nommu.c | 152 unsigned long long pgoff = 0; in nommu_vma_show() local 161 pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT; in nommu_vma_show() 173 pgoff, in nommu_vma_show()
|
D | inode.c | 308 unsigned long len, unsigned long pgoff, in proc_reg_get_unmapped_area() argument 324 rv = get_area(file, orig_addr, len, pgoff, flags); in proc_reg_get_unmapped_area()
|
D | task_mmu.c | 331 vm_flags_t flags, unsigned long long pgoff, in show_vma_header_prefix() argument 342 seq_put_hex_ll(m, " ", pgoff, 8); in show_vma_header_prefix() 356 unsigned long long pgoff = 0; in show_map_vma() local 365 pgoff = ((loff_t)vma->vm_pgoff) << PAGE_SHIFT; in show_map_vma() 370 show_vma_header_prefix(m, start, end, flags, pgoff, dev, ino); in show_map_vma()
|
D | vmcore.c | 415 pgoff_t index = vmf->pgoff; in mmap_vmcore_fault()
|
/fs/reiserfs/ |
D | tail_conversion.c | 154 unsigned pgoff = in direct2indirect() local 157 memset(kaddr + pgoff, 0, blk_size - total_tail); in direct2indirect()
|
/fs/ocfs2/ |
D | mmap.c | 44 vma, vmf->page, vmf->pgoff); in ocfs2_fault()
|
D | ocfs2_trace.h | 1251 void *area, void *page, unsigned long pgoff), 1252 TP_ARGS(ino, area, page, pgoff), 1257 __field(unsigned long, pgoff) 1263 __entry->pgoff = pgoff; 1266 __entry->ino, __entry->area, __entry->page, __entry->pgoff)
|
/fs/hugetlbfs/ |
D | inode.c | 200 unsigned long len, unsigned long pgoff, unsigned long flags) in hugetlb_get_unmapped_area() argument 516 pgoff_t pgoff; in hugetlb_vmtruncate() local 521 pgoff = offset >> PAGE_SHIFT; in hugetlb_vmtruncate() 526 hugetlb_vmdelete_list(&mapping->i_mmap, pgoff, 0); in hugetlb_vmtruncate()
|
/fs/btrfs/ |
D | check-integrity.c | 1205 size_t pgoff; in btrfsic_read_from_block_data() local 1212 pgoff = offset_in_page(start_offset + offset); in btrfsic_read_from_block_data() 1215 cur = min(len, ((size_t)PAGE_SIZE - pgoff)); in btrfsic_read_from_block_data() 1218 memcpy(dst, kaddr + pgoff, cur); in btrfsic_read_from_block_data() 1222 pgoff = 0; in btrfsic_read_from_block_data()
|
D | inode.c | 3295 int pgoff, u64 start, size_t len) in __readpage_endio_check() argument 3310 crypto_shash_update(shash, kaddr + pgoff, len); in __readpage_endio_check() 3321 memset(kaddr + pgoff, 1, len); in __readpage_endio_check() 7933 struct page *page, unsigned int pgoff, in dio_read_error() argument 7970 pgoff, isector, repair_endio, repair_arg); in dio_read_error() 8028 unsigned int pgoff; in __btrfs_correct_data_nocsum() local 8043 pgoff = bvec.bv_offset; in __btrfs_correct_data_nocsum() 8051 pgoff, start, start + sectorsize - 1, in __btrfs_correct_data_nocsum() 8071 pgoff += sectorsize; in __btrfs_correct_data_nocsum() 8072 ASSERT(pgoff < PAGE_SIZE); in __btrfs_correct_data_nocsum() [all …]
|
/fs/ceph/ |
D | inode.c | 1525 pgoff_t pgoff = ctl->index / nsize; in fill_readdir_cache() local 1527 if (!ctl->page || pgoff != page_index(ctl->page)) { in fill_readdir_cache() 1530 ctl->page = grab_cache_page(&dir->i_data, pgoff); in fill_readdir_cache() 1532 ctl->page = find_lock_page(&dir->i_data, pgoff); in fill_readdir_cache()
|
D | addr.c | 1430 loff_t off = vmf->pgoff << PAGE_SHIFT; in ceph_filemap_fault()
|
/fs/xfs/ |
D | xfs_trace.h | 1168 __field(pgoff_t, pgoff) 1176 __entry->pgoff = page_offset(page); 1185 __entry->pgoff,
|
/fs/f2fs/ |
D | file.c | 43 trace_f2fs_filemap_fault(inode, vmf->pgoff, (unsigned long)ret); in f2fs_filemap_fault()
|