Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dgenelf.c164 Elf_Scn *scn; in jit_add_eh_frame_info() local
171 scn = elf_newscn(e); in jit_add_eh_frame_info()
172 if (!scn) { in jit_add_eh_frame_info()
177 d = elf_newdata(scn); in jit_add_eh_frame_info()
190 shdr = elf_getshdr(scn); in jit_add_eh_frame_info()
205 scn = elf_newscn(e); in jit_add_eh_frame_info()
206 if (!scn) { in jit_add_eh_frame_info()
211 d = elf_newdata(scn); in jit_add_eh_frame_info()
224 shdr = elf_getshdr(scn); in jit_add_eh_frame_info()
254 Elf_Scn *scn; in jit_write_elf() local
[all …]
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()
555 shdr = elf_getshdr(scn); in jit_add_debug_info()
570 scn = elf_newscn(e); in jit_add_debug_info()
[all …]
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()
Dsymbol-elf.c2413 Elf_Scn *scn = NULL; in construct_sdt_notes_list() local
2431 scn = elf_section_by_name(elf, &ehdr, &shdr, SDT_NOTE_SCN, NULL); in construct_sdt_notes_list()
2432 if (!scn) { in construct_sdt_notes_list()
2442 data = elf_getdata(scn, NULL); in construct_sdt_notes_list()
/linux-6.1.9/tools/objtool/
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-6.1.9/tools/bpf/resolve_btfids/
Dmain.c295 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument
310 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix()
320 Elf_Scn *scn = NULL; in elf_collect() local
357 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect()
363 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect()
374 data = elf_getdata(scn, 0); in elf_collect()
396 if (compressed_section_fix(elf, scn, &sh)) in elf_collect()
405 Elf_Scn *scn = NULL; in symbols_collect() local
410 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
411 if (!scn) in symbols_collect()
[all …]
/linux-6.1.9/drivers/soc/fsl/dpio/
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-6.1.9/include/soc/fsl/
Ddpaa2-global.h34 struct scn { struct
41 } scn; member
189 return !!(cscn->scn.state & DPAA2_CSCN_STATE_CG); in dpaa2_cscn_state_congested()
/linux-6.1.9/tools/lib/bpf/
Dlinker.c41 Elf_Scn *scn; member
110 Elf_Scn *scn; member
345 sec->scn = elf_newscn(linker->elf); in init_output_elf()
346 if (!sec->scn) { in init_output_elf()
351 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf()
355 sec->data = elf_newdata(sec->scn); in init_output_elf()
365 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
384 sec->scn = elf_newscn(linker->elf); in init_output_elf()
385 if (!sec->scn) { in init_output_elf()
390 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf()
[all …]
Dlibbpf.c672 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn);
673 static const char *elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn);
674 static Elf_Data *elf_sec_data(const struct bpf_object *obj, Elf_Scn *scn);
1449 Elf_Scn *scn; in find_elf_sec_sz() local
1454 scn = elf_sec_by_name(obj, name); in find_elf_sec_sz()
1455 data = elf_sec_data(obj, scn); in find_elf_sec_sz()
2563 Elf_Scn *scn; in bpf_object__init_user_btf_maps() local
2568 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); in bpf_object__init_user_btf_maps()
2569 data = elf_sec_data(obj, scn); in bpf_object__init_user_btf_maps()
2570 if (!scn || !data) { in bpf_object__init_user_btf_maps()
[all …]
Dusdt.c351 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
371 *scn = sec; in find_elf_sec_by_name()
Dbtf.c915 Elf_Scn *scn = NULL; in btf_parse_elf() local
955 while ((scn = elf_nextscn(elf, scn)) != NULL) { in btf_parse_elf()
960 if (gelf_getshdr(scn, &sh) != &sh) { in btf_parse_elf()
972 btf_data = elf_getdata(scn, 0); in btf_parse_elf()
980 btf_ext_data = elf_getdata(scn, 0); in btf_parse_elf()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcs_lport.c5254 static void bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn,
5257 struct bfa_fcs_lport_scn_s *scn,
5259 static void bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn,
5261 static void bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn,
5263 static void bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn,
5270 bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_offline() argument
5275 bfa_sm_set_state(scn, bfa_fcs_lport_scn_sm_sending_scr); in bfa_fcs_lport_scn_sm_offline()
5276 bfa_fcs_lport_scn_send_scr(scn, NULL); in bfa_fcs_lport_scn_sm_offline()
5283 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline()
5288 bfa_fcs_lport_scn_sm_sending_scr(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_sending_scr() argument
[all …]
Dbfa_svc.c3407 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) in bfa_trunk_scn() argument
3417 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && in bfa_trunk_scn()
3418 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()
3477 bfa_fcport_scn(fcport, (scn->trunk_state == BFA_TRUNK_ONLINE) ? in bfa_trunk_scn()
[all …]
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)
Dbfi.h1170 struct bfi_diag_dport_scn_s scn; member
/linux-6.1.9/arch/s390/kvm/
Dinterrupt.c46 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()
3010 int scn; in kvm_s390_get_irq_state() local
3050 if (sca_ext_call_pending(vcpu, &scn)) { in kvm_s390_get_irq_state()
3055 irq.u.extcall.code = scn; in kvm_s390_get_irq_state()
Dkvm-s390.c3379 d->sigp_ctrl.scn = s->sigp_ctrl.scn; in sca_copy_entry()
/linux-6.1.9/arch/s390/include/asm/
Dkvm_host.h61 __u8 scn : 6; member
70 __u8 scn; member
/linux-6.1.9/drivers/scsi/
Dpmcraid.h679 struct pmcraid_state_msg scn; /* controller state change msg */ member
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()