Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 20 of 20) sorted by relevance

/linux/tools/perf/util/
A Dgenelf.c158 Elf_Scn *scn; in jit_add_eh_frame_info() local
165 scn = elf_newscn(e); in jit_add_eh_frame_info()
166 if (!scn) { in jit_add_eh_frame_info()
199 scn = elf_newscn(e); in jit_add_eh_frame_info()
200 if (!scn) { in jit_add_eh_frame_info()
248 Elf_Scn *scn; in jit_write_elf() local
288 if (!scn) { in jit_write_elf()
334 if (!scn) { in jit_write_elf()
370 if (!scn) { in jit_write_elf()
413 if (!scn) { in jit_write_elf()
[all …]
A Dgenelf_debug.c487 Elf_Scn *scn; in jit_add_debug_info() local
502 scn = elf_newscn(e); in jit_add_debug_info()
503 if (!scn) { in jit_add_debug_info()
508 d = elf_newdata(scn); in jit_add_debug_info()
521 shdr = elf_getshdr(scn); in jit_add_debug_info()
536 scn = elf_newscn(e); in jit_add_debug_info()
537 if (!scn) { in jit_add_debug_info()
542 d = elf_newdata(scn); in jit_add_debug_info()
570 scn = elf_newscn(e); in jit_add_debug_info()
571 if (!scn) { in jit_add_debug_info()
[all …]
A Dprobe-finder.c1677 Elf_Scn *scn; in debuginfo__get_text_offset() local
1695 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset()
1696 if (!scn) in debuginfo__get_text_offset()
1698 shdr = gelf_getshdr(scn, &mem); in debuginfo__get_text_offset()
A Dsymbol-elf.c2355 Elf_Scn *scn = NULL; in construct_sdt_notes_list() local
2373 scn = elf_section_by_name(elf, &ehdr, &shdr, SDT_NOTE_SCN, NULL); in construct_sdt_notes_list()
2374 if (!scn) { in construct_sdt_notes_list()
2384 data = elf_getdata(scn, NULL); in construct_sdt_notes_list()
/linux/tools/objtool/
A Dorc_dump.c74 Elf_Scn *scn; in orc_dump() local
108 scn = elf_getscn(elf, i); in orc_dump()
109 if (!scn) { in orc_dump()
114 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
125 data = elf_getdata(scn, NULL); in orc_dump()
168 scn = elf_getscn(elf, sym.st_shndx); in orc_dump()
169 if (!scn) { in orc_dump()
174 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
/linux/tools/bpf/resolve_btfids/
A Dmain.c280 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument
295 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix()
305 Elf_Scn *scn = NULL; in elf_collect() local
342 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect()
348 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect()
359 data = elf_getdata(scn, 0); in elf_collect()
381 if (compressed_section_fix(elf, scn, &sh)) in elf_collect()
390 Elf_Scn *scn = NULL; in symbols_collect() local
395 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
396 if (!scn) in symbols_collect()
[all …]
/linux/drivers/soc/fsl/dpio/
A Dqbman-portal.h374 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/lib/bpf/
A Dlinker.c41 Elf_Scn *scn; member
110 Elf_Scn *scn; member
549 Elf_Scn *scn; in linker_load_obj_file() local
598 scn = NULL; in linker_load_obj_file()
599 while ((scn = elf_nextscn(obj->elf, scn)) != NULL) { in linker_load_obj_file()
631 sec->scn = scn; in linker_load_obj_file()
984 Elf_Scn *scn; in init_sec() local
998 if (!scn) in init_sec()
1007 dst_sec->scn = scn; in init_sec()
2614 Elf_Scn *scn; in emit_elf_data_sec() local
[all …]
A Dlibbpf.c3030 if (!scn) { in elf_sec_by_idx()
3035 return scn; in elf_sec_by_idx()
3044 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_sec_by_name()
3061 if (!scn) in elf_sec_hdr()
3079 if (!scn) in elf_sec_name()
3100 if (!scn) in elf_sec_data()
3106 elf_ndxscn(scn), elf_sec_name(obj, scn) ?: "<?>", in elf_sec_data()
3206 scn = NULL; in bpf_object__elf_collect()
3207 while ((scn = elf_nextscn(elf, scn)) != NULL) { in bpf_object__elf_collect()
3236 scn = NULL; in bpf_object__elf_collect()
[all …]
A Dbtf.c890 Elf_Scn *scn = NULL; in btf_parse_elf() local
930 while ((scn = elf_nextscn(elf, scn)) != NULL) { in btf_parse_elf()
935 if (gelf_getshdr(scn, &sh) != &sh) { in btf_parse_elf()
947 btf_data = elf_getdata(scn, 0); in btf_parse_elf()
955 btf_ext_data = elf_getdata(scn, 0); in btf_parse_elf()
/linux/include/soc/fsl/
A Ddpaa2-global.h34 struct scn { struct
41 } scn; member
189 return !!(cscn->scn.state & DPAA2_CSCN_STATE_CG); in dpaa2_cscn_state_congested()
/linux/drivers/scsi/bfa/
A Dbfa_fcs_lport.c5257 struct bfa_fcs_lport_scn_s *scn,
5283 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5298 bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe); in bfa_fcs_lport_scn_sm_sending_scr()
5302 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_sending_scr()
5326 bfa_fcxp_discard(scn->fcxp); in bfa_fcs_lport_scn_sm_scr()
5346 bfa_timer_stop(&scn->timer); in bfa_fcs_lport_scn_sm_scr_retry()
5350 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_scr_retry()
5396 scn->fcxp = fcxp; in bfa_fcs_lport_scn_send_scr()
5523 scn->port = port; in bfa_fcs_lport_scn_init()
5532 scn->port = port; in bfa_fcs_lport_scn_offline()
[all …]
A Dbfa_svc.c3418 scn->trunk_state != BFA_TRUNK_OFFLINE); in bfa_trunk_scn()
3421 bfa_trc(fcport->bfa, scn->trunk_state); in bfa_trunk_scn()
3422 bfa_trc(fcport->bfa, scn->trunk_speed); in bfa_trunk_scn()
3429 trunk->attr.state = scn->trunk_state; in bfa_trunk_scn()
3430 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn()
3433 tlink = &scn->tlink[i]; in bfa_trunk_scn()
3476 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { in bfa_trunk_scn()
6258 switch (dport->i2hmsg.scn.state) { in bfa_dport_sm_enabled()
6418 switch (dport->i2hmsg.scn.state) { in bfa_dport_sm_dynamic_disabling()
6551 dport->i2hmsg.scn.state = msg->state; in bfa_dport_scn()
[all …]
A Dbfa_fcs.h107 struct bfa_fcs_lport_scn_s scn; /* scn component of port */ member
156 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn)
A Dbfi.h1170 struct bfi_diag_dport_scn_s scn; member
/linux/arch/s390/kvm/
A Dinterrupt.c44 int c, scn; in sca_ext_call_pending() local
57 scn = sigp_ctrl.scn; in sca_ext_call_pending()
64 scn = sigp_ctrl.scn; in sca_ext_call_pending()
69 *src_id = scn; in sca_ext_call_pending()
86 new_val.scn = src_id; in sca_inject_ext_call()
98 new_val.scn = src_id; in sca_inject_ext_call()
2997 int scn; in kvm_s390_get_irq_state() local
3037 if (sca_ext_call_pending(vcpu, &scn)) { in kvm_s390_get_irq_state()
3042 irq.u.extcall.code = scn; in kvm_s390_get_irq_state()
A Dkvm-s390.c2930 d->sigp_ctrl.scn = s->sigp_ctrl.scn; in sca_copy_entry()
/linux/arch/s390/include/asm/
A Dkvm_host.h57 __u8 scn : 6; member
66 __u8 scn; member
/linux/drivers/scsi/
A Dpmcraid.h679 struct pmcraid_state_msg scn; /* controller state change msg */ member
A Dpmcraid.c737 if (pinstance->scn.ioa_state != PMC_DEVICE_EVENT_RESET_START && in pmcraid_timeout_handler()
738 pinstance->scn.ioa_state != PMC_DEVICE_EVENT_SHUTDOWN_START) in pmcraid_timeout_handler()
1491 pinstance->scn.ioa_state = evt; in pmcraid_notify_ioastate()
1493 &pinstance->scn.msg, in pmcraid_notify_ioastate()

Completed in 2886 milliseconds