Home
last modified time | relevance | path

Searched refs:lf (Results 1 – 25 of 50) sorted by relevance

12

/titanic_41/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c257 struct lockfs lf; in printstatus() local
269 bzero((caddr_t)&lf, sizeof (struct lockfs)); in printstatus()
271 lf.lf_flags = LOCKFS_MOD; in printstatus()
272 lf.lf_comlen = LOCKFS_MAXCOMMENTLEN; in printstatus()
273 lf.lf_comment = commentbuffer; in printstatus()
275 if (ioctl(fd, _FIOLFSS, &lf) == -1) { in printstatus()
281 switch (lf.lf_lock) { in printstatus()
285 if (LOCKFS_IS_BUSY(&lf)) in printstatus()
291 if (LOCKFS_IS_BUSY(&lf)) in printstatus()
295 fsmod = LOCKFS_IS_MOD(&lf); in printstatus()
[all …]
/titanic_41/usr/src/lib/libast/common/port/
H A Dlcgen.c283 FILE* lf; local
305 if (!(lf = fopen(lib, "w")))
338 fprintf(lf, "/* : : generated by %s : : */\n", command);
339 fprintf(lf, "\n");
340 fprintf(lf, "#include \"lclib.h\"\n");
341 fprintf(lf, "#include \"lclang.h\"\n");
342 fprintf(lf, "\n");
511 fprintf(lf, "\nconst Lc_attribute_t attribute_%s[] =\n{\n", lp->link.code);
522 fprintf(lf, "{\"%s\",", b);
524 fprintf(lf, "LC_%s,", f);
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.ListProbesWithFunctions39 * /usr/sbin/dtrace -lf profile
43 * /usr/sbin/dtrace -lf genunix
47 * /usr/sbin/dtrace -lf read
51 * /usr/sbin/dtrace -lf genunix:read
56 * /usr/sbin/dtrace -lf sysinfo:genunix:read
61 * /usr/sbin/dtrace -lf :genunix::
65 * /usr/sbin/dtrace -lf ::read:
69 * /usr/sbin/dtrace -lf profile:::profile-97
73 * /usr/sbin/dtrace -lf read -lf write
77 * /usr/sbin/dtrace -lf read -lm fight
[all …]
/titanic_41/usr/src/cmd/tbl/
H A Dt7.c51 int c, ct, vforml, lf; in runtabs() local
56 for(lf=prev(lform); lf>=0 && vspen(table[lf][c].col); lf=prev(lf)) in runtabs()
57 vforml=lf; in runtabs()
118 int i, c, lf, lwid; in deftail() local
144 if ((lf=left(nlin-1,c, &lwid))>=0) in deftail()
146 fprintf(tabout, ".if \\n(#%c>=0 .sp -1\n",linestop[lf]+'a'-1); in deftail()
147 fprintf(tabout, ".if \\n(#%c>=0 ", linestop[lf]+'a'-1); in deftail()
149 drawvert(lf, nlin-1, c, lwid); in deftail()
H A Dt8.c40 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; in putline() local
66 lf = prev(nl); in putline()
86 if (lf>=0) in putline()
87 if (vspen(table[lf][c].col)) vspf=1; in putline()
102 lf=prev(nl); in putline()
103 if (lf>=0 && vspen(table[lf][c].col)) in putline()
124 if (watchout==0 && i+1<nlin && (lf=left(i,c, &lwid))>=0) in putline()
127 drawvert(lf, i, c, lwid); in putline()
132 for(lf=prev(nl); lf>=0 && vspen(table[lf][c].col); lf=prev(lf)) in putline()
133 vforml= lf; in putline()
[all …]
/titanic_41/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c54 #define PRINTABLE(i) ((lf->plf_ffs[(i)].pff_prt & D_FIELD) || \
55 (lf->plf_ffs[(i)].pff_prt & X_FIELD))
358 create_prt_sequence_list(char *arg, poolstat_line_format_t *lf) in create_prt_sequence_list() argument
367 NEW0(lf->plf_prt_seq); in create_prt_sequence_list()
368 lf->plf_ffs[0].pff_prt |= PRINTABLE(0) ? PABLE_FIELD : 0; in create_prt_sequence_list()
369 lf->plf_last = lf->plf_prt_seq; in create_prt_sequence_list()
370 lf->plf_last->ple_obj = &(lf->plf_ffs[0]); in create_prt_sequence_list()
371 for (i = 1; i < lf->plf_ff_len; i++) { in create_prt_sequence_list()
372 lf->plf_ffs[i].pff_prt |= in create_prt_sequence_list()
374 NEW0(lf->plf_last->ple_next); in create_prt_sequence_list()
[all …]
/titanic_41/usr/src/cmd/nscd/
H A Dnscd_log.c78 char *lf) in _nscd_set_lf() argument
86 if (lf == NULL || *lf == 0) { in _nscd_set_lf()
89 } else if (strcmp(lf, "/dev/null") == 0) { in _nscd_set_lf()
90 (void) strlcpy(_nscd_logfile, lf, PATH_MAX); in _nscd_set_lf()
95 } else if (strcmp(lf, "stderr") == 0) { in _nscd_set_lf()
96 (void) strlcpy(_nscd_logfile, lf, PATH_MAX); in _nscd_set_lf()
107 if ((newlogfd = open(lf, O_EXCL|O_WRONLY|O_CREAT, 0644)) < 0) { in _nscd_set_lf()
116 if (lstat(lf, &before) < 0) { in _nscd_set_lf()
120 lf, strerror(errno)); in _nscd_set_lf()
128 open(lf, O_APPEND|O_WRONLY, 0644)) < 0) { in _nscd_set_lf()
[all …]
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c69 struct lockfs lf; in ufs_snap_create() local
108 if ((error = ufs_fiolfss(vp, &lf)) != 0) { in ufs_snap_create()
113 if (!LOCKFS_IS_ULOCK(&lf)) { in ufs_snap_create()
119 lf.lf_lock = LOCKFS_WLOCK; in ufs_snap_create()
120 lf.lf_flags = 0; in ufs_snap_create()
121 lf.lf_comment = NULL; in ufs_snap_create()
122 if ((error = ufs_fiolfs(vp, &lf, 1)) != 0) { in ufs_snap_create()
212 lf.lf_lock = LOCKFS_ULOCK; in ufs_snap_create()
213 lf.lf_flags = 0; in ufs_snap_create()
214 if ((ufs_fiolfs(vp, &lf, 1) != 0) && !error) { in ufs_snap_create()
H A Dlufs.c854 struct lockfs lf; in lufs_disable() local
876 error = ufs_fiolfss(vp, &lf); in lufs_disable()
880 if (!LOCKFS_IS_ULOCK(&lf)) { in lufs_disable()
884 lf.lf_lock = LOCKFS_WLOCK; in lufs_disable()
885 lf.lf_flags = 0; in lufs_disable()
886 lf.lf_comment = NULL; in lufs_disable()
887 error = ufs_fiolfs(vp, &lf, 1); in lufs_disable()
963 lf.lf_lock = LOCKFS_ULOCK; in lufs_disable()
964 lf.lf_flags = 0; in lufs_disable()
965 error = ufs_fiolfs(vp, &lf, 1); in lufs_disable()
[all …]
H A Dufs_alloc.c1498 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_wlockfs() argument
1504 err = ufs_fiolfss(vp, lf); in allocsp_wlockfs()
1507 } while (!LOCKFS_IS_ULOCK(lf)); in allocsp_wlockfs()
1509 lf->lf_lock = LOCKFS_WLOCK; in allocsp_wlockfs()
1510 lf->lf_flags = 0; in allocsp_wlockfs()
1511 lf->lf_comment = NULL; in allocsp_wlockfs()
1512 err = ufs__fiolfs(vp, lf, 1, 0); in allocsp_wlockfs()
1524 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_unlockfs() argument
1528 lf->lf_lock = LOCKFS_ULOCK; in allocsp_unlockfs()
1529 lf->lf_flags = 0; in allocsp_unlockfs()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dstdethers.c48 char line[MAXHOSTNAMELEN + 256], *lf, hostname[sizeof (line)]; in main() local
63 lf = strchr(line, '\n'); in main()
64 if (lf != NULL) in main()
65 *lf = '\0'; in main()
/titanic_41/usr/src/cmd/eqn/
H A Dtext.c26 int lf, rf; /* temporary spots for left and right fonts */ variable
60 lf = rf = 0; in text()
63 if (lf == 0) in text()
64 lf = rf; /* save first */ in text()
71 lfont[yyval] = lf; in text()
/titanic_41/usr/src/cmd/loadkeys/type_4/
H A Dkorea33 key 3 all lf(2)
55 key 25 all lf(3)
56 key 26 all lf(4)
79 key 49 all lf(5)
81 key 51 all lf(6)
102 key 72 all lf(7)
103 key 73 all lf(8)
125 key 95 all lf(9)
127 key 97 all lf(10)
148 key 118 all lf(16)
H A Dreset33 key 3 all lf(2)
55 key 25 all lf(3)
56 key 26 all lf(4)
79 key 49 all lf(5)
81 key 51 all lf(6)
102 key 72 all lf(7)
103 key 73 all lf(8)
125 key 95 all lf(9)
127 key 97 all lf(10)
148 key 118 all lf(16)
H A Dtraditional_chinese30 key 3 all lf(2)
52 key 25 all lf(3)
53 key 26 all lf(4)
76 key 49 all lf(5)
78 key 51 all lf(6)
99 key 72 all lf(7)
100 key 73 all lf(8)
122 key 95 all lf(9)
124 key 97 all lf(10)
145 key 118 all lf(16)
/titanic_41/usr/src/cmd/power/
H A Dparse.c353 char *next, *lf; in find_line_end() local
357 while ((lf = strchr(next, '\n')) != NULL) { in find_line_end()
359 if (lf == line || (*(lf - 1) != '\\') || *(lf + 1) == '\0') in find_line_end()
361 next = lf + 1; in find_line_end()
363 return (lf); in find_line_end()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_vops3.c53 int (*lf)(); variable
84 lf = f;
349 lf = lindent; in lindent()
387 lf = 0; in lmatchp()
543 if (lf == vmove && wcursor > linebuf) in lnext()
555 if (lf == lindent && linebuf[0] == '(') in lnext()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c908 struct log_file *lf; in nfslog_logbuffer_rename() local
926 lf = lbp->lb_logfile; in nfslog_logbuffer_rename()
927 mutex_enter(&(lf)->lf_lock); in nfslog_logbuffer_rename()
929 lf->lf_refcnt++; in nfslog_logbuffer_rename()
930 mutex_exit(&(lf)->lf_lock); in nfslog_logbuffer_rename()
933 lf->lf_path, lbp->lb_path)); in nfslog_logbuffer_rename()
938 if (error = nfslog_logfile_rename(lf->lf_path, lbp->lb_path)) in nfslog_logbuffer_rename()
946 (void) nfslog_logfile_rename(lbp->lb_path, lf->lf_path); in nfslog_logbuffer_rename()
959 LOG_FILE_RELE(lf); /* release log_buffer's reference */ in nfslog_logbuffer_rename()
966 nfslog_logfile_wait(lf); in nfslog_logbuffer_rename()
[all …]
/titanic_41/usr/src/cmd/loadkeys/type_6/
H A Dreset146 key 116 all lf(7)
147 key 117 all lf(16)
148 key 118 all lf(3)
149 key 119 all lf(5)
151 key 121 all lf(2)
152 key 122 all lf(4)
153 key 123 all lf(10)
154 key 124 all lf(6)
155 key 125 all lf(8)
156 key 126 all lf(9)
/titanic_41/usr/src/common/tsol/
H A Dstol.c233 uint_t lf = (f & ~L_CHECK_AR); /* because L_DEFAULT == 0 */ in str_to_label() local
250 ((lf == L_NO_CORRECTION) || (lf == L_DEFAULT))) { in str_to_label()
293 } else if (IS_HEX(lf, s)) { in str_to_label()
/titanic_41/usr/src/cmd/troff/troff.d/
H A Dt6.c621 int lf; local
623 if ((lf = fontbase[fbits(i)]->ligfont) == 0) /* font lacks ligatures */
626 if (cbits(j) == 'i' && (lf & LFI))
628 else if (cbits(j) == 'l' && (lf & LFL))
630 else if (cbits(j) == 'f' && (lf & LFF)) {
631 if ((lf & (LFFI|LFFL)) && lg != 2) {
633 if (cbits(k)=='i' && (lf&LFFI))
635 else if (cbits(k)=='l' && (lf&LFFL))
/titanic_41/usr/src/cmd/mdb/sun4u/modules/opl/oplhwd/
H A Doplhwd.c265 int lf; in dumppcihwd() local
271 for (lf = 0; lf < HWD_LEAVES_PER_PCI_CHANNEL; lf++) { in dumppcihwd()
272 leafp = &pcip->pci_leaf[lf]; in dumppcihwd()
276 lf, leafp->leaf_status, in dumppcihwd()
281 lf, leafp->leaf_status, in dumppcihwd()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c53 int lf; in osa_adb_create_db() local
72 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600); in osa_adb_create_db()
73 if (lf == -1) in osa_adb_create_db()
75 (void) close(lf); in osa_adb_create_db()
/titanic_41/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/
H A DBRACKETS_NOTE24 lc, rc, lf, and rf contain PostScript code that can be used to build the top
26 code field in the S font file for lc, rc, lf, and rf is set to 1. A code larger
38 The lc, rc, lf, and rf files are a very complicated attempt to get around the
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c166 FILE *lf; /* LASTLOG file pointer */ variable
736 if ((lf = fopen(LASTLOG, "r")) == NULL) in fwopen()
745 if (lf != NULL) { in findwhen()
746 if (fseeko(lf, (off_t)pers->pwd->pw_uid * (off_t)sizeof (ll), in findwhen()
748 if (fread((char *)&ll, sizeof (ll), 1, lf) == 1) { in findwhen()
760 if (ferror(lf)) in findwhen()
781 if (lf != NULL) in fwclose()
782 (void) fclose(lf); in fwclose()

12