| /linux/arch/riscv/kernel/ |
| H A D | module.c | 27 void *location; member 37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 38 int (*accumulate_handler)(struct module *me, void *location, 55 static int riscv_insn_rmw(void *location, u32 keep, u32 set) in riscv_insn_rmw() argument 57 __le16 *parcel = location; in riscv_insn_rmw() 68 static int riscv_insn_rvc_rmw(void *location, u16 keep, u16 set) in riscv_insn_rvc_rmw() argument 70 __le16 *parcel = location; in riscv_insn_rvc_rmw() 80 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_32_rela() argument 87 *(u32 *)location = v; in apply_r_riscv_32_rela() 91 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_64_rela() argument [all …]
|
| /linux/arch/xtensa/kernel/ |
| H A D | module.c | 26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument 29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode() 32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode() 37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument 40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode() 43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode() 56 unsigned char *location; in apply_relocate_add() local 63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 79 *(uint32_t *)location += value; in apply_relocate_add() 83 if (decode_calln_opcode(location)) { in apply_relocate_add() [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | module.c | 33 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32() argument 35 *location = base + v; in apply_r_mips_32() 38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument 47 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26() 53 *location = (*location & ~0x03ffffff) | in apply_r_mips_26() 59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument 65 *location = (*location & 0xffff0000) | in apply_r_mips_hi16() 79 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16() 98 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument 106 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16() [all …]
|
| H A D | vpe.c | 228 static int apply_r_mips_none(struct module *me, uint32_t *location, in apply_r_mips_none() argument 234 static int apply_r_mips_gprel16(struct module *me, uint32_t *location, in apply_r_mips_gprel16() argument 239 if (!(*location & 0xffff)) { in apply_r_mips_gprel16() 245 (int)(short)(*location & 0xffff) - gp_addr); in apply_r_mips_gprel16() 254 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_gprel16() 259 static int apply_r_mips_pc16(struct module *me, uint32_t *location, in apply_r_mips_pc16() argument 263 rel = (((unsigned int)v - (unsigned int)location)); in apply_r_mips_pc16() 273 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_pc16() 278 static int apply_r_mips_32(struct module *me, uint32_t *location, in apply_r_mips_32() argument 281 *location += v; in apply_r_mips_32() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | module.c | 34 uint32_t *location; in apply_relocate_add() local 41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 53 value = get_unaligned(location); in apply_relocate_add() 55 put_unaligned(value, location); in apply_relocate_add() 58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add() 59 value = get_unaligned(location); in apply_relocate_add() 61 put_unaligned(value, location); in apply_relocate_add() 64 *location = (*location & ~0x3fffc00) | in apply_relocate_add() 68 *location = (*location & ~0x3fffc00) | in apply_relocate_add() 72 relocation -= (Elf32_Addr) location; in apply_relocate_add() [all …]
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_rxnfc.c | 19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location; in tsnep_enable_rule() 24 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_enable_rule() 34 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_disable_rule() 39 int location) in tsnep_get_rule() argument 44 if (rule->location == location) in tsnep_get_rule() 46 if (rule->location > location) in tsnep_get_rule() 62 if (cur->location >= rule->location) in tsnep_add_rule() 104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule() 142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all() 156 int location = 0; in tsnep_rxnfc_find_location() local [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | module.c | 35 typedef int (*reloc_rela_handler)(struct module *mod, u32 *location, Elf_Addr v, 60 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() argument 66 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() argument 73 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() argument 76 *location = v; in apply_r_larch_32() 83 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() argument 86 *(Elf_Addr *)location = v; in apply_r_larch_64() 91 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() argument 94 return rela_stack_push(v - (unsigned long)location, rela_stack, rela_stack_top); in apply_r_larch_sop_push_pcrel() 97 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() argument [all …]
|
| /linux/arch/hexagon/kernel/ |
| H A D | module.c | 73 uint32_t *location; in apply_relocate_add() local 90 location = loc_base + rela[i].r_offset; in apply_relocate_add() 96 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add() 102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add() 109 dist, value, (uint32_t)location, in apply_relocate_add() 114 DEBUGP("B22_PCREL contents: %08X.\n", *location); in apply_relocate_add() 115 *location &= ~0x01ff3fff; in apply_relocate_add() 116 *location |= 0x00003fff & dist; in apply_relocate_add() 117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add() 118 DEBUGP("Contents after reloc: %08x\n", *location); in apply_relocate_add() [all …]
|
| /linux/arch/openrisc/kernel/ |
| H A D | module.c | 25 uint32_t *location; in apply_relocate_add() local 32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 43 *location = value; in apply_relocate_add() 46 *((uint16_t *)location + 1) = value; in apply_relocate_add() 49 *((uint16_t *)location + 1) = value >> 16; in apply_relocate_add() 52 value -= (uint32_t)location; in apply_relocate_add() 55 value |= *location & 0xfc000000; in apply_relocate_add() 56 *location = value; in apply_relocate_add() 59 value -= (uint32_t)location; in apply_relocate_add() 60 *location = value; in apply_relocate_add() [all …]
|
| /linux/arch/microblaze/kernel/ |
| H A D | module.c | 25 unsigned long int *location; in apply_relocate_add() local 33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 49 *location = value; in apply_relocate_add() 53 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add() 55 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add() 60 value -= (unsigned long int)(location) + 4; in apply_relocate_add() 61 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add() 63 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add()
|
| /linux/arch/csky/kernel/ |
| H A D | module.c | 28 static void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument 30 uint16_t *location_tmp = (uint16_t *)location; in jsri_2_lrw_jsr() 37 CHANGE_JSRI_TO_LRW(location); in jsri_2_lrw_jsr() 39 SET_JSR32_R26(location + 1); in jsri_2_lrw_jsr() 43 static inline void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument 55 uint32_t *location; in apply_relocate_add() local 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add() 72 *location = rel[i].r_addend + sym->st_value in apply_relocate_add() 73 - (uint32_t)location; in apply_relocate_add() [all …]
|
| /linux/lib/ |
| H A D | ubsan.c | 126 static bool was_reported(struct source_location *location) in was_reported() argument 128 return test_and_set_bit(REPORTED_BIT, &location->reported); in was_reported() 249 if (suppress_report(&data->location)) in handle_overflow() 252 ubsan_prologue(&data->location, type_is_signed(type) ? in handle_overflow() 294 if (suppress_report(&data->location)) in __ubsan_handle_negate_overflow() 297 ubsan_prologue(&data->location, "negation-overflow"); in __ubsan_handle_negate_overflow() 314 if (suppress_report(&data->location)) in __ubsan_handle_implicit_conversion() 320 ubsan_prologue(&data->location, "implicit-conversion"); in __ubsan_handle_implicit_conversion() 338 if (suppress_report(&data->location)) in __ubsan_handle_divrem_overflow() 341 ubsan_prologue(&data->location, "division-overflow"); in __ubsan_handle_divrem_overflow() [all …]
|
| /linux/include/trace/events/ |
| H A D | skb.h | 26 TP_PROTO(struct sk_buff *skb, void *location, 29 TP_ARGS(skb, location, reason, rx_sk), 33 __field(void *, location) 41 __entry->location = location; 49 __entry->location, 59 TP_PROTO(struct sk_buff *skb, void *location), 61 TP_ARGS(skb, location), 65 __field( void *, location) 70 __entry->location = location; 73 TP_printk("skbaddr=%p location=%pS", __entry->skbaddr, __entry->location)
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 140 void *base, *location; in apply_relocate_add() local 160 location = base + rela[i].r_offset; in apply_relocate_add() 171 *(u32 *)location = value; in apply_relocate_add() 175 ((u32 *)location)[0] = value; in apply_relocate_add() 176 ((u32 *)location)[1] = value >> 32; in apply_relocate_add() 182 *(u32 *)location = value; in apply_relocate_add() 189 *(u16 *)location = lo; in apply_relocate_add() 195 value = gp - (u64)location; in apply_relocate_add() 200 *(u16 *)location = hi >> 16; in apply_relocate_add() 201 *(u16 *)(location + rela[i].r_addend) = lo; in apply_relocate_add() [all …]
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists() 95 if (fsp->location < AQ_RX_FIRST_LOC_FL3L4 || in aq_check_approve_fl3l4() 96 fsp->location > last_location) { in aq_check_approve_fl3l4() 113 fsp->location != AQ_RX_FIRST_LOC_FL3L4 + 4 && in aq_check_approve_fl3l4() 114 fsp->location != AQ_RX_FIRST_LOC_FL3L4) { in aq_check_approve_fl3l4() 132 if (fsp->location < AQ_RX_FIRST_LOC_FETHERT || in aq_check_approve_fl2() 133 fsp->location > last_location) { in aq_check_approve_fl2() 158 if (fsp->location < AQ_RX_FIRST_LOC_FVLANID || in aq_check_approve_fvlan() 159 fsp->location > AQ_RX_LAST_LOC_FVLANID) { in aq_check_approve_fvlan() 272 } else if (fsp->location > AQ_RX_MAX_RXNFC_LOC) { in aq_rule_is_not_correct() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 802 unsigned long *location; in apply_relocate_add() local 821 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 828 location, (long)ELF64_R_TYPE(rela[i].r_info), in apply_relocate_add() 838 *(u32 *)location = value; in apply_relocate_add() 843 *(unsigned long *)location = value; in apply_relocate_add() 848 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add() 859 *((uint16_t *) location) in apply_relocate_add() 860 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add() 867 *((uint16_t *) location) in apply_relocate_add() 868 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add() [all …]
|
| /linux/arch/m68k/kernel/ |
| H A D | module.c | 31 uint32_t *location; in apply_relocate() local 37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 47 *location += sym->st_value; in apply_relocate() 51 *location += sym->st_value - (uint32_t)location; in apply_relocate() 71 uint32_t *location; in apply_relocate_add() local 77 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 87 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add() 91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; in apply_relocate_add()
|
| /linux/tools/wmi/ |
| H A D | dell-smbios-example.c | 53 static int find_token(__u16 token, __u16 *location, __u16 *value) in find_token() argument 87 *location = (__u16) strtol(buf, NULL, 16); in find_token() 89 if (*location) in find_token() 94 static int token_is_active(__u16 *location, __u16 *cmpvalue, in token_is_active() argument 101 buffer->std.input[0] = *location; in token_is_active() 111 __u16 location; in query_token() local 115 ret = find_token(token, &location, &value); in query_token() 120 return token_is_active(&location, &value, buffer); in query_token() 126 __u16 location; in activate_token() local 130 ret = find_token(token, &location, &value); in activate_token() [all …]
|
| /linux/fs/nfs/ |
| H A D | nfs4namespace.c | 289 const struct nfs4_fs_location *location) in try_location() argument 301 for (s = 0; s < location->nservers; s++) { in try_location() 302 const struct nfs4_string *buf = &location->servers[s]; in try_location() 312 export_path = nfs4_pathname_string(&location->rootpath, in try_location() 327 for (s = 0; s < location->nservers; s++) { in try_location() 328 const struct nfs4_string *buf = &location->servers[s]; in try_location() 386 const struct nfs4_fs_location *location = &locations->locations[loc]; in nfs_follow_referral() local 388 if (location == NULL || location->nservers <= 0 || in nfs_follow_referral() 389 location->rootpath.ncomponents == 0) in nfs_follow_referral() 392 error = try_location(fc, location); in nfs_follow_referral() [all …]
|
| /linux/arch/arc/kernel/ |
| H A D | module.c | 54 Elf32_Addr relocation, location, tgt_addr; in apply_relocate_add() local 77 location = tgt_addr + rel_entry[i].r_offset; in apply_relocate_add() 93 sym_entry->st_value, location, relocation, s); in apply_relocate_add() 103 arc_write_me((unsigned short *)location, relocation); in apply_relocate_add() 105 *((Elf32_Addr *) location) = relocation; in apply_relocate_add() 107 *((Elf32_Addr *) location) = relocation - location; in apply_relocate_add()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-fsl-mc | 5 Writing a device location to this file will cause 7 this location. The format for the location is Object.Id 18 Writing a device location to this file will cause the 20 this location. The format for the location is Object.Id
|
| /linux/samples/seccomp/ |
| H A D | bpf-helper.c | 37 if (labels->labels[instr->k].location == 0xffffffff) { in bpf_resolve_jumps() 42 instr->k = labels->labels[instr->k].location - in bpf_resolve_jumps() 48 if (labels->labels[instr->k].location != 0xffffffff) { in bpf_resolve_jumps() 53 labels->labels[instr->k].location = offset; in bpf_resolve_jumps() 75 begin->location = 0xffffffff; in seccomp_bpf_label() 85 begin->location = 0xffffffff; in seccomp_bpf_label()
|
| /linux/Documentation/devicetree/bindings/powerpc/nintendo/ |
| H A D | wii.txt | 31 - reg : should contain the VI registers location and length 42 - reg : should contain the PI registers location and length 64 - reg : should contain the DSP registers location and length 76 - reg : should contain the SI registers location and length 87 - reg : should contain the AI registers location and length 97 - reg : should contain the EXI registers location and length 107 - reg : should contain the EHCI registers location and length 117 - reg : should contain the SDHCI registers location and length 126 - reg : should contain the IPC registers location and length 138 - reg : should contain the controller registers location and length [all …]
|
| /linux/net/smc/ |
| H A D | smc_tracepoint.h | 87 TP_PROTO(const struct smc_link *lnk, void *location), 89 TP_ARGS(lnk, location), 97 __field(void *, location) 108 __entry->location = location; 111 TP_printk("lnk=%p lgr=%p net=%llu state=%d dev=%s location=%pS", 114 __entry->location)
|
| /linux/usr/ |
| H A D | gen_initramfs.sh | 88 local location="$1" 89 local name="/${location#${srcdir}}" 95 local ftype=$(filetype "${location}") 102 [ "${location}" = "${srcdir}" ] && return 0 106 str="${ftype} ${name} ${location} ${str}" 109 local dev="`LC_ALL=C ls -l "${location}"`" 114 [ -b "${location}" ] && dev="b" || dev="c" 119 local target=`readlink "${location}"`
|