Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.3-rc2/arch/riscv/kernel/
A Dmodule.c21 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 Drseq.c37 static const ptrdiff_t *libc_rseq_offset_p;
42 ptrdiff_t rseq_offset;
A Drseq.h60 extern ptrdiff_t rseq_offset;
/linux-6.3-rc2/tools/build/feature/
A Dtest-dwarf_getlocations.c11 ptrdiff_t offset = 0; in main()
/linux-6.3-rc2/tools/include/nolibc/
A Dstd.h34 typedef signed long ptrdiff_t; typedef
/linux-6.3-rc2/net/bluetooth/
A Deir.c82 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 Dmsft.c400 ptrdiff_t offset = 0; in msft_add_monitor_sync()
/linux-6.3-rc2/lib/zstd/common/
A Dzstd_internal.h208 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 Dfse.h375 ptrdiff_t value;
516 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dmodule.c108 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 Dtypes.h65 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
/linux-6.3-rc2/lib/zstd/decompress/
A Dzstd_decompress_block.c792 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 Ddecompress_common.h275 if (bufend - end >= (ptrdiff_t)(WORDBYTES - 1)) { in lz_copy()
/linux-6.3-rc2/drivers/ntb/hw/idt/
A Dntb_hw_idt.c310 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 Ddw-edma-v0-core.c292 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 Dcore.h417 return (u32 *)((ptrdiff_t)p + offset); in emac_xaht_base()
/linux-6.3-rc2/mm/kfence/
A Dreport.c190 const ptrdiff_t object_index = meta ? meta - kfence_metadata : -1; in kfence_report_error()
/linux-6.3-rc2/lib/zstd/compress/
A Dzstd_compress_internal.h615 … 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 Di915_utils.h154 static __always_inline ptrdiff_t ptrdiff(const void *a, const void *b) in ptrdiff()
A Di915_vma.h212 ptrdiff_t cmp; in i915_vma_compare()
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dprintk-formats.rst184 为了打印指针的差异,使用ptrdiff_t的%t修饰符。
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c1298 ptrdiff_t offset;
1340 ptrdiff_t offset; in mlxsw_sp1_get_stats()
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_spi.c102 chunk.len = min_t(size_t, (ptrdiff_t)(buf + len - chunk.buf), in sja1105_xfer()
/linux-6.3-rc2/arch/ia64/kernel/
A Dptrace.c1219 static const ptrdiff_t pt_offsets[32] =
1236 ptrdiff_t d = pt_offsets[reg]; in access_elf_gpreg()
/linux-6.3-rc2/lib/
A Dvsprintf.c2841 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()

Completed in 68 milliseconds

12