/titanic_41/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fopen.c | 73 __memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) in __memp_fopen() argument 75 MPOOLFILE *mfp; 105 if (mfp != NULL) { 106 finfo.ftype = mfp->ftype; 109 finfo.lsn_offset = mfp->lsn_off; 110 finfo.clear_len = mfp->clear_len; 205 if (mfp == NULL) 207 path, pagesize, last_pgno, finfop, &mfp); 209 ++mfp->ref; 222 dbmfp->mfp = mfp; [all …]
|
H A D | mp_bh.c | 37 __memp_bhwrite(dbmp, mfp, bhp, restartp, wrotep) in __memp_bhwrite() argument 39 MPOOLFILE *mfp; 62 if (dbmfp->mfp == mfp) { 64 __memp_upgrade(dbmp, dbmfp, mfp)) { 87 if (mfp->ftype != 0) { 91 if (mpreg->ftype == mfp->ftype) 122 if (F_ISSET(mfp, MP_TEMP)) 125 if (__memp_fopen(dbmp, mfp, R_ADDR(dbmp, mfp->path_off), 126 0, 0, mfp->stat.st_pagesize, 0, NULL, &dbmfp) != 0) 154 MPOOLFILE *mfp; local [all …]
|
H A D | mp_fget.c | 40 MPOOLFILE *mfp; local 47 mfp = dbmfp->mfp; 92 mf_offset = R_OFFSET(dbmp, mfp); 114 ++mfp->last_pgno; 115 *pgnoaddr = mfp->last_pgno; 116 bucket = BUCKET(mp, mf_offset, mfp->last_pgno); 143 if (dbmfp->addr != NULL && F_ISSET(mfp, MP_CAN_MMAP)) 144 if (*pgnoaddr > mfp->orig_last_pgno) { 159 R_ADDR(dbmfp, *pgnoaddr * mfp->stat.st_pagesize); 161 ++mfp->stat.st_map; [all …]
|
H A D | mp_pr.c | 45 MPOOLFILE *mfp; local 81 mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); 82 mfp != NULL; 83 ++len, mfp = SH_TAILQ_NEXT(mfp, q, __mpoolfile)) 100 mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); 101 mfp != NULL; 102 ++tfsp, mfp = SH_TAILQ_NEXT(mfp, q, __mpoolfile)) { 103 name = __memp_fns(dbmp, mfp); 108 **tfsp = mfp->stat; 130 return (__memp_fns(dbmfp->dbmp, dbmfp->mfp)); [all …]
|
H A D | mp_sync.c | 41 MPOOLFILE *mfp; local 109 for (mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); 110 mfp != NULL; mfp = SH_TAILQ_NEXT(mfp, q, __mpoolfile)) 111 mfp->lsn_cnt = 0; 138 mfp = R_ADDR(dbmp, bhp->mf_offset); 139 ++mfp->lsn_cnt; 197 mfp = R_ADDR(dbmp, bharray[next]->mf_offset); 198 ret = __memp_bhwrite(dbmp, mfp, bharray[next], NULL, &wrote); 212 __memp_fns(dbmp, mfp), 234 for (mfp = SH_TAILQ_FIRST(&dbmp->mp->mpfq, __mpoolfile); [all …]
|
H A D | mp_region.c | 60 MPOOLFILE *mfp; local 126 mfp = R_ADDR(dbmp, bhp->mf_offset); 142 mfp, bhp, &restart, &wrote)) != 0) 170 __memp_bhfree(dbmp, mfp, bhp, 0); 179 __memp_bhfree(dbmp, mfp, bhp, 1);
|
H A D | mp_fput.c | 140 dbmfp->mfp, bhp, NULL, &wrote) != 0 || !wrote) 145 --dbmfp->mfp->lsn_cnt;
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_lib_prv.c | 36 static FILE *mfp = NULL; variable 41 if (mfp != NULL) { in open_mnttab() 42 if (fseeko(mfp, (off_t)0L, SEEK_SET) == -1) { in open_mnttab() 43 (void) fclose(mfp); in open_mnttab() 44 mfp = NULL; in open_mnttab() 47 return (mfp); in open_mnttab() 50 if ((mfp = fopen(MNTTAB, "r")) == NULL) in open_mnttab() 53 return (mfp); in open_mnttab() 61 if (mfp == NULL) in close_mnttab() 64 ret = fclose(mfp); in close_mnttab() [all …]
|
H A D | meta_mdcf.c | 56 FILE *mfp = NULL; in meta_update_md_cf() local 102 if ((mfp = fopen(METACONF, "w+")) == NULL) { in meta_update_md_cf() 106 if (fputs(line, mfp) == NULL) { in meta_update_md_cf() 118 if (fflush(mfp) != 0) { in meta_update_md_cf() 121 if (fsync(fileno(mfp)) != 0) { in meta_update_md_cf() 124 if (fclose(mfp) != 0) { in meta_update_md_cf() 125 mfp = NULL; in meta_update_md_cf() 128 mfp = NULL; in meta_update_md_cf() 144 if (mfp != NULL) { in meta_update_md_cf() 145 (void) fclose(mfp); in meta_update_md_cf()
|
H A D | meta_mount.c | 48 FILE *mfp; in meta_get_mountp() local 58 if ((mfp = open_mnttab()) == NULL) { in meta_get_mountp() 63 while ((!mountp) && (getmntent(mfp, &m) == 0)) { in meta_get_mountp()
|
H A D | meta_check.c | 287 FILE *mfp; in meta_check_mounted() local 297 if ((mfp = open_mnttab()) == NULL) in meta_check_mounted() 299 while ((getmntent(mfp, &m) == 0) && (rval == 0)) { in meta_check_mounted() 355 FILE *mfp; in meta_check_drivemounted() local 365 if ((mfp = open_mnttab()) == NULL) in meta_check_drivemounted() 367 while ((getmntent(mfp, &m) == 0) && (rval == 0)) { in meta_check_drivemounted()
|
H A D | meta_db.c | 433 FILE *mfp = NULL; in buildconf() local 546 if ((mfp = fopen(META_DBCONF, "w+")) == NULL) in buildconf() 549 if (fputs(line, mfp) == NULL) in buildconf() 554 if (fflush(mfp) != 0) in buildconf() 556 if (fsync(fileno(mfp)) != 0) in buildconf() 558 if (fclose(mfp) != 0) { in buildconf() 559 mfp = NULL; in buildconf() 1186 FILE *mfp = NULL; in meta_db_patch() local 1245 if ((mfp = fopen(sname, "w+")) == NULL) in meta_db_patch() 1248 if (fputs(line, mfp) == NULL) in meta_db_patch() [all …]
|
/titanic_41/usr/src/cmd/rexd/ |
H A D | where.c | 142 FILE *mfp; local 157 mfp = setmntent("/etc/mnttab", "r"); 158 if (mfp != NULL) 163 if (mfp == NULL) { 169 while ((getmntent(mfp, &mp)) == 0) { 198 endmntent(mfp); 223 if (mfp = setsharetab()) { 224 while (getshare(mfp, &exp) > 0) 231 endsharetab(mfp);
|
/titanic_41/usr/src/cmd/mdb/common/modules/ipp/ |
H A D | ipp.c | 320 mfdata_t *mfp; in mod() local 322 mfp = mdb_zalloc(sizeof (mfdata_t), UM_SLEEP); in mod() 325 'v', MDB_OPT_SETBITS, MF_VERBOSE, &mfp->mf_flags, in mod() 330 mfp->mf_banner = B_TRUE; in mod() 333 status = mod_format(addr, NULL, mfp); in mod() 338 if (mdb_pwalk("ipp_byid", mod_format, mfp, in mod() 345 mdb_free(mfp, sizeof (mfdata_t)); in mod() 357 mfdata_t *mfp = (mfdata_t *)arg; in mod_format() local 368 if (mfp->mf_flags & MF_VERBOSE) in mod_format() 369 rc = mod_dump(addr, imp, mfp->mf_banner); in mod_format() [all …]
|
/titanic_41/usr/src/cmd/fs.d/ |
H A D | fslib.c | 64 FILE *mfp; in fsgetmntlist() local 68 if ((mfp = fopen(MNTTAB, "r")) == NULL) { in fsgetmntlist() 74 mntl = fsmkmntlist(mfp); in fsgetmntlist() 76 (void) fclose(mfp); in fsgetmntlist() 166 fsmkmntlist(FILE *mfp) in fsmkmntlist() argument 174 resetmnttab(mfp); in fsmkmntlist() 175 while ((ret = getextmntent(mfp, &mnt, sizeof (struct extmnttab))) in fsmkmntlist()
|
/titanic_41/usr/src/cmd/mdb/intel/mdb/ |
H A D | mdb_amd64util.c | 226 mdb_ctf_funcinfo_t mfp; in mdb_amd64_kvm_stack_iter() local 276 (mdb_ctf_func_info(&s, &sip, &mfp) == 0)) { in mdb_amd64_kvm_stack_iter() 277 int return_type = mdb_ctf_type_kind(mfp.mtf_return); in mdb_amd64_kvm_stack_iter() 280 argc = mfp.mtf_argc; in mdb_amd64_kvm_stack_iter() 290 mdb_ctf_type_size(mfp.mtf_return) > 16) in mdb_amd64_kvm_stack_iter() 301 if (mdb_ctf_func_args(&mfp, 5, args_types) == CTF_ERR) in mdb_amd64_kvm_stack_iter() 335 reg_argc = MIN((6 - start_index), mfp.mtf_argc); in mdb_amd64_kvm_stack_iter()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsadmin/ |
H A D | cfsadmin.c | 1140 FILE *mfp; in issue_cod() local 1157 if ((mfp = fopen(MNTTAB, "r")) == NULL) { in issue_cod() 1166 if (getmntany(mfp, &mt, &mtpref) != 0) { in issue_cod() 1167 (void) fclose(mfp); in issue_cod() 1170 (void) fclose(mfp); in issue_cod()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 431 mdb_ctf_funcinfo_t *mfp) in mdb_ctf_func_info() argument 441 if (symp == NULL || mfp == NULL) in mdb_ctf_func_info() 466 set_ctf_id(&mfp->mtf_return, fp, f.ctc_return); in mdb_ctf_func_info() 467 mfp->mtf_argc = f.ctc_argc; in mdb_ctf_func_info() 468 mfp->mtf_flags = f.ctc_flags; in mdb_ctf_func_info() 469 mfp->mtf_symidx = si.sym_id; in mdb_ctf_func_info() 1583 ctf_file_t *mfp; in mdb_ctf_vread() local 1591 if ((mod = mdb_get_module()) == NULL || (mfp = mod->mod_ctfp) == NULL) { in mdb_ctf_vread() 1597 if ((mid = ctf_lookup_by_name(mfp, mdb_typename)) == CTF_ERR) { in mdb_ctf_vread() 1601 return (set_errno(ctf_to_errno(ctf_errno(mfp)))); in mdb_ctf_vread() [all …]
|
/titanic_41/usr/src/cmd/sendmail/db/include/ |
H A D | mp.h | 185 MPOOLFILE *mfp; /* Underlying MPOOLFILE. */ member
|
/titanic_41/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 1062 dld_ioc_modifyflow_t *mfp = karg; in drv_ioc_modifyflow() local 1064 return (dld_modify_flow(mfp->mf_name, &mfp->mf_resource_props)); in drv_ioc_modifyflow()
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | nvdisc.c | 853 register Namfun_t *fp, **mfp = &mp->nvfun, *nfp, *fpnext; in clone_all_disc() local 870 *mfp = nfp; in clone_all_disc() 871 mfp = &nfp->next; in clone_all_disc()
|
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5780 FILE *mfp; local 5790 mfp = fopen(MNTTAB, "r"); 5792 INJECT_ERROR1("CACHE_MNTTAB_MNTTAB_ERR", mfp = NULL); 5793 if (mfp == NULL) { 5800 resetmnttab(mfp); 5802 while (getextmntent(mfp, &mnt, sizeof (mnt)) == 0) { 5823 (void) fclose(mfp);
|
/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 2379 ipsa_match_fn_t mfp; in sadb_match_query() local 2381 for (mfp = *mfpp++; mfp != NULL; mfp = *mfpp++) { in sadb_match_query() 2382 if (!mfp(sq, sa)) in sadb_match_query()
|
/titanic_41/usr/src/data/hwdata/ |
H A D | usb.ids | 577 6317 Color LaserJet 4730mfp
|