offset_in_page 25 arch/arm64/kernel/sys.c if (offset_in_page(off) != 0) offset_in_page 22 arch/csky/mm/dma-mapping.c unsigned long offset = offset_in_page(paddr); offset_in_page 151 arch/ia64/kernel/sys_ia64.c if (offset_in_page(off) != 0) offset_in_page 79 arch/parisc/kernel/patch.c if (len && offset_in_page(addr) == 0) { offset_in_page 296 arch/powerpc/mm/pgtable.c return __pa(pfn_to_kaddr(pfn)) + offset_in_page(va); offset_in_page 930 arch/powerpc/perf/hv-24x7.c loff_t offset_in_page; offset_in_page 950 arch/powerpc/perf/hv-24x7.c offset_in_page = offset % 4096; offset_in_page 964 arch/powerpc/perf/hv-24x7.c copy_len = 4096 - offset_in_page; offset_in_page 968 arch/powerpc/perf/hv-24x7.c memcpy(buf, page+offset_in_page, copy_len); offset_in_page 162 arch/s390/kernel/crash_dump.c len = min(PAGE_SIZE - offset_in_page(ra), len); offset_in_page 1057 arch/x86/events/intel/pt.c if (!offset_in_page(head + handle->size + 1)) offset_in_page 790 arch/x86/kernel/alternative.c bool cross_page_boundary = offset_in_page(addr) + len > PAGE_SIZE; offset_in_page 853 arch/x86/kernel/alternative.c memcpy((u8 *)poking_addr + offset_in_page(addr), opcode, len); offset_in_page 902 arch/x86/kvm/emulate.c size = min_t(unsigned, size, PAGE_SIZE - offset_in_page(linear)); offset_in_page 1521 arch/x86/kvm/emulate.c offset_in_page(reg_read(ctxt, VCPU_REGS_RDI)) : offset_in_page 1522 arch/x86/kvm/emulate.c PAGE_SIZE - offset_in_page(reg_read(ctxt, VCPU_REGS_RDI)); offset_in_page 1568 arch/x86/kvm/hyperv.c offset_in_page(gpa) + sizeof(param) > PAGE_SIZE) offset_in_page 5384 arch/x86/kvm/mmu.c offset = offset_in_page(gpa); offset_in_page 5406 arch/x86/kvm/mmu.c page_offset = offset_in_page(gpa); offset_in_page 239 arch/x86/kvm/paging_tmpl.h index = offset_in_page(ptep_user) / sizeof(pt_element_t); offset_in_page 2984 arch/x86/kvm/svm.c offset_in_page(cr3) + index * 8, 8); offset_in_page 2998 arch/x86/kvm/vmx/nested.c offset_in_page(vmcs12->posted_intr_desc_addr)); offset_in_page 3000 arch/x86/kvm/vmx/nested.c pfn_to_hpa(map->pfn) + offset_in_page(vmcs12->posted_intr_desc_addr)); offset_in_page 7302 arch/x86/kvm/vmx/vmx.c offset_in_page(dst), sizeof(gpa))) offset_in_page 2661 arch/x86/kvm/x86.c offset_in_page(vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS); offset_in_page 3559 arch/x86/kvm/x86.c offset_in_page(vcpu->arch.st.msr_val & KVM_STEAL_VALID_BITS); offset_in_page 5858 arch/x86/kvm/x86.c kaddr = map.hva + offset_in_page(gpa); offset_in_page 226 arch/x86/xen/enlighten.c info.offset = offset_in_page(vcpup); offset_in_page 265 block/bio-integrity.c offset = offset_in_page(buf); offset_in_page 1284 block/bio.c unsigned int offset = map_data ? offset_in_page(map_data->offset) : 0; offset_in_page 1538 block/bio.c offset = offset_in_page(kaddr); offset_in_page 206 crypto/ablkcipher.c walk->src.offset = offset_in_page(walk->in.offset); offset_in_page 208 crypto/ablkcipher.c walk->dst.offset = offset_in_page(walk->out.offset); offset_in_page 71 crypto/ahash.c walk->offset = offset_in_page(walk->offset); offset_in_page 195 crypto/blkcipher.c walk->src.phys.offset = offset_in_page(walk->in.offset); offset_in_page 197 crypto/blkcipher.c walk->dst.phys.offset = offset_in_page(walk->out.offset); offset_in_page 55 crypto/skcipher.c offset_in_page(walk->offset); offset_in_page 199 crypto/skcipher.c if (offset_in_page(p->data) + p->len + walk->stride > offset_in_page 308 crypto/skcipher.c if (offset_in_page(walk->page) + walk->nbytes + walk->stride > offset_in_page 322 crypto/skcipher.c walk->src.phys.offset = offset_in_page(walk->in.offset); offset_in_page 324 crypto/skcipher.c walk->dst.phys.offset = offset_in_page(walk->out.offset); offset_in_page 376 crypto/skcipher.c PAGE_SIZE - offset_in_page(walk->page)); offset_in_page 2004 drivers/block/rbd.c if (offset_in_page(p) + object_map_bytes > reply_len) { offset_in_page 2017 drivers/block/rbd.c offset_in_page(p), object_map_bytes); offset_in_page 219 drivers/block/virtio_blk.c req->special_vec.bv_offset = offset_in_page(range); offset_in_page 109 drivers/crypto/nx/nx-842.h return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr); offset_in_page 92 drivers/crypto/nx/nx.c + offset_in_page(sg_addr); offset_in_page 242 drivers/crypto/padlock-aes.c if (unlikely(offset_in_page(in) + ecb_fetch_bytes > PAGE_SIZE)) { offset_in_page 254 drivers/crypto/padlock-aes.c if (unlikely(offset_in_page(in) + cbc_fetch_bytes > PAGE_SIZE)) offset_in_page 730 drivers/dma/dmatest.c unsigned long pg_off = offset_in_page(buf); offset_in_page 748 drivers/dma/dmatest.c unsigned long pg_off = offset_in_page(buf); offset_in_page 799 drivers/dma/mv_xor.c offset_in_page(src), PAGE_SIZE, offset_in_page 811 drivers/dma/mv_xor.c offset_in_page(dest), PAGE_SIZE, offset_in_page 1104 drivers/dma/sh/rcar-dmac.c offset_in_page(dma_src)); offset_in_page 1233 drivers/dma/sh/rcar-dmac.c offset_in_page(src)); offset_in_page 653 drivers/dma/sh/shdma-base.c offset_in_page(dma_src)); offset_in_page 741 drivers/dma/sh/shdma-base.c offset_in_page(src)); offset_in_page 142 drivers/edac/bluefield_edac.c offset_in_page(ecc_dimm_addr), offset_in_page 373 drivers/edac/e752x_edac.c page, offset_in_page(sec1_add << 4), sec1_syndrome, offset_in_page 411 drivers/edac/e752x_edac.c offset_in_page(error_2b << 4), 0, offset_in_page 430 drivers/edac/e752x_edac.c offset_in_page(error_2b << 4), 0, offset_in_page 962 drivers/edac/edac_mc.c const unsigned long offset_in_page, offset_in_page 1002 drivers/edac/edac_mc.c offset_in_page, grain); offset_in_page 1057 drivers/edac/edac_mc.c e->page_frame_number, e->offset_in_page, offset_in_page 1061 drivers/edac/edac_mc.c e->page_frame_number, e->offset_in_page, e->grain); offset_in_page 1065 drivers/edac/edac_mc.c e->page_frame_number, e->offset_in_page, e->grain); offset_in_page 1079 drivers/edac/edac_mc.c const unsigned long offset_in_page, offset_in_page 1103 drivers/edac/edac_mc.c e->offset_in_page = offset_in_page; offset_in_page 1242 drivers/edac/edac_mc.c (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, offset_in_page 249 drivers/edac/edac_mc.h const unsigned long offset_in_page, offset_in_page 325 drivers/edac/ghes_edac.c e->offset_in_page = mem_err->physical_addr & ~PAGE_MASK; offset_in_page 457 drivers/edac/ghes_edac.c (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, offset_in_page 626 drivers/edac/thunderx_edac.c offset_in_page(phys_addr), offset_in_page 631 drivers/edac/thunderx_edac.c offset_in_page(phys_addr), offset_in_page 276 drivers/fpga/fpga-mgr.c p = buf - offset_in_page(buf); offset_in_page 293 drivers/fpga/fpga-mgr.c rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), offset_in_page 296 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (offset_in_page(args->addr | args->size)) offset_in_page 386 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (offset_in_page(args->user_ptr | args->user_size) || offset_in_page 456 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(offset_in_page(entry->pad_to_size))) offset_in_page 1333 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c clflush_write32(vaddr + offset_in_page(offset), offset_in_page 365 drivers/gpu/drm/i915/gem/i915_gem_shmem.c pg = offset_in_page(offset); offset_in_page 802 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (offset_in_page(args->user_ptr | args->user_size)) offset_in_page 1045 drivers/gpu/drm/i915/gem/selftests/huge_pages.c u32 dword = offset_in_page(num) / 4; offset_in_page 30 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c cpu = map + offset_in_page(offset); offset_in_page 62 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c cpu = map + offset_in_page(offset); offset_in_page 150 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c cpu = kmap(p) + offset_in_page(offset); offset_in_page 161 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c (unsigned int)offset_in_page(offset), offset_in_page 443 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); offset_in_page 463 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); offset_in_page 941 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); offset_in_page 964 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); offset_in_page 326 drivers/gpu/drm/i915/gt/intel_timeline.c offset_in_page(tl->hwsp_offset); offset_in_page 111 drivers/gpu/drm/i915/gt/selftest_hangcheck.c return hws->node.start + offset_in_page(sizeof(u32)*rq->fence.context); offset_in_page 263 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c offset = offset_in_page(guc->db_cacheline); offset_in_page 918 drivers/gpu/drm/i915/gvt/kvmgt.c count + offset_in_page(off)); offset_in_page 923 drivers/gpu/drm/i915/gvt/kvmgt.c memcpy_toio(aperture_va + offset_in_page(off), buf, count); offset_in_page 925 drivers/gpu/drm/i915/gvt/kvmgt.c memcpy_fromio(buf, aperture_va + offset_in_page(off), count); offset_in_page 1169 drivers/gpu/drm/i915/i915_cmd_parser.c offset = offset_in_page(batch_start_offset); offset_in_page 284 drivers/gpu/drm/i915/i915_gem.c offset = offset_in_page(args->offset); offset_in_page 393 drivers/gpu/drm/i915/i915_gem.c unsigned page_offset = offset_in_page(offset); offset_in_page 604 drivers/gpu/drm/i915/i915_gem.c unsigned int page_offset = offset_in_page(offset); offset_in_page 710 drivers/gpu/drm/i915/i915_gem.c offset = offset_in_page(args->offset); offset_in_page 486 drivers/gpu/drm/i915/i915_gem_gtt.h GEM_BUG_ON(offset_in_page(addr | length)); offset_in_page 57 drivers/gpu/drm/i915/i915_gpu_error.c sg->offset = offset_in_page(addr); offset_in_page 1017 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); offset_in_page 1725 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(offset_in_page(i915->ggtt.vm.total)); offset_in_page 65 drivers/gpu/drm/i915/selftests/igt_spinner.c return offset_in_page(sizeof(u32) * fence); offset_in_page 175 drivers/gpu/drm/qxl/qxl_image.c page_offset = offset_in_page(out_offset); offset_in_page 301 drivers/gpu/drm/radeon/radeon_gem.c if (offset_in_page(args->addr | args->size)) offset_in_page 33 drivers/hv/channel.c offset_in_page(addr); offset_in_page 367 drivers/hwtracing/coresight/coresight-stm.c if (offset_in_page(addr) || offset_in_page 368 drivers/hwtracing/coresight/coresight-stm.c offset_in_page(nr_chans * BYTES_PER_CHANNEL)) offset_in_page 1609 drivers/hwtracing/intel_th/msu.c if (!size || offset_in_page(size)) offset_in_page 152 drivers/hwtracing/intel_th/sth.c if (offset_in_page(addr) || offset_in_page 153 drivers/hwtracing/intel_th/sth.c offset_in_page(nr_chans * sizeof(struct intel_th_channel))) offset_in_page 176 drivers/infiniband/hw/hfi1/file_ops.c HFI1_MMAP_TOKEN_SET(OFFSET, (offset_in_page(addr)))) offset_in_page 1302 drivers/infiniband/hw/hfi1/file_ops.c offset = offset_in_page((uctxt_offset(uctxt) + fd->subctxt) * offset_in_page 750 drivers/infiniband/hw/hfi1/user_sdma.c offset = offset_in_page(base + iovec->offset + iov_offset); offset_in_page 642 drivers/iommu/tegra-smmu.c unsigned long offset = offset_in_page(pte); offset_in_page 239 drivers/md/bcache/util.c bv->bv_offset = base ? offset_in_page(base) : 0; offset_in_page 620 drivers/md/dm-bufio.c unsigned this_step = min((unsigned)(PAGE_SIZE - offset_in_page(ptr)), len); offset_in_page 622 drivers/md/dm-bufio.c offset_in_page(ptr))) { offset_in_page 838 drivers/md/dm-crypt.c tag_len, offset_in_page(io->integrity_metadata)); offset_in_page 264 drivers/md/dm-io.c dp->context_u = offset_in_page(data); offset_in_page 289 drivers/md/dm-io.c dp->context_u = offset_in_page(data); offset_in_page 109 drivers/md/dm-verity-target.c size_t this_step = min_t(size_t, len, PAGE_SIZE - offset_in_page(data)); offset_in_page 112 drivers/md/dm-verity-target.c sg_set_page(&sg, vmalloc_to_page(data), this_step, offset_in_page(data)); offset_in_page 486 drivers/media/common/videobuf2/videobuf2-dma-contig.c offset = lower_32_bits(offset_in_page(vaddr)); offset_in_page 637 drivers/memstick/core/mspro_block.c msb->page_size, offset_in_page(t_offset)); offset_in_page 322 drivers/memstick/host/jmb38x_ms.c p_off = offset_in_page(off); offset_in_page 206 drivers/memstick/host/tifm_ms.c p_off = offset_in_page(off); offset_in_page 294 drivers/misc/genwqe/card_utils.c sgl->fpage_offs = offset_in_page((unsigned long)user_addr); offset_in_page 580 drivers/misc/genwqe/card_utils.c offs = offset_in_page(data); offset_in_page 796 drivers/misc/mic/scif/scif_dma.c int offset_in_page; offset_in_page 799 drivers/misc/mic/scif/scif_dma.c offset_in_page = offset & ~PAGE_MASK; offset_in_page 800 drivers/misc/mic/scif/scif_dma.c loop_len = PAGE_SIZE - offset_in_page; offset_in_page 192 drivers/mmc/host/tifm_sd.c p_off = offset_in_page(off); offset_in_page 241 drivers/mmc/host/tifm_sd.c p_off = offset_in_page(off); offset_in_page 73 drivers/mtd/devices/mtdram.c unsigned long page_ofs = offset_in_page(*virt); offset_in_page 971 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page) offset_in_page 976 drivers/mtd/nand/raw/nand_base.c if (offset_in_page > mtd->writesize + mtd->oobsize) offset_in_page 984 drivers/mtd/nand/raw/nand_base.c if (mtd->writesize <= 512 && offset_in_page >= mtd->writesize) offset_in_page 985 drivers/mtd/nand/raw/nand_base.c offset_in_page -= mtd->writesize; offset_in_page 992 drivers/mtd/nand/raw/nand_base.c if (WARN_ON(offset_in_page % 2)) offset_in_page 995 drivers/mtd/nand/raw/nand_base.c offset_in_page /= 2; offset_in_page 998 drivers/mtd/nand/raw/nand_base.c addrs[0] = offset_in_page; offset_in_page 1007 drivers/mtd/nand/raw/nand_base.c addrs[1] = offset_in_page >> 8; offset_in_page 1013 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, void *buf, offset_in_page 1034 drivers/mtd/nand/raw/nand_base.c if (offset_in_page >= mtd->writesize) offset_in_page 1036 drivers/mtd/nand/raw/nand_base.c else if (offset_in_page >= 256 && offset_in_page 1040 drivers/mtd/nand/raw/nand_base.c ret = nand_fill_column_cycles(chip, addrs, offset_in_page); offset_in_page 1056 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, void *buf, offset_in_page 1077 drivers/mtd/nand/raw/nand_base.c ret = nand_fill_column_cycles(chip, addrs, offset_in_page); offset_in_page 1106 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, void *buf, unsigned int len) offset_in_page 1113 drivers/mtd/nand/raw/nand_base.c if (offset_in_page + len > mtd->writesize + mtd->oobsize) offset_in_page 1119 drivers/mtd/nand/raw/nand_base.c offset_in_page, buf, offset_in_page 1122 drivers/mtd/nand/raw/nand_base.c return nand_sp_exec_read_page_op(chip, page, offset_in_page, offset_in_page 1126 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_READ0, offset_in_page, page); offset_in_page 1195 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, void *buf, offset_in_page 1203 drivers/mtd/nand/raw/nand_base.c if (offset_in_page + len > mtd->writesize + mtd->oobsize) offset_in_page 1224 drivers/mtd/nand/raw/nand_base.c ret = nand_fill_column_cycles(chip, addrs, offset_in_page); offset_in_page 1237 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_RNDOUT, offset_in_page, -1); offset_in_page 1283 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, const void *buf, offset_in_page 1304 drivers/mtd/nand/raw/nand_base.c int naddrs = nand_fill_column_cycles(chip, addrs, offset_in_page); offset_in_page 1332 drivers/mtd/nand/raw/nand_base.c if (offset_in_page >= mtd->writesize) offset_in_page 1334 drivers/mtd/nand/raw/nand_base.c else if (offset_in_page >= 256 && offset_in_page 1371 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, const void *buf, offset_in_page 1379 drivers/mtd/nand/raw/nand_base.c if (offset_in_page + len > mtd->writesize + mtd->oobsize) offset_in_page 1383 drivers/mtd/nand/raw/nand_base.c return nand_exec_prog_page_op(chip, page, offset_in_page, buf, offset_in_page 1386 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_SEQIN, offset_in_page, page); offset_in_page 1456 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, const void *buf, offset_in_page 1465 drivers/mtd/nand/raw/nand_base.c if (offset_in_page + len > mtd->writesize + mtd->oobsize) offset_in_page 1469 drivers/mtd/nand/raw/nand_base.c status = nand_exec_prog_page_op(chip, page, offset_in_page, buf, offset_in_page 1472 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_SEQIN, offset_in_page, offset_in_page 1500 drivers/mtd/nand/raw/nand_base.c unsigned int offset_in_page, offset_in_page 1509 drivers/mtd/nand/raw/nand_base.c if (offset_in_page + len > mtd->writesize + mtd->oobsize) offset_in_page 1528 drivers/mtd/nand/raw/nand_base.c ret = nand_fill_column_cycles(chip, addrs, offset_in_page); offset_in_page 1541 drivers/mtd/nand/raw/nand_base.c chip->legacy.cmdfunc(chip, NAND_CMD_RNDIN, offset_in_page, -1); offset_in_page 157 drivers/net/ethernet/alteon/acenic.c #ifndef offset_in_page offset_in_page 1650 drivers/net/ethernet/alteon/acenic.c offset_in_page(skb->data), offset_in_page 1711 drivers/net/ethernet/alteon/acenic.c offset_in_page(skb->data), offset_in_page 1767 drivers/net/ethernet/alteon/acenic.c offset_in_page(skb->data), offset_in_page 2373 drivers/net/ethernet/alteon/acenic.c offset_in_page(skb->data), offset_in_page 1870 drivers/net/ethernet/atheros/atlx/atl1.c offset = offset_in_page(skb->data); offset_in_page 2214 drivers/net/ethernet/atheros/atlx/atl1.c offset = offset_in_page(skb->data); offset_in_page 2238 drivers/net/ethernet/atheros/atlx/atl1.c offset = offset_in_page(skb->data + offset_in_page 2251 drivers/net/ethernet/atheros/atlx/atl1.c offset = offset_in_page(skb->data); offset_in_page 1577 drivers/net/ethernet/cavium/thunder/nicvf_queues.c offset_in_page(skb->data), size, offset_in_page 738 drivers/net/ethernet/jme.c offset_in_page(skb->data), skb_tailroom(skb), offset_in_page 2054 drivers/net/ethernet/jme.c offset_in_page(skb->data), len, hidma); offset_in_page 122 drivers/net/ethernet/mellanox/mlx4/icm.c if (offset_in_page(buf->addr)) { offset_in_page 1351 drivers/net/ethernet/qualcomm/emac/emac-mac.c offset_in_page(skb->data), offset_in_page 1372 drivers/net/ethernet/qualcomm/emac/emac-mac.c offset_in_page(skb->data + offset_in_page 2790 drivers/net/ethernet/sun/cassini.c offset_in_page(skb->data), len, offset_in_page 831 drivers/net/ethernet/sun/sungem.c offset_in_page(new_skb->data), offset_in_page 1037 drivers/net/ethernet/sun/sungem.c offset_in_page(skb->data), offset_in_page 1062 drivers/net/ethernet/sun/sungem.c offset_in_page(skb->data), offset_in_page 1654 drivers/net/ethernet/sun/sungem.c offset_in_page(skb->data), offset_in_page 716 drivers/net/ethernet/ti/netcp_core.c offset_in_page(dma_buff), buf_len, PAGE_SIZE); offset_in_page 505 drivers/net/fjes/fjes_hw.c offset_in_page(addr)); offset_in_page 515 drivers/net/fjes/fjes_hw.c offset_in_page(addr)); offset_in_page 1205 drivers/net/fjes/fjes_hw.c offset_in_page(addr)); offset_in_page 115 drivers/net/fjes/fjes_trace.h offset_in_page(tx); offset_in_page 117 drivers/net/fjes/fjes_trace.h offset_in_page(rx); offset_in_page 424 drivers/net/hyperv/netvsc_drv.c offset_in_page(hdr), offset_in_page 431 drivers/net/hyperv/netvsc_drv.c offset_in_page(data), offset_in_page 464 drivers/net/hyperv/netvsc_drv.c unsigned int offset = offset_in_page(data); offset_in_page 989 drivers/net/xen-netback/netback.c offset_in_page(skb->data) & ~XEN_PAGE_MASK; offset_in_page 528 drivers/net/xen-netfront.c slots = gnttab_count_grant(offset_in_page(skb->data), offset_in_page 608 drivers/net/xen-netfront.c offset = offset_in_page(skb->data); offset_in_page 620 drivers/net/xen-netfront.c offset = offset_in_page(skb->data); offset_in_page 793 drivers/ntb/test/ntb_perf.c if (!is_dma_copy_aligned(pthr->dma_chan->device, offset_in_page(src), offset_in_page 794 drivers/ntb/test/ntb_perf.c offset_in_page(dst), len)) offset_in_page 803 drivers/ntb/test/ntb_perf.c offset_in_page(src), len, DMA_TO_DEVICE); offset_in_page 811 drivers/ntb/test/ntb_perf.c offset_in_page(dst), len, DMA_FROM_DEVICE); offset_in_page 661 drivers/nvme/host/core.c req->special_vec.bv_offset = offset_in_page(range); offset_in_page 886 drivers/nvme/host/core.c offset_in_page(buf)); offset_in_page 908 drivers/nvme/host/tcp.c offset_in_page(pdu) + req->offset, len, flags); offset_in_page 941 drivers/nvme/host/tcp.c offset_in_page(pdu) + req->offset, len, offset_in_page 502 drivers/nvme/target/tcp.c offset_in_page(cmd->data_pdu) + cmd->offset, offset_in_page 583 drivers/nvme/target/tcp.c offset_in_page(cmd->rsp_pdu) + cmd->offset, left, flags); offset_in_page 612 drivers/nvme/target/tcp.c offset_in_page(cmd->r2t_pdu) + cmd->offset, left, flags); offset_in_page 855 drivers/rapidio/devices/rio_mport_cdev.c offset = lower_32_bits(offset_in_page(xfer->loc_addr)); offset_in_page 153 drivers/remoteproc/remoteproc_core.c offset_in_page(cpu_addr); offset_in_page 204 drivers/rpmsg/virtio_rpmsg_bus.c offset_in_page(cpu_addr)); offset_in_page 3744 drivers/s390/net/qeth_core_main.c PAGE_SIZE - offset_in_page(data)); offset_in_page 3774 drivers/s390/net/qeth_core_main.c PAGE_SIZE - offset_in_page(data)); offset_in_page 2040 drivers/scsi/cxgbi/libcxgbi.c skb_fill_page_desc(skb, 0, pg, offset_in_page(task->data), offset_in_page 2050 drivers/scsi/cxgbi/libcxgbi.c virt_to_page(padding), offset_in_page(padding), offset_in_page 437 drivers/scsi/xen-scsifront.c off = offset_in_page(seg); offset_in_page 336 drivers/spi/spi-ep93xx.c offset_in_page(pbuf)); offset_in_page 229 drivers/spi/spi-mxs.c min, offset_in_page(buf)); offset_in_page 882 drivers/spi/spi-pl022.c if (bytesleft < (PAGE_SIZE - offset_in_page(bufp))) offset_in_page 885 drivers/spi/spi-pl022.c mapbytes = PAGE_SIZE - offset_in_page(bufp); offset_in_page 887 drivers/spi/spi-pl022.c mapbytes, offset_in_page(bufp)); offset_in_page 829 drivers/spi/spi.c sgs = DIV_ROUND_UP(len + offset_in_page(buf), desc_len); offset_in_page 852 drivers/spi/spi.c PAGE_SIZE - offset_in_page(buf))); offset_in_page 862 drivers/spi/spi.c min, offset_in_page(buf)); offset_in_page 207 drivers/staging/comedi/comedi_buf.c unsigned int pgoff = offset_in_page(offset); offset_in_page 2352 drivers/staging/comedi/comedi_fops.c if (offset_in_page(size)) { offset_in_page 661 drivers/target/target_core_iblock.c offset_in_page(miter->addr)); offset_in_page 669 drivers/target/target_core_iblock.c miter->page, len, offset_in_page(miter->addr)); offset_in_page 598 drivers/target/target_core_user.c unsigned long offset = offset_in_page(vaddr); offset_in_page 144 drivers/target/tcm_fc/tfc_io.c from += offset_in_page(mem_off); offset_in_page 146 drivers/target/tcm_fc/tfc_io.c offset_in_page(mem_off))); offset_in_page 304 drivers/target/tcm_fc/tfc_io.c to += offset_in_page(mem_off); offset_in_page 306 drivers/target/tcm_fc/tfc_io.c offset_in_page(mem_off))); offset_in_page 383 drivers/tty/serial/amba-pl011.c PL011_DMA_BUFFER_SIZE, offset_in_page(dma_addr)); offset_in_page 1035 drivers/tty/serial/atmel_serial.c offset_in_page(port->state->xmit.buf)); offset_in_page 1218 drivers/tty/serial/atmel_serial.c offset_in_page(ring->buf)); offset_in_page 864 drivers/tty/serial/pch_uart.c sg_dma_len(sg), offset_in_page(priv->rx_buf_virt)); offset_in_page 95 drivers/usb/musb/ux500_dma.c offset_in_page(dma_addr)); offset_in_page 824 drivers/video/fbdev/mx3fb.c offset_in_page(fbi->screen_base)); offset_in_page 1197 drivers/video/fbdev/mx3fb.c offset_in_page(fbi->screen_base + offset)); offset_in_page 594 drivers/xen/privcmd.c offset_in_page(kbufs[i].uptr) + kbufs[i].size, offset_in_page 672 drivers/xen/privcmd.c offset_in_page(kbufs[i].uptr) + kbufs[i].size, offset_in_page 1207 fs/btrfs/check-integrity.c size_t start_offset = offset_in_page(block_ctx->start); offset_in_page 1211 fs/btrfs/check-integrity.c pgoff = offset_in_page(start_offset + offset); offset_in_page 505 fs/btrfs/compression.c size_t zero_offset = offset_in_page(isize); offset_in_page 2812 fs/btrfs/extent_io.c off = offset_in_page(i_size); offset_in_page 3093 fs/btrfs/extent_io.c size_t zero_offset = offset_in_page(last_byte); offset_in_page 3576 fs/btrfs/extent_io.c pg_offset = offset_in_page(i_size); offset_in_page 5563 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5573 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + start); offset_in_page 5598 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5605 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + start); offset_in_page 5639 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5676 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5683 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + start); offset_in_page 5732 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5738 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + start); offset_in_page 5762 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5768 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + start); offset_in_page 5807 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(dst->start); offset_in_page 5812 fs/btrfs/extent_io.c offset = offset_in_page(start_offset + dst_offset); offset_in_page 5848 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(eb->start); offset_in_page 5860 fs/btrfs/extent_io.c *page_offset = offset_in_page(offset); offset_in_page 6002 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(dst->start); offset_in_page 6020 fs/btrfs/extent_io.c dst_off_in_page = offset_in_page(start_offset + dst_offset); offset_in_page 6021 fs/btrfs/extent_io.c src_off_in_page = offset_in_page(start_offset + src_offset); offset_in_page 6049 fs/btrfs/extent_io.c size_t start_offset = offset_in_page(dst->start); offset_in_page 6073 fs/btrfs/extent_io.c dst_off_in_page = offset_in_page(start_offset + dst_end); offset_in_page 6074 fs/btrfs/extent_io.c src_off_in_page = offset_in_page(start_offset + src_end); offset_in_page 403 fs/btrfs/file.c int offset = offset_in_page(pos); offset_in_page 1614 fs/btrfs/file.c size_t offset = offset_in_page(pos); offset_in_page 238 fs/btrfs/inode.c offset = offset_in_page(start); offset_in_page 586 fs/btrfs/inode.c unsigned long offset = offset_in_page(total_compressed); offset_in_page 9158 fs/btrfs/inode.c zero_start = offset_in_page(size); offset_in_page 4798 fs/btrfs/send.c unsigned pg_offset = offset_in_page(offset); offset_in_page 1469 fs/btrfs/volumes.c *disk_super = p + offset_in_page(bytenr); offset_in_page 3581 fs/cifs/smb2ops.c sg_set_page(sg, addr, buflen, offset_in_page(buf)); offset_in_page 344 fs/cramfs/inode.c partial = offset_in_page(inode->i_size); offset_in_page 856 fs/cramfs/inode.c offset_in_page(inode->i_size); offset_in_page 259 fs/ecryptfs/crypto.c offset = offset_in_page(addr); offset_in_page 672 fs/ecryptfs/ecryptfs_kernel.h size_t offset_in_page, size_t size); offset_in_page 678 fs/ecryptfs/ecryptfs_kernel.h size_t offset_in_page, size_t size, offset_in_page 59 fs/ecryptfs/read_write.c size_t offset_in_page, size_t size) offset_in_page 66 fs/ecryptfs/read_write.c + offset_in_page); offset_in_page 246 fs/ecryptfs/read_write.c size_t offset_in_page, size_t size, offset_in_page 253 fs/ecryptfs/read_write.c offset = ((((loff_t)page_index) << PAGE_SHIFT) + offset_in_page); offset_in_page 622 fs/ext4/move_extent.c int offset_in_page; offset_in_page 661 fs/ext4/move_extent.c offset_in_page = o_start % blocks_per_page; offset_in_page 662 fs/ext4/move_extent.c if (cur_len > blocks_per_page- offset_in_page) offset_in_page 663 fs/ext4/move_extent.c cur_len = blocks_per_page - offset_in_page; offset_in_page 675 fs/ext4/move_extent.c offset_in_page, cur_len, offset_in_page 46 fs/ext4/verity.c PAGE_SIZE - offset_in_page(pos)); offset_in_page 56 fs/ext4/verity.c memcpy(buf, addr + offset_in_page(pos), n); offset_in_page 80 fs/ext4/verity.c PAGE_SIZE - offset_in_page(pos)); offset_in_page 92 fs/ext4/verity.c memcpy(addr + offset_in_page(pos), buf, n); offset_in_page 46 fs/f2fs/verity.c PAGE_SIZE - offset_in_page(pos)); offset_in_page 56 fs/f2fs/verity.c memcpy(buf, addr + offset_in_page(pos), n); offset_in_page 80 fs/f2fs/verity.c PAGE_SIZE - offset_in_page(pos)); offset_in_page 92 fs/f2fs/verity.c memcpy(addr + offset_in_page(pos), buf, n); offset_in_page 1050 fs/gfs2/bmap.c gfs2_page_add_databufs(ip, page, offset_in_page(pos), copied); offset_in_page 777 fs/gfs2/quota.c pg_off = offset_in_page(loc); offset_in_page 76 fs/hfsplus/wrapper.c unsigned int page_offset = offset_in_page(buf); offset_in_page 71 fs/iomap/buffered-io.c unsigned poff = offset_in_page(*pos); offset_in_page 110 fs/iomap/buffered-io.c unsigned end = offset_in_page(isize - 1) >> block_bits; offset_in_page 197 fs/iomap/buffered-io.c BUG_ON(size > PAGE_SIZE - offset_in_page(iomap->inline_data)); offset_in_page 360 fs/iomap/buffered-io.c if (ctx->cur_page && offset_in_page(pos + done) == 0) { offset_in_page 557 fs/iomap/buffered-io.c unsigned from = offset_in_page(pos), to = from + len, poff, plen; offset_in_page 676 fs/iomap/buffered-io.c iomap_set_range_uptodate(page, offset_in_page(pos), len); offset_in_page 688 fs/iomap/buffered-io.c BUG_ON(pos + copied > PAGE_SIZE - offset_in_page(iomap->inline_data)); offset_in_page 752 fs/iomap/buffered-io.c offset = offset_in_page(pos); offset_in_page 866 fs/iomap/buffered-io.c offset = offset_in_page(pos); offset_in_page 958 fs/iomap/buffered-io.c offset = offset_in_page(pos); offset_in_page 1052 fs/iomap/buffered-io.c length = offset_in_page(size); offset_in_page 341 fs/iomap/direct-io.c BUG_ON(pos + length > PAGE_SIZE - offset_in_page(iomap->inline_data)); offset_in_page 50 fs/iomap/seek.c if (offset_in_page(*lastoff) >= off + bsize) offset_in_page 311 fs/jbd2/commit.c (void *)(addr + offset_in_page(bh->b_data)), bh->b_size); offset_in_page 340 fs/jbd2/commit.c csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), offset_in_page 375 fs/jbd2/journal.c new_offset = offset_in_page(jh_in->b_frozen_data); offset_in_page 378 fs/jbd2/journal.c new_offset = offset_in_page(jh2bh(jh_in)->b_data); offset_in_page 426 fs/jbd2/journal.c new_offset = offset_in_page(tmp); offset_in_page 833 fs/jbd2/transaction.c offset = offset_in_page(bh->b_data); offset_in_page 942 fs/ocfs2/cluster/tcp.c offset_in_page(kmalloced_virt), offset_in_page 411 fs/pstore/ram_core.c page_start = start - offset_in_page(start); offset_in_page 412 fs/pstore/ram_core.c page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE); offset_in_page 438 fs/pstore/ram_core.c return vaddr + offset_in_page(start); offset_in_page 542 fs/pstore/ram_core.c vunmap(prz->vaddr - offset_in_page(prz->paddr)); offset_in_page 4202 fs/reiserfs/journal.c addr + offset_in_page(cn->bh->b_data), offset_in_page 43 fs/ubifs/crypto.c offset_in_page(p), block, GFP_NOFS); offset_in_page 68 fs/ubifs/crypto.c dlen, offset_in_page(&dn->data), offset_in_page 36 fs/xfs/xfs_bio_io.c unsigned int off = offset_in_page(data); offset_in_page 1126 fs/xfs/xfs_bmap_util.c if (offset + len >= XFS_ISIZE(ip) && offset_in_page(offset + len) > 0) { offset_in_page 380 fs/xfs/xfs_buf.c bp->b_offset = offset_in_page(bp->b_addr); offset_in_page 1703 fs/xfs/xfs_log.c unsigned int off = offset_in_page(data); offset_in_page 31 include/crypto/scatterwalk.h unsigned int len_this_page = offset_in_page(~walk->offset) + 1; offset_in_page 74 include/crypto/scatterwalk.h offset_in_page(walk->offset); offset_in_page 591 include/linux/dma-mapping.h return dma_map_page_attrs(dev, virt_to_page(ptr), offset_in_page(ptr), offset_in_page 545 include/linux/edac.h unsigned long offset_in_page; offset_in_page 1333 include/linux/mtd/rawnand.h unsigned int offset_in_page, void *buf, unsigned int len); offset_in_page 1335 include/linux/mtd/rawnand.h unsigned int offset_in_page, void *buf, offset_in_page 1338 include/linux/mtd/rawnand.h unsigned int offset_in_page, void *buf, unsigned int len); offset_in_page 1340 include/linux/mtd/rawnand.h unsigned int offset_in_page, const void *buf, offset_in_page 1344 include/linux/mtd/rawnand.h unsigned int offset_in_page, const void *buf, offset_in_page 1347 include/linux/mtd/rawnand.h unsigned int offset_in_page, const void *buf, offset_in_page 145 include/linux/scatterlist.h sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); offset_in_page 1457 kernel/dma/debug.c entry->offset = offset_in_page(virt); offset_in_page 1476 kernel/dma/debug.c .offset = offset_in_page(virt), offset_in_page 1512 kernel/dma/debug.c entry->offset = offset_in_page(addr); offset_in_page 493 lib/bitmap.c ptrdiff_t len = PAGE_SIZE - offset_in_page(buf); offset_in_page 311 lib/kfifo.c off = offset_in_page(buf); offset_in_page 398 lib/scatterlist.c if (WARN_ON(!max_segment || offset_in_page(max_segment))) offset_in_page 359 lib/test_kasan.c offset = offset_in_page(ptr); offset_in_page 137 mm/early_ioremap.c offset = offset_in_page(phys_addr); offset_in_page 200 mm/early_ioremap.c offset = offset_in_page(virt_addr); offset_in_page 260 mm/early_ioremap.c slop = offset_in_page(src); offset_in_page 271 mm/mincore.c pages += (offset_in_page(len)) != 0; offset_in_page 590 mm/mlock.c VM_BUG_ON(offset_in_page(start)); offset_in_page 682 mm/mlock.c len = PAGE_ALIGN(len + (offset_in_page(start))); offset_in_page 742 mm/mlock.c len = PAGE_ALIGN(len + (offset_in_page(start))); offset_in_page 1437 mm/mmap.c if (offset_in_page(addr)) offset_in_page 1649 mm/mmap.c if (offset_in_page(a.offset)) offset_in_page 2178 mm/mmap.c if (offset_in_page(addr)) { offset_in_page 2225 mm/mmap.c if (offset_in_page(addr)) offset_in_page 2740 mm/mmap.c if ((offset_in_page(start)) || start > TASK_SIZE || len > TASK_SIZE-start) offset_in_page 3006 mm/mmap.c if (offset_in_page(error)) offset_in_page 510 mm/mremap.c if (offset_in_page(new_addr)) offset_in_page 561 mm/mremap.c if (offset_in_page(ret)) offset_in_page 566 mm/mremap.c if (!(offset_in_page(ret))) offset_in_page 627 mm/mremap.c if (offset_in_page(addr)) offset_in_page 718 mm/mremap.c if (offset_in_page(new_addr)) { offset_in_page 727 mm/mremap.c if (offset_in_page(ret)) { offset_in_page 44 mm/msync.c if (offset_in_page(start)) offset_in_page 1371 mm/nommu.c if (offset_in_page(a.offset)) offset_in_page 1526 mm/nommu.c if (offset_in_page(start)) offset_in_page 1528 mm/nommu.c if (end != vma->vm_end && offset_in_page(end)) offset_in_page 1609 mm/nommu.c if (offset_in_page(addr)) offset_in_page 2099 mm/percpu.c offset_in_page(addr); offset_in_page 2102 mm/percpu.c offset_in_page(addr); offset_in_page 2301 mm/percpu.c PCPU_SETUP_BUG_ON(offset_in_page(__per_cpu_start)); offset_in_page 2304 mm/percpu.c PCPU_SETUP_BUG_ON(offset_in_page(base_addr)); offset_in_page 2306 mm/percpu.c PCPU_SETUP_BUG_ON(offset_in_page(ai->unit_size)); offset_in_page 2565 mm/percpu.c while (alloc_size % upa || (offset_in_page(alloc_size / upa))) offset_in_page 2597 mm/percpu.c if (alloc_size % upa || (offset_in_page(alloc_size / upa))) offset_in_page 512 mm/util.c if (unlikely(offset_in_page(offset))) offset_in_page 1060 mm/vmalloc.c BUG_ON(offset_in_page(size)); offset_in_page 1580 mm/vmalloc.c BUG_ON(offset_in_page(size)); offset_in_page 1633 mm/vmalloc.c BUG_ON(offset_in_page(size)); offset_in_page 2754 mm/vmalloc.c offset = offset_in_page(addr); offset_in_page 2793 mm/vmalloc.c offset = offset_in_page(addr); offset_in_page 3239 mm/vmalloc.c BUG_ON(offset_in_page(align) || !is_power_of_2(align)); offset_in_page 90 net/9p/trans_virtio.c return PAGE_SIZE - offset_in_page(data); offset_in_page 363 net/9p/trans_virtio.c p -= (*offs = offset_in_page(p)); offset_in_page 165 net/ceph/crypto.c unsigned int off = offset_in_page(buf); offset_in_page 3831 net/ipv4/tcp.c offset_in_page(offset)); offset_in_page 2517 net/packet/af_packet.c offset = offset_in_page(data); offset_in_page 850 net/rds/rdma.c sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); offset_in_page 340 net/sunrpc/xprtrdma/frwr_ops.c offset_in_page(seg->mr_offset)); offset_in_page 349 net/sunrpc/xprtrdma/frwr_ops.c if ((i < nsegs && offset_in_page(seg->mr_offset)) || offset_in_page 350 net/sunrpc/xprtrdma/frwr_ops.c offset_in_page((seg-1)->mr_offset + (seg-1)->mr_len)) offset_in_page 146 net/sunrpc/xprtrdma/rpc_rdma.c offset = offset_in_page(xdr->page_base); offset_in_page 201 net/sunrpc/xprtrdma/rpc_rdma.c page_offset = offset_in_page(base); offset_in_page 238 net/sunrpc/xprtrdma/rpc_rdma.c page_base = offset_in_page(xdrbuf->page_base); offset_in_page 651 net/sunrpc/xprtrdma/rpc_rdma.c page_base = offset_in_page(xdr->tail[0].iov_base); offset_in_page 668 net/sunrpc/xprtrdma/rpc_rdma.c page_base = offset_in_page(xdr->page_base); offset_in_page 699 net/sunrpc/xprtrdma/rpc_rdma.c page_base = offset_in_page(xdr->tail[0].iov_base); offset_in_page 964 net/sunrpc/xprtrdma/rpc_rdma.c page_base = offset_in_page(rqst->rq_rcv_buf.page_base); offset_in_page 377 net/sunrpc/xprtrdma/svc_rdma_rw.c page_off = offset_in_page(page_off); offset_in_page 517 net/sunrpc/xprtrdma/svc_rdma_sendto.c offset_in_page(base), len); offset_in_page 26 sound/firewire/packets-buffer.c unsigned int i, page_index, offset_in_page; offset_in_page 52 sound/firewire/packets-buffer.c offset_in_page = (i % packets_per_page) * packet_size; offset_in_page 53 sound/firewire/packets-buffer.c b->packets[i].buffer = p + offset_in_page; offset_in_page 54 sound/firewire/packets-buffer.c b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; offset_in_page 117 sound/soc/sh/siu_pcm.c size, offset_in_page(buff)); offset_in_page 167 sound/soc/sh/siu_pcm.c size, offset_in_page(buff)); offset_in_page 163 tools/virtio/linux/scatterlist.h sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); offset_in_page 736 virt/kvm/arm/mmu.c offset_in_page(kaddr); offset_in_page 795 virt/kvm/arm/mmu.c size = PAGE_ALIGN(size + offset_in_page(phys_addr)); offset_in_page 822 virt/kvm/arm/mmu.c *haddr = base + offset_in_page(phys_addr); offset_in_page 2074 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2094 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2132 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2143 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2188 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2209 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2229 virt/kvm/kvm_main.c int offset = offset_in_page(gpa); offset_in_page 2343 virt/kvm/kvm_main.c int offset = offset_in_page(gpa);