/linux-6.1.9/sound/firewire/ |
D | packets-buffer.c | 26 unsigned int i, page_index, offset_in_page; in iso_packets_buffer_init() local 52 offset_in_page = (i % packets_per_page) * packet_size; in iso_packets_buffer_init() 53 b->packets[i].buffer = p + offset_in_page; in iso_packets_buffer_init() 54 b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; in iso_packets_buffer_init()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 99 min_t(size_t, PAGE_SIZE - offset_in_page(off), len); in __shmem_rw() 110 memcpy(vaddr + offset_in_page(off), ptr, this); in __shmem_rw() 113 memcpy(ptr, vaddr + offset_in_page(off), this); in __shmem_rw() 134 min_t(size_t, PAGE_SIZE - offset_in_page(off), len); in shmem_read_to_iosys_map() 144 iosys_map_memcpy_to(map, map_off, vaddr + offset_in_page(off), in shmem_read_to_iosys_map()
|
D | intel_timeline.c | 61 u32 ofs = offset_in_page(timeline->hwsp_offset); in intel_timeline_pin_map() 210 offset_in_page(tl->hwsp_offset); in intel_timeline_pin() 311 u32 next_ofs = offset_in_page(tl->hwsp_offset + TIMELINE_SEQNO_BYTES); in __intel_timeline_get_seqno() 315 next_ofs = offset_in_page(next_ofs + BIT(5)); in __intel_timeline_get_seqno() 355 offset_in_page(from->hwsp_seqno); in intel_timeline_read_hwsp()
|
/linux-6.1.9/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()
|
/linux-6.1.9/fs/btrfs/ |
D | lzo.c | 159 write_compress_length(kaddr + offset_in_page(*cur_out), in copy_compressed_data_to_page() 185 memcpy(kaddr + offset_in_page(*cur_out), in copy_compressed_data_to_page() 200 memset(kaddr + offset_in_page(*cur_out), 0, in copy_compressed_data_to_page() 253 offset_in_page(cur_in), in_len, in lzo_compress_pages() 314 u32 copy_len = min_t(u32, PAGE_SIZE - offset_in_page(*cur_in), in copy_compressed_segment() 321 offset_in_page(*cur_in), copy_len); in copy_compressed_segment() 378 seg_len = read_compress_length(kaddr + offset_in_page(cur_in)); in lzo_decompress_bio()
|
D | compression.c | 447 real_size = min_t(u64, real_size, PAGE_SIZE - offset_in_page(offset)); in btrfs_submit_compressed_write() 453 offset_in_page(offset)); in btrfs_submit_compressed_write() 456 offset_in_page(offset)); in btrfs_submit_compressed_write() 557 sectors_missed += (PAGE_SIZE - offset_in_page(cur)) >> in add_ra_bio_pages() 619 size_t zero_offset = offset_in_page(isize); in add_ra_bio_pages() 629 ret = bio_add_page(cb->orig_bio, page, add_size, offset_in_page(cur)); in add_ra_bio_pages() 767 real_size = min_t(u64, real_size, PAGE_SIZE - offset_in_page(offset)); in btrfs_submit_compressed_read() 771 added = bio_add_page(comp_bio, page, real_size, offset_in_page(offset)); in btrfs_submit_compressed_read()
|
/linux-6.1.9/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() 82 PAGE_SIZE - offset_in_page(pos)); in pagecache_write() 91 memcpy_to_page(page, offset_in_page(pos), buf, n); in pagecache_write()
|
/linux-6.1.9/arch/s390/mm/ |
D | mmap.c | 106 if (offset_in_page(addr)) in arch_get_unmapped_area() 154 if (offset_in_page(addr)) { in arch_get_unmapped_area_topdown() 160 if (offset_in_page(addr)) in arch_get_unmapped_area_topdown()
|
/linux-6.1.9/fs/ubifs/ |
D | crypto.c | 54 offset_in_page(p), block, GFP_NOFS); in ubifs_encrypt() 79 dlen, offset_in_page(&dn->data), in ubifs_decrypt()
|
/linux-6.1.9/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() 80 PAGE_SIZE - offset_in_page(pos)); in pagecache_write() 89 memcpy_to_page(page, offset_in_page(pos), buf, n); in pagecache_write()
|
D | move_extent.c | 622 int offset_in_page; in ext4_move_extents() local 660 offset_in_page = o_start % blocks_per_page; in ext4_move_extents() 661 if (cur_len > blocks_per_page - offset_in_page) in ext4_move_extents() 662 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents() 674 offset_in_page, cur_len, in ext4_move_extents()
|
/linux-6.1.9/drivers/target/tcm_fc/ |
D | tfc_io.c | 143 from += offset_in_page(mem_off); in ft_queue_data_in() 145 offset_in_page(mem_off))); in ft_queue_data_in() 302 to += offset_in_page(mem_off); in ft_recv_write_data() 304 offset_in_page(mem_off))); in ft_recv_write_data()
|
/linux-6.1.9/include/crypto/ |
D | scatterwalk.h | 32 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 69 offset_in_page(walk->offset); in scatterwalk_map()
|
/linux-6.1.9/mm/ |
D | early_ioremap.c | 133 offset = offset_in_page(phys_addr); in __early_ioremap() 196 offset = offset_in_page(virt_addr); in early_iounmap() 256 slop = offset_in_page(src); in copy_from_early_mem()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_base.c | 1090 unsigned int offset_in_page) in nand_fill_column_cycles() argument 1095 if (offset_in_page > mtd->writesize + mtd->oobsize) in nand_fill_column_cycles() 1103 if (mtd->writesize <= 512 && offset_in_page >= mtd->writesize) in nand_fill_column_cycles() 1104 offset_in_page -= mtd->writesize; in nand_fill_column_cycles() 1111 if (WARN_ON(offset_in_page % 2)) in nand_fill_column_cycles() 1114 offset_in_page /= 2; in nand_fill_column_cycles() 1117 addrs[0] = offset_in_page; in nand_fill_column_cycles() 1126 addrs[1] = offset_in_page >> 8; in nand_fill_column_cycles() 1132 unsigned int offset_in_page, void *buf, in nand_sp_exec_read_page_op() argument 1153 if (offset_in_page >= mtd->writesize) in nand_sp_exec_read_page_op() [all …]
|
/linux-6.1.9/drivers/edac/ |
D | edac_mc.c | 841 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ce_error() 865 edac_mc_scrub_block(remapped_page, e->offset_in_page, e->grain); in edac_ce_error() 878 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error() 890 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error() 933 (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, in edac_raw_mc_handle_error() 947 const unsigned long offset_in_page, in edac_mc_handle_error() argument 974 e->offset_in_page = offset_in_page; in edac_mc_handle_error()
|
/linux-6.1.9/sound/virtio/ |
D | virtio_pcm_msg.c | 59 pg_length = PAGE_SIZE - offset_in_page(data); in virtsnd_pcm_sg_num() 99 pg_length = PAGE_SIZE - offset_in_page(data); in virtsnd_pcm_sg_from() 108 offset_in_page(data)); in virtsnd_pcm_sg_from()
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | mm.c | 83 size = PAGE_ALIGN(size + offset_in_page(phys)); in __pkvm_create_private_mapping() 92 *haddr = addr + offset_in_page(phys); in __pkvm_create_private_mapping()
|
/linux-6.1.9/virt/kvm/ |
D | pfncache.c | 145 void *old_khva = gpc->khva - offset_in_page(gpc->khva); in hva_to_pfn_retry() 274 old_khva = gpc->khva - offset_in_page(gpc->khva); in kvm_gfn_to_pfn_cache_refresh() 348 old_khva = gpc->khva - offset_in_page(gpc->khva); in kvm_gfn_to_pfn_cache_unmap()
|
/linux-6.1.9/include/linux/mtd/ |
D | rawnand.h | 1524 unsigned int offset_in_page, void *buf, unsigned int len); 1526 unsigned int offset_in_page, void *buf, 1529 unsigned int offset_in_page, void *buf, unsigned int len); 1531 unsigned int offset_in_page, const void *buf, 1535 unsigned int offset_in_page, const void *buf, 1538 unsigned int offset_in_page, const void *buf,
|
/linux-6.1.9/arch/arm64/kernel/ |
D | sys.c | 25 if (offset_in_page(off) != 0) in SYSCALL_DEFINE6()
|
/linux-6.1.9/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 138 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline() 213 seg->mr_offset = offset_in_page(vec->iov_base); in rpcrdma_convert_kvec() 242 page_base = offset_in_page(xdrbuf->page_base); in rpcrdma_convert_iovs() 606 page_base = offset_in_page(xdr->page_base); in rpcrdma_prepare_pagelist() 687 page_base = offset_in_page(xdr->page_base); in rpcrdma_pullup_pagelist() 739 offset_in_page(tail->iov_base), in rpcrdma_prepare_noch_mapped() 768 page_base = offset_in_page(xdr->tail[0].iov_base); in rpcrdma_prepare_readch() 1065 page_base = offset_in_page(rqst->rq_rcv_buf.page_base); in rpcrdma_inline_fixup()
|
/linux-6.1.9/drivers/hwtracing/intel_th/ |
D | sth.c | 152 if (offset_in_page(addr) || in sth_stm_mmio_addr() 153 offset_in_page(nr_chans * sizeof(struct intel_th_channel))) in sth_stm_mmio_addr()
|
/linux-6.1.9/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()
|
/linux-6.1.9/crypto/ |
D | skcipher.c | 56 offset_in_page(walk->offset); in skcipher_map() 200 if (offset_in_page(p->data) + p->len + walk->stride > in skcipher_walk_complete() 309 if (offset_in_page(walk->page) + walk->nbytes + walk->stride > in skcipher_next_copy() 323 walk->src.phys.offset = offset_in_page(walk->in.offset); in skcipher_next_fast() 325 walk->dst.phys.offset = offset_in_page(walk->out.offset); in skcipher_next_fast() 377 PAGE_SIZE - offset_in_page(walk->page)); in skcipher_walk_next()
|