/fs/ecryptfs/ |
D | read_write.c | 59 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() 248 size_t offset_in_page, size_t size, in ecryptfs_read_lower_page_segment() argument 255 offset = ((((loff_t)page_index) << PAGE_SHIFT) + offset_in_page); in ecryptfs_read_lower_page_segment()
|
D | ecryptfs_kernel.h | 657 size_t offset_in_page, size_t size); 663 size_t offset_in_page, size_t size,
|
/fs/f2fs/ |
D | verity.c | 48 PAGE_SIZE - offset_in_page(pos)); in pagecache_read() 56 memcpy_from_page(buf, page, offset_in_page(pos), n); in pagecache_read() 79 PAGE_SIZE - offset_in_page(pos)); in pagecache_write() 89 memcpy_to_page(page, offset_in_page(pos), buf, n); in pagecache_write()
|
/fs/ext4/ |
D | verity.c | 46 PAGE_SIZE - offset_in_page(pos)); in pagecache_read() 54 memcpy_from_page(buf, page, offset_in_page(pos), n); in pagecache_read() 77 PAGE_SIZE - offset_in_page(pos)); in pagecache_write() 87 memcpy_to_page(page, offset_in_page(pos), buf, n); in pagecache_write()
|
D | move_extent.c | 623 int offset_in_page; in ext4_move_extents() local 662 offset_in_page = o_start % blocks_per_page; in ext4_move_extents() 663 if (cur_len > blocks_per_page- offset_in_page) in ext4_move_extents() 664 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents() 676 offset_in_page, cur_len, in ext4_move_extents()
|
/fs/ubifs/ |
D | crypto.c | 43 offset_in_page(p), block, GFP_NOFS); in ubifs_encrypt() 68 dlen, offset_in_page(&dn->data), in ubifs_decrypt()
|
/fs/iomap/ |
D | buffered-io.c | 95 unsigned poff = offset_in_page(*pos); in iomap_adjust_read_range() 134 unsigned end = offset_in_page(isize - 1) >> block_bits; in iomap_adjust_read_range() 213 size_t poff = offset_in_page(iomap->offset); in iomap_read_inline_data() 222 offset_in_page(iomap->inline_data))) in iomap_read_inline_data() 367 if (ctx->cur_page && offset_in_page(iter->pos + done) == 0) { in iomap_readahead_iter() 555 unsigned from = offset_in_page(pos), to = from + len, poff, plen; in __iomap_write_begin() 672 iomap_set_range_uptodate(page, offset_in_page(pos), len); in __iomap_write_end() 748 offset = offset_in_page(pos); in iomap_write_iter() 839 unsigned long offset = offset_in_page(pos); in iomap_unshare_iter() 885 unsigned offset = offset_in_page(pos); in __iomap_zero_iter()
|
/fs/btrfs/ |
D | lzo.c | 295 u32 copy_len = min_t(u32, PAGE_SIZE - offset_in_page(*cur_in), in copy_compressed_segment() 303 kaddr + offset_in_page(*cur_in), in copy_compressed_segment() 362 seg_len = read_compress_length(kaddr + offset_in_page(cur_in)); in lzo_decompress_bio()
|
D | reflink.c | 111 memcpy_to_page(page, offset_in_page(file_offset), data_start, in copy_inline_to_page() 116 offset_in_page(file_offset), in copy_inline_to_page()
|
D | extent_io.c | 3094 u32 zero_start = max(offset_in_page(i_size), in end_bio_extent_readpage() 3095 offset_in_page(start)); in end_bio_extent_readpage() 3098 offset_in_page(end) + 1); in end_bio_extent_readpage() 3589 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage() 4088 pg_offset = offset_in_page(i_size); in __extent_writepage() 6134 offset_in_page(start) + len > PAGE_SIZE) { in alloc_extent_buffer() 7020 offset = start + offset_in_page(eb->start) + byte_offset; in eb_bitmap_offset() 7023 *page_offset = offset_in_page(offset); in eb_bitmap_offset()
|
D | subpage.c | 300 const int bit_start = offset_in_page(start) >> fs_info->sectorsize_bits; in btrfs_subpage_calc_bitmap()
|
D | ctree.h | 1653 offset_in_page(eb->start); \ 1659 type *p = page_address(eb->pages[0]) + offset_in_page(eb->start); \ 3537 return offset_in_page(offset + eb->start); in get_eb_offset_in_page()
|
/fs/pstore/ |
D | ram_core.c | 413 page_start = start - offset_in_page(start); in persistent_ram_vmap() 414 page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); in persistent_ram_vmap() 454 return vaddr + offset_in_page(start); in persistent_ram_vmap() 558 vunmap(prz->vaddr - offset_in_page(prz->paddr)); in persistent_ram_free()
|
/fs/xfs/ |
D | xfs_bio_io.c | 36 unsigned int off = offset_in_page(data); in xfs_rw_bdev()
|
D | xfs_aops.c | 447 unsigned int pageoff = offset_in_page(fileoff); in xfs_discard_page()
|
/fs/ksmbd/ |
D | auth.c | 1027 sg_set_page(sg, addr, buflen, offset_in_page(buf)); in smb2_sg_set_buf() 1073 int j, offset = offset_in_page(data); in ksmbd_init_sg() 1086 offset_in_page(data)); in ksmbd_init_sg() 1094 offset_in_page(data)); in ksmbd_init_sg()
|
/fs/verity/ |
D | read_metadata.c | 29 offs_in_page = offset_in_page(offset); in fsverity_read_merkle_tree()
|
/fs/sysfs/ |
D | file.c | 737 if (WARN(!buf || offset_in_page(buf), in sysfs_emit() 765 if (WARN(!buf || offset_in_page(buf) || at < 0 || at >= PAGE_SIZE, in sysfs_emit_at()
|
/fs/hfsplus/ |
D | wrapper.c | 76 unsigned int page_offset = offset_in_page(buf); in hfsplus_submit_bio()
|
/fs/cramfs/ |
D | inode.c | 344 partial = offset_in_page(inode->i_size); in cramfs_last_page_is_shared() 853 offset_in_page(inode->i_size); in cramfs_readpage()
|
/fs/cifs/ |
D | cifsglob.h | 2005 nents += DIV_ROUND_UP(offset_in_page(addr) + len, in cifs_get_num_sgs() 2013 nents += DIV_ROUND_UP(offset_in_page(sig) + SMB2_SIGNATURE_SIZE, PAGE_SIZE); in cifs_get_num_sgs() 2025 unsigned int off = offset_in_page(addr); in cifs_sg_set_buf()
|
/fs/jbd2/ |
D | commit.c | 338 (void *)(addr + offset_in_page(bh->b_data)), bh->b_size); in jbd2_checksum_data() 367 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set()
|
D | journal.c | 378 new_offset = offset_in_page(jh_in->b_frozen_data); in jbd2_journal_write_metadata_buffer() 381 new_offset = offset_in_page(jh2bh(jh_in)->b_data); in jbd2_journal_write_metadata_buffer() 429 new_offset = offset_in_page(tmp); in jbd2_journal_write_metadata_buffer()
|
/fs/ntfs3/ |
D | file.c | 960 off = offset_in_page(valid); in ntfs_compress_write() 1030 off = offset_in_page(pos); in ntfs_compress_write()
|
/fs/ |
D | exec.c | 637 min_not_zero(offset_in_page(pos), PAGE_SIZE)); in copy_string_kernel() 650 memcpy(kaddr + offset_in_page(pos), arg, bytes_to_copy); in copy_string_kernel()
|