Home
last modified time | relevance | path

Searched refs:mf (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_v2.c53 typedef Token (*dir_func_t)(Mapfile *mf);
63 typedef Token (* attr_func_t)(Mapfile *mf, Token eq_tok, void *uvalue);
71 typedef void (* gts_efunc_t)(Mapfile *mf, Token tok, ld_map_tkval_t *tkv);
148 gettoken_eq(Mapfile *mf, attr_fmt_t eq_type, const char *lhs) in gettoken_eq() argument
155 switch (tok = ld_map_gettoken(mf, 0, &tkv)) { in gettoken_eq()
188 mf_fatal(mf, err, lhs, ld_map_tokenstr(tok, &tkv, &inv_buf)); in gettoken_eq()
243 set_capmask(Mapfile *mf, Capmask *capmask, Token eq_tok, in set_capmask() argument
247 DBG_CALL(Dbg_cap_mapfile_title(mf->mf_ofl->ofl_lml, in set_capmask()
248 mf->mf_lineno)); in set_capmask()
249 DBG_CALL(Dbg_cap_val_entry(mf->mf_ofl->ofl_lml, DBG_STATE_CURRENT, in set_capmask()
[all …]
H A Dmap.c71 map_cap(Mapfile *mf, Word type, Capmask *capmask) in map_cap() argument
76 Ofl_desc *ofl = mf->mf_ofl; in map_cap()
81 Dbg_cap_mapfile_title(ofl->ofl_lml, mf->mf_lineno); in map_cap()
86 while ((tok = ld_map_gettoken(mf, TK_F_STRLC, &tkv)) != in map_cap()
90 mf_fatal0(mf, MSG_INTL(MSG_MAP_EXPSEGATT)); in map_cap()
100 ld_map_cap_set_ovflag(mf, type); in map_cap()
119 mf_fatal(mf, MSG_INTL(MSG_MAP_BADCAPVAL), in map_cap()
132 mf_fatal(mf, MSG_INTL(MSG_MAP_UNKCAPATTR), tkv.tkv_str); in map_cap()
138 mf_warn0(mf, MSG_INTL(MSG_MAP_EMPTYCAP)); in map_cap()
147 if (!ld_map_cap_sanitize(mf, type, capmask)) in map_cap()
[all …]
H A Dmap_core.c715 ident_delimit(Mapfile *mf) in ident_delimit() argument
717 char *str = mf->mf_next; in ident_delimit()
722 if ((c & 0x80) || !(tkid_attr[c] & mf->mf_tkid_start)) { in ident_delimit()
724 mf_fatal(mf, MSG_INTL(MSG_MAP_BADCHAR), str); in ident_delimit()
730 for (c = *str; !(c & 0x80) && (tkid_attr[c] & mf->mf_tkid_cont); in ident_delimit()
831 cexp_ident_add(Mapfile *mf, const char *name) in cexp_ident_add() argument
835 if (mf != NULL) { in cexp_ident_add()
836 DBG_CALL(Dbg_map_cexp_id(mf->mf_ofl->ofl_lml, 1, in cexp_ident_add()
837 mf->mf_name, mf->mf_lineno, name)); in cexp_ident_add()
864 cexp_ident_clear(Mapfile *mf, const char *name) in cexp_ident_clear() argument
[all …]
H A Dmap_support.c162 ld_map_ifl(Mapfile *mf) in ld_map_ifl() argument
170 if (mf->mf_ifl != NULL) in ld_map_ifl()
171 return (mf->mf_ifl); in ld_map_ifl()
175 ifl->ifl_name = mf->mf_name; in ld_map_ifl()
181 if (aplist_append(&mf->mf_ofl->ofl_objs, ifl, AL_CNT_OFL_OBJS) == NULL) in ld_map_ifl()
184 mf->mf_ifl = ifl; in ld_map_ifl()
185 return (mf->mf_ifl); in ld_map_ifl()
194 ld_map_cap_set_ovflag(Mapfile *mf, Word type) in ld_map_cap_set_ovflag() argument
213 mf->mf_ofl->ofl_flags1 |= override_flag[type]; in ld_map_cap_set_ovflag()
220 ld_map_cap_sanitize(Mapfile *mf, Word type, Capmask *capmask) in ld_map_cap_sanitize() argument
[all …]
H A D_map.h349 extern Boolean ld_map_seg_ent_files(Mapfile *mf, Ent_desc *,
/illumos-gate/usr/src/data/ucode/
H A Dupdate.amd44 mf=../../pkg/manifests/system-microcode-amd.p5m
45 [[ -f $mf ]] || errexit "Run from usr/src/data/ucode"
129 $PKGFMT -u $mf
130 mv $mf $mf.tmp
131 egrep -v "file path=$FW" $mf.tmp > $mf
132 rm -f $mf.tmp
138 echo "file path=$FW/$bf group=sys mode=0444 reboot-needed=true" >> $mf
141 sed -i "/pkg.fmri.*microcode\/amd@/s/@[0-9]*/@$ver/" $mf
143 $PKGFMT -fv2 $mf
H A Dupdate.intel36 mf=../../pkg/manifests/system-microcode-intel.p5m
37 [[ -f $mf ]] || errexit "Run from usr/src/data/ucode"
77 $PKGFMT -u $mf
78 mv $mf $mf.tmp
79 egrep -v "(file|hardlink) path=$FW" $mf.tmp > $mf
80 rm -f $mf.tmp
110 echo "file path=$FW/$bf group=sys mode=0444 reboot-needed=true" >> $mf
/illumos-gate/usr/src/cmd/vi/port/
H A Dexpreserve.c403 FILE *mf; in notify() local
415 mf = popen((char *)cmd, "w"); in notify()
416 if (mf == NULL) in notify()
418 setbuf(mf, (char *)cmd); in notify()
420 fprintf(mf, flag ? in notify()
423 fprintf(mf, in notify()
426 fprintf(mf, flag ? in notify()
436 fprintf(mf, in notify()
438 fprintf(mf, in notify()
441 fprintf(mf, "This works for \"edit\" and \"ex\" also.\n"); in notify()
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c54 static FILE *df, *mf; variable
123 if ((mf = safe_fopen(modefile, "w", 0600)) == (FILE *)NULL) { in extractdirs()
167 if (mf != NULL) { in extractdirs()
168 (void) fflush(mf); in extractdirs()
170 if (ferror(mf)) in extractdirs()
173 (void) fclose(mf); in extractdirs()
184 if (mf != NULL) in extractdirs()
858 if (mf == NULL) in allocinotab()
876 if (mf == NULL) { in nodeflush()
882 (void) fwrite((char *)&node, 1, sizeof (node), mf); in nodeflush()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c130 FILE *pf, *mf, *gf, *hf; local
143 mf = fopen(mapfile, "r");
146 if (mf != NULL) {
147 domapfile(mapfile, mf);
161 domapfile(mapfile, mf) in domapfile() argument
163 FILE *mf;
172 while (lp = getaline(line, sizeof (line), mf, &curline, "#")) {
/illumos-gate/usr/src/uts/common/io/
H A Ddedump.c293 msgfmt_t mf; in _init() local
299 mf = msgfmt[i]; in _init()
303 if (mf.m_desc[0] != 0) in _init()
304 msgfmt[mf.m_type] = mf; in _init()
/illumos-gate/usr/src/uts/common/os/
H A Dswapgeneric.c717 char *dir, *mf; in load_boot_driver() local
767 mf = strrchr(module, '/'); in load_boot_driver()
768 if (mf) { in load_boot_driver()
770 *mf++ = '\0'; /* '/' -> '\0' */ in load_boot_driver()
773 mf = module; in load_boot_driver()
775 if (modloadonly(dir, mf) == -1) in load_boot_driver()
777 "misc/%s: can't load module\n", mf); in load_boot_driver()
778 if (mf != module) in load_boot_driver()
779 *(mf - 1) = '/'; /* '\0' -> '/' */ in load_boot_driver()
/illumos-gate/usr/src/grub/grub-0.97/
H A Dconfig.status.solaris1158 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
1160 mf=`echo "$mf" | sed -e 's/:.*$//'`
1167 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1168 dirpart=`(dirname "$mf") 2>/dev/null ||
1169 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1170 X"$mf" : 'X\(//\)[^/]' \| \
1171 X"$mf" : 'X\(//\)$' \| \
1172 X"$mf" : 'X\(/\)' \| \
1174 echo X"$mf" |
1183 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
[all …]
H A Daclocal.m4345 [for mf in $CONFIG_FILES; do
347 mf=`echo "$mf" | sed -e 's/:.*$//'`
354 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
355 dirpart=`AS_DIRNAME("$mf")`
361 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
363 am__include=`sed -n 's/^am__include = //p' < "$mf"`
365 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
367 U=`sed -n 's/^U = //p' < "$mf"`
373 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
H A Dconfigure7436 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7438 mf=`echo "$mf" | sed -e 's/:.*$//'`
7445 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7446 dirpart=`(dirname "$mf") 2>/dev/null ||
7447 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7448 X"$mf" : 'X\(//\)[^/]' \| \
7449 X"$mf" : 'X\(//\)$' \| \
7450 X"$mf" : 'X\(/\)' \| \
7452 echo X"$mf" |
7463 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dmode.h120 mf : 1, /* Multiplication Factor */ member
128 mf : 1, /* Multiplication Factor */
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_scsi.h145 mf : 1, /* Multiplication Factor */ member
153 mf : 1, /* Multiplication Factor */
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c183 char *mf; variable
326 mf = W_SFILE; in cntrl()
389 mf = W_RFILE; in cntrl()
766 mf = W_SFILE; in cntrl()
1189 mf = W_RFILE; in cntrl()
1444 DEBUG(4,"STMES %s\n",mf);
1445 sprintf(msg, "STMESG - %s", mf);
1454 if((Cf = fopen(mf, "a+")) == NULL){
1455 chmod(mf, PUB_FILEMODE);
1468 chmod(mf, PUB_FILEMODE);
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Ddad_mode.h225 mf : 1, /* Multiplication Factor */ member
241 mf : 1, /* Multiplication Factor */ member
H A Dmode.h262 mf : 1, /* Multiplication Factor */ member
270 mf : 1, /* Multiplication Factor */
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfloat281 float mf;
405 mf = FLT_MIN;
412 mf = pf;
420 mf = FLT_MIN;
430 printf("#define FLT_MIN %.*E%s\n", s + 1, mf, fs);
448 mf = pf;
466 } while (mf == (mf + f));
467 f = (mf - f) * 2.0 + f;
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c68 stmf_lun_map_t **pp_ret_map, stmf_merge_flags_t mf);
713 stmf_lun_map_t **pp_ret_map, stmf_merge_flags_t mf) in stmf_merge_ve_map() argument
725 if (mf & MERGE_FLAG_RETURN_NEW_MAP) in stmf_merge_ve_map()
732 if (mf & MERGE_FLAG_RETURN_NEW_MAP) { in stmf_merge_ve_map()
751 if (mf & (MERGE_FLAG_RETURN_NEW_MAP == 0)) in stmf_merge_ve_map()
762 if (mf & MERGE_FLAG_NO_DUPLICATE) { in stmf_merge_ve_map()
763 if (mf & MERGE_FLAG_RETURN_NEW_MAP) { in stmf_merge_ve_map()
/illumos-gate/usr/src/lib/libdtrace_jni/java/
H A DMakefile61 APIMANI= $(MANIFEST)/dtrace.mf
/illumos-gate/usr/src/cmd/mailx/
H A Dmain.c83 char *cwd, *mf; in main() local
/illumos-gate/usr/src/cmd/awk/
H A Drun.c670 int (*mf)(fa *, const char *) = match, mode = 0; in matchop() local
673 mf = pmatch; in matchop()
679 i = (*mf)((fa *)a[2], s); in matchop()
684 i = (*mf)(pfa, s); in matchop()

12