/linux-master/tools/objtool/ |
H A D | orc_dump.c | 22 Elf_Scn *scn; local 63 scn = elf_getscn(elf, i); 64 if (!scn) { 69 if (!gelf_getshdr(scn, &sh)) { 80 data = elf_getdata(scn, NULL); 123 scn = elf_getscn(elf, sym.st_shndx); 124 if (!scn) { 129 if (!gelf_getshdr(scn, &sh)) {
|
/linux-master/tools/perf/util/ |
H A D | genelf.c | 164 Elf_Scn *scn; local 171 scn = elf_newscn(e); 172 if (!scn) { 177 d = elf_newdata(scn); 190 shdr = elf_getshdr(scn); 205 scn = elf_newscn(e); 206 if (!scn) { 211 d = elf_newdata(scn); 224 shdr = elf_getshdr(scn); 254 Elf_Scn *scn; local [all...] |
H A D | genelf_debug.c | 498 Elf_Scn *scn; local 513 scn = elf_newscn(e); 514 if (!scn) { 519 d = elf_newdata(scn); 532 shdr = elf_getshdr(scn); 547 scn = elf_newscn(e); 548 if (!scn) { 553 d = elf_newdata(scn); 566 shdr = elf_getshdr(scn); 581 scn [all...] |
H A D | debuginfo.c | 147 Elf_Scn *scn; local 165 scn = elf_getscn(elf, shndx); 166 if (!scn) 168 shdr = gelf_getshdr(scn, &mem);
|
H A D | symbol-elf.c | 539 static void get_rela_dyn_info(Elf *elf, GElf_Ehdr *ehdr, struct rela_dyn_info *di, Elf_Scn *scn) argument 544 di->plt_got_data = elf_getdata(scn, NULL); 546 scn = elf_section_by_name(elf, ehdr, &rela_dyn_shdr, ".rela.dyn", NULL); 547 if (!scn || !rela_dyn_shdr.sh_link || !rela_dyn_shdr.sh_entsize) 551 di->rela_dyn_data = elf_getdata(scn, NULL); 553 scn = elf_getscn(elf, rela_dyn_shdr.sh_link); 554 if (!scn || !gelf_getshdr(scn, &shdr) || !shdr.sh_link) 557 di->dynsym_data = elf_getdata(scn, NULL); 640 Elf_Scn *scn; local 2862 Elf_Scn *scn = NULL; local [all...] |
/linux-master/tools/lib/bpf/ |
H A D | elf.c | 61 /* Return next ELF section of sh_type after scn, or first of that type if scn is NULL. */ 62 static Elf_Scn *elf_find_next_scn_by_type(Elf *elf, int sh_type, Elf_Scn *scn) argument 64 while ((scn = elf_nextscn(elf, scn)) != NULL) { 67 if (!gelf_getshdr(scn, &sh)) 70 return scn; 100 Elf_Scn *scn = NULL; local 111 scn = elf_find_next_scn_by_type(elf, sh_type, NULL); 112 if (!scn) { [all...] |
H A D | linker.c | 41 Elf_Scn *scn; member in struct:src_sec 110 Elf_Scn *scn; member in struct:dst_sec 345 sec->scn = elf_newscn(linker->elf); 346 if (!sec->scn) { 351 sec->shdr = elf64_getshdr(sec->scn); 355 sec->data = elf_newdata(sec->scn); 365 sec->sec_idx = elf_ndxscn(sec->scn); 384 sec->scn = elf_newscn(linker->elf); 385 if (!sec->scn) { 390 sec->shdr = elf64_getshdr(sec->scn); 550 Elf_Scn *scn; local 999 Elf_Scn *scn; local 2639 Elf_Scn *scn; local [all...] |
H A D | libbpf.c | 718 static Elf64_Shdr *elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn); 719 static const char *elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn); 720 static Elf_Data *elf_sec_data(const struct bpf_object *obj, Elf_Scn *scn); 1601 Elf_Scn *scn; local 1606 scn = elf_sec_by_name(obj, name); 1607 data = elf_sec_data(obj, scn); 2892 Elf_Scn *scn; local 2897 scn = elf_sec_by_idx(obj, obj->efile.btf_maps_shndx); 2898 data = elf_sec_data(obj, scn); 2899 if (!scn || !dat 3176 Elf_Scn *scn; local 3552 Elf_Scn *scn; local 3565 Elf_Scn *scn = NULL; local 3582 elf_sec_hdr(const struct bpf_object *obj, Elf_Scn *scn) argument 3599 elf_sec_name(const struct bpf_object *obj, Elf_Scn *scn) argument 3621 elf_sec_data(const struct bpf_object *obj, Elf_Scn *scn) argument 3716 Elf_Scn *scn; local 4108 Elf_Scn *scn; local 4582 Elf_Scn *scn; local [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) argument 377 *scn = sec;
|
H A D | btf.c | 1093 Elf_Scn *scn = NULL; local 1133 while ((scn = elf_nextscn(elf, scn)) != NULL) { 1138 if (gelf_getshdr(scn, &sh) != &sh) { 1150 btf_data = elf_getdata(scn, 0); 1158 btf_ext_data = elf_getdata(scn, 0);
|
/linux-master/include/soc/fsl/ |
H A D | dpaa2-global.h | 34 struct scn { struct in union:dpaa2_dq::__anon12452 41 } scn; member in union:dpaa2_dq::__anon12452 189 return !!(cscn->scn.state & DPAA2_CSCN_STATE_CG);
|
/linux-master/drivers/soc/fsl/dpio/ |
H A D | qbman-portal.h | 374 static inline u8 qbman_result_SCN_state(const struct dpaa2_dq *scn) argument 376 return scn->scn.state; 384 static inline u32 qbman_result_SCN_rid(const struct dpaa2_dq *scn) argument 386 return le32_to_cpu(scn->scn.rid_tok) & SCN_RID_MASK; 392 static inline u64 qbman_result_SCN_ctx(const struct dpaa2_dq *scn) argument 394 return le64_to_cpu(scn->scn.ctx);
|
/linux-master/tools/bpf/resolve_btfids/ |
H A D | main.c | 305 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) argument 320 if (gelf_update_shdr(scn, sh) == 0) { 330 Elf_Scn *scn = NULL; local 375 while ((scn = elf_nextscn(elf, scn)) != NULL) { 381 if (gelf_getshdr(scn, &sh) != &sh) { 392 data = elf_getdata(scn, 0); 414 if (compressed_section_fix(elf, scn, &sh)) 423 Elf_Scn *scn = NULL; local 428 scn [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 5183 static void bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, 5186 struct bfa_fcs_lport_scn_s *scn, 5188 static void bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn, 5190 static void bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn, 5192 static void bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn, 5199 bfa_fcs_lport_scn_sm_offline(struct bfa_fcs_lport_scn_s *scn, argument 5204 bfa_sm_set_state(scn, bfa_fcs_lport_scn_sm_sending_scr); 5205 bfa_fcs_lport_scn_send_scr(scn, NULL); 5212 bfa_sm_fault(scn->port->fcs, event); 5217 bfa_fcs_lport_scn_sm_sending_scr(struct bfa_fcs_lport_scn_s *scn, argument 5236 bfa_fcs_lport_scn_sm_scr(struct bfa_fcs_lport_scn_s *scn, enum port_scn_event event) argument 5264 bfa_fcs_lport_scn_sm_scr_retry(struct bfa_fcs_lport_scn_s *scn, enum port_scn_event event) argument 5284 bfa_fcs_lport_scn_sm_online(struct bfa_fcs_lport_scn_s *scn, enum port_scn_event event) argument 5309 struct bfa_fcs_lport_scn_s *scn = scn_cbarg; local 5351 struct bfa_fcs_lport_scn_s *scn = (struct bfa_fcs_lport_scn_s *) cbarg; local 5433 struct bfa_fcs_lport_scn_s *scn = (struct bfa_fcs_lport_scn_s *) arg; local 5450 struct bfa_fcs_lport_scn_s *scn = BFA_FCS_GET_SCN_FROM_PORT(port); local 5459 struct bfa_fcs_lport_scn_s *scn = BFA_FCS_GET_SCN_FROM_PORT(port); local 5468 struct bfa_fcs_lport_scn_s *scn = BFA_FCS_GET_SCN_FROM_PORT(port); local [all...] |
H A D | bfa_svc.c | 3393 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) argument 3403 WARN_ON(scn->trunk_state != BFA_TRUNK_ONLINE && 3404 scn->trunk_state != BFA_TRUNK_OFFLINE); 3407 bfa_trc(fcport->bfa, scn->trunk_state); 3408 bfa_trc(fcport->bfa, scn->trunk_speed); 3415 trunk->attr.state = scn->trunk_state; 3416 trunk->attr.speed = scn->trunk_speed; 3419 tlink = &scn->tlink[i]; 3462 (scn->trunk_state == BFA_TRUNK_OFFLINE)) { 3463 bfa_fcport_scn(fcport, (scn [all...] |
H A D | bfa_fcs.h | 158 struct bfa_fcs_lport_scn_s scn; /* scn component of port */ member in struct:bfa_fcs_lport_fab_s 222 #define BFA_FCS_GET_SCN_FROM_PORT(port) (&port->port_topo.pfab.scn) 573 RPSM_EVENT_SCN_OFFLINE = 19, /* loop scn offline */ 574 RPSM_EVENT_SCN_ONLINE = 20, /* loop scn online */
|
H A D | bfi.h | 1170 struct bfi_diag_dport_scn_s scn; member in union:bfi_diag_dport_msg_u
|
/linux-master/arch/s390/kvm/ |
H A D | interrupt.c | 46 int c, scn; local 59 scn = sigp_ctrl.scn; 66 scn = sigp_ctrl.scn; 71 *src_id = scn; 89 new_val.scn = src_id; 102 new_val.scn = src_id; 3014 int scn; local 3054 if (sca_ext_call_pending(vcpu, &scn)) { [all...] |
H A D | kvm-s390.c | 3554 d->sigp_ctrl.scn = s->sigp_ctrl.scn;
|
/linux-master/arch/s390/include/asm/ |
H A D | kvm_host.h | 61 __u8 scn : 6; member in struct:bsca_sigp_ctrl::__anon53 70 __u8 scn; member in struct:esca_sigp_ctrl::__anon54
|
/linux-master/drivers/scsi/ |
H A D | pmcraid.h | 679 struct pmcraid_state_msg scn; /* controller state change msg */ member in struct:pmcraid_instance
|
H A D | pmcraid.c | 739 if (pinstance->scn.ioa_state != PMC_DEVICE_EVENT_RESET_START && 740 pinstance->scn.ioa_state != PMC_DEVICE_EVENT_SHUTDOWN_START) 1493 pinstance->scn.ioa_state = evt; 1495 &pinstance->scn.msg,
|