| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| dsl_scan.c | 101 #define DSL_SCAN_IS_SCRUB_RESILVER(scn) \ 102 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \ 103 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER) 126 dsl_scan_t *scn; local 130 scn = dp->dp_scan = kmem_zalloc(sizeof (dsl_scan_t), KM_SLEEP); 131 scn->scn_dp = dp; 138 ASSERT(!scn->scn_async_destroying); 139 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, 149 scn->scn_restart_txg = txg; 152 scn->scn_restart_txg) 203 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local 214 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local 371 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local 382 dsl_scan_t *scn = dmu_tx_pool(tx)->dp_scan; local 506 dsl_scan_t *scn = dp->dp_scan; local 536 dsl_scan_t *scn = dp->dp_scan; local 856 dsl_scan_t *scn = dp->dp_scan; local 926 dsl_scan_t *scn = dp->dp_scan; local 960 dsl_scan_t *scn = dp->dp_scan; local 1030 dsl_scan_t *scn = dp->dp_scan; local 1208 dsl_scan_t *scn = dp->dp_scan; local 1445 dsl_scan_t *scn = arg; local 1486 dsl_scan_t *scn = dp->dp_scan; local 1810 dsl_scan_t *scn = dp->dp_scan; local [all...] |
| /src/external/bsd/elftoolchain/dist/libelf/ |
| libelf_extended.c | 61 Elf_Scn *scn; local 64 if ((scn = _libelf_getscn0(e)) == NULL) 67 assert(scn->s_ndx == SHN_UNDEF); 70 scn->s_shdr.s_shdr32.sh_size = (Elf32_Word) shnum; 72 scn->s_shdr.s_shdr64.sh_size = shnum; 74 (void) elf_flagshdr(scn, ELF_C_SET, ELF_F_DIRTY); 91 Elf_Scn *scn; local 94 if ((scn = _libelf_getscn0(e)) == NULL) 97 assert(scn->s_ndx == SHN_UNDEF); 100 scn->s_shdr.s_shdr32.sh_link = (Elf32_Word) shstrndx 120 Elf_Scn *scn; local [all...] |
| gelf_syminfo.c | 49 Elf_Scn *scn; local 59 (scn = d->d_scn) == NULL || 60 (e = scn->s_elf) == NULL) { 69 sh_type = scn->s_shdr.s_shdr32.sh_type; 71 sh_type = scn->s_shdr.s_shdr64.sh_type; 110 Elf_Scn *scn; local 120 (scn = d->d_scn) == NULL || 121 (e = scn->s_elf) == NULL) { 130 sh_type = scn->s_shdr.s_shdr32.sh_type; 132 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_symshndx.c | 50 Elf_Scn *scn; local 69 if ((scn = lid->d_scn) == NULL || 70 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) { 79 sh_type = scn->s_shdr.s_shdr32.sh_type; 81 sh_type = scn->s_shdr.s_shdr64.sh_type; 110 Elf_Scn *scn; local 121 if (lid == NULL || (scn = lid->d_scn) == NULL || 122 (e = scn->s_elf) == NULL || (e != ld->d_scn->s_elf)) { 131 sh_type = scn->s_shdr.s_shdr32.sh_type; 133 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| elf_scn.c | 56 Elf_Scn *scn; local 118 if ((scn = _libelf_allocate_scn(e, i)) == NULL) 121 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), 125 scn->s_offset = scn->s_rawoff = 126 scn->s_shdr.s_shdr32.sh_offset; 127 scn->s_size = scn->s_shdr.s_shdr32.sh_size; 129 scn->s_offset = scn->s_rawoff 184 Elf_Scn *scn; local [all...] |
| elf_end.c | 53 Elf_Scn *scn, *tscn; local 79 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, 81 scn = _libelf_release_scn(scn);
|
| libelf_checksum.c | 55 Elf_Scn *scn; local 85 if ((scn = elf_getscn(e, shn)) == NULL) 87 if (gelf_getshdr(scn, &shdr) == NULL) 95 while ((d = elf_rawdata(scn, d)) != NULL)
|
| gelf_cap.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 110 Elf_Scn *scn; local 120 (scn = d->d_scn) == NULL || 121 (e = scn->s_elf) == NULL) { 130 sh_type = scn->s_shdr.s_shdr32.sh_type; 132 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_dyn.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 111 Elf_Scn *scn; local 121 (scn = d->d_scn) == NULL || 122 (e = scn->s_elf) == NULL) { 131 sh_type = scn->s_shdr.s_shdr32.sh_type; 133 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_move.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 114 Elf_Scn *scn; local 124 (scn = d->d_scn) == NULL || 125 (e = scn->s_elf) == NULL) { 134 sh_type = scn->s_shdr.s_shdr32.sh_type; 136 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_rel.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 113 Elf_Scn *scn; local 123 (scn = d->d_scn) == NULL || 124 (e = scn->s_elf) == NULL) { 133 sh_type = scn->s_shdr.s_shdr32.sh_type; 135 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_rela.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 114 Elf_Scn *scn; local 124 (scn = d->d_scn) == NULL || 125 (e = scn->s_elf) == NULL) { 134 sh_type = scn->s_shdr.s_shdr32.sh_type; 136 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_sym.c | 51 Elf_Scn *scn; local 61 (scn = d->d_scn) == NULL || 62 (e = scn->s_elf) == NULL) { 71 sh_type = scn->s_shdr.s_shdr32.sh_type; 73 sh_type = scn->s_shdr.s_shdr64.sh_type; 113 Elf_Scn *scn; local 123 (scn = d->d_scn) == NULL || 124 (e = scn->s_elf) == NULL) { 133 sh_type = scn->s_shdr.s_shdr32.sh_type; 135 sh_type = scn->s_shdr.s_shdr64.sh_type [all...] |
| gelf_shdr.c | 100 gelf_update_shdr(Elf_Scn *scn, GElf_Shdr *s) 107 if (s == NULL || scn == NULL || (e = scn->s_elf) == NULL || 119 (void) elf_flagscn(scn, ELF_C_SET, ELF_F_DIRTY); 122 scn->s_shdr.s_shdr64 = *s; 126 sh32 = &scn->s_shdr.s_shdr32;
|
| libelf_ehdr.c | 55 Elf_Scn *scn; local 74 if ((scn = _libelf_allocate_scn(e, (size_t) 0)) == NULL) 79 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), 83 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \ 84 scn->s_shdr.s_shdr64.M)
|
| /src/external/bsd/elftoolchain/dist/libdwarf/ |
| libdwarf_elf_init.c | 140 Elf_Scn *scn; local 152 scn = NULL; 154 while ((scn = elf_nextscn(elf, scn)) != NULL) { 155 if (gelf_getshdr(scn, &sh) == NULL) { 165 if ((rel = elf_getdata(scn, NULL)) == NULL) { 210 Elf_Scn *scn; local 258 scn = NULL; 260 while ((scn = elf_nextscn(elf, scn)) != NULL) [all...] |
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| util.c | 70 Elf_Scn *scn = NULL; local 77 while ((scn = elf_nextscn(elf, scn)) != NULL) { 80 if (gelf_getshdr(scn, &shdr) == NULL) { 83 elf_ndxscn(scn)); 90 elf_ndxscn(scn)); 94 return (elf_ndxscn(scn));
|
| input.c | 350 Elf_Scn *scn; local 358 if ((scn = elf_getscn(elf, symtabidx)) == NULL || 359 gelf_getshdr(scn, &si->si_shdr) == NULL || 360 (si->si_symd = elf_getdata(scn, NULL)) == NULL) 363 if ((scn = elf_getscn(elf, si->si_shdr.sh_link)) == NULL || 364 (si->si_strd = elf_getdata(scn, NULL)) == NULL)
|
| /src/external/bsd/libproc/dist/ |
| proc_sym.c | 287 lookup_addr(Elf *e, Elf_Scn *scn, u_long stridx, uintptr_t off, uintptr_t addr, 296 if ((data = elf_getdata(scn, NULL)) == NULL) { 327 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local 353 scn = NULL; 354 while ((scn = elf_nextscn(e, scn)) != NULL) { 355 gelf_getshdr(scn, &shdr); 358 symtabscn = scn; 362 dynsymscn = scn; 444 lookup_name(Elf *e, Elf_Scn *scn, u_long stridx, const char *symbol 473 Elf_Scn *scn, *dynsymscn = NULL, *symtabscn = NULL; local 572 Elf_Scn *scn, *foundscn = NULL; local [all...] |
| /src/external/bsd/file/dist/src/ |
| cdf.c | 338 cdf_zero_stream(cdf_stream_t *scn) 340 scn->sst_len = 0; 341 scn->sst_dirlen = 0; 342 scn->sst_ss = 0; 343 free(scn->sst_tab); 344 scn->sst_tab = NULL; 604 const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn) 608 scn->sst_tab = NULL; 609 scn->sst_len = cdf_count_chain(sat, sid, ss); 610 scn->sst_dirlen = MAX(h->h_min_size_standard_stream, len) 1436 cdf_stream_t scn; local 1610 cdf_stream_t sst, scn; local [all...] |
| readcdf.c | 377 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) 382 dir, "Catalog", scn)) == -1) 385 cdf_dump_catalog(h, scn); 387 if ((i = cdf_file_catalog(ms, h, scn)) == -1) 395 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn, 405 cdf_dump_summary_info(h, scn); 407 if ((i = cdf_file_summary_info(ms, h, scn, root_storage)) < 0) { 435 dir, scn); 555 cdf_stream_t sst, scn; local 561 scn.sst_tab = NULL [all...] |
| /src/external/bsd/ntp/dist/sntp/libopts/ |
| makeshell.c | 779 char * scn; local 784 scn = strstr(txt, START_MARK); 785 if (scn == NULL) { 790 *(scn++) = NUL; 791 scn = strstr(scn, END_MARK); 792 if (scn == NULL) { 805 script_trailer = scn + END_MARK_LEN;
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| dsl_scan.h | 133 void dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum, 139 boolean_t dsl_scan_active(dsl_scan_t *scn);
|
| /src/lib/libexecinfo/ |
| symtab.c | 96 Elf_Scn *scn = NULL; local 123 while ((scn = elf_nextscn(elf, scn)) != NULL) { 129 gelf_getshdr(scn, &shdr); 133 edata = elf_getdata(scn, NULL);
|
| /src/external/gpl3/binutils/dist/binutils/ |
| od-xcoff.c | 542 struct external_scnhdr scn; local 545 if (bfd_read (&scn, sizeof (scn), abfd) != sizeof (scn)) 550 flags = bfd_h_get_32 (abfd, scn.s_flags); 552 i + 1, scn.s_name, 553 (unsigned int)bfd_h_get_32 (abfd, scn.s_paddr), 554 (unsigned int)bfd_h_get_32 (abfd, scn.s_vaddr), 555 (unsigned int)bfd_h_get_32 (abfd, scn.s_size), 556 (unsigned int)bfd_h_get_32 (abfd, scn.s_scnptr) 597 struct external_scnhdr scn; local [all...] |