Searched refs:scn (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-11-stable/contrib/elftoolchain/libelf/
H A Dlibelf_extended.c51 Elf_Scn *scn; local
54 if ((scn = _libelf_getscn0(e)) == NULL)
57 assert(scn->s_ndx == SHN_UNDEF);
60 scn->s_shdr.s_shdr32.sh_size = (Elf32_Word) shnum;
62 scn->s_shdr.s_shdr64.sh_size = shnum;
64 (void) elf_flagshdr(scn, ELF_C_SET, ELF_F_DIRTY);
81 Elf_Scn *scn; local
84 if ((scn = _libelf_getscn0(e)) == NULL)
87 assert(scn->s_ndx == SHN_UNDEF);
90 scn
110 Elf_Scn *scn; local
[all...]
H A Dgelf_syminfo.c40 Elf_Scn *scn; local
49 (scn = d->d_scn) == NULL ||
50 (e = scn->s_elf) == NULL) {
59 sh_type = scn->s_shdr.s_shdr32.sh_type;
61 sh_type = scn->s_shdr.s_shdr64.sh_type;
101 Elf_Scn *scn; local
110 (scn = d->d_scn) == NULL ||
111 (e = scn->s_elf) == NULL) {
120 sh_type = scn->s_shdr.s_shdr32.sh_type;
122 sh_type = scn
[all...]
H A Dgelf_symshndx.c41 Elf_Scn *scn; local
51 if (lid == NULL || (scn = lid->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf) ||
62 sh_type = scn->s_shdr.s_shdr32.sh_type;
64 sh_type = scn->s_shdr.s_shdr64.sh_type;
94 Elf_Scn *scn; local
104 if (lid == NULL || (scn = lid->d_scn) == NULL ||
105 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) {
114 sh_type = scn->s_shdr.s_shdr32.sh_type;
116 sh_type = scn
[all...]
H A Dgelf_cap.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
101 Elf_Scn *scn; local
110 (scn = d->d_scn) == NULL ||
111 (e = scn->s_elf) == NULL) {
120 sh_type = scn->s_shdr.s_shdr32.sh_type;
122 sh_type = scn
[all...]
H A Dgelf_dyn.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
102 Elf_Scn *scn; local
111 (scn = d->d_scn) == NULL ||
112 (e = scn->s_elf) == NULL) {
121 sh_type = scn->s_shdr.s_shdr32.sh_type;
123 sh_type = scn
[all...]
H A Delf_scn.c60 Elf_Scn *scn; local
121 if ((scn = _libelf_allocate_scn(e, i)) == NULL)
124 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr),
128 scn->s_offset = scn->s_rawoff =
129 scn->s_shdr.s_shdr32.sh_offset;
130 scn->s_size = scn->s_shdr.s_shdr32.sh_size;
132 scn
194 Elf_Scn *scn; local
[all...]
H A Dlibelf_checksum.c49 Elf_Scn *scn; local
79 if ((scn = elf_getscn(e, shn)) == NULL)
81 if (gelf_getshdr(scn, &shdr) == NULL)
89 while ((d = elf_rawdata(scn, d)) != NULL)
H A Delf_end.c43 Elf_Scn *scn, *tscn; local
69 RB_FOREACH_SAFE(scn, scntree, &e->e_u.e_elf.e_scn, tscn)
70 scn = _libelf_release_scn(scn);
H A Dgelf_rela.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
109 Elf_Scn *scn; local
118 (scn = d->d_scn) == NULL ||
119 (e = scn->s_elf) == NULL) {
128 sh_type = scn->s_shdr.s_shdr32.sh_type;
130 sh_type = scn
[all...]
H A Dgelf_rel.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
107 Elf_Scn *scn; local
116 (scn = d->d_scn) == NULL ||
117 (e = scn->s_elf) == NULL) {
126 sh_type = scn->s_shdr.s_shdr32.sh_type;
128 sh_type = scn
[all...]
H A Dgelf_sym.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
104 Elf_Scn *scn; local
113 (scn = d->d_scn) == NULL ||
114 (e = scn->s_elf) == NULL) {
123 sh_type = scn->s_shdr.s_shdr32.sh_type;
125 sh_type = scn
[all...]
H A Dgelf_move.c42 Elf_Scn *scn; local
51 (scn = d->d_scn) == NULL ||
52 (e = scn->s_elf) == NULL) {
61 sh_type = scn->s_shdr.s_shdr32.sh_type;
63 sh_type = scn->s_shdr.s_shdr64.sh_type;
105 Elf_Scn *scn; local
114 (scn = d->d_scn) == NULL ||
115 (e = scn->s_elf) == NULL) {
124 sh_type = scn->s_shdr.s_shdr32.sh_type;
126 sh_type = scn
[all...]
H A Dgelf_shdr.c90 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *s) argument
97 if (s == NULL || scn == NULL || (e = scn->s_elf) == NULL ||
109 (void) elf_flagscn(scn, ELF_C_SET, ELF_F_DIRTY);
112 scn->s_shdr.s_shdr64 = *s;
116 sh32 = &scn->s_shdr.s_shdr32;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
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);
231 #define DSL_SCAN_IS_SCRUB_RESILVER(scn) \
232 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \
233 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)
252 /* In core node for the scn->scn_queue. Represents a dataset to be scanned */
331 avl_node_t spic_avl_node; /* link into scn
371 dsl_scan_is_running(const dsl_scan_t *scn) argument
427 dsl_scan_t *scn; local
534 dsl_scan_t *scn = dp->dp_scan; local
548 dsl_scan_restarting(dsl_scan_t *scn, dmu_tx_t *tx) argument
564 dsl_scan_is_paused_scrub(const dsl_scan_t *scn) argument
593 dsl_scan_sync_state(dsl_scan_t *scn, dmu_tx_t *tx, state_sync_type_t sync_type) argument
640 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
651 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
733 dsl_scan_t *scn = dp->dp_scan; local
765 dsl_scan_done(dsl_scan_t *scn, boolean_t complete, dmu_tx_t *tx) argument
873 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
884 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local
903 dsl_scan_t *scn = dp->dp_scan; local
926 dsl_scan_t *scn = dp->dp_scan; local
1010 scan_ds_queue_clear(dsl_scan_t *scn) argument
1020 scan_ds_queue_contains(dsl_scan_t *scn, uint64_t dsobj, uint64_t *txg) argument
1032 scan_ds_queue_insert(dsl_scan_t *scn, uint64_t dsobj, uint64_t txg) argument
1046 scan_ds_queue_remove(dsl_scan_t *scn, uint64_t dsobj) argument
1059 scan_ds_queue_sync(dsl_scan_t *scn, dmu_tx_t *tx) argument
1114 dsl_scan_should_clear(dsl_scan_t *scn) argument
1162 dsl_scan_check_suspend(dsl_scan_t *scn, const zbookmark_phys_t *zb) argument
1241 dsl_scan_t *scn = dp->dp_scan; local
1271 dsl_scan_t *scn = dp->dp_scan; local
1348 scan_prefetch_ctx_create(dsl_scan_t *scn, dnode_phys_t *dnp, void *tag) argument
1401 dsl_scan_t *scn = spc->spc_scn; local
1442 dsl_scan_prefetch_dnode(dsl_scan_t *scn, dnode_phys_t *dnp, uint64_t objset, uint64_t object) argument
1476 dsl_scan_t *scn = spc->spc_scn; local
1536 dsl_scan_t *scn = arg; local
1595 dsl_scan_check_resume(dsl_scan_t *scn, const dnode_phys_t *dnp, const zbookmark_phys_t *zb) argument
1642 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
1730 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
1759 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
1825 dsl_scan_visit_rootbp(dsl_scan_t *scn, dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx) argument
1900 dsl_scan_t *scn = dp->dp_scan; local
1972 dsl_scan_t *scn = dp->dp_scan; local
2033 dsl_scan_t *scn = dp->dp_scan; local
2134 dsl_scan_t *scn = dp->dp_scan; local
2160 dsl_scan_visitds(dsl_scan_t *scn, uint64_t dsobj, dmu_tx_t *tx) argument
2317 dsl_scan_t *scn = dp->dp_scan; local
2352 dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum, ddt_entry_t *dde, dmu_tx_t *tx) argument
2423 dsl_scan_ddt(dsl_scan_t *scn, dmu_tx_t *tx) argument
2471 dsl_scan_visit(dsl_scan_t *scn, dmu_tx_t *tx) argument
2603 scan_io_queue_check_suspend(dsl_scan_t *scn) argument
2632 dsl_scan_t *scn = queue->q_scn; local
2734 dsl_scan_t *scn = queue->q_scn; local
2862 scan_io_queues_run(dsl_scan_t *scn) argument
2912 dsl_scan_async_block_should_pause(dsl_scan_t *scn) argument
2932 dsl_scan_t *scn = arg; local
2950 dsl_scan_update_stats(dsl_scan_t *scn) argument
2987 dsl_scan_t *scn = arg; local
3001 dsl_scan_active(dsl_scan_t *scn) argument
3075 dsl_scan_t *scn = dp->dp_scan; local
3224 dsl_scan_t *scn = dp->dp_scan; local
3465 count_block(dsl_scan_t *scn, zfs_all_blkstats_t *zab, const blkptr_t *bp) argument
3527 dsl_scan_t *scn = queue->q_scn; local
3551 dsl_scan_t *scn = queue->q_scn; local
3614 dsl_scan_t *scn = dp->dp_scan; local
3712 dsl_scan_t *scn = dp->dp_scan; local
3827 dsl_scan_t *scn = vd->vdev_spa->spa_dsl_pool->dp_scan; local
3849 dsl_scan_t *scn = queue->q_scn; local
3895 scan_io_queues_destroy(dsl_scan_t *scn) argument
3914 dsl_scan_t *scn = dp->dp_scan; local
3994 dsl_scan_t *scn = dp->dp_scan; local
[all...]
/freebsd-11-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c136 Elf_Scn *scn; local
148 scn = NULL;
150 while ((scn = elf_nextscn(elf, scn)) != NULL) {
151 if (gelf_getshdr(scn, &sh) == NULL) {
161 if ((rel = elf_getdata(scn, NULL)) == NULL) {
206 Elf_Scn *scn; local
254 scn = NULL;
256 while ((scn = elf_nextscn(elf, scn)) !
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dutil.c66 Elf_Scn *scn = NULL; local
73 while ((scn = elf_nextscn(elf, scn)) != NULL) {
76 if (gelf_getshdr(scn, &shdr) == NULL) {
79 elf_ndxscn(scn));
86 elf_ndxscn(scn));
90 return (elf_ndxscn(scn));
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c50 Elf_Scn *scn; local
70 scn = NULL;
71 while ((scn = elf_nextscn(e, scn)) != NULL) {
72 if (gelf_getshdr(scn, &sh) == NULL) {
96 scn = NULL;
97 while ((scn = elf_nextscn(e, scn)) != NULL) {
98 if (gelf_getshdr(scn, &sh) == NULL) {
108 if ((d = elf_rawdata(scn, NUL
[all...]
H A Dpe.c44 Elf_Scn *scn; local
115 scn = NULL;
116 while ((scn = elf_nextscn(e, scn)) != NULL) {
122 if (gelf_getshdr(scn, &sh) == NULL) {
140 if ((d = elf_getdata(scn, NULL)) == NULL) {
/freebsd-11-stable/lib/libproc/
H A Dproc_sym.c264 lookup_addr(Elf *e, Elf_Scn *scn, u_long stridx, uintptr_t off, uintptr_t addr, argument
273 if ((data = elf_getdata(scn, NULL)) == NULL) {
304 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local
330 scn = NULL;
331 while ((scn = elf_nextscn(e, scn)) != NULL) {
332 gelf_getshdr(scn, &shdr);
335 symtabscn = scn;
339 dynsymscn = scn;
420 lookup_name(Elf *e, Elf_Scn *scn, u_lon argument
449 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local
546 Elf_Scn *scn, *foundscn = NULL; local
[all...]
/freebsd-11-stable/contrib/file/src/
H A Dcdf.c312 cdf_zero_stream(cdf_stream_t *scn) argument
314 scn->sst_len = 0;
315 scn->sst_dirlen = 0;
316 scn->sst_ss = 0;
317 free(scn->sst_tab);
318 scn->sst_tab = NULL;
578 const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn)
582 scn->sst_tab = NULL;
583 scn->sst_len = cdf_count_chain(sat, sid, ss);
584 scn
577 cdf_read_long_sector_chain(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn) argument
626 cdf_read_short_sector_chain(const cdf_header_t *h, const cdf_sat_t *ssat, const cdf_stream_t *sst, cdf_secid_t sid, size_t len, cdf_stream_t *scn) argument
668 cdf_read_sector_chain(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, cdf_secid_t sid, size_t len, cdf_stream_t *scn) argument
779 cdf_read_short_stream(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_dir_t *dir, cdf_stream_t *scn, const cdf_directory_t **root) argument
823 cdf_read_doc_summary_info(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) argument
832 cdf_read_summary_info(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) argument
841 cdf_read_user_stream(const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, const char *name, cdf_stream_t *scn) argument
1409 cdf_stream_t scn; local
1583 cdf_stream_t sst, scn; local
[all...]
H A Dreadcdf.c371 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn)
376 dir, "Catalog", scn)) == -1)
379 cdf_dump_catalog(h, scn);
381 if ((i = cdf_file_catalog(ms, h, scn)) == -1)
389 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn,
399 cdf_dump_summary_info(h, scn);
401 if ((i = cdf_file_summary_info(ms, h, scn, root_storage)) < 0) {
429 dir, scn);
549 cdf_stream_t sst, scn; local
555 scn
369 cdf_file_catalog_info(struct magic_set *ms, const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) argument
387 cdf_check_summary_info(struct magic_set *ms, const cdf_info_t *info, const cdf_header_t *h, const cdf_sat_t *sat, const cdf_sat_t *ssat, const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn, const cdf_directory_t *root_storage, const char **expn) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c170 Elf_Scn *scn = NULL; local
196 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) {
197 Shdr *shdr = elf_getshdr(scn);
199 symtab = (Sym *)elf_getdata(scn, NULL)->d_buf;
205 for (cnt = 1; (scn = elf_nextscn(elf, scn)) != NULL; cnt++) {
207 strtab = (char *)elf_getdata(scn, NULL)->d_buf;
/freebsd-11-stable/contrib/libexecinfo/
H A Dsymtab.c88 Elf_Scn *scn = NULL; local
107 while ((scn = elf_nextscn(elf, scn)) != NULL) {
113 gelf_getshdr(scn, &shdr);
117 edata = elf_getdata(scn, NULL);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/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);
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dmakeshell.c815 char * scn; local
820 scn = strstr(txt, START_MARK);
821 if (scn == NULL) {
826 *(scn++) = NUL;
827 scn = strstr(scn, END_MARK);
828 if (scn == NULL) {
841 script_trailer = scn + END_MARK_LEN;

Completed in 353 milliseconds

123