Home
last modified time | relevance | path

Searched refs:ptrdiff_t (Results 1 - 25 of 62) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Drseq.c41 __weak ptrdiff_t __rseq_offset;
45 static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset;
50 ptrdiff_t rseq_offset;
H A Drseq.h51 extern ptrdiff_t rseq_offset;
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dmodule.c20 static bool riscv_insn_valid_32bit_offset(ptrdiff_t val) in riscv_insn_valid_32bit_offset()
49 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_branch_rela()
62 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_jal_rela()
75 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_rcv_branch_rela()
90 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_rvc_jump_rela()
108 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_pcrel_hi20_rela()
190 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_got_hi20_rela()
212 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_call_plt_rela()
238 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_riscv_call_rela()
/kernel/linux/linux-6.6/arch/riscv/kernel/
H 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()
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/
H A Drseq.c43 __weak ptrdiff_t __rseq_offset;
47 static const ptrdiff_t *libc_rseq_offset_p = &__rseq_offset;
52 ptrdiff_t rseq_offset;
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H 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()
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()
/kernel/linux/linux-5.10/tools/build/feature/
H A Dtest-dwarf_getlocations.c11 ptrdiff_t offset = 0; in main()
/kernel/linux/linux-6.6/tools/build/feature/
H A Dtest-dwarf_getlocations.c11 ptrdiff_t offset = 0; in main()
/kernel/linux/linux-6.6/net/bluetooth/
H A Deir.c67 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list()
109 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list()
142 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule.c119 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_sop_push_plt_pcrel()
293 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_b26()
331 ptrdiff_t offset_rem = (void *)v - (void *)anchor; in apply_r_larch_pcala()
384 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_32_pcrel()
393 ptrdiff_t offset = (void *)v - (void *)location; in apply_r_larch_64_pcrel()
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dstdint.h22 typedef signed long ptrdiff_t; typedef
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_vma.h146 static __always_inline ptrdiff_t ptrdiff(const void *a, const void *b) in ptrdiff()
156 ptrdiff_t cmp; in i915_vma_compare()
/kernel/linux/linux-5.10/lib/zstd/
H A Dfse.h46 #include <linux/types.h> /* size_t, ptrdiff_t */
295 ptrdiff_t value;
432 statePtr->value = (ptrdiff_t)1 << tableLog; in FSE_initCState()
H A Dmem.h25 #include <linux/types.h> /* size_t, ptrdiff_t */
42 typedef ptrdiff_t iPtrDiff;
H A Dzstd_internal.h142 ZSTD_STATIC void ZSTD_wildcopy(void *dst, const void *src, ptrdiff_t length) in ZSTD_wildcopy()
/kernel/linux/linux-6.6/lib/zstd/common/
H 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()
H A Dfse.h23 #include "zstd_deps.h" /* size_t, ptrdiff_t */
375 ptrdiff_t value;
516 statePtr->value = (ptrdiff_t)1<<tableLog; in FSE_initCState()
/kernel/linux/linux-5.10/include/linux/
H A Dtypes.h65 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
/kernel/linux/linux-6.6/include/linux/
H A Dtypes.h71 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
/kernel/linux/linux-6.6/drivers/dma/dw-edma/
H A Ddw-hdma-v0-core.c158 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
H A Dvxge-config.h1080 ptrdiff_t dma_offset;
1087 ptrdiff_t align_dma_offset;
1950 ptrdiff_t offset; in __vxge_hw_mempool_item_priv()
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress_block.c792 static void ZSTD_safecopy(BYTE* op, const BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZSTD_overlap_e ovtype) { 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()
/kernel/linux/linux-6.6/fs/ntfs3/lib/
H A Ddecompress_common.h275 if (bufend - end >= (ptrdiff_t)(WORDBYTES - 1)) { in lz_copy()
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/
H 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()
/kernel/linux/linux-6.6/drivers/ntb/hw/idt/
H 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()

Completed in 27 milliseconds

123