Home
last modified time | relevance | path

Searched refs:page_offset (Results 1 – 25 of 62) sorted by relevance

123

/fs/orangefs/
Dinode.c43 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()
302 off = page_offset(page); in orangefs_readpage()
403 if (pos == page_offset(page) && in orangefs_write_end()
429 } else if (page_offset(page) + offset <= wr->pos && in orangefs_invalidatepage()
430 wr->pos + wr->len <= page_offset(page) + offset + length) { in orangefs_invalidatepage()
436 } else if (wr->pos < page_offset(page) + offset && in orangefs_invalidatepage()
437 wr->pos + wr->len <= page_offset(page) + offset + length && in orangefs_invalidatepage()
[all …]
/fs/hfs/
Dbnode.c26 off += node->page_offset; in hfs_bnode_read()
80 off += node->page_offset; in hfs_bnode_write()
105 off += node->page_offset; in hfs_bnode_clear()
121 src += src_node->page_offset; in hfs_bnode_copy()
122 dst += dst_node->page_offset; in hfs_bnode_copy()
140 src += node->page_offset; in hfs_bnode_move()
141 dst += node->page_offset; in hfs_bnode_move()
295 node->page_offset = off & ~PAGE_MASK; in __hfs_bnode_create()
354 desc = (struct hfs_bnode_desc *)(kmap(node->page[0]) + node->page_offset); in hfs_bnode_find()
444 memset(kmap(*pagep) + node->page_offset, 0, in hfs_bnode_create()
Dbtree.c269 off += node->page_offset; in hfs_bmap_alloc()
314 off += node->page_offset; in hfs_bmap_alloc()
361 off += node->page_offset + nidx / 8; in hfs_bmap_free()
Dbtree.h69 unsigned int page_offset; member
/fs/hfsplus/
Dbnode.c27 off += node->page_offset; in hfs_bnode_read()
80 off += node->page_offset; in hfs_bnode_write()
110 off += node->page_offset; in hfs_bnode_clear()
136 src += src_node->page_offset; in hfs_bnode_copy()
137 dst += dst_node->page_offset; in hfs_bnode_copy()
193 src += node->page_offset; in hfs_bnode_move()
194 dst += node->page_offset; in hfs_bnode_move()
445 node->page_offset = off & ~PAGE_MASK; in __hfs_bnode_create()
506 node->page_offset); in hfs_bnode_find()
596 memset(kmap(*pagep) + node->page_offset, 0, in hfs_bnode_create()
Dwrapper.c76 unsigned int page_offset = offset_in_page(buf); in hfsplus_submit_bio() local
77 unsigned int len = min_t(unsigned int, PAGE_SIZE - page_offset, in hfsplus_submit_bio()
80 ret = bio_add_page(bio, virt_to_page(buf), len, page_offset); in hfsplus_submit_bio()
Dbtree.c395 off += node->page_offset; in hfs_bmap_alloc()
441 off += node->page_offset; in hfs_bmap_alloc()
491 off += node->page_offset + nidx / 8; in hfs_bmap_free()
/fs/ocfs2/
Dmmap.c53 loff_t pos = page_offset(page); in __ocfs2_page_mkwrite()
77 (page_offset(page) >= size)) in __ocfs2_page_mkwrite()
/fs/ceph/
Daddr.c325 u64 off = page_offset(page); in ceph_readpage()
472 if (end > page_offset(page) + thp_size(page)) in get_writepages_data_length()
473 end = page_offset(page) + thp_size(page); in get_writepages_data_length()
489 loff_t page_off = page_offset(page); in writepage_nounlock()
829 if (page_offset(page) >= ceph_wbc.i_size) { in ceph_writepages_start()
833 page_offset(page) >= i_size_read(inode)) && in ceph_writepages_start()
873 offset = (u64)page_offset(page); in ceph_writepages_start()
906 offset = (u64)page_offset(page); in ceph_writepages_start()
952 offset = page_offset(pages[0]); in ceph_writepages_start()
973 BUG_ON(len < page_offset(pages[locked_pages - 1]) + in ceph_writepages_start()
[all …]
/fs/btrfs/
Dextent_io.c2385 start - page_offset(p), mirror_num); in btrfs_repair_eb_io_failure()
2680 ASSERT(page_offset(page) <= start && in end_page_read()
2681 start + len <= page_offset(page) + PAGE_SIZE); in end_page_read()
2839 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_writepage()
2935 btrfs_subpage_start_reader(fs_info, page, page_offset(page), PAGE_SIZE); in begin_page_read()
3029 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_readpage()
3061 start - page_offset(page), start, in end_bio_extent_readpage()
3403 page_offset(page) + cur, in submit_extent_page()
3557 u64 start = page_offset(page); in btrfs_do_readpage()
3785 u64 page_end = page_offset(page) + PAGE_SIZE - 1; in writepage_delalloc()
[all …]
Dsubpage.c180 ASSERT(page_offset(page) <= start && in btrfs_subpage_assert()
181 start + len <= page_offset(page) + PAGE_SIZE); in btrfs_subpage_assert()
224 *start = max_t(u64, page_offset(page), orig_start); in btrfs_subpage_clamp_range()
225 *len = min_t(u64, page_offset(page) + PAGE_SIZE, in btrfs_subpage_clamp_range()
/fs/jfs/
Djfs_metapage.c585 unsigned long page_offset; in __get_metapage() local
593 page_offset = (lblock - (page_index << l2BlocksPerPage)) << l2bsize; in __get_metapage()
594 if ((page_offset + size) > PAGE_SIZE) { in __get_metapage()
629 mp = page_to_mp(page, page_offset); in __get_metapage()
662 mp->data = page_address(page) + page_offset; in __get_metapage()
/fs/sysv/
Ddir.c209 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/9p/
Dvfs_addr.c55 retval = p9_client_read(fid, page_offset(page), &to, &err); in v9fs_fid_readpage()
173 p9_client_write(v9inode->writeback_fid, page_offset(page), &from, &err); in v9fs_vfs_writepage_locked()
/fs/f2fs/
Dinline.c111 trace_android_fs_dataread_start(inode, page_offset(page), in f2fs_read_inline_data()
118 trace_android_fs_dataread_end(inode, page_offset(page), in f2fs_read_inline_data()
126 trace_android_fs_dataread_end(inode, page_offset(page), in f2fs_read_inline_data()
139 trace_android_fs_dataread_end(inode, page_offset(page), in f2fs_read_inline_data()
/fs/minix/
Ddir.c265 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/
Dfile.c232 loff_t off = page_offset(page); in vboxsf_readpage()
276 loff_t off = page_offset(page); in vboxsf_writepage()
/fs/reiserfs/
Dxattr.c550 size_t page_offset = (file_pos & (PAGE_SIZE - 1)); in reiserfs_xattr_set_handle() local
578 err = __reiserfs_write_begin(page, page_offset, chunk + skip); in reiserfs_xattr_set_handle()
582 err = reiserfs_commit_write(NULL, page, page_offset, in reiserfs_xattr_set_handle()
583 page_offset + chunk + in reiserfs_xattr_set_handle()
/fs/cifs/
Dfile.c2333 if (page_offset(page) >= i_size_read(mapping->host)) { in wdata_prepare_pages()
2366 wdata->offset = page_offset(wdata->pages[0]); in wdata_send_pages()
2369 page_offset(wdata->pages[nr_pages - 1]), in wdata_send_pages()
3047 wdata->page_offset = start; in cifs_write_from_iter()
3569 unsigned int page_offset = rdata->page_offset; in uncached_fill_pages() local
3579 segment_size -= page_offset; in uncached_fill_pages()
3581 page_offset = 0; in uncached_fill_pages()
3602 page, page_offset, n, iter); in uncached_fill_pages()
3609 server, page, page_offset, n); in uncached_fill_pages()
3785 rdata->page_offset = start; in cifs_send_async_read()
[all …]
/fs/ext4/
Dreadpage.c170 page_offset(first_page), in ext4_trace_read_completion()
253 page_offset(first_page), in ext4_submit_bio_read()
/fs/ufs/
Ddir.c90 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/ext2/
Ddir.c467 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/iomap/
Dbuffered-io.c327 .pos = page_offset(page), in iomap_readpage()
463 trace_iomap_releasepage(page->mapping->host, page_offset(page), in iomap_releasepage()
995 iter.pos = page_offset(page); in iomap_page_mkwrite()
1314 for (i = 0, file_offset = page_offset(page); in iomap_writepage_map()
1403 trace_iomap_writepage(inode, page_offset(page), PAGE_SIZE); in iomap_do_writepage()
/fs/nilfs2/
Dfile.c59 page_offset(page) >= i_size_read(inode) || !PageUptodate(page)) { in nilfs_page_mkwrite()
/fs/xfs/
Dxfs_buf.c1674 int page_index, page_offset, csize; in xfs_buf_zero() local
1677 page_offset = (boff + bp->b_offset) & ~PAGE_MASK; in xfs_buf_zero()
1679 csize = min_t(size_t, PAGE_SIZE - page_offset, in xfs_buf_zero()
1682 ASSERT((csize + page_offset) <= PAGE_SIZE); in xfs_buf_zero()
1684 memset(page_address(page) + page_offset, 0, csize); in xfs_buf_zero()

123