/linux-6.3-rc2/arch/riscv/kernel/ |
A 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.3-rc2/tools/testing/selftests/rseq/ |
A D | rseq.c | 37 static const ptrdiff_t *libc_rseq_offset_p; 42 ptrdiff_t rseq_offset;
|
A D | rseq.h | 60 extern ptrdiff_t rseq_offset;
|
/linux-6.3-rc2/tools/build/feature/ |
A D | test-dwarf_getlocations.c | 11 ptrdiff_t offset = 0; in main()
|
/linux-6.3-rc2/tools/include/nolibc/ |
A D | std.h | 34 typedef signed long ptrdiff_t; typedef
|
/linux-6.3-rc2/net/bluetooth/ |
A 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()
|
A D | msft.c | 400 ptrdiff_t offset = 0; in msft_add_monitor_sync()
|
/linux-6.3-rc2/lib/zstd/common/ |
A 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()
|
A D | fse.h | 375 ptrdiff_t value; 516 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A 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()
|
/linux-6.3-rc2/include/linux/ |
A D | types.h | 65 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
|
/linux-6.3-rc2/lib/zstd/decompress/ |
A 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.3-rc2/fs/ntfs3/lib/ |
A D | decompress_common.h | 275 if (bufend - end >= (ptrdiff_t)(WORDBYTES - 1)) { in lz_copy()
|
/linux-6.3-rc2/drivers/ntb/hw/idt/ |
A 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.3-rc2/drivers/dma/dw-edma/ |
A D | dw-edma-v0-core.c | 292 ptrdiff_t ofs = i * sizeof(struct dw_edma_v0_lli); in dw_edma_v0_write_ll_data() 314 ptrdiff_t ofs = i * sizeof(struct dw_edma_v0_lli); in dw_edma_v0_write_ll_link()
|
/linux-6.3-rc2/drivers/net/ethernet/ibm/emac/ |
A D | core.h | 417 return (u32 *)((ptrdiff_t)p + offset); in emac_xaht_base()
|
/linux-6.3-rc2/mm/kfence/ |
A D | report.c | 190 const ptrdiff_t object_index = meta ? meta - kfence_metadata : -1; in kfence_report_error()
|
/linux-6.3-rc2/lib/zstd/compress/ |
A 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.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_utils.h | 154 static __always_inline ptrdiff_t ptrdiff(const void *a, const void *b) in ptrdiff()
|
A D | i915_vma.h | 212 ptrdiff_t cmp; in i915_vma_compare()
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | printk-formats.rst | 184 为了打印指针的差异,使用ptrdiff_t的%t修饰符。
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ptp.c | 1298 ptrdiff_t offset; 1340 ptrdiff_t offset; in mlxsw_sp1_get_stats()
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_spi.c | 102 chunk.len = min_t(size_t, (ptrdiff_t)(buf + len - chunk.buf), in sja1105_xfer()
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | ptrace.c | 1219 static const ptrdiff_t pt_offsets[32] = 1236 ptrdiff_t d = pt_offsets[reg]; in access_elf_gpreg()
|
/linux-6.3-rc2/lib/ |
A D | vsprintf.c | 2841 num = va_arg(args, ptrdiff_t); in vsnprintf() 3146 save_arg(ptrdiff_t); in vbin_printf() 3338 num = get_arg(ptrdiff_t); in bstr_printf()
|