Searched refs:scn (Results 26 - 43 of 43) sorted by relevance

12

/freebsd-10.1-release/sys/fs/msdosfs/
H A Dmsdosfs_lookup.c126 u_long scn; /* starting cluster number */ local
166 scn = MSDOSFSROOT;
430 scn = getushort(dep->deStartCluster);
432 scn |= getushort(dep->deHighClust) << 16;
433 if (scn == pmp->pm_rootdirblk) {
438 scn = MSDOSFSROOT;
443 cluster = scn;
462 * entry of the filesystems root directory. isadir and scn were
465 if (FAT32(pmp) && scn == MSDOSFSROOT)
466 scn
809 daddr_t scn; local
[all...]
/freebsd-10.1-release/lib/libdwarf/
H A Ddwarf_init.c290 Elf_Scn *scn = NULL; local
296 while ((scn = elf_nextscn(dbg->dbg_elf, scn)) != NULL) {
297 if (gelf_getshdr(scn, &shdr) == NULL) {
311 if ((rd = elf_getdata(scn, NULL)) == NULL) {
465 Elf_Scn *scn; local
474 scn = dbg->dbg_s[DWARF_debug_info].s_scn;
595 Elf_Scn *scn = NULL; local
628 while ((scn = elf_nextscn(dbg->dbg_elf, scn)) !
[all...]
/freebsd-10.1-release/usr.sbin/pkg/
H A Dconfig.c297 Elf_Scn *scn; local
308 scn = NULL;
333 while ((scn = elf_nextscn(elf, scn)) != NULL) {
334 if (gelf_getshdr(scn, &shdr) != &shdr) {
344 if (scn == NULL) {
350 data = elf_getdata(scn, NULL);
394 while ((scn = elf_nextscn(elf, scn)) != NULL) {
396 if (gelf_getshdr(scn,
[all...]
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dinput.c346 Elf_Scn *scn; local
354 if ((scn = elf_getscn(elf, symtabidx)) == NULL ||
355 gelf_getshdr(scn, &si->si_shdr) == NULL ||
356 (si->si_symd = elf_getdata(scn, NULL)) == NULL)
359 if ((scn = elf_getscn(elf, si->si_shdr.sh_link)) == NULL ||
360 (si->si_strd = elf_getdata(scn, NULL)) == NULL)
H A Doutput.c341 Elf_Scn *scn; local
354 scn = elf_getscn(elf, stidx);
355 data = elf_getdata(scn, NULL);
356 gelf_getshdr(scn, &shdr);
359 scn = elf_getscn(elf, shdr.sh_link);
360 strdata = elf_getdata(scn, NULL);
506 Elf_Scn *scn = elf_getscn(src, srcidx); local
510 gelf_getshdr(scn, &shdr1);
H A Dstabs.c179 Elf_Scn *scn; local
208 scn = elf_getscn(elf, stabidx);
209 data = elf_rawdata(scn, NULL);
H A Ddwarf.c1868 Elf_Scn *scn = NULL; local
1876 while ((scn = elf_nextscn(elf, scn)) != NULL) {
1877 gelf_getshdr(scn, &shdr);
1888 data = elf_getdata(scn, NULL);
/freebsd-10.1-release/contrib/file/src/
H A Dcdf.h317 #define cdf_read_catalog(info, header, sat, ssat, stream, dir, scn) \
319 scn)
320 #define cdf_read_encrypted_package(info, header, sat, ssat, stream, dir, scn) \
322 "EncryptedPackage", scn)
/freebsd-10.1-release/usr.bin/ar/
H A Dwrite.c693 Elf_Scn *scn; local
719 scn = NULL;
720 while ((scn = elf_nextscn(e, scn)) != NULL) {
721 if (gelf_getshdr(scn, &shdr) != &shdr) {
732 tabndx = elf_ndxscn(scn);
746 scn = NULL;
747 while ((scn = elf_nextscn(e, scn)) != NULL) {
748 if (gelf_getshdr(scn,
[all...]
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_replay.c645 struct componentname scn, tcn; local
666 scn.cn_nameptr = sname;
667 scn.cn_namelen = strlen(sname);
668 scn.cn_nameiop = DELETE;
669 scn.cn_flags = ISLASTCN | SAVENAME;
670 scn.cn_lkflags = LK_EXCLUSIVE | LK_RETRY;
671 scn.cn_cred = kcred;
672 scn.cn_thread = td;
674 error = VOP_LOOKUP(ZTOV(sdzp), &svp, &scn);
696 error = VOP_RENAME(ZTOV(sdzp), svp, &scn, ZTO
[all...]
H A Dspa_misc.c1999 dsl_scan_t *scn = spa->spa_dsl_pool ? spa->spa_dsl_pool->dp_scan : NULL; local
2001 if (scn == NULL || scn->scn_phys.scn_func == POOL_SCAN_NONE)
2006 ps->pss_func = scn->scn_phys.scn_func;
2007 ps->pss_start_time = scn->scn_phys.scn_start_time;
2008 ps->pss_end_time = scn->scn_phys.scn_end_time;
2009 ps->pss_to_examine = scn->scn_phys.scn_to_examine;
2010 ps->pss_examined = scn->scn_phys.scn_examined;
2011 ps->pss_to_process = scn->scn_phys.scn_to_process;
2012 ps->pss_processed = scn
[all...]
H A Ddsl_destroy.c769 dsl_scan_t *scn = dp->dp_scan; local
777 ASSERT(!scn->scn_async_destroying);
778 scn->scn_async_destroying = B_TRUE;
H A Dvdev.c1853 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
1855 ASSERT0(scn->scn_phys.scn_errors);
1869 if (vdev_dtl_max(vd) <= scn->scn_phys.scn_max_txg) {
1870 ASSERT3U(scn->scn_phys.scn_min_txg, <=, vdev_dtl_min(vd));
1871 ASSERT3U(scn->scn_phys.scn_min_txg, <, vd->vdev_resilver_txg);
1872 ASSERT3U(vd->vdev_resilver_txg, <=, scn->scn_phys.scn_max_txg);
1898 dsl_scan_t *scn = spa->spa_dsl_pool->dp_scan; local
1910 (scn != NULL && scn->scn_phys.scn_errors == 0)) &&
/freebsd-10.1-release/lib/libelf/
H A Delf_update.c715 Elf_Scn *scn, *tscn; local
808 STAILQ_FOREACH(scn, &e->e_u.e_elf.e_scn, s_next)
809 if ((rc = _libelf_write_scn(e, newfile, scn, rc)) < 0)
834 STAILQ_FOREACH(scn, &e->e_u.e_elf.e_scn, s_next) {
836 src.d_buf = &scn->s_shdr.s_shdr32;
838 src.d_buf = &scn->s_shdr.s_shdr64;
841 dst.d_buf = newfile + rc + scn->s_ndx * fsz;
888 STAILQ_FOREACH_SAFE(scn, &e->e_u.e_elf.e_scn, s_next, tscn)
889 _libelf_release_scn(scn);
/freebsd-10.1-release/contrib/binutils/include/coff/
H A Dti.h416 asection *scn = coff_section_from_bfd_index (abfd, dst->n_scnum); \
417 dst->n_value |= (scn->lma & PAGE_MASK); \
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c791 Elf_Scn *scn; local
794 for (scn = NULL; (scn = elf_nextscn(elf, scn)) != NULL; ) {
795 if (gelf_getshdr(scn, &shdr) != NULL && (name =
798 return (scn);
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1686 Elf_Scn *scn; local
1940 scn = elf_getscn(e, stridx);
1941 gelf_getshdr(scn, &shdr);
1942 data = elf_newdata(scn);
1949 gelf_update_shdr(scn, &shdr);
1953 scn = elf_newscn(e);
1954 data = elf_newdata(scn);
1968 gelf_getshdr(scn, &shdr);
1980 gelf_update_shdr(scn, &shdr);
/freebsd-10.1-release/usr.sbin/pmcstat/
H A Dpmcstat_log.c506 Elf_Scn *scn, GElf_Shdr *sh)
515 if ((data = elf_getdata(scn, NULL)) == NULL)
626 Elf_Scn *scn; local
737 if ((scn = elf_getscn(e, i)) == NULL ||
738 gelf_getshdr(scn, &sh) != &sh) {
749 pmcstat_image_add_symbols(image, e, scn, &sh);
505 pmcstat_image_add_symbols(struct pmcstat_image *image, Elf *e, Elf_Scn *scn, GElf_Shdr *sh) argument

Completed in 422 milliseconds

12