/linux-6.6.21/arch/riscv/kernel/ |
D | module.c | 21 static bool riscv_insn_valid_32bit_offset(ptrdiff_t val) in riscv_insn_valid_32bit_offset() 50 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela() 63 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela() 76 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_rvc_branch_rela() 91 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_rvc_jump_rela() 109 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_pcrel_hi20_rela() 191 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_got_hi20_rela() 213 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_call_plt_rela() 239 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_call_rela()
|
/linux-6.6.21/tools/testing/selftests/rseq/ |
D | rseq.c | 43 __weak ptrdiff_t __rseq_offset; 47 static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset; 52 ptrdiff_t rseq_offset;
|
D | rseq.h | 60 extern ptrdiff_t rseq_offset;
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | module.c | 108 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_sop_push_plt_pcrel() 282 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_b26() 320 ptrdiff_t offset_rem = (void *)v - (void *)anchor; in apply_r_larch_pcala() 373 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_32_pcrel() 382 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_64_pcrel()
|
/linux-6.6.21/tools/build/feature/ |
D | test-dwarf_getlocations.c | 11 ptrdiff_t offset = 0; in main()
|
/linux-6.6.21/net/bluetooth/ |
D | eir.c | 82 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list() 124 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list() 157 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
|
/linux-6.6.21/lib/zstd/common/ |
D | zstd_internal.h | 208 void ZSTD_wildcopy(void* dst, const void* src, ptrdiff_t length, ZSTD_overlap_e const ovtype) in ZSTD_wildcopy() 210 ptrdiff_t diff = (BYTE*)dst - (const BYTE*)src; in ZSTD_wildcopy()
|
D | fse.h | 375 ptrdiff_t value; 516 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
|
/linux-6.6.21/tools/include/nolibc/ |
D | stdint.h | 22 typedef signed long ptrdiff_t; typedef
|
/linux-6.6.21/drivers/dma/dw-edma/ |
D | dw-hdma-v0-core.c | 158 ptrdiff_t ofs = i * sizeof(struct dw_hdma_v0_lli); in dw_hdma_v0_write_ll_data() 180 ptrdiff_t ofs = i * sizeof(struct dw_hdma_v0_lli); in dw_hdma_v0_write_ll_link()
|
D | dw-edma-v0-core.c | 282 ptrdiff_t ofs = i * sizeof(struct dw_edma_v0_lli); in dw_edma_v0_write_ll_data() 304 ptrdiff_t ofs = i * sizeof(struct dw_edma_v0_lli); in dw_edma_v0_write_ll_link()
|
/linux-6.6.21/include/linux/ |
D | types.h | 71 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
|
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_decompress_block.c | 792 static void ZSTD_safecopy(BYTE* op, const BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZST… in ZSTD_safecopy() 793 ptrdiff_t const diff = op - ip; in ZSTD_safecopy() 832 static void ZSTD_safecopyDstBeforeSrc(BYTE* op, BYTE const* ip, ptrdiff_t length) { in ZSTD_safecopyDstBeforeSrc() 833 ptrdiff_t const diff = op - ip; in ZSTD_safecopyDstBeforeSrc() 1029 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength, ZSTD_no_overlap); in ZSTD_execSequence() 1040 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8, ZSTD_overlap_src_before_dst); in ZSTD_execSequence() 1120 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength, ZSTD_no_overlap); in ZSTD_execSequenceSplitLitBuffer() 1131 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength-8, ZSTD_overlap_src_before_dst); in ZSTD_execSequenceSplitLitBuffer()
|
/linux-6.6.21/fs/ntfs3/lib/ |
D | decompress_common.h | 275 if (bufend - end >= (ptrdiff_t)(WORDBYTES - 1)) { in lz_copy()
|
/linux-6.6.21/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 310 iowrite32(data, ndev->cfgspc + (ptrdiff_t)reg); in idt_nt_write() 332 return ioread32(ndev->cfgspc + (ptrdiff_t)reg); in idt_nt_read() 358 iowrite32((u32)reg, ndev->cfgspc + (ptrdiff_t)IDT_NT_GASAADDR); in idt_sw_write() 360 iowrite32(data, ndev->cfgspc + (ptrdiff_t)IDT_NT_GASADATA); in idt_sw_write() 389 iowrite32((u32)reg, ndev->cfgspc + (ptrdiff_t)IDT_NT_GASAADDR); in idt_sw_read() 391 data = ioread32(ndev->cfgspc + (ptrdiff_t)IDT_NT_GASADATA); in idt_sw_read()
|
/linux-6.6.21/drivers/net/ethernet/ibm/emac/ |
D | core.h | 416 return (u32 *)((ptrdiff_t)p + offset); in emac_xaht_base()
|
/linux-6.6.21/mm/kfence/ |
D | report.c | 189 const ptrdiff_t object_index = meta ? meta - kfence_metadata : -1; in kfence_report_error()
|
/linux-6.6.21/tools/testing/selftests/nolibc/ |
D | nolibc-test.c | 1004 … EXPECT_EQ(1, PTRDIFF_MIN, sizeof(long) == 8 ? (ptrdiff_t) 0x8000000000000000LL : (ptrdiff_… in run_stdlib() 1005 … EXPECT_EQ(1, PTRDIFF_MAX, sizeof(long) == 8 ? (ptrdiff_t) 0x7fffffffffffffffLL : (ptrdiff_… in run_stdlib()
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_compress_internal.h | 615 … ZSTD_wildcopy(seqStorePtr->lit+16, literals+16, (ptrdiff_t)litLength-16, ZSTD_no_overlap); in ZSTD_storeSeq() 1231 ptrdiff_t const highInputIdx = (ip + srcSize) - window->dictBase; in ZSTD_window_update() 1232 …U32 const lowLimitMax = (highInputIdx > (ptrdiff_t)window->dictLimit) ? window->dictLimit : (U32)h… in ZSTD_window_update()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_utils.h | 154 static __always_inline ptrdiff_t ptrdiff(const void *a, const void *b) in ptrdiff()
|
D | i915_vma.h | 212 ptrdiff_t cmp; in i915_vma_compare()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | printk-formats.rst | 184 为了打印指针的差异,使用ptrdiff_t的%t修饰符。
|
/linux-6.6.21/sound/pci/emu10k1/ |
D | p16v.c | 424 runtime->private_data = (void *)(ptrdiff_t)running; in snd_p16v_pcm_trigger_playback()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 1298 ptrdiff_t offset; 1340 ptrdiff_t offset; in mlxsw_sp1_get_stats()
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_spi.c | 102 chunk.len = min_t(size_t, (ptrdiff_t)(buf + len - chunk.buf), in sja1105_xfer()
|