Searched refs:lf (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c257 struct lockfs lf; local
269 bzero((caddr_t)&lf, sizeof (struct lockfs));
271 lf.lf_flags = LOCKFS_MOD;
272 lf.lf_comlen = LOCKFS_MAXCOMMENTLEN;
273 lf.lf_comment = commentbuffer;
275 if (ioctl(fd, _FIOLFSS, &lf) == -1) {
281 switch (lf.lf_lock) {
285 if (LOCKFS_IS_BUSY(&lf))
291 if (LOCKFS_IS_BUSY(&lf))
295 fsmod = LOCKFS_IS_MOD(&lf);
373 struct lockfs lf; local
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dstdethers.c48 char line[MAXHOSTNAMELEN + 256], *lf, hostname[sizeof (line)]; local
63 lf = strchr(line, '\n');
64 if (lf != NULL)
65 *lf = '\0';
/illumos-gate/usr/src/cmd/tbl/
H A Dt7.c49 int c, ct, vforml, lf; local
54 for(lf=prev(lform); lf>=0 && vspen(table[lf][c].col); lf=prev(lf))
55 vforml=lf;
117 int i, c, lf, lwid; local
143 if ((lf=left(nlin-1,c, &lwid))>=0)
145 fprintf(tabout, ".if \\n(#%c>=0 .sp -1\n",linestop[lf]
[all...]
H A Dt8.c38 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; local
64 lf = prev(nl);
84 if (lf>=0)
85 if (vspen(table[lf][c].col)) vspf=1;
100 lf=prev(nl);
101 if (lf>=0 && vspen(table[lf][c].col))
122 if (watchout==0 && i+1<nlin && (lf=left(i,c, &lwid))>=0)
125 drawvert(lf, i, c, lwid);
130 for(lf
284 int c, s, pl, lwid, dv, lf, ct; local
[all...]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Druntests.c55 static void flock_fcntl(lockinfo_t *lf, int cmd, struct flock *fl);
103 flock_fcntl(lockinfo_t *lf, int cmd, struct flock *fl) argument
105 if (fcntl(lf->lf_fd, cmd, fl) == -1) {
112 assert_write_locked_by(lockinfo_t *lf, pid_t pid) argument
117 flock_fcntl(lf, F_GETLK, &fl);
123 flock_fcntl(lf, F_OFD_GETLK, &fl);
129 flock_fcntl(lf, F_GETLK, &fl);
135 flock_fcntl(lf, F_OFD_GETLK, &fl);
143 assert_read_locked_by(lockinfo_t *lf, pid_t pid) argument
148 flock_fcntl(lf, F_GETL
173 assert_unlocked(lockinfo_t *lf) argument
228 flock_mkfil(lockinfo_t *lf) argument
245 flock_mkdir(lockinfo_t *lf) argument
267 flock_rminfo(lockinfo_t *lf) argument
280 flock_run(lock_style_t style, boolean_t is_exclusive, lockinfo_t *lf, pid_t *pid, int fds[]) argument
402 flock_test_invalid(lockinfo_t *lf, int cmd, short l_type, short l_whence, off_t l_start, off_t l_len) argument
420 flock_test_invalid64(lockinfo_t *lf, int cmd, short l_type, short l_whence, off_t l_start, off_t l_len) argument
[all...]
/illumos-gate/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
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_log.c78 char *lf)
86 if (lf == NULL || *lf == 0) {
89 } else if (strcmp(lf, "/dev/null") == 0) {
90 (void) strlcpy(_nscd_logfile, lf, PATH_MAX);
95 } else if (strcmp(lf, "stderr") == 0) {
96 (void) strlcpy(_nscd_logfile, lf, PATH_MAX);
107 if ((newlogfd = open(lf, O_EXCL|O_WRONLY|O_CREAT, 0644)) < 0) {
116 if (lstat(lf, &before) < 0) {
120 lf, strerro
77 _nscd_set_lf( char *lf) argument
[all...]
/illumos-gate/usr/src/cmd/eqn/
H A Dtext.c26 int lf, rf; /* temporary spots for left and right fonts */ variable
60 lf = rf = 0;
63 if (lf == 0)
64 lf = rf; /* save first */
71 lfont[yyval] = lf;
75 printf(".\t%dtext: S%d <- %s; b=%d,h=%d,lf=%c,rf=%c\n",
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c53 #define PRINTABLE(i) ((lf->plf_ffs[(i)].pff_prt & D_FIELD) || \
54 (lf->plf_ffs[(i)].pff_prt & X_FIELD))
359 create_prt_sequence_list(char *arg, poolstat_line_format_t *lf) argument
368 NEW0(lf->plf_prt_seq);
369 lf->plf_ffs[0].pff_prt |= PRINTABLE(0) ? PABLE_FIELD : 0;
370 lf->plf_last = lf->plf_prt_seq;
371 lf->plf_last->ple_obj = &(lf->plf_ffs[0]);
372 for (i = 1; i < lf
636 prt_stat_line(poolstat_line_format_t *lf) argument
681 poolstat_line_format_t *lf; /* line format */ local
824 poolstat_line_format_t *lf; local
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_snap.c69 struct lockfs lf; local
108 if ((error = ufs_fiolfss(vp, &lf)) != 0) {
113 if (!LOCKFS_IS_ULOCK(&lf)) {
119 lf.lf_lock = LOCKFS_WLOCK;
120 lf.lf_flags = 0;
121 lf.lf_comment = NULL;
122 if ((error = ufs_fiolfs(vp, &lf, 1)) != 0) {
212 lf.lf_lock = LOCKFS_ULOCK;
213 lf.lf_flags = 0;
214 if ((ufs_fiolfs(vp, &lf,
[all...]
H A Dlufs.c854 struct lockfs lf; local
876 error = ufs_fiolfss(vp, &lf);
880 if (!LOCKFS_IS_ULOCK(&lf)) {
884 lf.lf_lock = LOCKFS_WLOCK;
885 lf.lf_flags = 0;
886 lf.lf_comment = NULL;
887 error = ufs_fiolfs(vp, &lf, 1);
963 lf.lf_lock = LOCKFS_ULOCK;
964 lf.lf_flags = 0;
965 error = ufs_fiolfs(vp, &lf,
990 struct lockfs lf; local
[all...]
H A Dufs_alloc.c1497 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) argument
1503 err = ufs_fiolfss(vp, lf);
1506 } while (!LOCKFS_IS_ULOCK(lf));
1508 lf->lf_lock = LOCKFS_WLOCK;
1509 lf->lf_flags = 0;
1510 lf->lf_comment = NULL;
1511 err = ufs__fiolfs(vp, lf, 1, 0);
1523 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) argument
1527 lf->lf_lock = LOCKFS_ULOCK;
1528 lf
1553 struct lockfs lf; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.utf8probemod.ksh49 if ! gcc -m32 -o foo foo.c -lf��o -L. ; then
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/
H A DMakefile30 Sl bx ci ff lc lf lh \
/illumos-gate/usr/src/cmd/power/
H A Dparse.c348 * and record the real/lf-delimited line count at *lcnt.
353 char *next, *lf; local
357 while ((lf = strchr(next, '\n')) != NULL) {
359 if (lf == line || (*(lf - 1) != '\\') || *(lf + 1) == '\0')
361 next = lf + 1;
363 return (lf);
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vops3.c53 int (*lf)(); variable
84 lf = f;
349 lf = lindent;
387 lf = 0;
543 if (lf == vmove && wcursor > linebuf)
555 if (lf == lindent && linebuf[0] == '(')
/illumos-gate/usr/src/common/tsol/
H A Dstol.c233 uint_t lf = (f & ~L_CHECK_AR); /* because L_DEFAULT == 0 */ local
250 ((lf == L_NO_CORRECTION) || (lf == L_DEFAULT))) {
293 } else if (IS_HEX(lf, s)) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c908 struct log_file *lf; local
922 * "lf" structure. this is
926 lf = lbp->lb_logfile;
927 mutex_enter(&(lf)->lf_lock);
929 lf->lf_refcnt++;
930 mutex_exit(&(lf)->lf_lock);
933 lf->lf_path, lbp->lb_path));
938 if (error = nfslog_logfile_rename(lf->lf_path, lbp->lb_path))
946 (void) nfslog_logfile_rename(lbp->lb_path, lf->lf_path);
959 LOG_FILE_RELE(lf); /* releas
1006 nfslog_logfile_wait(struct log_file *lf) argument
[all...]
/illumos-gate/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))
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c46 int lf; local
65 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600);
66 if (lf == -1)
68 (void) close(lf);
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/opl/oplhwd/
H A Doplhwd.c265 int lf; local
271 for (lf = 0; lf < HWD_LEAVES_PER_PCI_CHANNEL; lf++) {
272 leafp = &pcip->pci_leaf[lf];
276 lf, leafp->leaf_status,
281 lf, leafp->leaf_status,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c170 FILE *lf; /* LASTLOG file pointer */ variable
740 if ((lf = fopen(LASTLOG, "r")) == NULL)
749 if (lf != NULL) {
750 if (fseeko(lf, (off_t)pers->pwd->pw_uid * (off_t)sizeof (ll),
752 if (fread((char *)&ll, sizeof (ll), 1, lf) == 1) {
764 if (ferror(lf))
785 if (lf != NULL)
786 (void) fclose(lf);
/illumos-gate/usr/src/cmd/truss/
H A Dramdata.h90 int lf; member in struct:__anon1944::__anon1945
H A Dmain.c1849 int lf = (lflag | tid | (Thr_agent != NULL) | (truss_nlwp > 1)); local
1854 lf != pri->pparam.lf ||
1862 if (lf)
1866 if (ff || lf)
1868 if (ff && lf && s < pri->pname + 9)
1872 pri->pparam.lf = lf;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c1383 #define ARGV_FCT(lf, rf, idx) \
1385 sfsistat (*lf) __P((SMFICTX *, char **)); \
1392 (lf = g->a_ctx->ctx_smfi->rf) == NULL) \
1396 r = (*lf)(g->a_ctx, argv); \

Completed in 413 milliseconds

12