/linux/tools/perf/util/ |
H A D | genelf.c | 159 Elf_Scn *scn; in jit_add_eh_frame_info() local 166 scn = elf_newscn(e); in jit_add_eh_frame_info() 167 if (!scn) { in jit_add_eh_frame_info() 200 scn = elf_newscn(e); in jit_add_eh_frame_info() 201 if (!scn) { in jit_add_eh_frame_info() 249 Elf_Scn *scn; in jit_write_elf() local 303 if (!scn) { in jit_write_elf() 350 if (!scn) { in jit_write_elf() 386 if (!scn) { in jit_write_elf() 429 if (!scn) { in jit_write_elf() [all …]
|
H A D | genelf_debug.c | 498 Elf_Scn *scn; in jit_add_debug_info() local 513 scn = elf_newscn(e); in jit_add_debug_info() 514 if (!scn) { in jit_add_debug_info() 519 d = elf_newdata(scn); in jit_add_debug_info() 532 shdr = elf_getshdr(scn); in jit_add_debug_info() 547 scn = elf_newscn(e); in jit_add_debug_info() 548 if (!scn) { in jit_add_debug_info() 553 d = elf_newdata(scn); in jit_add_debug_info() 581 scn = elf_newscn(e); in jit_add_debug_info() 582 if (!scn) { in jit_add_debug_info() [all …]
|
H A D | debuginfo.c | 147 Elf_Scn *scn; in debuginfo__get_text_offset() local 165 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset() 166 if (!scn) in debuginfo__get_text_offset() 168 shdr = gelf_getshdr(scn, &mem); in debuginfo__get_text_offset()
|
H A D | symbol-elf.c | 544 di->plt_got_data = elf_getdata(scn, NULL); in get_rela_dyn_info() 551 di->rela_dyn_data = elf_getdata(scn, NULL); in get_rela_dyn_info() 553 scn = elf_getscn(elf, rela_dyn_shdr.sh_link); in get_rela_dyn_info() 554 if (!scn || !gelf_getshdr(scn, &shdr) || !shdr.sh_link) in get_rela_dyn_info() 557 di->dynsym_data = elf_getdata(scn, NULL); in get_rela_dyn_info() 640 Elf_Scn *scn; in dso__synthesize_plt_got_symbols() local 645 if (!scn || !shdr.sh_entsize) in dso__synthesize_plt_got_symbols() 649 get_rela_dyn_info(elf, ehdr, &di, scn); in dso__synthesize_plt_got_symbols() 2861 Elf_Scn *scn = NULL; in construct_sdt_notes_list() local 2880 if (!scn) { in construct_sdt_notes_list() [all …]
|
/linux/tools/objtool/ |
H A D | orc_dump.c | 22 Elf_Scn *scn; in orc_dump() local 63 scn = elf_getscn(elf, i); in orc_dump() 64 if (!scn) { in orc_dump() 69 if (!gelf_getshdr(scn, &sh)) { in orc_dump() 80 data = elf_getdata(scn, NULL); in orc_dump() 123 scn = elf_getscn(elf, sym.st_shndx); in orc_dump() 124 if (!scn) { in orc_dump() 129 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
|
/linux/tools/lib/bpf/ |
H A D | elf.c | 67 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_find_next_scn_by_type() 70 if (!gelf_getshdr(scn, &sh)) in elf_find_next_scn_by_type() 73 return scn; in elf_find_next_scn_by_type() 103 Elf_Scn *scn = NULL; in elf_sym_iter_new() local 115 if (!scn) { in elf_sym_iter_new() 121 if (!gelf_getshdr(scn, &sh)) in elf_sym_iter_new() 125 iter->syms = elf_getdata(scn, 0); in elf_sym_iter_new() 140 if (!scn) in elf_sym_iter_new() 142 iter->versyms = elf_getdata(scn, 0); in elf_sym_iter_new() 145 if (!scn) in elf_sym_iter_new() [all …]
|
H A D | linker.c | 41 Elf_Scn *scn; member 110 Elf_Scn *scn; member 550 Elf_Scn *scn; in linker_load_obj_file() local 599 scn = NULL; in linker_load_obj_file() 600 while ((scn = elf_nextscn(obj->elf, scn)) != NULL) { in linker_load_obj_file() 632 sec->scn = scn; in linker_load_obj_file() 1013 Elf_Scn *scn; in init_sec() local 1027 if (!scn) in init_sec() 1036 dst_sec->scn = scn; in init_sec() 2660 Elf_Scn *scn; in emit_elf_data_sec() local [all …]
|
H A D | libbpf.c | 3626 if (!scn) { in elf_sec_by_idx() 3631 return scn; in elf_sec_by_idx() 3640 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_sec_by_name() 3657 if (!scn) in elf_sec_hdr() 3675 if (!scn) in elf_sec_name() 3696 if (!scn) in elf_sec_data() 3702 elf_ndxscn(scn), elf_sec_name(obj, scn) ?: "<?>", in elf_sec_data() 3807 scn = NULL; in bpf_object__elf_collect() 3808 while ((scn = elf_nextscn(elf, scn)) != NULL) { in bpf_object__elf_collect() 3837 scn = NULL; in bpf_object__elf_collect() [all …]
|
H A D | usdt.c | 357 static int find_elf_sec_by_name(Elf *elf, const char *sec_name, GElf_Shdr *shdr, Elf_Scn **scn) in find_elf_sec_by_name() argument 377 *scn = sec; in find_elf_sec_by_name()
|
H A D | btf.c | 1101 Elf_Scn *scn = NULL; in btf_find_elf_sections() local 1123 while ((scn = elf_nextscn(elf, scn)) != NULL) { in btf_find_elf_sections() 1129 if (gelf_getshdr(scn, &sh) != &sh) { in btf_find_elf_sections() 1150 data = elf_getdata(scn, 0); in btf_find_elf_sections()
|
/linux/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.h | 374 static inline u8 qbman_result_SCN_state(const struct dpaa2_dq *scn) in qbman_result_SCN_state() argument 376 return scn->scn.state; in qbman_result_SCN_state() 384 static inline u32 qbman_result_SCN_rid(const struct dpaa2_dq *scn) in qbman_result_SCN_rid() argument 386 return le32_to_cpu(scn->scn.rid_tok) & SCN_RID_MASK; in qbman_result_SCN_rid() 392 static inline u64 qbman_result_SCN_ctx(const struct dpaa2_dq *scn) in qbman_result_SCN_ctx() argument 394 return le64_to_cpu(scn->scn.ctx); in qbman_result_SCN_ctx()
|
/linux/tools/bpf/resolve_btfids/ |
H A D | main.c | 305 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument 320 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix() 330 Elf_Scn *scn = NULL; in elf_collect() local 375 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect() 381 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect() 392 data = elf_getdata(scn, 0); in elf_collect() 422 if (compressed_section_fix(elf, scn, &sh)) in elf_collect() 431 Elf_Scn *scn = NULL; in symbols_collect() local 436 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect() 437 if (!scn) in symbols_collect() [all …]
|
/linux/include/soc/fsl/ |
H A D | dpaa2-global.h | 34 struct scn { struct 41 } scn; member 189 return !!(cscn->scn.state & DPAA2_CSCN_STATE_CG); in dpaa2_cscn_state_congested()
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 5186 struct bfa_fcs_lport_scn_s *scn, 5212 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline() 5227 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr() 5231 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr() 5255 bfa_fcxp_discard(scn->fcxp); in bfa_fcs_lport_scn_sm_scr() 5275 bfa_timer_stop(&scn->timer); in bfa_fcs_lport_scn_sm_scr_retry() 5279 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry() 5325 scn->fcxp = fcxp; in bfa_fcs_lport_scn_send_scr() 5452 scn->port = port; in bfa_fcs_lport_scn_init() 5461 scn->port = port; in bfa_fcs_lport_scn_offline() [all …]
|
H A D | bfa_svc.c | 3404 scn->trunk_state != BFA_TRUNK_OFFLINE); in bfa_trunk_scn() 3407 bfa_trc(fcport->bfa, scn->trunk_state); in bfa_trunk_scn() 3408 bfa_trc(fcport->bfa, scn->trunk_speed); in bfa_trunk_scn() 3415 trunk->attr.state = scn->trunk_state; in bfa_trunk_scn() 3416 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn() 3419 tlink = &scn->tlink[i]; in bfa_trunk_scn() 3462 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { in bfa_trunk_scn() 6230 switch (dport->i2hmsg.scn.state) { in bfa_dport_sm_enabled() 6390 switch (dport->i2hmsg.scn.state) { in bfa_dport_sm_dynamic_disabling() 6523 dport->i2hmsg.scn.state = msg->state; in bfa_dport_scn() [all …]
|
H A D | bfa_fcs.h | 158 struct bfa_fcs_lport_scn_s scn; /* scn component of port */ member 222 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn)
|
H A D | bfi.h | 1170 struct bfi_diag_dport_scn_s scn; member
|
/linux/arch/s390/kvm/ |
H A D | interrupt.c | 46 int c, scn; in sca_ext_call_pending() local 59 scn = sigp_ctrl.scn; in sca_ext_call_pending() 66 scn = sigp_ctrl.scn; in sca_ext_call_pending() 71 *src_id = scn; in sca_ext_call_pending() 89 new_val.scn = src_id; in sca_inject_ext_call() 102 new_val.scn = src_id; in sca_inject_ext_call() 3014 int scn; in kvm_s390_get_irq_state() local 3054 if (sca_ext_call_pending(vcpu, &scn)) { in kvm_s390_get_irq_state() 3059 irq.u.extcall.code = scn; in kvm_s390_get_irq_state()
|
H A D | kvm-s390.c | 3557 d->sigp_ctrl.scn = s->sigp_ctrl.scn; in sca_copy_entry()
|
/linux/arch/s390/include/asm/ |
H A D | kvm_host.h | 60 __u8 scn : 6; member 69 __u8 scn; member
|
/linux/drivers/scsi/ |
H A D | pmcraid.h | 679 struct pmcraid_state_msg scn; /* controller state change msg */ member
|
H A D | pmcraid.c | 740 if (pinstance->scn.ioa_state != PMC_DEVICE_EVENT_RESET_START && in pmcraid_timeout_handler() 741 pinstance->scn.ioa_state != PMC_DEVICE_EVENT_SHUTDOWN_START) in pmcraid_timeout_handler() 1494 pinstance->scn.ioa_state = evt; in pmcraid_notify_ioastate() 1496 &pinstance->scn.msg, in pmcraid_notify_ioastate()
|