/Linux-v5.10/tools/perf/util/ |
D | genelf.c | 158 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() 171 d = elf_newdata(scn); in jit_add_eh_frame_info() 184 shdr = elf_getshdr(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() 205 d = elf_newdata(scn); in jit_add_eh_frame_info() 218 shdr = elf_getshdr(scn); in jit_add_eh_frame_info() 248 Elf_Scn *scn; in jit_write_elf() local [all …]
|
D | genelf_debug.c | 487 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 …]
|
D | probe-finder.c | 1667 Elf_Scn *scn; in debuginfo__get_text_offset() local 1685 scn = elf_getscn(elf, shndx); in debuginfo__get_text_offset() 1686 if (!scn) in debuginfo__get_text_offset() 1688 shdr = gelf_getshdr(scn, &mem); in debuginfo__get_text_offset()
|
D | symbol-elf.c | 2266 Elf_Scn *scn = NULL; in construct_sdt_notes_list() local 2284 scn = elf_section_by_name(elf, &ehdr, &shdr, SDT_NOTE_SCN, NULL); in construct_sdt_notes_list() 2285 if (!scn) { in construct_sdt_notes_list() 2295 data = elf_getdata(scn, NULL); in construct_sdt_notes_list()
|
/Linux-v5.10/tools/objtool/ |
D | orc_dump.c | 73 Elf_Scn *scn; in orc_dump() local 107 scn = elf_getscn(elf, i); in orc_dump() 108 if (!scn) { in orc_dump() 113 if (!gelf_getshdr(scn, &sh)) { in orc_dump() 124 data = elf_getdata(scn, NULL); in orc_dump() 167 scn = elf_getscn(elf, sym.st_shndx); in orc_dump() 168 if (!scn) { in orc_dump() 173 if (!gelf_getshdr(scn, &sh)) { in orc_dump()
|
/Linux-v5.10/tools/bpf/resolve_btfids/ |
D | main.c | 271 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() argument 286 if (gelf_update_shdr(scn, sh) == 0) { in compressed_section_fix() 296 Elf_Scn *scn = NULL; in elf_collect() local 332 while ((scn = elf_nextscn(elf, scn)) != NULL) { in elf_collect() 338 if (gelf_getshdr(scn, &sh) != &sh) { in elf_collect() 349 data = elf_getdata(scn, 0); in elf_collect() 371 if (compressed_section_fix(elf, scn, &sh)) in elf_collect() 380 Elf_Scn *scn = NULL; in symbols_collect() local 385 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect() 386 if (!scn) in symbols_collect() [all …]
|
/Linux-v5.10/drivers/soc/fsl/dpio/ |
D | qbman-portal.h | 367 static inline u8 qbman_result_SCN_state(const struct dpaa2_dq *scn) in qbman_result_SCN_state() argument 369 return scn->scn.state; in qbman_result_SCN_state() 377 static inline u32 qbman_result_SCN_rid(const struct dpaa2_dq *scn) in qbman_result_SCN_rid() argument 379 return le32_to_cpu(scn->scn.rid_tok) & SCN_RID_MASK; in qbman_result_SCN_rid() 385 static inline u64 qbman_result_SCN_ctx(const struct dpaa2_dq *scn) in qbman_result_SCN_ctx() argument 387 return le64_to_cpu(scn->scn.ctx); in qbman_result_SCN_ctx()
|
/Linux-v5.10/samples/bpf/ |
D | bpf_load.c | 319 Elf_Scn *scn; in get_sec() local 321 scn = elf_getscn(elf, i); in get_sec() 322 if (!scn) in get_sec() 325 if (gelf_getshdr(scn, shdr) != shdr) in get_sec() 332 *data = elf_getdata(scn, 0); in get_sec() 333 if (!*data || elf_getdata(scn, *data) != NULL) in get_sec() 407 Elf_Scn *scn; in load_elf_maps_section() local 416 scn = elf_getscn(elf, maps_shndx); in load_elf_maps_section() 417 if (scn) in load_elf_maps_section() 418 data_maps = elf_getdata(scn, NULL); in load_elf_maps_section() [all …]
|
/Linux-v5.10/include/soc/fsl/ |
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-v5.10/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 5246 static void bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, 5249 struct bfa_fcs_lport_scn_s *scn, 5251 static void bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn, 5253 static void bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn, 5255 static void bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn, 5262 bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_offline() argument 5267 bfa_sm_set_state(scn, bfa_fcs_lport_scn_sm_sending_scr); in bfa_fcs_lport_scn_sm_offline() 5268 bfa_fcs_lport_scn_send_scr(scn, NULL); in bfa_fcs_lport_scn_sm_offline() 5275 bfa_sm_fault(scn->port->fcs, event); in bfa_fcs_lport_scn_sm_offline() 5280 bfa_fcs_lport_scn_sm_sending_scr(struct bfa_fcs_lport_scn_s *scn, in bfa_fcs_lport_scn_sm_sending_scr() argument [all …]
|
D | bfa_svc.c | 3413 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) in bfa_trunk_scn() argument 3423 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && in bfa_trunk_scn() 3424 scn->trunk_state != BFA_TRUNK_OFFLINE); in bfa_trunk_scn() 3427 bfa_trc(fcport->bfa, scn->trunk_state); in bfa_trunk_scn() 3428 bfa_trc(fcport->bfa, scn->trunk_speed); in bfa_trunk_scn() 3435 trunk->attr.state = scn->trunk_state; in bfa_trunk_scn() 3436 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn() 3439 tlink = &scn->tlink[i]; in bfa_trunk_scn() 3482 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { in bfa_trunk_scn() 3483 bfa_fcport_scn(fcport, (scn->trunk_state == BFA_TRUNK_ONLINE) ? in bfa_trunk_scn() [all …]
|
D | bfa_fcs.h | 107 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)
|
D | bfi.h | 1170 struct bfi_diag_dport_scn_s scn; member
|
/Linux-v5.10/tools/lib/bpf/ |
D | libbpf.c | 482 static int elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn, GElf_Shdr *hdr); 483 static const char *elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn); 484 static Elf_Data *elf_sec_data(const struct bpf_object *obj, Elf_Scn *scn); 1249 Elf_Scn *scn = elf_sec_by_name(obj, name); in bpf_object__section_size() local 1250 Elf_Data *data = elf_sec_data(obj, scn); in bpf_object__section_size() 1751 Elf_Scn *scn; in bpf_object__init_user_maps() local 1760 scn = elf_sec_by_idx(obj, obj->efile.maps_shndx); in bpf_object__init_user_maps() 1761 data = elf_sec_data(obj, scn); in bpf_object__init_user_maps() 1762 if (!scn || !data) { in bpf_object__init_user_maps() 2289 Elf_Scn *scn; in bpf_object__init_user_btf_maps() local [all …]
|
D | btf.c | 798 Elf_Scn *scn = NULL; in btf__parse_elf() local 830 while ((scn = elf_nextscn(elf, scn)) != NULL) { in btf__parse_elf() 835 if (gelf_getshdr(scn, &sh) != &sh) { in btf__parse_elf() 847 btf_data = elf_getdata(scn, 0); in btf__parse_elf() 855 btf_ext_data = elf_getdata(scn, 0); in btf__parse_elf()
|
/Linux-v5.10/arch/s390/kvm/ |
D | interrupt.c | 44 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()
|
D | kvm-s390.c | 2879 d->sigp_ctrl.scn = s->sigp_ctrl.scn; in sca_copy_entry()
|
/Linux-v5.10/arch/s390/include/asm/ |
D | kvm_host.h | 58 __u8 scn : 6; member 67 __u8 scn; member
|
/Linux-v5.10/drivers/scsi/ |
D | pmcraid.h | 679 struct pmcraid_state_msg scn; /* controller state change msg */ member
|
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() 1497 pinstance->scn.ioa_state = evt; in pmcraid_notify_ioastate() 1499 &pinstance->scn.msg, in pmcraid_notify_ioastate()
|