/titanic_50/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 182 datafmt_t *dfp = ptcfmt; in umastat_lwp() local 184 mdb_printf((dfp++)->fmt, ulwp->ul_lwpid); in umastat_lwp() 185 mdb_printf((dfp++)->fmt, ulwp->ul_tmem.tm_size); in umastat_lwp() 192 mdb_printf((dfp++)->fmt, (ulwp->ul_tmem.tm_size * 100) / size); in umastat_lwp() 217 datafmt_t *dfp = umemfmt; in umastat_cache() local 268 mdb_printf((dfp++)->fmt, cp->cache_name); in umastat_cache() 269 mdb_printf((dfp++)->fmt, cp->cache_bufsize); in umastat_cache() 270 mdb_printf((dfp++)->fmt, total - avail); in umastat_cache() 271 mdb_printf((dfp++)->fmt, cp->cache_flags & UMF_PTC ? buf : "-"); in umastat_cache() 272 mdb_printf((dfp++)->fmt, total); in umastat_cache() [all …]
|
/titanic_50/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 42 FILE *dfp; in PWOpen() local 71 if (!(pdesc->dfp = fdopen(fd_d, mode))) { in PWOpen() 76 (void) fclose(pdesc->dfp); in PWOpen() 85 dfp = pdesc->dfp; in PWOpen() 103 (void) fclose(dfp); in PWOpen() 110 (void) fclose(dfp); in PWOpen() 117 (void) fclose(dfp); in PWOpen() 164 (void) fclose(pwp->dfp); in PWClose() 199 datum = (uint32_t)ftell(pwp->dfp); in PutPW() 203 (void) fputs(pwp->data[0], pwp->dfp); in PutPW() [all …]
|
H A D | packer.h | 55 FILE *dfp; member
|
/titanic_50/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_util.c | 62 FILE *sfp, *dfp; in ipmgmt_cpfile() local 72 if ((dfp = fopen(dst, "w+")) == NULL) in ipmgmt_cpfile() 80 (void) fclose(dfp); in ipmgmt_cpfile() 85 (void) fclose(dfp); in ipmgmt_cpfile() 93 (void) fputs(buf, dfp); in ipmgmt_cpfile() 99 else if (fflush(dfp) == EOF) in ipmgmt_cpfile() 103 (void) fclose(dfp); in ipmgmt_cpfile()
|
/titanic_50/usr/src/cmd/dfs.cmds/dfshares/ |
H A D | dfshares.c | 70 FILE *dfp; /* fp for dfs list */ in main() local 113 if ((dfp = fopen(DFSTYPES, "r")) == NULL) { in main() 134 while (fsname = getfs(dfp)) { in main() 157 (void) fclose(dfp); in main() 170 if (invalid(fsname, dfp)) { /* valid ? */ in main() 179 } else if (fsname = getfs(dfp)) /* use 1st line in dfstypes */ in main()
|
/titanic_50/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 524 extern FILE *dfp; in exiter() 528 if (dfp != NULL) in exiter() 529 (void) fclose(dfp); in exiter() 557 dfp = NULL; in main() 597 dfp = NULL; in main() 600 dfp = stdout; in main() 602 dfp = fopen(dfile, "a"); in main() 603 if (dfp == NULL) { in main() 632 plugin_opt.logopt.dfp = dfp; in main()
|
H A D | pcidr_common.c | 65 FILE *dfp = NULL; /* file to output messages to */ variable 106 if (dlvl < lvl || (dsys == 0 && dfp == NULL)) in dprint() 131 if (dfp != NULL) in dprint() 132 (void) fprintf(dfp, "%s", buf); in dprint() 143 dfp = logopt->dfp; in pcidr_set_logopt()
|
H A D | pcidr.h | 76 FILE *dfp; member 100 extern FILE *dfp;
|
/titanic_50/usr/src/cmd/dfs.cmds/general/ |
H A D | general.c | 67 FILE *dfp; /* fp for dfs list */ local 103 if ((dfp = fopen(DFSTYPES, "r")) == NULL) { 110 if (invalid(fsname, dfp)) { /* valid ? */ 119 } else if (fsname = getfs(dfp)) { /* use 1st line in dfstypes */
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 1986 datafmt_t *dfp = kmemfmt; in kmastat_cache() local 2021 mdb_printf((dfp++)->fmt, cp->cache_name); in kmastat_cache() 2022 mdb_printf((dfp++)->fmt, cp->cache_bufsize); in kmastat_cache() 2023 mdb_printf((dfp++)->fmt, total - avail); in kmastat_cache() 2024 mdb_printf((dfp++)->fmt, total); in kmastat_cache() 2025 mdb_printf((dfp++)->fmt, meminuse >> kap->ka_shift, in kmastat_cache() 2028 mdb_printf((dfp++)->fmt, alloc); in kmastat_cache() 2029 mdb_printf((dfp++)->fmt, cp->cache_alloc_fail); in kmastat_cache() 2062 datafmt_t *dfp = vmemfmt; in kmastat_vmem() local 2078 mdb_printf((dfp++)->fmt, 25 - ident, v->vm_name); in kmastat_vmem() [all …]
|
/titanic_50/usr/src/lib/libfsmgt/common/ |
H A D | fs_dfstab.c | 71 FILE *dfp; /* fp for dfs list */ in get_dfstab_ents() local 75 if ((dfp = fopen(DFSTAB, "r")) != NULL) { in get_dfstab_ents() 79 fileutil_getline(dfp, cmd, BUFSIZE)) != NULL) { in get_dfstab_ents() 101 fclose(dfp); in get_dfstab_ents() 113 FILE *dfp; /* fp for dfs list */ in add_entry_to_dfstab() local 115 if ((dfp = fopen(DFSTAB, "a")) != NULL) { in add_entry_to_dfstab() 119 fprintf(dfp, "%s", share_cmd); in add_entry_to_dfstab() 120 fclose(dfp); in add_entry_to_dfstab()
|
/titanic_50/usr/src/uts/common/fs/ |
H A D | dnlc.c | 1362 dcfree_t *dfp, **hp; in dnlc_dir_add_space() local 1369 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() 1370 if (dfp == NULL) { in dnlc_dir_add_space() 1378 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() 1379 if (dfp != NULL) in dnlc_dir_add_space() 1388 dfp = kmem_cache_alloc(dnlc_dir_space_cache, KM_NOSLEEP); in dnlc_dir_add_space() 1389 if (dfp == NULL) { in dnlc_dir_add_space() 1418 kmem_cache_free(dnlc_dir_space_cache, dfp); in dnlc_dir_add_space() 1431 dfp->df_handle = handle; in dnlc_dir_add_space() 1432 dfp->df_len = len; in dnlc_dir_add_space() [all …]
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_open.c | 736 dt_provmod_open(dt_provmod_t **provmod, dt_fdlist_t *dfp) in dt_provmod_open() argument 754 if (dfp->df_ents == dfp->df_size) { in dt_provmod_open() 755 uint_t size = dfp->df_size ? dfp->df_size * 2 : 16; in dt_provmod_open() 756 int *fds = realloc(dfp->df_fds, size * sizeof (int)); in dt_provmod_open() 761 dfp->df_fds = fds; in dt_provmod_open() 762 dfp->df_size = size; in dt_provmod_open() 783 dfp->df_fds[dfp->df_ents++] = fd; in dt_provmod_open()
|
/titanic_50/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 64 #define CPR_PROP_PTR(dfp, idx) &(dfp)->props[idx] argument
|
/titanic_50/usr/src/cmd/bnu/ |
H A D | cntrl.c | 1721 FILE *dfp, *popen(); local 1725 if ((dfp = popen(buf, "r")) == NULL) 1727 fval = fgets(buf, sizeof(buf), dfp); 1728 if (pclose(dfp) != 0
|
/titanic_50/usr/src/cmd/awk/ |
H A D | run.c | 240 int dfp = fp - frame; /* old index */ in call() local 245 fp = frame + dfp; in call()
|
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 547 register SM_FILE_T *dfp = NULL; local 560 if (dfd < 0 || (dfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, 574 mcibuf.mci_out = dfp; 586 if (fsync(sm_io_getinfo(dfp, SM_IO_WHAT_FD, NULL)) < 0) 597 if (sm_io_close(dfp, SM_TIME_DEFAULT) < 0)
|