/linux/arch/riscv/kernel/ |
A D | module.c | 23 *location = v; in apply_r_riscv_32_rela() 69 *(u16 *)location = (*(u16 *)location & 0xe383) | in apply_r_riscv_rcv_branch_rela() 87 *(u16 *)location = (*(u16 *)location & 0xe003) | in apply_r_riscv_rvc_jump_rela() 106 *location = (*location & 0xfff) | hi20; in apply_r_riscv_pcrel_hi20_rela() 117 *location = (*location & 0xfffff) | ((v & 0xfff) << 20); in apply_r_riscv_pcrel_lo12_i_rela() 131 *location = (*location & 0x1fff07f) | imm11_5 | imm4_0; in apply_r_riscv_pcrel_lo12_s_rela() 148 *location = (*location & 0xfff) | hi20; in apply_r_riscv_hi20_rela() 170 *location = (*location & 0x1fff07f) | imm11_5 | imm4_0; in apply_r_riscv_lo12_s_rela() 192 *location = (*location & 0xfff) | hi20; in apply_r_riscv_got_hi20_rela() 218 *location = (*location & 0xfff) | hi20; in apply_r_riscv_call_plt_rela() [all …]
|
/linux/arch/mips/kernel/ |
A D | module.c | 45 *location = base + v; in apply_r_mips_32() 63 *location = (*location & ~0x03ffffff) | in apply_r_mips_26() 75 *location = (*location & 0xffff0000) | in apply_r_mips_hi16() 116 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16() 167 *location = insnlo; in apply_r_mips_lo16() 206 *location = (*location & ~mask) | (offset & mask); in apply_r_mips_pc() 234 *(Elf_Addr *)location = v; in apply_r_mips_64() 244 *location = (*location & 0xffff0000) | in apply_r_mips_higher() 255 *location = (*location & 0xffff0000) | in apply_r_mips_highest() 322 u32 *location, base; in __apply_relocate() local [all …]
|
A D | vpe.c | 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() 273 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_pc16() 281 *location += v; in apply_r_mips_32() 306 *location = (*location & ~0x03ffffff) | in apply_r_mips_26() 307 ((*location + (v >> 2)) & 0x03ffffff); in apply_r_mips_26() 325 n->addr = location; in apply_r_mips_hi16() 336 unsigned long insnlo = *location; in apply_r_mips_lo16() 389 *location = insnlo; in apply_r_mips_lo16() [all …]
|
/linux/arch/xtensa/kernel/ |
A D | module.c | 29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode() 32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode() 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 79 *(uint32_t *)location += value; in apply_relocate_add() 96 location[0] = ((location[0] & ~0x3) | in apply_relocate_add() 99 location[2] = value & 0xff; in apply_relocate_add() 102 location[0] = ((location[0] & ~0xc0) | in apply_relocate_add() 122 location[2] = value & 0xff; in apply_relocate_add() [all …]
|
/linux/arch/sh/kernel/ |
A D | module.c | 34 uint32_t *location; in apply_relocate_add() local 53 value = get_unaligned(location); in apply_relocate_add() 55 put_unaligned(value, 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() 73 *location = (*location & ~0x3fffc00) | in apply_relocate_add() 77 relocation -= (Elf32_Addr) location; in apply_relocate_add() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | module_32.c | 195 uint32_t *location; in apply_relocate_add() local 214 *(uint32_t *)location = value; in apply_relocate_add() 219 *(uint16_t *)location = value; in apply_relocate_add() 243 value, (uint32_t)location); in apply_relocate_add() 245 *(uint32_t *)location); in apply_relocate_add() 246 *(uint32_t *)location in apply_relocate_add() 248 | ((value - (uint32_t)location) in apply_relocate_add() 251 *(uint32_t *)location); in apply_relocate_add() 254 (uint32_t)location, in apply_relocate_add() 256 + (uint32_t)location); in apply_relocate_add() [all …]
|
A D | module_64.c | 535 unsigned long *location; in apply_relocate_add() local 570 *(u32 *)location = value; in apply_relocate_add() 590 *((uint16_t *) location) in apply_relocate_add() 598 *((uint16_t *) location) in apply_relocate_add() 611 *((uint16_t *) location) in apply_relocate_add() 624 *((uint16_t *) location) in apply_relocate_add() 633 *((uint16_t *) location) in apply_relocate_add() 672 *location = value - (unsigned long)location; in apply_relocate_add() 684 *(u32 *)location = value; in apply_relocate_add() 725 *((uint16_t *) location) in apply_relocate_add() [all …]
|
/linux/arch/hexagon/kernel/ |
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() 109 dist, value, (uint32_t)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() 125 *location &= ~0x00c03fff; in apply_relocate_add() 126 *location |= value & 0x3fff; in apply_relocate_add() 127 *location |= (value & 0xc000) << 8; in apply_relocate_add() 130 *location = value; in apply_relocate_add() [all …]
|
/linux/arch/sparc/kernel/ |
A D | module.c | 92 u8 *location; in apply_relocate_add() local 120 location[0] = v >> 56; in apply_relocate_add() 121 location[1] = v >> 48; in apply_relocate_add() 122 location[2] = v >> 40; in apply_relocate_add() 123 location[3] = v >> 32; in apply_relocate_add() 124 location[4] = v >> 24; in apply_relocate_add() 125 location[5] = v >> 16; in apply_relocate_add() 126 location[6] = v >> 8; in apply_relocate_add() 127 location[7] = v >> 0; in apply_relocate_add() 146 location[0] = v >> 24; in apply_relocate_add() [all …]
|
/linux/arch/microblaze/kernel/ |
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/ |
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() 55 uint32_t *location; in apply_relocate_add() local 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() 78 jsri_2_lrw_jsr(location); in apply_relocate_add() 81 temp = ((short *)location) + 1; in apply_relocate_add() [all …]
|
/linux/lib/ |
A D | ubsan.c | 174 if (suppress_report(&data->location)) in __ubsan_handle_divrem_overflow() 193 if (suppress_report(data->location)) in handle_null_ptr_deref() 208 if (suppress_report(data->location)) in handle_misaligned_access() 224 if (suppress_report(data->location)) in handle_object_size_mismatch() 254 .location = &data->location, in __ubsan_handle_type_mismatch() 268 .location = &data->location, in __ubsan_handle_type_mismatch_v1() 283 if (suppress_report(&data->location)) in __ubsan_handle_out_of_bounds() 304 if (suppress_report(&data->location)) in __ubsan_handle_shift_out_of_bounds() 340 ubsan_prologue(&data->location, "unreachable"); in __ubsan_handle_builtin_unreachable() 352 if (suppress_report(&data->location)) in __ubsan_handle_load_invalid_value() [all …]
|
A D | ubsan.h | 29 struct source_location location; member 34 struct source_location location; member 41 struct source_location location; member 48 struct source_location *location; member 55 struct source_location location; member 61 struct source_location location; member 67 struct source_location location; member 73 struct source_location location; member 77 struct source_location location; member 82 struct source_location location; member
|
/linux/arch/alpha/kernel/ |
A D | module.c | 140 void *base, *location; in apply_relocate_add() local 173 *(u32 *)location = value; in apply_relocate_add() 184 *(u32 *)location = value; in apply_relocate_add() 191 *(u16 *)location = lo; in apply_relocate_add() 225 *(u32 *)location = value; in apply_relocate_add() 230 value -= (u64)location; in apply_relocate_add() 233 *(u32 *)location = value; in apply_relocate_add() 236 value -= (u64)location; in apply_relocate_add() 237 *(u64 *)location = value; in apply_relocate_add() 243 *(u16 *)location = value; in apply_relocate_add() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_filters.c | 76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists() 316 data->location = fsp->location - AQ_RX_FIRST_LOC_FETHERT; in aq_set_data_fl2() 406 int location = fsp->location - AQ_RX_FIRST_LOC_FVLANID; in aq_set_data_fvlan() local 409 memset(&aq_vlans[location], 0, sizeof(aq_vlans[location])); in aq_set_data_fvlan() 422 aq_vlans[location].location = location; in aq_set_data_fvlan() 446 cmd.fs.location = rule->aq_fsp.location; in aq_del_fvlan_by_vlan() 479 data->location = HW_ATL_GET_REG_LOCATION_FL3L4(fsp->location); in aq_set_data_fl3l4() 727 if (rule->aq_fsp.location == cmd->fs.location) in aq_del_rxnfc_rule() 731 if (rule && rule->aq_fsp.location == cmd->fs.location) { in aq_del_rxnfc_rule() 750 if (fsp->location <= rule->aq_fsp.location) in aq_get_rxnfc_rule() [all …]
|
/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
A D | queue_access.c | 32 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_load() 66 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_load() 71 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_load() 87 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_store() 113 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_store() 118 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_store() 134 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_load() 140 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_item_load() 145 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_item_load() 161 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_store() [all …]
|
/linux/arch/openrisc/kernel/ |
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()
|
/linux/arch/m68k/kernel/ |
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/ |
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/ |
A D | nfs4namespace.c | 283 const struct nfs4_fs_location *location) in try_location() argument 295 for (s = 0; s < location->nservers; s++) { in try_location() 321 for (s = 0; s < location->nservers; s++) { in try_location() 382 if (location == NULL || location->nservers <= 0 || in nfs_follow_referral() 383 location->rootpath.ncomponents == 0) in nfs_follow_referral() 386 error = try_location(fc, location); in nfs_follow_referral() 474 const struct nfs4_fs_location *location) in nfs4_try_replacing_one_location() argument 488 for (s = 0; s < location->nservers; s++) { in nfs4_try_replacing_one_location() 553 if (location == NULL || location->nservers <= 0 || in nfs4_replace_transport() 554 location->rootpath.ncomponents == 0) in nfs4_replace_transport() [all …]
|
/linux/include/trace/events/ |
A D | skb.h | 17 TP_PROTO(struct sk_buff *skb, void *location), 19 TP_ARGS(skb, location), 23 __field( void *, location ) 29 __entry->location = location; 34 __entry->skbaddr, __entry->protocol, __entry->location)
|
/linux/arch/arc/kernel/ |
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/ |
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/Documentation/devicetree/bindings/powerpc/nintendo/ |
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 OHCI registers location and length 117 - reg : should contain the EHCI registers location and length 127 - reg : should contain the SDHCI registers location and length 136 - reg : should contain the IPC registers location and length [all …]
|
/linux/samples/seccomp/ |
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()
|