Home
last modified time | relevance | path

Searched refs:offset_in_page (Results 1 – 25 of 32) sorted by relevance

12

/fs/ecryptfs/
Dread_write.c59 size_t offset_in_page, size_t size) in ecryptfs_write_lower_page_segment() argument
66 + offset_in_page); in ecryptfs_write_lower_page_segment()
246 size_t offset_in_page, size_t size, in ecryptfs_read_lower_page_segment() argument
253 offset = ((((loff_t)page_index) << PAGE_SHIFT) + offset_in_page); in ecryptfs_read_lower_page_segment()
Decryptfs_kernel.h672 size_t offset_in_page, size_t size);
678 size_t offset_in_page, size_t size,
Dcrypto.c259 offset = offset_in_page(addr); in virt_to_scatterlist()
/fs/f2fs/
Dverity.c46 PAGE_SIZE - offset_in_page(pos)); in pagecache_read()
56 memcpy(buf, addr + offset_in_page(pos), n); in pagecache_read()
80 PAGE_SIZE - offset_in_page(pos)); in pagecache_write()
92 memcpy(addr + offset_in_page(pos), buf, n); in pagecache_write()
/fs/iomap/
Dbuffered-io.c71 unsigned poff = offset_in_page(*pos); in iomap_adjust_read_range()
110 unsigned end = offset_in_page(isize - 1) >> block_bits; in iomap_adjust_read_range()
197 BUG_ON(size > PAGE_SIZE - offset_in_page(iomap->inline_data)); in iomap_read_inline_data()
360 if (ctx->cur_page && offset_in_page(pos + done) == 0) { in iomap_readpages_actor()
557 unsigned from = offset_in_page(pos), to = from + len, poff, plen; in __iomap_write_begin()
676 iomap_set_range_uptodate(page, offset_in_page(pos), len); in __iomap_write_end()
688 BUG_ON(pos + copied > PAGE_SIZE - offset_in_page(iomap->inline_data)); in iomap_write_end_inline()
752 offset = offset_in_page(pos); in iomap_write_actor()
866 offset = offset_in_page(pos); in iomap_dirty_actor()
958 offset = offset_in_page(pos); in iomap_zero_range_actor()
[all …]
Dseek.c50 if (offset_in_page(*lastoff) >= off + bsize) in page_seek_hole_data()
Ddirect-io.c347 BUG_ON(pos + length > PAGE_SIZE - offset_in_page(iomap->inline_data)); in iomap_dio_inline_actor()
/fs/ext4/
Dverity.c46 PAGE_SIZE - offset_in_page(pos)); in pagecache_read()
56 memcpy(buf, addr + offset_in_page(pos), n); in pagecache_read()
80 PAGE_SIZE - offset_in_page(pos)); in pagecache_write()
92 memcpy(addr + offset_in_page(pos), buf, n); in pagecache_write()
Dmove_extent.c622 int offset_in_page; in ext4_move_extents() local
661 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()
662 if (cur_len > blocks_per_page- offset_in_page) in ext4_move_extents()
663 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
675 offset_in_page, cur_len, in ext4_move_extents()
/fs/ubifs/
Dcrypto.c43 offset_in_page(p), block, GFP_NOFS); in ubifs_encrypt()
68 dlen, offset_in_page(&dn->data), in ubifs_decrypt()
/fs/pstore/
Dram_core.c411 page_start = start - offset_in_page(start); in persistent_ram_vmap()
412 page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); in persistent_ram_vmap()
438 return vaddr + offset_in_page(start); in persistent_ram_vmap()
542 vunmap(prz->vaddr - offset_in_page(prz->paddr)); in persistent_ram_free()
/fs/btrfs/
Dextent_io.c2808 off = offset_in_page(i_size); in end_bio_extent_readpage()
3089 size_t zero_offset = offset_in_page(last_byte); in __do_readpage()
3572 pg_offset = offset_in_page(i_size); in __extent_writepage()
5509 size_t start_offset = offset_in_page(eb->start); in read_extent_buffer()
5519 offset = offset_in_page(start_offset + start); in read_extent_buffer()
5544 size_t start_offset = offset_in_page(eb->start); in read_extent_buffer_to_user()
5551 offset = offset_in_page(start_offset + start); in read_extent_buffer_to_user()
5585 size_t start_offset = offset_in_page(eb->start); in map_private_extent_buffer()
5622 size_t start_offset = offset_in_page(eb->start); in memcmp_extent_buffer()
5629 offset = offset_in_page(start_offset + start); in memcmp_extent_buffer()
[all …]
Dcompression.c505 size_t zero_offset = offset_in_page(isize); in add_ra_bio_pages()
Dcheck-integrity.c1208 size_t start_offset = offset_in_page(block_ctx->start); in btrfsic_read_from_block_data()
1212 pgoff = offset_in_page(start_offset + offset); in btrfsic_read_from_block_data()
Dfile.c403 int offset = offset_in_page(pos); in btrfs_copy_from_user()
1614 size_t offset = offset_in_page(pos); in btrfs_buffered_write()
/fs/xfs/
Dxfs_bio_io.c36 unsigned int off = offset_in_page(data); in xfs_rw_bdev()
Dxfs_buf.c380 bp->b_offset = offset_in_page(bp->b_addr); in xfs_buf_allocate_memory()
Dxfs_bmap_util.c1126 if (offset + len >= XFS_ISIZE(ip) && offset_in_page(offset + len) > 0) { in xfs_free_file_space()
/fs/hfsplus/
Dwrapper.c76 unsigned int page_offset = offset_in_page(buf); in hfsplus_submit_bio()
/fs/cramfs/
Dinode.c344 partial = offset_in_page(inode->i_size); in cramfs_last_page_is_shared()
856 offset_in_page(inode->i_size); in cramfs_readpage()
/fs/jbd2/
Dcommit.c311 (void *)(addr + offset_in_page(bh->b_data)), bh->b_size); in jbd2_checksum_data()
340 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set()
Djournal.c375 new_offset = offset_in_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer()
378 new_offset = offset_in_page(jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer()
426 new_offset = offset_in_page(tmp); in jbd2_journal_write_metadata_buffer()
Dtransaction.c833 offset = offset_in_page(bh->b_data); in jbd2_freeze_jh_data()
/fs/gfs2/
Dquota.c777 pg_off = offset_in_page(loc); in gfs2_write_disk_quota()
/fs/ocfs2/cluster/
Dtcp.c942 offset_in_page(kmalloced_virt), in o2net_sendpage()

12