/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 96 min_t(size_t, PAGE_SIZE - offset_in_page(off), len); in __shmem_rw() 107 memcpy(vaddr + offset_in_page(off), ptr, this); in __shmem_rw() 110 memcpy(ptr, vaddr + offset_in_page(off), this); in __shmem_rw()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | struct-funcs.c | 61 const unsigned long oip = offset_in_page(member_offset); \ 88 const unsigned long oip = offset_in_page(member_offset); \ 110 const unsigned long oip = offset_in_page(member_offset); \ 139 const unsigned long oip = offset_in_page(member_offset); \
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | verity.c | 48 PAGE_SIZE - offset_in_page(pos)); in pagecache_read() 58 memcpy(buf, addr + offset_in_page(pos), n); in pagecache_read() 82 PAGE_SIZE - offset_in_page(pos)); in pagecache_write() 94 memcpy(addr + offset_in_page(pos), buf, n); in pagecache_write()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
D | tfc_io.c | 144 from += offset_in_page(mem_off); in ft_queue_data_in() 146 offset_in_page(mem_off))); in ft_queue_data_in() 303 to += offset_in_page(mem_off); in ft_recv_write_data() 305 offset_in_page(mem_off))); in ft_recv_write_data()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | verity.c | 46 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() 90 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 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()
|
/kernel/linux/linux-5.10/include/crypto/ |
D | scatterwalk.h | 31 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 74 offset_in_page(walk->offset); in scatterwalk_map()
|
/kernel/linux/linux-5.10/mm/ |
D | early_ioremap.c | 137 offset = offset_in_page(phys_addr); in __early_ioremap() 200 offset = offset_in_page(virt_addr); in early_iounmap() 260 slop = offset_in_page(src); in copy_from_early_mem()
|
D | mremap.c | 557 if (offset_in_page(new_addr)) in mremap_to() 629 if (!(offset_in_page(ret))) in mremap_to() 700 if (offset_in_page(addr)) in SYSCALL_DEFINE5() 801 if (offset_in_page(ret)) { in SYSCALL_DEFINE5()
|
D | msync.c | 44 if (offset_in_page(start)) in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_base.c | 964 unsigned int offset_in_page) in nand_fill_column_cycles() argument 969 if (offset_in_page > mtd->writesize + mtd->oobsize) in nand_fill_column_cycles() 977 if (mtd->writesize <= 512 && offset_in_page >= mtd->writesize) in nand_fill_column_cycles() 978 offset_in_page -= mtd->writesize; in nand_fill_column_cycles() 985 if (WARN_ON(offset_in_page % 2)) in nand_fill_column_cycles() 988 offset_in_page /= 2; in nand_fill_column_cycles() 991 addrs[0] = offset_in_page; in nand_fill_column_cycles() 1000 addrs[1] = offset_in_page >> 8; in nand_fill_column_cycles() 1006 unsigned int offset_in_page, void *buf, in nand_sp_exec_read_page_op() argument 1027 if (offset_in_page >= mtd->writesize) in nand_sp_exec_read_page_op() [all …]
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | edac_mc.c | 910 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ce_error() 934 edac_mc_scrub_block(remapped_page, e->offset_in_page, e->grain); in edac_ce_error() 947 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error() 959 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error() 1002 (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, in edac_raw_mc_handle_error() 1016 const unsigned long offset_in_page, in edac_mc_handle_error() argument 1042 e->offset_in_page = offset_in_page; in edac_mc_handle_error()
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | rawnand.h | 1469 unsigned int offset_in_page, void *buf, unsigned int len); 1471 unsigned int offset_in_page, void *buf, 1474 unsigned int offset_in_page, void *buf, unsigned int len); 1476 unsigned int offset_in_page, const void *buf, 1480 unsigned int offset_in_page, const void *buf, 1483 unsigned int offset_in_page, const void *buf,
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 142 offset = offset_in_page(xdr->page_base); in rpcrdma_args_inline() 222 page_offset = offset_in_page(base); in rpcrdma_convert_kvec() 259 page_base = offset_in_page(xdrbuf->page_base); in rpcrdma_convert_iovs() 622 page_base = offset_in_page(xdr->page_base); in rpcrdma_prepare_pagelist() 703 page_base = offset_in_page(xdr->page_base); in rpcrdma_pullup_pagelist() 755 offset_in_page(tail->iov_base), in rpcrdma_prepare_noch_mapped() 784 page_base = offset_in_page(xdr->tail[0].iov_base); in rpcrdma_prepare_readch() 1081 page_base = offset_in_page(rqst->rq_rcv_buf.page_base); in rpcrdma_inline_fixup()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | sys.c | 25 if (offset_in_page(off) != 0) in SYSCALL_DEFINE6()
|
/kernel/linux/linux-5.10/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() 219 BUG_ON(size > PAGE_SIZE - offset_in_page(iomap->inline_data)); in iomap_read_inline_data() 361 if (ctx->cur_page && offset_in_page(pos + done) == 0) { in iomap_readahead_actor() 558 unsigned from = offset_in_page(pos), to = from + len, poff, plen; in __iomap_write_begin() 687 iomap_set_range_uptodate(page, offset_in_page(pos), len); in __iomap_write_end() 698 BUG_ON(pos + copied > PAGE_SIZE - offset_in_page(iomap->inline_data)); in iomap_write_end_inline() 763 offset = offset_in_page(pos); in iomap_write_actor() 859 unsigned long offset = offset_in_page(pos); in iomap_unshare_actor() 909 unsigned offset = offset_in_page(pos); in iomap_zero()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | ram_core.c | 409 page_start = start - offset_in_page(start); in persistent_ram_vmap() 410 page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); in persistent_ram_vmap() 440 return vaddr + offset_in_page(start); in persistent_ram_vmap() 544 vunmap(prz->vaddr - offset_in_page(prz->paddr)); in persistent_ram_free()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_bio_io.c | 36 unsigned int off = offset_in_page(data); in xfs_rw_bdev()
|
/kernel/linux/linux-5.10/crypto/ |
D | skcipher.c | 55 offset_in_page(walk->offset); in skcipher_map() 199 if (offset_in_page(p->data) + p->len + walk->stride > in skcipher_walk_complete() 308 if (offset_in_page(walk->page) + walk->nbytes + walk->stride > in skcipher_next_copy() 322 walk->src.phys.offset = offset_in_page(walk->in.offset); in skcipher_next_fast() 324 walk->dst.phys.offset = offset_in_page(walk->out.offset); in skcipher_next_fast() 376 PAGE_SIZE - offset_in_page(walk->page)); in skcipher_walk_next()
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | dma-mapping.c | 20 unsigned long offset = offset_in_page(paddr); in cache_op()
|