/linux-master/tools/perf/tests/shell/ |
H A D | record_offcpu.sh | 23 echo "Checking off-cpu privilege" 27 echo "off-cpu test [Skipped permission]" 33 echo "off-cpu test [Skipped missing BPF support]" 40 echo "Basic off-cpu test" 42 if ! perf record --off-cpu -e dummy -o ${perfdata} sleep 1 2> /dev/null 44 echo "Basic off-cpu test [Failed record]" 50 echo "Basic off-cpu test [Failed no event]" 56 echo "Basic off-cpu test [Failed missing output]" 60 echo "Basic off-cpu test [Success]" 64 echo "Child task off [all...] |
/linux-master/include/linux/ |
H A D | compiler-gcc.h | 31 #define RELOC_HIDE(ptr, off) \ 35 (typeof(ptr)) (__ptr + (off)); \ 137 * Turn individual warnings and errors on and off locally, depending
|
H A D | compiler.h | 175 # define RELOC_HIDE(ptr, off) \ 178 (typeof(ptr)) (__ptr + (off)); }) 227 * @off: the address of the 32-bit offset value 229 static inline void *offset_to_ptr(const int *off) argument 231 return (void *)((unsigned long)off + *off);
|
/linux-master/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod.h | 12 loff_t off; member in struct:bpf_testmod_test_read_ctx 18 loff_t off; member in struct:bpf_testmod_test_write_ctx
|
/linux-master/arch/mips/include/asm/ |
H A D | asmmacro.h | 267 .macro ld_b wd, off, base variable 272 ld.b $w\wd, \off(\base) 276 .macro ld_h wd, off, base variable 281 ld.h $w\wd, \off(\base) 285 .macro ld_w wd, off, base variable 290 ld.w $w\wd, \off(\base) 294 .macro ld_d wd, off, base variable 299 ld.d $w\wd, \off(\base) 303 .macro st_b wd, off, base variable 308 st.b $w\wd, \off(\bas 312 .macro st_h wd, off, base variable 321 .macro st_w wd, off, base variable 330 .macro st_d wd, off, base variable [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm.h | 255 u32 val, u32 off) 258 if (etm_writel_cp14(off, val)) { 260 "invalid CP14 access to ETM reg: %#x", off); 263 writel_relaxed(val, drvdata->base + off); 267 static inline unsigned int etm_readl(struct etm_drvdata *drvdata, u32 off) argument 272 if (etm_readl_cp14(off, &val)) { 274 "invalid CP14 access to ETM reg: %#x", off); 277 val = readl_relaxed(drvdata->base + off); 254 etm_writel(struct etm_drvdata *drvdata, u32 val, u32 off) argument
|
H A D | coresight-priv.h | 53 u32 off; member in struct:cs_off_attribute 153 extern int etm_readl_cp14(u32 off, unsigned int *val); 154 extern int etm_writel_cp14(u32 off, u32 val); 156 static inline int etm_readl_cp14(u32 off, unsigned int *val) { return 0; } argument 157 static inline int etm_writel_cp14(u32 off, u32 val) { return 0; } argument
|
/linux-master/kernel/bpf/ |
H A D | core.c | 64 #define OFF insn->off 199 * jited_off is the byte off to the end of the jited insn. 203 * The first bpf insn off of the prog. The insn off 324 dst[i].off == 0) { 382 s64 off_min, off_max, off; local 386 off = insn->imm; 390 off = insn->off; 395 if (curr < pos && curr + off 457 bpf_adj_linfo(struct bpf_prog *prog, u32 off, u32 delta) argument 477 bpf_patch_insn_single(struct bpf_prog *prog, u32 off, const struct bpf_insn *patch, u32 len) argument 538 bpf_remove_insns(struct bpf_prog *prog, u32 off, u32 cnt) argument 738 __bpf_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char *sym) argument 1239 s16 off = insn->off; local 1282 s16 off; local [all...] |
/linux-master/fs/hfsplus/ |
H A D | unicode.c | 278 int off; local 280 off = hfsplus_decompose_table[(uc >> 12) & 0xf]; 281 if (off == 0 || off == 0xffff) 284 off = hfsplus_decompose_table[off + ((uc >> 8) & 0xf)]; 285 if (!off) 288 off = hfsplus_decompose_table[off + ((uc >> 4) & 0xf)]; 289 if (!off) [all...] |
/linux-master/drivers/hid/ |
H A D | hid-roccat-common.c | 131 char *buf, loff_t off, size_t count, 139 if (off >= real_size) 142 if (off != 0 || count != real_size) 154 void const *buf, loff_t off, size_t count, 162 if (off != 0 || count != real_size) 130 roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument 153 roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
|
/linux-master/drivers/firmware/efi/ |
H A D | mokvar-table.c | 270 loff_t off, size_t count) 277 if (off >= mokvar_entry->data_size) 279 if (count > mokvar_entry->data_size - off) 280 count = mokvar_entry->data_size - off; 282 memcpy(buf, mokvar_entry->data + off, count); 268 efi_mokvar_sysfs_read(struct file *file, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
|
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2413.c | 28 struct bin_attribute *bin_attr, char *buf, loff_t off, 37 "Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p", 38 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); 40 if (off != 0) 85 loff_t off, size_t count) 92 if (count != 1 || off != 0) 27 state_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 83 output_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
|
/linux-master/arch/arm/net/ |
H A D | bpf_jit_32.c | 70 * When popping registers off the stack at the end of a BPF function, we 371 #define ARM_LDR_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_LDR_I, rt, rn, off) 372 #define ARM_LDRB_I(rt, rn, off) arm_bpf_ldst_imm12(ARM_INST_LDRB_I, rt, rn, off) 373 #define ARM_LDRD_I(rt, rn, off) arm_bpf_ldst_imm8(ARM_INST_LDRD_I, rt, rn, off) 374 #define ARM_LDRH_I(rt, rn, off) arm_bpf_ldst_imm8(ARM_INST_LDRH_I, rt, rn, off) 376 #define ARM_LDRSH_I(rt, rn, off) arm_bpf_ldst_imm 874 emit_a32_mov_r(const s8 dst, const s8 src, const u8 off, struct jit_ctx *ctx) argument 917 emit_a32_movsx_r64(const bool is64, const u8 off, const s8 dst[], const s8 src[], struct jit_ctx *ctx) argument 1158 is_ldst_imm(s16 off, const u8 size) argument 1178 is_ldst_imm8(s16 off, const u8 size) argument 1197 emit_str_r(const s8 dst, const s8 src[], s16 off, struct jit_ctx *ctx, const u8 sz) argument 1232 emit_ldx_r(const s8 dst[], const s8 src, s16 off, struct jit_ctx *ctx, const u8 sz) argument 1276 emit_ldsx_r(const s8 dst[], const s8 src, s16 off, struct jit_ctx *ctx, const u8 sz) argument 1378 int off; local 1566 const s16 off = insn->off; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net.h | 780 static inline u16 nn_readb(struct nfp_net *nn, int off) argument 782 return readb(nn->dp.ctrl_bar + off); 785 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) argument 787 writeb(val, nn->dp.ctrl_bar + off); 790 static inline u16 nn_readw(struct nfp_net *nn, int off) argument 792 return readw(nn->dp.ctrl_bar + off); 795 static inline void nn_writew(struct nfp_net *nn, int off, u16 val) argument 797 writew(val, nn->dp.ctrl_bar + off); 800 static inline u32 nn_readl(struct nfp_net *nn, int off) argument 802 return readl(nn->dp.ctrl_bar + off); 805 nn_writel(struct nfp_net *nn, int off, u32 val) argument 810 nn_readq(struct nfp_net *nn, int off) argument 815 nn_writeq(struct nfp_net *nn, int off, u64 val) argument 874 u32 off; local [all...] |
/linux-master/drivers/iio/temperature/ |
H A D | tmp117.c | 97 s16 off; local 101 off = clamp_t(int, val, S16_MIN, S16_MAX); 102 if (off == data->calibbias) 104 data->calibbias = off; 106 TMP117_REG_TEMP_OFFSET, off);
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 166 s64 off = addr - ip; local 167 s64 upper = (off + (1 << 11)) >> 12; 168 s64 lower = off & 0xfff; 170 if (extra_pass && !in_auipc_jalr_range(off)) { 171 pr_err("bpf-jit: target offset 0x%llx is out of range\n", off); 345 int tc_ninsn, off, start_insn = ctx->ninsns; local 359 off = offsetof(struct bpf_array, map.max_entries); 360 if (is_12b_check(off, insn)) 362 emit(rv_lwu(RV_REG_T1, off, RV_REG_A1), ctx); 363 off 444 s64 off = 0; local 465 emit_atomic(u8 rd, u8 rs, s16 off, s32 imm, bool is64, struct rv_jit_context *ctx) argument 1067 s16 off = insn->off; local [all...] |
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_igd.c | 36 * @off: Offset to user buffer ptr. Increased by bytes on return. 40 * @bytes: Bytes to copy and adjust off, pos and remaining. 48 loff_t *off, 54 if (copy_to_user(dst + (*off), src, bytes)) 57 *off += bytes; 70 loff_t pos = *ppos & VFIO_PCI_OFFSET_MASK, off = 0; local 83 if (igd_opregion_shift_copy(buf, &off, 100 if (igd_opregion_shift_copy(buf, &off, 111 if (igd_opregion_shift_copy(buf, &off, 124 if (igd_opregion_shift_copy(buf, &off, 47 igd_opregion_shift_copy(char __user *dst, loff_t *off, void *src, loff_t *pos, size_t *remaining, size_t bytes) argument [all...] |
/linux-master/drivers/leds/ |
H A D | leds-mc13783.c | 58 unsigned int reg, bank, off, shift; local 76 off = led->id - MC13783_LED_R1; 77 bank = off / 3; 79 shift = (off - bank * 3) * 5 + 6; 84 off = led->id - MC13892_LED_MD; 85 reg = off / 2; 86 shift = 3 + (off - reg * 2) * 12; 91 off = led->id - MC13892_LED_R; 92 bank = off / 2; 94 shift = (off [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | cnic_if.h | 354 #define CNIC_WR(dev, off, val) writel(val, dev->regview + off) 355 #define CNIC_WR16(dev, off, val) writew(val, dev->regview + off) 356 #define CNIC_WR8(dev, off, val) writeb(val, dev->regview + off) 357 #define CNIC_RD(dev, off) readl(dev->regview + off) 358 #define CNIC_RD16(dev, off) readw(dev->regview + off) [all...] |
/linux-master/arch/sparc/lib/ |
H A D | checksum_32.S | 164 #define CSUMCOPY_BIGCHUNK_ALIGNED(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ 165 EX(ldd [src + off + 0x00], t0); \ 166 EX(ldd [src + off + 0x08], t2); \ 168 EX(ldd [src + off + 0x10], t4); \ 170 EX(ldd [src + off + 0x18], t6); \ 172 EX(std t0, [dst + off + 0x00]); \ 174 EX(std t2, [dst + off + 0x08]); \ 176 EX(std t4, [dst + off + 0x10]); \ 178 EX(std t6, [dst + off + 0x18]); \ 186 #define CSUMCOPY_BIGCHUNK(src, dst, sum, off, t [all...] |
/linux-master/drivers/ntb/test/ |
H A D | ntb_tool.c | 644 ssize_t ret, off = 0; local 659 off += scnprintf(buf + off, buf_size - off, 663 off += scnprintf(buf + off, buf_size - off, 668 off += scnprintf(buf + off, buf_size - off, 872 ssize_t off = 0; local [all...] |
/linux-master/net/ipv6/ |
H A D | ip6_offload.c | 40 static int ipv6_gro_pull_exthdrs(struct sk_buff *skb, int off, int proto) argument 56 opth = skb_gro_header(skb, off + sizeof(*opth), off); 62 opth = skb_gro_header(skb, off + len, off); 67 off += len; 70 skb_gro_pull(skb, off - skb_network_offset(skb)); 229 unsigned int off; local 233 off = skb_gro_offset(skb); 234 hlen = off [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | strobemeta.h | 362 size_t off) 373 len = bpf_probe_read_user_str(&data->payload[off], STROBE_MAX_STR_LEN, value->ptr); 385 return off + len; 392 size_t off) 404 return off; 408 return off; 417 len = bpf_probe_read_user_str(&data->payload[off], STROBE_MAX_STR_LEN, map.tag); 420 off += len; 433 len = bpf_probe_read_user_str(&data->payload[off], STROBE_MAX_STR_LEN, 437 off 358 read_str_var(struct strobemeta_cfg *cfg, size_t idx, void *tls_base, struct strobe_value_generic *value, struct strobemeta_payload *data, size_t off) argument 388 read_map_var(struct strobemeta_cfg *cfg, size_t idx, void *tls_base, struct strobe_value_generic *value, struct strobemeta_payload *data, size_t off) argument [all...] |
/linux-master/fs/ntfs3/ |
H A D | dir.c | 76 // clang-format off 352 u32 off = le32_to_cpu(hdr->de_off); local 354 for (;; off += e_size) { 355 if (off + sizeof(struct NTFS_DE) > end) 358 e = Add2Ptr(hdr, off); 360 if (e_size < sizeof(struct NTFS_DE) || off + e_size > end) 367 if (vbo + off < pos) 373 ctx->pos = vbo + off; 517 u32 e_size, off, end; local 533 off [all...] |
/linux-master/drivers/vfio/platform/ |
H A D | vfio_platform_common.c | 387 loff_t off) 402 if (count >= 4 && !(off % 4)) { 405 val = ioread32(reg->ioaddr + off); 410 } else if (count >= 2 && !(off % 2)) { 413 val = ioread16(reg->ioaddr + off); 421 val = ioread8(reg->ioaddr + off); 431 off += filled; 446 loff_t off = *ppos & VFIO_PLATFORM_OFFSET_MASK; local 456 buf, count, off); 466 loff_t off) 385 vfio_platform_read_mmio(struct vfio_platform_region *reg, char __user *buf, size_t count, loff_t off) argument 464 vfio_platform_write_mmio(struct vfio_platform_region *reg, const char __user *buf, size_t count, loff_t off) argument 524 loff_t off = *ppos & VFIO_PLATFORM_OFFSET_MASK; local [all...] |