Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 25 of 35) sorted by relevance

12

/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Ddsl_scan.c101 #define DSL_SCAN_IS_SCRUB_RESILVER(scn) \ argument
102 ((scn)->scn_phys.scn_func == POOL_SCAN_SCRUB || \
103 (scn)->scn_phys.scn_func == POOL_SCAN_RESILVER)
126 dsl_scan_t *scn; in dsl_scan_init() local
130 scn = dp->dp_scan = kmem_zalloc(sizeof (dsl_scan_t), KM_SLEEP); in dsl_scan_init()
131 scn->scn_dp = dp; in dsl_scan_init()
138 ASSERT(!scn->scn_async_destroying); in dsl_scan_init()
139 scn->scn_async_destroying = spa_feature_is_active(dp->dp_spa, in dsl_scan_init()
149 scn->scn_restart_txg = txg; in dsl_scan_init()
152 scn->scn_restart_txg); in dsl_scan_init()
[all …]
Dspa_misc.c2217 dsl_scan_t *scn = spa->spa_dsl_pool ? spa->spa_dsl_pool->dp_scan : NULL; in spa_scan_get_stats() local
2219 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE) in spa_scan_get_stats()
2224 ps->pss_func = scn->scn_phys.scn_func; in spa_scan_get_stats()
2225 ps->pss_start_time = scn->scn_phys.scn_start_time; in spa_scan_get_stats()
2226 ps->pss_end_time = scn->scn_phys.scn_end_time; in spa_scan_get_stats()
2227 ps->pss_to_examine = scn->scn_phys.scn_to_examine; in spa_scan_get_stats()
2228 ps->pss_examined = scn->scn_phys.scn_examined; in spa_scan_get_stats()
2229 ps->pss_to_process = scn->scn_phys.scn_to_process; in spa_scan_get_stats()
2230 ps->pss_processed = scn->scn_phys.scn_processed; in spa_scan_get_stats()
2231 ps->pss_errors = scn->scn_phys.scn_errors; in spa_scan_get_stats()
[all …]
Dzfs_replay.c679 struct componentname scn, tcn; in zfs_replay_rename() local
700 scn.cn_nameptr = sname; in zfs_replay_rename()
701 scn.cn_namelen = strlen(sname); in zfs_replay_rename()
702 scn.cn_nameiop = DELETE; in zfs_replay_rename()
703 scn.cn_flags = ISLASTCN | SAVENAME; in zfs_replay_rename()
704 scn.cn_cred = kcred; in zfs_replay_rename()
706 scn.cn_lkflags = LK_EXCLUSIVE | LK_RETRY; in zfs_replay_rename()
707 scn.cn_thread = td; in zfs_replay_rename()
710 error = VOP_LOOKUP(ZTOV(sdzp), &svp, &scn); in zfs_replay_rename()
740 error = VOP_RENAME(ZTOV(sdzp), svp, &scn, ZTOV(tdzp), tvp, &tcn /*,vflg*/); in zfs_replay_rename()
Dvdev.c1920 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_dtl_should_excise() local
1922 ASSERT0(scn->scn_phys.scn_errors); in vdev_dtl_should_excise()
1936 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) { in vdev_dtl_should_excise()
1937 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd)); in vdev_dtl_should_excise()
1938 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg); in vdev_dtl_should_excise()
1939 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg); in vdev_dtl_should_excise()
1965 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; in vdev_dtl_reassess() local
1977 (scn != NULL && scn->scn_phys.scn_errors == 0)) && in vdev_dtl_reassess()
Ddsl_destroy.c800 dsl_scan_t *scn = dp->dp_scan; in dsl_destroy_head_sync_impl() local
808 ASSERT(!scn->scn_async_destroying); in dsl_destroy_head_sync_impl()
809 scn->scn_async_destroying = B_TRUE; in dsl_destroy_head_sync_impl()
/netbsd/src/external/bsd/file/dist/src/
Dreadcdf.c377 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn) in cdf_file_catalog_info() argument
382 dir, "Catalog", scn)) == -1) in cdf_file_catalog_info()
385 cdf_dump_catalog(h, scn); in cdf_file_catalog_info()
387 if ((i = cdf_file_catalog(ms, h, scn)) == -1) in cdf_file_catalog_info()
395 const cdf_stream_t *sst, const cdf_dir_t *dir, cdf_stream_t *scn, in cdf_check_summary_info() argument
405 cdf_dump_summary_info(h, scn); in cdf_check_summary_info()
407 if ((i = cdf_file_summary_info(ms, h, scn, root_storage)) < 0) { in cdf_check_summary_info()
435 dir, scn); in cdf_check_summary_info()
555 cdf_stream_t sst, scn; in file_trycdf() local
561 scn.sst_tab = NULL; in file_trycdf()
[all …]
Dcdf.c338 cdf_zero_stream(cdf_stream_t *scn) in cdf_zero_stream() argument
340 scn->sst_len = 0; in cdf_zero_stream()
341 scn->sst_dirlen = 0; in cdf_zero_stream()
342 scn->sst_ss = 0; in cdf_zero_stream()
343 free(scn->sst_tab); in cdf_zero_stream()
344 scn->sst_tab = NULL; in cdf_zero_stream()
604 const cdf_sat_t *sat, cdf_secid_t sid, size_t len, cdf_stream_t *scn) in cdf_read_long_sector_chain() argument
608 scn->sst_tab = NULL; in cdf_read_long_sector_chain()
609 scn->sst_len = cdf_count_chain(sat, sid, ss); in cdf_read_long_sector_chain()
610 scn->sst_dirlen = MAX(h->h_min_size_standard_stream, len); in cdf_read_long_sector_chain()
[all …]
/netbsd/src/external/cddl/osnet/dist/tools/ctf/cvt/
Dutil.c70 Elf_Scn *scn = NULL; in findelfsecidx() local
77 while ((scn = elf_nextscn(elf, scn)) != NULL) { in findelfsecidx()
80 if (gelf_getshdr(scn, &shdr) == NULL) { in findelfsecidx()
83 elf_ndxscn(scn)); in findelfsecidx()
90 elf_ndxscn(scn)); in findelfsecidx()
94 return (elf_ndxscn(scn)); in findelfsecidx()
Dinput.c350 Elf_Scn *scn; in symit_new() local
358 if ((scn = elf_getscn(elf, symtabidx)) == NULL || in symit_new()
359 gelf_getshdr(scn, &si->si_shdr) == NULL || in symit_new()
360 (si->si_symd = elf_getdata(scn, NULL)) == NULL) in symit_new()
363 if ((scn = elf_getscn(elf, si->si_shdr.sh_link)) == NULL || in symit_new()
364 (si->si_strd = elf_getdata(scn, NULL)) == NULL) in symit_new()
Doutput.c345 Elf_Scn *scn; in sort_iidescs() local
359 scn = elf_getscn(elf, stidx); in sort_iidescs()
360 data = elf_getdata(scn, NULL); in sort_iidescs()
361 gelf_getshdr(scn, &shdr); in sort_iidescs()
364 scn = elf_getscn(elf, shdr.sh_link); in sort_iidescs()
365 strdata = elf_getdata(scn, NULL); in sort_iidescs()
512 Elf_Scn *scn = elf_getscn(src, srcidx); in write_file() local
516 gelf_getshdr(scn, &shdr1); in write_file()
Dstabs.c183 Elf_Scn *scn; in stabs_read() local
212 scn = elf_getscn(elf, stabidx); in stabs_read()
213 data = elf_rawdata(scn, NULL); in stabs_read()
Ddwarf.c1978 Elf_Scn *scn = NULL; in should_have_dwarf() local
1986 while ((scn = elf_nextscn(elf, scn)) != NULL) { in should_have_dwarf()
1987 gelf_getshdr(scn, &shdr); in should_have_dwarf()
1998 data = elf_getdata(scn, NULL); in should_have_dwarf()
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dod-pe.c633 struct external_scnhdr scn; in dump_pe_sections_header() local
636 if (bfd_read (&scn, sizeof (scn), abfd) != sizeof (scn)) in dump_pe_sections_header()
643 i + 1, scn.s_name, in dump_pe_sections_header()
644 (unsigned int) bfd_h_get_32 (abfd, scn.s_paddr), in dump_pe_sections_header()
645 (unsigned int) bfd_h_get_32 (abfd, scn.s_vaddr), in dump_pe_sections_header()
646 (unsigned int) bfd_h_get_32 (abfd, scn.s_size), in dump_pe_sections_header()
647 (unsigned int) bfd_h_get_32 (abfd, scn.s_scnptr), in dump_pe_sections_header()
648 (unsigned int) bfd_h_get_32 (abfd, scn.s_relptr), in dump_pe_sections_header()
649 (unsigned int) bfd_h_get_32 (abfd, scn.s_lnnoptr), in dump_pe_sections_header()
650 (unsigned int) bfd_h_get_16 (abfd, scn.s_nreloc), in dump_pe_sections_header()
[all …]
Dod-xcoff.c542 struct external_scnhdr scn; in dump_xcoff32_sections_header() local
545 if (bfd_read (&scn, sizeof (scn), abfd) != sizeof (scn)) in dump_xcoff32_sections_header()
550 flags = bfd_h_get_32 (abfd, scn.s_flags); in dump_xcoff32_sections_header()
552 i + 1, scn.s_name, in dump_xcoff32_sections_header()
553 (unsigned int)bfd_h_get_32 (abfd, scn.s_paddr), in dump_xcoff32_sections_header()
554 (unsigned int)bfd_h_get_32 (abfd, scn.s_vaddr), in dump_xcoff32_sections_header()
555 (unsigned int)bfd_h_get_32 (abfd, scn.s_size), in dump_xcoff32_sections_header()
556 (unsigned int)bfd_h_get_32 (abfd, scn.s_scnptr), in dump_xcoff32_sections_header()
557 (unsigned int)bfd_h_get_32 (abfd, scn.s_relptr), in dump_xcoff32_sections_header()
558 (unsigned int)bfd_h_get_32 (abfd, scn.s_lnnoptr), in dump_xcoff32_sections_header()
[all …]
/netbsd/src/sys/fs/msdosfs/
Dmsdosfs_lookup.c116 u_long scn; /* starting cluster number */ in msdosfs_lookup() local
177 scn = MSDOSFSROOT; in msdosfs_lookup()
435 scn = getushort(dep->deStartCluster); in msdosfs_lookup()
437 scn |= getushort(dep->deHighClust) << 16; in msdosfs_lookup()
438 if (scn == pmp->pm_rootdirblk) { in msdosfs_lookup()
443 scn = MSDOSFSROOT; in msdosfs_lookup()
448 cluster = scn; in msdosfs_lookup()
469 if (FAT32(pmp) && scn == MSDOSFSROOT) in msdosfs_lookup()
470 scn = pmp->pm_rootdirblk; in msdosfs_lookup()
495 if (dp->de_StartCluster == scn && isadir) { /* "." */ in msdosfs_lookup()
[all …]
/netbsd/src/lib/libexecinfo/
Dsymtab.c96 Elf_Scn *scn = NULL; in symtab_create() local
123 while ((scn = elf_nextscn(elf, scn)) != NULL) { in symtab_create()
129 gelf_getshdr(scn, &shdr); in symtab_create()
133 edata = elf_getdata(scn, NULL); in symtab_create()
/netbsd/src/sys/arch/sgimips/dev/
Dfiles.dev39 device scn: tty
40 attach scn at mainbus
41 file arch/sgimips/dev/scn.c scn needs-flag
Dscn.c142 CFATTACH_DECL_NEW(scn, sizeof(struct scn_softc),
1056 scn->sc_iskgdb = 1; in scn_attach()
/netbsd/src/external/bsd/ntp/dist/sntp/libopts/
Dmakeshell.c779 char * scn; in open_out() local
784 scn = strstr(txt, START_MARK); in open_out()
785 if (scn == NULL) { in open_out()
790 *(scn++) = NUL; in open_out()
791 scn = strstr(scn, END_MARK); in open_out()
792 if (scn == NULL) { in open_out()
805 script_trailer = scn + END_MARK_LEN; in open_out()
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
Ddsl_scan.h133 void dsl_scan_ddt_entry(dsl_scan_t *scn, enum zio_checksum checksum,
139 boolean_t dsl_scan_active(dsl_scan_t *scn);
/netbsd/src/sys/arch/sgimips/conf/
Dmajors.sgimips14 device-major scn char 8 scn
/netbsd/src/external/cddl/osnet/dist/tools/ctf/dump/
Ddump.c885 Elf_Scn *scn; in findelfscn() local
888 for (scn = NULL; (scn = elf_nextscn(elf, scn)) != NULL; ) { in findelfscn()
889 if (gelf_getshdr(scn, &shdr) != NULL && (name = in findelfscn()
892 return (scn); in findelfscn()
/netbsd/src/external/bsd/openldap/dist/servers/slapd/
Dschema_check.c639 int scn = -1; in structural_class() local
667 scn = i; in structural_class()
704 ocs[scn].bv_val, ocs[i].bv_val ); in structural_class()
721 if( scn < 0 ) { in structural_class()
/netbsd/src/external/gpl3/binutils/dist/include/coff/
Dti.h501 asection *scn = coff_section_from_bfd_index (abfd, dst->n_scnum); \
502 dst->n_value |= (scn->lma & PAGE_MASK); \
/netbsd/src/external/gpl3/gdb/dist/include/coff/
Dti.h501 asection *scn = coff_section_from_bfd_index (abfd, dst->n_scnum); \
502 dst->n_value |= (scn->lma & PAGE_MASK); \

12