/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vops3.c | 53 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/cmd/ypcmd/ |
H A D | stdethers.c | 48 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/eqn/ |
H A D | text.c | 26 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/tbl/ |
H A D | t7.c | 51 int c, ct, vforml, lf; local 56 for(lf=prev(lform); lf>=0 && vspen(table[lf][c].col); lf=prev(lf)) 57 vforml=lf; 118 int i, c, lf, lwid; local 144 if ((lf=left(nlin-1,c, &lwid))>=0) 146 fprintf(tabout, ".if \\n(#%c>=0 .sp -1\n",linestop[lf] [all...] |
H A D | t8.c | 40 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; local 66 lf = prev(nl); 86 if (lf>=0) 87 if (vspen(table[lf][c].col)) vspf=1; 102 lf=prev(nl); 103 if (lf>=0 && vspen(table[lf][c].col)) 124 if (watchout==0 && i+1<nlin && (lf=left(i,c, &lwid))>=0) 127 drawvert(lf, i, c, lwid); 132 for(lf 285 int c, s, pl, lwid, dv, lf, ct; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 257 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/uts/common/fs/ufs/ |
H A D | ufs_snap.c | 69 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 D | ufs_alloc.c | 1498 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) argument 1504 err = ufs_fiolfss(vp, lf); 1507 } while (!LOCKFS_IS_ULOCK(lf)); 1509 lf->lf_lock = LOCKFS_WLOCK; 1510 lf->lf_flags = 0; 1511 lf->lf_comment = NULL; 1512 err = ufs__fiolfs(vp, lf, 1, 0); 1524 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) argument 1528 lf->lf_lock = LOCKFS_ULOCK; 1529 lf 1554 struct lockfs lf; local [all...] |
H A D | lufs.c | 854 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...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | adb_openclose.c | 53 int lf; local 72 lf = THREEPARAMOPEN(lockfilename, O_RDWR | O_CREAT | O_EXCL, 0600); 73 if (lf == -1) 75 (void) close(lf);
|
/illumos-gate/usr/src/common/tsol/ |
H A D | stol.c | 233 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/cmd/nscd/ |
H A D | nscd_log.c | 78 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/power/ |
H A D | parse.c | 348 * 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/mdb/sun4u/modules/opl/oplhwd/ |
H A D | oplhwd.c | 265 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/troff/troff.d/ |
H A D | t6.c | 621 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/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 55 static void flock_fcntl(lockinfo_t *lf, int cmd, struct flock *fl); 97 flock_fcntl(lockinfo_t *lf, int cmd, struct flock *fl) argument 99 if (fcntl(lf->lf_fd, cmd, fl) == -1) { 106 assert_write_locked_by(lockinfo_t *lf, pid_t pid) argument 111 flock_fcntl(lf, F_GETLK, &fl); 117 flock_fcntl(lf, F_OFD_GETLK, &fl); 123 flock_fcntl(lf, F_GETLK, &fl); 129 flock_fcntl(lf, F_OFD_GETLK, &fl); 137 assert_read_locked_by(lockinfo_t *lf, pid_t pid) argument 142 flock_fcntl(lf, F_GETL 167 assert_unlocked(lockinfo_t *lf) argument 222 flock_mkfil(lockinfo_t *lf) argument 239 flock_mkdir(lockinfo_t *lf) argument 261 flock_rminfo(lockinfo_t *lf) argument 274 flock_run(lock_style_t style, boolean_t is_exclusive, lockinfo_t *lf, pid_t *pid, int fds[]) argument 397 flock_test_invalid(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 D | lcgen.c | 283 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/pools/poolstat/ |
H A D | poolstat.c | 53 #define PRINTABLE(i) ((lf->plf_ffs[(i)].pff_prt & D_FIELD) || \ 54 (lf->plf_ffs[(i)].pff_prt & X_FIELD)) 357 create_prt_sequence_list(char *arg, poolstat_line_format_t *lf) argument 366 NEW0(lf->plf_prt_seq); 367 lf->plf_ffs[0].pff_prt |= PRINTABLE(0) ? PABLE_FIELD : 0; 368 lf->plf_last = lf->plf_prt_seq; 369 lf->plf_last->ple_obj = &(lf->plf_ffs[0]); 370 for (i = 1; i < lf 634 prt_stat_line(poolstat_line_format_t *lf) argument 679 poolstat_line_format_t *lf; /* line format */ local 822 poolstat_line_format_t *lf; local [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | ramdata.h | 90 int lf; member in struct:__anon1902::__anon1903
|
H A D | main.c | 1849 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/uts/common/fs/nfs/ |
H A D | nfs_log.c | 908 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/cmd-inet/usr.bin/ |
H A D | finger.c | 166 FILE *lf; /* LASTLOG file pointer */ variable 736 if ((lf = fopen(LASTLOG, "r")) == NULL) 745 if (lf != NULL) { 746 if (fseeko(lf, (off_t)pers->pwd->pw_uid * (off_t)sizeof (ll), 748 if (fread((char *)&ll, sizeof (ll), 1, lf) == 1) { 760 if (ferror(lf)) 781 if (lf != NULL) 782 (void) fclose(lf);
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 6004 int i, lf; local 6033 for (i = 0, lf = 0; i < lm->lm_nentries; i++) { 6036 lf++; 6048 if (lf == 0) {
|