Searched refs:scn (Results 1 - 25 of 73) sorted by last modified time

123

/illumos-gate/usr/src/lib/libproc/common/
H A DPcore.c1429 Elf_Scn *scn; local
1577 if ((scn = elf_getscn(fp->file_symtab.sym_elf, 1)) == NULL ||
1578 (fp->file_symtab.sym_data_pri = elf_getdata(scn, NULL)) == NULL ||
1579 (scn = elf_getscn(fp->file_symtab.sym_elf, 2)) == NULL ||
1580 (data = elf_getdata(scn, NULL)) == NULL) {
1582 (void *)scn);
2312 Elf_Scn *scn, *intp_scn = NULL; local
2675 for (scn = NULL; (scn = elf_nextscn(aout.e_elf, scn)) !
[all...]
H A DPsymtab.c1199 Elf_Scn *scn; local
1217 scn = NULL;
1218 while ((scn = elf_nextscn(elf, scn)) != NULL) {
1219 if (gelf_getshdr(scn, &shdr) != NULL &&
1226 if ((data = elf_getdata(scn, NULL)) == NULL)
1587 Elf_Scn *scn; local
1595 (scn = elf_getscn(elf, shstrndx)) == NULL ||
1596 (*shdata = elf_getdata(scn, NULL)) == NULL) {
1623 Elf_Scn *scn; local
1838 Elf_Scn *scn; local
[all...]
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c3062 Elf_Scn *scn, *strscn; local
3067 scn = NULL;
3068 while ((scn = elf_nextscn(elf, scn)) != NULL) {
3069 if (gelf_getshdr(scn, &shdr) == NULL) {
3080 if (scn == NULL)
3090 if ((data = elf_getdata(scn, NULL)) == NULL) {
H A Dctf_convert.c37 Elf_Scn *scn, *strscn; local
42 scn = NULL;
43 while ((scn = elf_nextscn(elf, scn)) != NULL) {
44 if (gelf_getshdr(scn, &shdr) == NULL) {
55 if (scn == NULL)
64 if ((data = elf_getdata(scn, NULL)) == NULL) {
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_misc.c2394 dsl_scan_t *scn = spa->spa_dsl_pool ? spa->spa_dsl_pool->dp_scan : NULL; local
2396 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE)
2401 ps->pss_func = scn->scn_phys.scn_func;
2402 ps->pss_state = scn->scn_phys.scn_state;
2403 ps->pss_start_time = scn->scn_phys.scn_start_time;
2404 ps->pss_end_time = scn->scn_phys.scn_end_time;
2405 ps->pss_to_examine = scn->scn_phys.scn_to_examine;
2406 ps->pss_to_process = scn->scn_phys.scn_to_process;
2407 ps->pss_processed = scn
[all...]
H A Dvdev.c2471 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
2473 ASSERT0(scn->scn_phys.scn_errors);
2493 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) {
2494 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd));
2495 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg);
2496 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg);
2522 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
2534 (scn != NULL && scn->scn_phys.scn_errors == 0)) &&
H A Dvdev_mirror.c254 dsl_scan_t *scn = NULL; local
258 scn = spa->spa_dsl_pool->dp_scan;
277 scn != NULL &&
278 scn->scn_is_sorted &&
H A Ddsl_scan.c122 static void scan_ds_queue_clear(dsl_scan_t *scn);
123 static boolean_t scan_ds_queue_contains(dsl_scan_t *scn, uint64_t dsobj,
125 static void scan_ds_queue_insert(dsl_scan_t *scn, uint64_t dsobj, uint64_t txg);
126 static void scan_ds_queue_remove(dsl_scan_t *scn, uint64_t dsobj);
127 static void scan_ds_queue_sync(dsl_scan_t *scn, dmu_tx_t *tx);
208 #define DSL_SCAN_IS_SCRUB_RESILVER(scn) \
209 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \
210 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)
226 /* In core node for the scn->scn_queue. Represents a dataset to be scanned */
325 avl_node_t spic_avl_node; /* link into scn
393 dsl_scan_is_running(const dsl_scan_t *scn) argument
445 dsl_scan_t *scn; local
581 dsl_scan_t *scn = dp->dp_scan; local
595 dsl_scan_restarting(dsl_scan_t *scn, dmu_tx_t *tx) argument
611 dsl_scan_is_paused_scrub(const dsl_scan_t *scn) argument
640 dsl_scan_sync_state(dsl_scan_t *scn, dmu_tx_t *tx, state_sync_type_t sync_type) argument
688 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
699 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
781 dsl_scan_t *scn = dp->dp_scan; local
853 dsl_scan_done(dsl_scan_t *scn, boolean_t complete, dmu_tx_t *tx) argument
982 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
993 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
1012 dsl_scan_t *scn = dp->dp_scan; local
1035 dsl_scan_t *scn = dp->dp_scan; local
1118 scan_ds_queue_clear(dsl_scan_t *scn) argument
1128 scan_ds_queue_contains(dsl_scan_t *scn, uint64_t dsobj, uint64_t *txg) argument
1140 scan_ds_queue_insert(dsl_scan_t *scn, uint64_t dsobj, uint64_t txg) argument
1154 scan_ds_queue_remove(dsl_scan_t *scn, uint64_t dsobj) argument
1167 scan_ds_queue_sync(dsl_scan_t *scn, dmu_tx_t *tx) argument
1222 dsl_scan_should_clear(dsl_scan_t *scn) argument
1268 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) argument
1346 dsl_scan_t *scn = dp->dp_scan; local
1376 dsl_scan_t *scn = dp->dp_scan; local
1453 scan_prefetch_ctx_create(dsl_scan_t *scn, dnode_phys_t *dnp, void *tag) argument
1506 dsl_scan_t *scn = spc->spc_scn; local
1547 dsl_scan_prefetch_dnode(dsl_scan_t *scn, dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
1581 dsl_scan_t *scn = spc->spc_scn; local
1643 dsl_scan_t *scn = arg; local
1709 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument
1756 dsl_scan_recurse(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, dnode_phys_t *dnp, const blkptr_t *bp, const zbookmark_phys_t *zb, dmu_tx_t *tx) argument
1855 dsl_scan_visitdnode(dsl_scan_t *scn, dsl_dataset_t *ds, dmu_objset_type_t ostype, dnode_phys_t *dnp, uint64_t object, dmu_tx_t *tx) argument
1875 &czb, dnp, ds, scn, ostype, tx); local
1884 dsl_scan_visitbp(blkptr_t *bp, const zbookmark_phys_t *zb, dnode_phys_t *dnp, dsl_dataset_t *ds, dsl_scan_t *scn, dmu_objset_type_t ostype, dmu_tx_t *tx) argument
1958 dsl_scan_visit_rootbp(dsl_scan_t *scn, dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx) argument
2033 dsl_scan_t *scn = dp->dp_scan; local
2105 dsl_scan_t *scn = dp->dp_scan; local
2166 dsl_scan_t *scn = dp->dp_scan; local
2229 dsl_scan_t *scn = dp->dp_scan; local
2255 dsl_scan_visitds(dsl_scan_t *scn, uint64_t dsobj, dmu_tx_t *tx) argument
2412 dsl_scan_t *scn = dp->dp_scan; local
2447 dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum, ddt_entry_t *dde, dmu_tx_t *tx) argument
2518 dsl_scan_ddt(dsl_scan_t *scn, dmu_tx_t *tx) argument
2566 dsl_scan_visit(dsl_scan_t *scn, dmu_tx_t *tx) argument
2698 scan_io_queue_check_suspend(dsl_scan_t *scn) argument
2727 dsl_scan_t *scn = queue->q_scn; local
2840 dsl_scan_t *scn = queue->q_scn; local
3002 scan_io_queues_run(dsl_scan_t *scn) argument
3052 dsl_scan_async_block_should_pause(dsl_scan_t *scn) argument
3072 dsl_scan_t *scn = arg; local
3090 dsl_scan_update_stats(dsl_scan_t *scn) argument
3127 dsl_scan_t *scn = arg; local
3141 dsl_scan_active(dsl_scan_t *scn) argument
3242 dsl_scan_t *scn = dp->dp_scan; local
3391 dsl_scan_t *scn = dp->dp_scan; local
3660 count_block(dsl_scan_t *scn, zfs_all_blkstats_t *zab, const blkptr_t *bp) argument
3742 dsl_scan_t *scn = queue->q_scn; local
3767 dsl_scan_t *scn = queue->q_scn; local
3830 dsl_scan_t *scn = dp->dp_scan; local
3928 dsl_scan_t *scn = dp->dp_scan; local
4027 dsl_scan_t *scn = vd->vdev_spa->spa_dsl_pool->dp_scan; local
4050 dsl_scan_t *scn = queue->q_scn; local
4098 scan_io_queues_destroy(dsl_scan_t *scn) argument
4117 dsl_scan_t *scn = dp->dp_scan; local
4201 dsl_scan_t *scn = dp->dp_scan; local
[all...]
H A Dddt.c1124 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
1141 ASSERT3P(scn->scn_zio_root, ==, NULL);
1142 scn->scn_zio_root = rio;
1153 scn->scn_zio_root = NULL;
H A Ddsl_destroy.c895 dsl_scan_t *scn = dp->dp_scan; local
903 ASSERT(!scn->scn_async_destroying);
904 scn->scn_async_destroying = B_TRUE;
/illumos-gate/usr/src/cmd/isns/isnsd/
H A DMakefile36 COBJS = main.o qry.o admintf.o dsapi.o log.o sched.o dseng.o scn.o cache.o
H A Dfunc.c62 /* scn message queue */
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/ctfmerge/
H A Dctfmerge.c101 Elf_Scn *scn; local
115 scn = NULL;
116 while ((scn = elf_nextscn(elf, scn)) != NULL) {
119 if (gelf_getshdr(scn, &shdr) == NULL)
133 ctf_data = elf_getdata(scn, NULL);
164 sym_data = elf_getdata(scn, NULL);
/illumos-gate/usr/src/cmd/lockstat/
H A Dsym.c140 Elf_Scn *scn = NULL; local
155 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) {
156 Shdr *shdr = elf_getshdr(scn);
158 symtab = (Sym *)elf_getdata(scn, NULL)->d_buf;
164 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) {
166 strtab = (char *)elf_getdata(scn, NULL)->d_buf;
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c612 Elf_Scn *scn; /* temp section header pointer */ local
631 scn = 0;
633 while ((scn = elf_nextscn(c->obj->elf, scn)) != 0) {
636 scurrent = elf64_getshdr(scn);
638 scurrent = elf32_getshdr(scn);
644 if ((ddata = elf_getdata(scn, ddata)) == 0 ||
653 /* get scn descriptor of dynamic string table */
654 scn = elf_getscn(c->obj->elf, index);
657 scurrent = elf64_getshdr(scn);
690 Elf_Scn *scn, *scn2; local
865 Elf_Scn *scn = elf_getscn(elf_file, shndx); local
1185 Elf_Scn *scn; local
1267 Elf_Scn *scn, *scnfd; local
[all...]
/illumos-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c1008 Elf_Scn *scn; local
1132 if ((scn = elf_getscn(elf, ehdr.e_shstrndx)) == NULL) {
1140 if ((data = elf_getdata(scn, NULL)) == NULL) {
1175 for (scn = NULL; scn = elf_nextscn(elf, scn); _cache++) {
1176 if (gelf_getshdr(scn, &shdr) == NULL) {
1183 if ((_cache->c_data = elf_getdata(scn, NULL)) ==
1191 _cache->c_scn = scn;
/illumos-gate/usr/src/lib/libtnfctl/
H A Dtraverse.c98 Elf_Scn *scn; local
100 if ((scn = elf_getscn(elf, idx)) == NULL) {
106 if ((shdr = gelf_getshdr(scn, &shdr_obj)) == NULL) {
113 if ((data = elf_getdata(scn, NULL)) == NULL) {
121 strs, scn, shdr, data, addr, search_info_p);
275 Elf_Scn * scn,
273 _tnfctl_traverse_dynsym(Elf * elf, char *elfstrs, Elf_Scn * scn, GElf_Shdr * shdr, Elf_Data * data, uintptr_t baseaddr, tnfctl_elf_search_t * search_info_p) argument
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dfile.c316 Elf_Scn *scn; local
339 scn = 0;
342 while ((scn = elf_nextscn(elf, scn)) != 0) {
346 if (gelf_getshdr(scn, shdr) == NULL) {
358 sinfo->scn = scn;
366 SET_LOC(sinfo->flags, scn_location(scn, elf, state));
402 if ((data = elf_getdata(scn, data)) == NULL) {
491 sinfo->scn
1496 scn_location(Elf_Scn * scn, Elf * elf, file_state_t *state) argument
[all...]
H A Dutils.c58 (void) gelf_getshdr(info->scn, &shdr);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dupdate.c4317 Elf_Scn *scn; local
4320 if ((scn = elf_getscn(ofl->ofl_elf, 0)) == NULL) {
4325 if ((shdr0 = elf_getshdr(scn)) == NULL) {
H A Dfiles.c116 Elf_Scn *scn; local
119 if ((scn = elf_getscn(elf, 0)) == NULL) {
124 if ((shdr0 = elf_getshdr(scn)) == NULL) {
163 process_section(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, argument
182 if ((isp->is_indata = elf_getdata(scn, NULL)) == NULL) {
1280 process_input(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, argument
1283 return (process_section(name, ifl, shdr, scn, ndx,
1295 process_reloc(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, argument
1299 shdr, scn, ndx, ld_targ.t_id.id_null, ofl) == S_ERROR)
1320 process_strtab(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, argument
1375 invalid_section(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1528 process_progbits(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1601 process_debug(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1617 process_nobits(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1638 process_array(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1682 process_sym_shndx(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
1738 process_rel_dynamic(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
2081 process_dynamic_isgnu(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
2333 process_group(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, int ident, Ofl_desc *ofl) argument
2434 process_exclude(const char *name, Ifl_desc *ifl, Shdr *shdr, Elf_Scn *scn, Word ndx, Ofl_desc *ofl) argument
2533 Elf_Scn *scn; local
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dgelf.c331 gelf_getshdr(Elf_Scn *scn, GElf_Shdr *dst) argument
333 if (scn == NULL)
336 if (scn->s_elf->ed_class == ELFCLASS32) {
337 Elf32_Shdr *s = elf32_getshdr(scn);
342 READLOCKS(scn->s_elf, scn);
353 READUNLOCKS(scn->s_elf, scn);
356 } else if (scn->s_elf->ed_class == ELFCLASS64) {
357 Elf64_Shdr *s = elf64_getshdr(scn);
375 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *src) argument
1096 Elf_Scn *scn = NULL; local
[all...]
/illumos-gate/usr/src/cmd/sgs/nm/common/
H A Dnm.c68 #define FLG_SYM_SPECSEC 0x00000001 /* reserved scn index */
583 Elf_Scn *scn, *scnfd; local
619 scn = 0;
620 while ((scn = elf_nextscn(elf_file, scn)) != 0) {
623 if (gelf_getshdr(scn, &shdr) == NULL) {
630 print_symtab(elf_file, shstrndx, scn,
814 Elf_Scn *scn = elf_getscn(elf_file, shndx); local
817 if (scn != NULL) {
819 (void) gelf_getshdr(scn,
1311 Elf_Scn *scn = elf_getscn(elf_file, sym_data->shndx); local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddsl_scan.h172 void dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum,
178 boolean_t dsl_scan_active(dsl_scan_t *scn);
179 boolean_t dsl_scan_is_paused_scrub(const dsl_scan_t *scn);
/illumos-gate/usr/src/cmd/sgs/dump/common/
H A Ddump.c1402 Elf_Scn *scn; local
1422 if ((scn = elf_getscn(elf_file, 0)) == NULL) {
1428 if (gelf_getshdr(scn, &shdr0) == 0) {
1657 Elf_Scn *scn = 0; local
1691 while ((scn = elf_nextscn(elf_file, scn)) != 0) {
1692 if ((gelf_getshdr(scn, &buffer->p_shdr)) == 0) {
1701 buffer->p_sd = scn;

Completed in 99 milliseconds

123