Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/riscv/kernel/
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-5.10/tools/testing/selftests/rseq/
Drseq.c35 static const ptrdiff_t *libc_rseq_offset_p;
40 ptrdiff_t rseq_offset;
Drseq.h51 extern ptrdiff_t rseq_offset;
/kernel/linux/linux-5.10/tools/build/feature/
Dtest-dwarf_getlocations.c11 ptrdiff_t offset = 0; in main()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
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/
Dfse.h295 ptrdiff_t value;
432 statePtr->value = (ptrdiff_t)1 << tableLog; in FSE_initCState()
Dmem.h42 typedef ptrdiff_t iPtrDiff;
Dzstd_internal.h142 ZSTD_STATIC void ZSTD_wildcopy(void *dst, const void *src, ptrdiff_t length) in ZSTD_wildcopy()
Ddecompress.c1088 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ in ZSTD_execSequence()
1343 ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ in ZSTD_execSequenceLong()
Dcompress.c2510 ptrdiff_t const delta = cctx->nextSrc - ip; in ZSTD_compressContinue_internal()
2522 ptrdiff_t const highInputIdx = (ip + srcSize) - cctx->dictBase; in ZSTD_compressContinue_internal()
2523 …U32 const lowLimitMax = (highInputIdx > (ptrdiff_t)cctx->dictLimit) ? cctx->dictLimit : (U32)highI… in ZSTD_compressContinue_internal()
/kernel/linux/linux-5.10/include/linux/
Dtypes.h65 typedef __kernel_ptrdiff_t ptrdiff_t; typedef
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h1080 ptrdiff_t dma_offset;
1087 ptrdiff_t align_dma_offset;
1950 ptrdiff_t offset; in __vxge_hw_mempool_item_priv()
Dvxge-traffic.h2075 ptrdiff_t dma_offset;
/kernel/linux/linux-5.10/drivers/ntb/hw/idt/
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-5.10/drivers/net/ethernet/ibm/emac/
Dcore.h417 return (u32 *)((ptrdiff_t)p + offset); in emac_xaht_base()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1097 ptrdiff_t offset;
1139 ptrdiff_t offset; in mlxsw_sp1_get_stats()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_spi.c129 chunk.len = min_t(size_t, (ptrdiff_t)(buf + len - chunk.buf), in sja1105_xfer()
/kernel/linux/linux-5.10/lib/
Dvsprintf.c2691 num = va_arg(args, ptrdiff_t); in vsnprintf()
2994 save_arg(ptrdiff_t); in vbin_printf()
3186 num = get_arg(ptrdiff_t); in bstr_printf()
Dbitmap.c483 ptrdiff_t len = PAGE_SIZE - offset_in_page(buf); in bitmap_print_to_pagebuf()
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_request.c520 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list()
562 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list()
595 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dptrace.c1273 static const ptrdiff_t pt_offsets[32] =
1290 ptrdiff_t d = pt_offsets[reg]; in access_elf_gpreg()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c180 ptrdiff_t cmd_len; in pcan_usb_fd_send_cmd()
/kernel/linux/linux-5.10/Documentation/core-api/
Dprintk-formats.rst164 For printing the pointer differences, use the %t modifier for ptrdiff_t.
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c4807 ptrdiff_t scr_end = (void *)c->vc_scr_end - base; in vc_scrolldelta_helper()
4808 ptrdiff_t vorigin = (void *)c->vc_visible_origin - base; in vc_scrolldelta_helper()
4809 ptrdiff_t origin = (void *)c->vc_origin - base; in vc_scrolldelta_helper()
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h133 typedef signed long ptrdiff_t; typedef

12