/openbmc/linux/arch/riscv/kernel/ |
H A D | module.c | 37 *location = v; in apply_r_riscv_32_rela() 83 *(u16 *)location = (*(u16 *)location & 0xe383) | in apply_r_riscv_rvc_branch_rela() 101 *(u16 *)location = (*(u16 *)location & 0xe003) | in apply_r_riscv_rvc_jump_rela() 120 *location = (*location & 0xfff) | hi20; in apply_r_riscv_pcrel_hi20_rela() 131 *location = (*location & 0xfffff) | ((v & 0xfff) << 20); in apply_r_riscv_pcrel_lo12_i_rela() 145 *location = (*location & 0x1fff07f) | imm11_5 | imm4_0; in apply_r_riscv_pcrel_lo12_s_rela() 162 *location = (*location & 0xfff) | hi20; in apply_r_riscv_hi20_rela() 184 *location = (*location & 0x1fff07f) | imm11_5 | imm4_0; in apply_r_riscv_lo12_s_rela() 206 *location = (*location & 0xfff) | hi20; in apply_r_riscv_got_hi20_rela() 231 *location = (*location & 0xfff) | hi20; in apply_r_riscv_call_plt_rela() [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H 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 …]
|
/openbmc/libcper/generator/sections/ |
H A D | gen-section.h | 12 size_t generate_section_generic(void **location); 13 size_t generate_section_ia32x64(void **location); 14 size_t generate_section_arm(void **location); 15 size_t generate_section_memory(void **location); 16 size_t generate_section_memory2(void **location); 17 size_t generate_section_pcie(void **location); 18 size_t generate_section_pci_bus(void **location); 19 size_t generate_section_pci_dev(void **location); 20 size_t generate_section_firmware(void **location); 27 size_t generate_section_nvidia(void **location); [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | module.c | 46 *location = base + v; in apply_r_mips_32() 64 *location = (*location & ~0x03ffffff) | in apply_r_mips_26() 76 *location = (*location & 0xffff0000) | in apply_r_mips_hi16() 117 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16() 168 *location = insnlo; in apply_r_mips_lo16() 207 *location = (*location & ~mask) | (offset & mask); in apply_r_mips_pc() 235 *(Elf_Addr *)location = v; in apply_r_mips_64() 245 *location = (*location & 0xffff0000) | in apply_r_mips_higher() 256 *location = (*location & 0xffff0000) | in apply_r_mips_highest() 323 u32 *location, base; in __apply_relocate() local [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H 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 …]
|
/openbmc/u-boot/common/ |
H A D | splash_source.c | 68 if (!location) in splash_storage_read_raw() 71 offset = location->offset; in splash_storage_read_raw() 72 switch (location->storage) { in splash_storage_read_raw() 115 switch (location->storage) { in splash_select_fs_dev() 126 if (location->ubivol != NULL) in splash_select_fs_dev() 232 if (location->ubivol != NULL) in splash_load_fs() 233 res = splash_mount_ubifs(location); in splash_load_fs() 254 splash_select_fs_dev(location); in splash_load_fs() 258 if (location->ubivol != NULL) in splash_load_fs() 341 location->name); in splash_load_fit() [all …]
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 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() 156 int location = 0; in tsnep_rxnfc_find_location() local 159 if (tmp->location == location) in tsnep_rxnfc_find_location() 160 location++; in tsnep_rxnfc_find_location() 162 return location; in tsnep_rxnfc_find_location() 168 return location; in tsnep_rxnfc_find_location() 177 rule->location = fsp->location; in tsnep_rxnfc_init_rule() [all …]
|
/openbmc/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() 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 …]
|
/openbmc/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()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module.c | 62 *location = v; in apply_r_larch_32() 69 *(Elf_Addr *)location = v; in apply_r_larch_64() 238 *location = (u32)opr1; in apply_r_larch_sop_imm_field() 261 *(s32 *)location += v; in apply_r_larch_add_sub() 264 *(s64 *)location += v; in apply_r_larch_add_sub() 267 *(s32 *)location -= v; in apply_r_larch_add_sub() 270 *(s64 *)location -= v; in apply_r_larch_add_sub() 291 offset = (void *)v - (void *)location; in apply_r_larch_b26() 375 *(u32 *)location = offset; in apply_r_larch_32_pcrel() 384 *(u64 *)location = offset; in apply_r_larch_64_pcrel() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H 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 …]
|
/openbmc/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() 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 …]
|
/openbmc/linux/include/trace/events/ |
H A D | skb.h | 26 TP_PROTO(struct sk_buff *skb, void *location, 29 TP_ARGS(skb, location, reason), 33 __field(void *, location) 40 __entry->location = location; 46 __entry->skbaddr, __entry->protocol, __entry->location, 56 TP_PROTO(struct sk_buff *skb, void *location), 58 TP_ARGS(skb, location), 62 __field( void *, location) 67 __entry->location = location; 70 TP_printk("skbaddr=%p location=%pS", __entry->skbaddr, __entry->location)
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | module_32.c | 157 static uint32_t do_plt_call(void *location, in do_plt_call() argument 205 uint32_t *location; in apply_relocate_add() local 224 *(uint32_t *)location = value; in apply_relocate_add() 247 value = do_plt_call(location, value, in apply_relocate_add() 255 value, (uint32_t)location); in apply_relocate_add() 257 *(uint32_t *)location); in apply_relocate_add() 259 PPC_LI(value - (uint32_t)location); in apply_relocate_add() 265 *(uint32_t *)location); in apply_relocate_add() 267 *(uint32_t *)PPC_LI((uint32_t)location), (uint32_t)location, in apply_relocate_add() 268 (*(uint32_t *)PPC_LI((uint32_t)location)) + (uint32_t)location); in apply_relocate_add() [all …]
|
H A D | module_64.c | 773 unsigned long *location; in apply_relocate_add() local 830 *((uint16_t *) location) in apply_relocate_add() 838 *((uint16_t *) location) in apply_relocate_add() 851 *((uint16_t *) location) in apply_relocate_add() 864 *((uint16_t *) location) in apply_relocate_add() 873 *((uint16_t *) location) in apply_relocate_add() 916 *location = value - (unsigned long)location; in apply_relocate_add() 1014 *((uint16_t *) location) in apply_relocate_add() 1022 *((uint16_t *) location) in apply_relocate_add() 1034 ((uint32_t *)location)[0] = (((uint32_t *)location)[0] & ~0x3ffff) | in apply_relocate_add() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/ |
H A D | 0004-load.py-retry-to-invoke-request-with-timeout.patch | 36 is_url = lambda location: '://' in location # RFC 3986 39 @@ -71,6 +75,29 @@ def load_to_file(location, destination): 40 _copy_file(location, destination) 43 +def _access_url(location): 53 + log.info("Try '%s' %d times, %s" % (location, i, str(e))) 66 def _get_auth(location, user=None, passwd=None): 69 @@ -92,6 +119,10 @@ def _get_auth(location, user=None, passwd=None): 71 def _load_url(location, user=None, passwd=None): 74 + if not _access_url(location): 75 + raise KickstartError(_("Connection %s failed" % location)) [all …]
|
H A D | 0001-support-authentication-for-kickstart.patch | 70 @@ -28,7 +30,7 @@ is_url = lambda location: '://' in location # RFC 3986 74 -def load_to_str(location): 75 +def load_to_str(location, user=None, passwd=None): 79 @@ -39,7 +41,7 @@ def load_to_str(location): 82 if is_url(location): 83 - return _load_url(location) 86 return _load_file(location) 89 _copy_file(location, destination) 92 -def _load_url(location): 93 +def _get_auth(location, user=None, passwd=None): [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | module.c | 140 void *base, *location; in apply_relocate_add() local 171 *(u32 *)location = value; in apply_relocate_add() 182 *(u32 *)location = value; in apply_relocate_add() 189 *(u16 *)location = lo; in apply_relocate_add() 223 *(u32 *)location = value; in apply_relocate_add() 228 value -= (u64)location; in apply_relocate_add() 231 *(u32 *)location = value; in apply_relocate_add() 234 value -= (u64)location; in apply_relocate_add() 235 *(u64 *)location = value; in apply_relocate_add() 241 *(u16 *)location = value; in apply_relocate_add() [all …]
|
/openbmc/linux/lib/ |
H A D | ubsan.c | 231 if (suppress_report(&data->location)) in __ubsan_handle_divrem_overflow() 250 if (suppress_report(data->location)) in handle_null_ptr_deref() 265 if (suppress_report(data->location)) in handle_misaligned_access() 281 if (suppress_report(data->location)) in handle_object_size_mismatch() 311 .location = &data->location, in __ubsan_handle_type_mismatch() 325 .location = &data->location, in __ubsan_handle_type_mismatch_v1() 340 if (suppress_report(&data->location)) in __ubsan_handle_out_of_bounds() 361 if (suppress_report(&data->location)) in __ubsan_handle_shift_out_of_bounds() 397 ubsan_prologue(&data->location, "unreachable"); in __ubsan_handle_builtin_unreachable() 410 if (suppress_report(&data->location)) in __ubsan_handle_load_invalid_value() [all …]
|
H A D | ubsan.h | 61 struct source_location location; member 66 struct source_location location; member 73 struct source_location location; member 80 struct source_location *location; member 87 struct source_location location; member 93 struct source_location location; member 99 struct source_location location; member 105 struct source_location location; member 109 struct source_location location; member 114 struct source_location location; member
|
/openbmc/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()
|
/openbmc/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() 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 …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H 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 …]
|
/openbmc/openbmc/poky/meta/recipes-core/initrdscripts/initramfs-framework/ |
H A D | nfsrootfs | 12 local location 21 location="${bootparam_nfsroot%%,*}" 22 if [ "${location#*:}" = "${location}" ]; then 32 location=${server_ip}:${location} 46 mount -t nfs ${flags} ${nfs_opts} ${location} ${ROOTFS_DIR}
|
/openbmc/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()
|