/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 319 Elf_Scn *scn; in traverse_file() local 342 scn = 0; in traverse_file() 345 while ((scn = elf_nextscn(elf, scn)) != 0) { in traverse_file() 349 if (gelf_getshdr(scn, shdr) == NULL) { in traverse_file() 361 sinfo->scn = scn; in traverse_file() 369 SET_LOC(sinfo->si_flags, scn_location(scn, elf, state)); in traverse_file() 405 if ((data = elf_getdata(scn, data)) == NULL) { in traverse_file() 494 sinfo->scn = (Elf_Scn *) -1; in traverse_file() 790 (void) gelf_getshdr(info->scn, &src_shdr); in build_file() 1508 (void) gelf_getshdr(scn, &shdr); in scn_location() [all …]
|
H A D | mcs.h | 111 Elf_Scn *scn; /* Section */ member
|
H A D | utils.c | 61 (void) gelf_getshdr(info->scn, &shdr); in apply_action()
|
/illumos-gate/usr/src/cmd/sgs/pvs/common/ |
H A D | pvs.c | 1008 Elf_Scn *scn; in main() local 1127 if ((scn = elf_getscn(elf, ehdr.e_shstrndx)) == NULL) { in main() 1135 if ((data = elf_getdata(scn, NULL)) == NULL) { in main() 1170 for (scn = NULL; (scn = elf_nextscn(elf, scn)) != NULL; in main() 1172 if (gelf_getshdr(scn, &shdr) == NULL) { in main() 1179 if ((_cache->c_data = elf_getdata(scn, NULL)) == in main() 1187 _cache->c_scn = scn; in main()
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 140 walk_sections(dis_tgt_t *tgt, dis_scn_t *scn, void *data) in walk_sections() argument 150 if (strcmp(unp->un_name, dis_section_name(scn)) == 0) { in walk_sections() 163 resolved->rn_data = dis_section_copy(scn); in walk_sections()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_misc.c | 2413 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats() 2418 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats() 2419 ps->pss_state = scn->scn_phys.scn_state; in spa_scan_get_stats() 2420 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats() 2421 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats() 2422 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats() 2423 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats() 2424 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats() 2425 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats() 2426 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats() [all …]
|
H A D | vdev_mirror.c | 254 dsl_scan_t *scn = NULL; in vdev_mirror_map_init() local 258 scn = spa->spa_dsl_pool->dp_scan; in vdev_mirror_map_init() 277 scn != NULL && in vdev_mirror_map_init() 278 scn->scn_is_sorted && in vdev_mirror_map_init()
|
H A D | ddt.c | 1124 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in ddt_sync() local 1141 ASSERT3P(scn->scn_zio_root, ==, NULL); in ddt_sync() 1142 scn->scn_zio_root = rio; in ddt_sync() 1153 scn->scn_zio_root = NULL; in ddt_sync()
|
H A D | vdev.c | 2492 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_dtl_should_excise() local 2513 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise() 2514 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd)); in vdev_dtl_should_excise() 2515 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg); in vdev_dtl_should_excise() 2516 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg); in vdev_dtl_should_excise() 2542 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_dtl_reassess() local 2550 if (zfs_scan_ignore_errors && scn) in vdev_dtl_reassess() 2551 scn->scn_phys.scn_errors = 0; in vdev_dtl_reassess() 2562 (u_longlong_t)(scn ? scn->scn_phys.scn_errors : 0)); in vdev_dtl_reassess() 2573 (scn != NULL && scn->scn_phys.scn_errors == 0)) && in vdev_dtl_reassess()
|
H A D | dsl_destroy.c | 895 dsl_scan_t *scn = dp->dp_scan; in dsl_destroy_head_sync_impl() local 903 ASSERT(!scn->scn_async_destroying); in dsl_destroy_head_sync_impl() 904 scn->scn_async_destroying = B_TRUE; in dsl_destroy_head_sync_impl()
|
/illumos-gate/usr/src/tools/find_elf/ |
H A D | find_elf.c | 461 Elf_Scn *scn = NULL; in get_elfinfo() local 479 while ((scn = elf_nextscn(elf, scn)) != NULL) { in get_elfinfo() 483 if (gelf_getshdr(scn, &shdr) == NULL) in get_elfinfo() 489 if ((data = elf_getdata(scn, NULL)) == NULL) in get_elfinfo()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 173 const char *scn, *sn, *in, *pgn, *pn; in get_prop_val_str() local 175 if (scf_parse_svc_fmri(spec, &scn, &sn, &in, &pgn, in get_prop_val_str() 191 if (scf_handle_get_scope(h, scn == NULL ? SCF_SCOPE_LOCAL : scn, in get_prop_val_str()
|
/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 1402 Elf_Scn *scn; in dump_elf_header() local 1422 if ((scn = elf_getscn(elf_file, 0)) == NULL) { in dump_elf_header() 1428 if (gelf_getshdr(scn, &shdr0) == 0) { in dump_elf_header() 1657 Elf_Scn *scn = 0; in dump_section_table() local 1691 while ((scn = elf_nextscn(elf_file, scn)) != 0) { in dump_section_table() 1692 if ((gelf_getshdr(scn, &buffer->p_shdr)) == 0) { in dump_section_table() 1701 buffer->p_sd = scn; in dump_section_table()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 574 Elf_Scn *scn = NULL; in count_debug() local 580 while ((scn = elf_nextscn(fptr->file_elf, scn)) != NULL) { in count_debug() 583 if (gelf_getshdr(scn, &shdr) == NULL) in count_debug() 741 Elf_Scn *scn = NULL; in dump_debug() local 747 while ((scn = elf_nextscn(fptr->file_elf, scn)) != NULL) { in dump_debug() 751 if (gelf_getshdr(scn, &shdr) == NULL) in dump_debug() 757 if ((data = elf_getdata(scn, NULL)) == NULL) { in dump_debug()
|
H A D | Pcore.c | 1462 Elf_Scn *scn; in fake_up_symtab() local 1610 if ((scn = elf_getscn(fp->file_symtab.sym_elf, 1)) == NULL || in fake_up_symtab() 1611 (fp->file_symtab.sym_data_pri = elf_getdata(scn, NULL)) == NULL || in fake_up_symtab() 1612 (scn = elf_getscn(fp->file_symtab.sym_elf, 2)) == NULL || in fake_up_symtab() 1613 (data = elf_getdata(scn, NULL)) == NULL) { in fake_up_symtab() 1615 (void *)scn); in fake_up_symtab() 2345 Elf_Scn *scn, *intp_scn = NULL; local 2708 for (scn = NULL; (scn = elf_nextscn(aout.e_elf, scn)) != NULL; ) { 2711 if ((gelf_getshdr(scn, &shdr) == NULL) || 2717 intp_scn = scn;
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | Makefile | 36 COBJS = main.o qry.o admintf.o dsapi.o log.o sched.o dseng.o scn.o cache.o
|
H A D | func.c | 1239 uint32_t scn; local 1257 scn = ntohl(*(uint32_t *)&op->attr_value[0]); 1259 ec = add_scn_entry(node_name, nlen, scn);
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | libelf.msg | 98 @ EMEM_SCN "Memory allocation error: scn descriptors" 114 @ EREQ_DATA "Request error: data/scn mismatch"
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 132 Elf_Scn *scn = elf_getscn(src, srcidx); in ctf_write_elf() local 136 if (gelf_getshdr(scn, &shdr) == NULL) { in ctf_write_elf()
|
H A D | ctf_dwarf.c | 3384 Elf_Scn *scn, *strscn; in ctf_dwarf_check_missing() local 3390 scn = NULL; in ctf_dwarf_check_missing() 3391 while ((scn = elf_nextscn(elf, scn)) != NULL) { in ctf_dwarf_check_missing() 3392 if (gelf_getshdr(scn, &shdr) == NULL) { in ctf_dwarf_check_missing() 3403 if (scn == NULL) in ctf_dwarf_check_missing() 3413 if ((data = elf_getdata(scn, NULL)) == NULL) { in ctf_dwarf_check_missing()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 4626 Elf_Scn *scn; in shdr_cache() local 4656 } else if ((nameshdr = elf_getshdr(scn)) == NULL) { in shdr_cache() 4659 EC_WORD(elf_ndxscn(scn))); in shdr_cache() 4718 for (ndx = 1, scn = NULL; (scn = elf_nextscn(elf, scn)) != NULL; in shdr_cache() 4723 _cache->c_scn = scn; in shdr_cache() 4728 EC_WORD(elf_ndxscn(scn))); in shdr_cache() 4904 Elf_Scn *scn = _cache->c_scn; in shdr_cache() local 4909 EC_WORD(elf_ndxscn(scn))); in shdr_cache() 4974 Elf_Scn *scn; in regular() local 5013 if ((scn = elf_getscn(elf, 0)) != NULL) { in regular() [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/xml/ |
H A D | data.def | 113 DEF_XML_DATA("scn", "u", ISNS_SCN_PORT_ATTR_ID,
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | update.c | 4591 Elf_Scn *scn; in ld_update_outfile() local 4594 if ((scn = elf_getscn(ofl->ofl_elf, 0)) == NULL) { in ld_update_outfile() 4599 if ((shdr0 = elf_getshdr(scn)) == NULL) { in ld_update_outfile()
|