/fs/hfs/ |
D | bnode.c | 25 off += node->page_offset; in hfs_bnode_read() 77 off += node->page_offset; in hfs_bnode_write() 101 off += node->page_offset; in hfs_bnode_clear() 116 src += src_node->page_offset; in hfs_bnode_copy() 117 dst += dst_node->page_offset; in hfs_bnode_copy() 133 src += node->page_offset; in hfs_bnode_move() 134 dst += node->page_offset; in hfs_bnode_move() 288 node->page_offset = off & ~PAGE_MASK; in __hfs_bnode_create() 344 node->page_offset); in hfs_bnode_find() 434 memzero_page(*pagep, node->page_offset, in hfs_bnode_create()
|
D | btree.c | 272 off += node->page_offset; in hfs_bmap_alloc() 317 off += node->page_offset; in hfs_bmap_alloc() 364 off += node->page_offset + nidx / 8; in hfs_bmap_free()
|
D | btree.h | 69 unsigned int page_offset; member
|
/fs/hfsplus/ |
D | bnode.c | 27 off += node->page_offset; in hfs_bnode_read() 78 off += node->page_offset; in hfs_bnode_write() 106 off += node->page_offset; in hfs_bnode_clear() 130 src += src_node->page_offset; in hfs_bnode_copy() 131 dst += dst_node->page_offset; in hfs_bnode_copy() 184 src += node->page_offset; in hfs_bnode_move() 185 dst += node->page_offset; in hfs_bnode_move() 438 node->page_offset = off & ~PAGE_MASK; in __hfs_bnode_create() 495 node->page_offset); in hfs_bnode_find() 585 memzero_page(*pagep, node->page_offset, in hfs_bnode_create()
|
D | wrapper.c | 74 unsigned int page_offset = offset_in_page(buf); in hfsplus_submit_bio() local 75 unsigned int len = min_t(unsigned int, PAGE_SIZE - page_offset, in hfsplus_submit_bio() 78 ret = bio_add_page(bio, virt_to_page(buf), len, page_offset); in hfsplus_submit_bio()
|
D | btree.c | 396 off += node->page_offset; in hfs_bmap_alloc() 442 off += node->page_offset; in hfs_bmap_alloc() 492 off += node->page_offset + nidx / 8; in hfs_bmap_free()
|
/fs/btrfs/ |
D | extent_io.c | 131 btrfs_bio(bio)->file_offset = page_offset(bv->bv_page) + bv->bv_offset; in submit_one_bio() 413 ASSERT(!(orig_start >= page_offset(locked_page) + PAGE_SIZE || in find_lock_delalloc_range() 414 orig_end <= page_offset(locked_page))); in find_lock_delalloc_range() 645 start - page_offset(p), mirror_num); in btrfs_repair_eb_io_failure() 877 ASSERT(page_offset(page) <= start && in end_page_read() 878 start + len <= page_offset(page) + PAGE_SIZE); in end_page_read() 923 const u64 start = page_offset(bvec->bv_page) + bvec->bv_offset; in submit_data_read_repair() 1041 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_writepage() 1133 btrfs_subpage_start_reader(fs_info, page, page_offset(page), PAGE_SIZE); in begin_page_read() 1224 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_readpage() [all …]
|
D | subpage.c | 239 ASSERT(page_offset(page) <= start && in btrfs_subpage_assert() 240 start + len <= page_offset(page) + PAGE_SIZE); in btrfs_subpage_assert() 283 *start = max_t(u64, page_offset(page), orig_start); in btrfs_subpage_clamp_range() 289 if (page_offset(page) >= orig_start + orig_len) in btrfs_subpage_clamp_range() 292 *len = min_t(u64, page_offset(page) + PAGE_SIZE, in btrfs_subpage_clamp_range()
|
D | inode.c | 198 page_start = page_offset(locked_page); in btrfs_cleanup_ordered_extents() 244 bytes = offset + bytes - page_offset(locked_page) - PAGE_SIZE; in btrfs_cleanup_ordered_extents() 245 offset = page_offset(locked_page) + PAGE_SIZE; in btrfs_cleanup_ordered_extents() 876 (page_offset(async_chunk->locked_page) >= start && in compress_file_range() 877 page_offset(async_chunk->locked_page)) <= end) { in compress_file_range() 934 const u64 page_start = page_offset(locked_page); in submit_uncompressed_range() 974 u64 locked_page_start = page_offset(async_chunk->locked_page); in submit_one_async_extent() 2209 ASSERT(!(end <= page_offset(locked_page) || in btrfs_run_delalloc_range() 2210 start >= page_offset(locked_page) + PAGE_SIZE)); in btrfs_run_delalloc_range() 2705 page_offset(bio_first_bvec_all(bio)->bv_page)); in btrfs_submit_data_write_bio() [all …]
|
/fs/smb/client/ |
D | fscache.c | 161 ret = fscache_read(&cres, page_offset(page), &iter, NETFS_READ_HOLE_FAIL, in fscache_fallback_read_page() 177 loff_t start = page_offset(page); in fscache_fallback_write_page() 194 ret = fscache_write(&cres, page_offset(page), &iter, NULL, NULL); in fscache_fallback_write_page()
|
D | file.c | 2353 wdata2->offset = page_offset(wdata2->pages[0]); in cifs_writev_requeue() 2598 if (page_offset(page) >= i_size_read(mapping->host)) { in wdata_prepare_pages() 2631 wdata->offset = page_offset(wdata->pages[0]); in wdata_send_pages() 2634 page_offset(wdata->pages[nr_pages - 1]), in wdata_send_pages() 3317 wdata->page_offset = start; in cifs_write_from_iter() 3839 unsigned int page_offset = rdata->page_offset; in uncached_fill_pages() local 3849 segment_size -= page_offset; in uncached_fill_pages() 3851 page_offset = 0; in uncached_fill_pages() 3872 page, page_offset, n, iter); in uncached_fill_pages() 3879 server, page, page_offset, n); in uncached_fill_pages() [all …]
|
/fs/ocfs2/ |
D | mmap.c | 53 loff_t pos = page_offset(page); in __ocfs2_page_mkwrite() 77 (page_offset(page) >= size)) in __ocfs2_page_mkwrite()
|
/fs/nfs/ |
D | fscache.c | 264 ret = fscache_read(&cres, page_offset(page), &iter, NETFS_READ_HOLE_FAIL, in fscache_fallback_read_page() 280 loff_t start = page_offset(page); in fscache_fallback_write_page() 297 ret = fscache_write(&cres, page_offset(page), &iter, NULL, NULL); in fscache_fallback_write_page()
|
/fs/orangefs/ |
D | inode.c | 43 off = page_offset(page); in orangefs_writepage_locked() 106 ow->bv[i].bv_len = min(page_offset(ow->pages[i]) + PAGE_SIZE, in orangefs_writepages_work() 108 max(ow->off, page_offset(ow->pages[i])); in orangefs_writepages_work() 111 page_offset(ow->pages[i]); in orangefs_writepages_work() 402 if (pos == page_offset(page) && in orangefs_write_end() 675 wr->pos = page_offset(vmf->page); in orangefs_page_mkwrite() 690 wr->pos = page_offset(vmf->page); in orangefs_page_mkwrite()
|
/fs/jfs/ |
D | jfs_metapage.c | 584 unsigned long page_offset; in __get_metapage() local 592 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage() 593 if ((page_offset + size) > PAGE_SIZE) { in __get_metapage() 628 mp = page_to_mp(page, page_offset); in __get_metapage() 661 mp->data = page_address(page) + page_offset; in __get_metapage()
|
/fs/sysv/ |
D | dir.c | 209 pos = page_offset(page) + in sysv_add_link() 234 loff_t pos = page_offset(page) + (char *)de - kaddr; in sysv_delete_entry() 331 loff_t pos = page_offset(page) + in sysv_set_link()
|
/fs/ceph/ |
D | addr.c | 592 if (end > page_offset(page) + thp_size(page)) in get_writepages_data_length() 593 end = page_offset(page) + thp_size(page); in get_writepages_data_length() 610 loff_t page_off = page_offset(page); in writepage_nounlock() 971 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start() 1018 offset = (u64)page_offset(page); in ceph_writepages_start() 1051 offset = (u64)page_offset(page); in ceph_writepages_start() 1094 offset = page_offset(pages[0]); in ceph_writepages_start() 1115 BUG_ON(len < page_offset(pages[locked_pages - 1]) + in ceph_writepages_start() 1126 u64 cur_offset = page_offset(pages[i]); in ceph_writepages_start() 1558 loff_t off = page_offset(page); in ceph_page_mkwrite()
|
/fs/minix/ |
D | dir.c | 265 pos = page_offset(page) + p - (char *)page_address(page); in minix_add_link() 293 loff_t pos = page_offset(page) + (char*)de - kaddr; in minix_delete_entry() 417 loff_t pos = page_offset(page) + in minix_set_link()
|
/fs/vboxsf/ |
D | file.c | 232 loff_t off = page_offset(page); in vboxsf_read_folio() 276 loff_t off = page_offset(page); in vboxsf_writepage()
|
/fs/reiserfs/ |
D | xattr.c | 543 size_t page_offset = (file_pos & (PAGE_SIZE - 1)); in reiserfs_xattr_set_handle() local 571 err = __reiserfs_write_begin(page, page_offset, chunk + skip); in reiserfs_xattr_set_handle() 575 err = reiserfs_commit_write(NULL, page, page_offset, in reiserfs_xattr_set_handle() 576 page_offset + chunk + in reiserfs_xattr_set_handle()
|
/fs/ext2/ |
D | dir.c | 467 loff_t pos = page_offset(page) + in ext2_set_link() 554 pos = page_offset(page) + in ext2_add_link() 611 pos = page_offset(page) + from; in ext2_delete_entry()
|
/fs/ufs/ |
D | dir.c | 90 loff_t pos = page_offset(page) + in ufs_set_link() 374 pos = page_offset(page) + in ufs_add_link() 527 pos = page_offset(page) + from; in ufs_delete_entry()
|
/fs/nilfs2/ |
D | file.c | 59 page_offset(page) >= i_size_read(inode) || !PageUptodate(page)) { in nilfs_page_mkwrite()
|
/fs/xfs/ |
D | xfs_buf.c | 1727 int page_index, page_offset, csize; in xfs_buf_zero() local 1730 page_offset = (boff + bp->b_offset) & ~PAGE_MASK; in xfs_buf_zero() 1732 csize = min_t(size_t, PAGE_SIZE - page_offset, in xfs_buf_zero() 1735 ASSERT((csize + page_offset) <= PAGE_SIZE); in xfs_buf_zero() 1737 memset(page_address(page) + page_offset, 0, csize); in xfs_buf_zero()
|
/fs/ubifs/ |
D | file.c | 783 pgoff_t page_offset = offset + page_idx; in ubifs_do_bulk_read() local 786 if (page_offset > end_index) in ubifs_do_bulk_read() 788 page = pagecache_get_page(mapping, page_offset, in ubifs_do_bulk_read() 1553 page_offset(page) > i_size_read(inode))) { in ubifs_vm_page_mkwrite()
|