/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | docmd.c | 45 FILE *lfp; /* log file for recording files updated */ variable 202 if ((lfp = fopen(Tmpfile, "w")) == NULL) { 230 (void) fclose(lfp); 231 lfp = NULL; 242 log(lfp, "%s: Warning: missing links\n", 482 log(lfp, "rdist: lost connection\n");
|
/illumos-gate/usr/src/cmd/lms/ |
H A D | main.cpp | 156 int lfp; local 161 lfp = open(lockfile, O_RDONLY); 162 if (lfp < 0) { 169 count = read(lfp, pid_buf, sizeof(pid_buf)-1); 174 close(lfp); 177 close(lfp); 206 int lfp = -1; local 216 lfp = open(lockfile, O_RDWR | O_CREAT | O_EXCL, 0644); 217 if (lfp < 0) { 237 written = write(lfp, pid_bu [all...] |
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 561 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) argument 572 if (lfp == rfp) 575 if (CTF_TYPE_ISPARENT(ltype) && lfp->ctf_parent != NULL) 576 lfp = lfp->ctf_parent; 581 if (lfp < rfp) 584 if (lfp > rfp) 597 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, argument 605 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) 608 ltype = ctf_type_resolve(lfp, ltyp [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 110 #define LOG_FILE_HOLD(lfp) { \ 111 mutex_enter(&(lfp)->lf_lock); \ 112 (lfp)->lf_refcnt++; \ 113 mutex_exit(&(lfp)->lf_lock); \ 116 #define LOG_FILE_RELE(lfp) { \ 117 log_file_rele(lfp); \ 127 #define LOG_FILE_LOCK_TO_WRITE(lfp) { \ 128 mutex_enter(&(lfp)->lf_lock); \ 129 (lfp)->lf_refcnt++; \ 130 (lfp) 536 log_file_rele(struct log_file *lfp) argument 738 struct log_file *lfp = NULL; local 771 nfslog_write_logrecords(struct log_file *lfp, struct lr_alloc *lrp_writers, int num_recs) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 1003 sctp_faddr_t *lfp; local 1017 lfp = sctp->sctp_lastdata; 1018 ASSERT(lfp != NULL); 1019 if (lfp->sf_state != SCTP_FADDRS_ALIVE) 1020 lfp = sctp->sctp_current; 1088 if (sacklen > 0 && (seglen + extra <= lfp->sf_cwnd - 1089 lfp->sf_suna) && 1090 (seglen + sacklen + extra <= lfp->sf_pmss)) { 1095 pathmax = lfp->sf_cwnd - lfp [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | fsck.h | 350 struct lockfs *lfp; /* current lockfs status */ variable in typeref:struct:lockfs
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_panic.c | 1218 get_lockfs_status(ufs_failure_t *f, struct lockfs *lfp) argument 1232 f->uf_lf_err = ufs_fiolfss(f->uf_ufsvfsp->vfs_root, lfp); 2095 alloc_lockfs_comment(ufs_failure_t *f, struct lockfs *lfp) argument 2115 if ((LOCKFS_IS_ELOCK(&f->uf_lf) || !lfp->lf_comment || 2116 lfp->lf_comlen <= 0)) { 2120 from = lfp->lf_comment; 2121 len = lfp->lf_comlen; 2134 set_lockfs(ufs_failure_t *f, struct lockfs *lfp) argument 2156 alloc_lockfs_comment(f, lfp); 2159 if (!LOCKFS_IS_ELOCK(lfp)) { 2386 lock_name(struct lockfs *lfp) argument [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_parser.c | 333 ctf_file_t *lfp = lp->dn_ctfp; local 339 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); 340 uint_t lkind = ctf_type_kind(lfp, lbase); 353 lfp = DT_INT_CTFP(dtp); 362 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) { 363 yypcb->pcb_hdl->dt_ctferr = ctf_errno(lfp); 392 *ofp = lfp; 1044 ctf_file_t *lfp = lp->dn_ctfp; local 1083 lbase = ctf_type_resolve(lfp, lp->dn_type); 1084 lkind = ctf_type_kind(lfp, lbas 1155 ctf_file_t *lfp = lp->dn_ctfp; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 9904 int lfp; local 10005 lfp = lock(); 10006 if (lfp == -1) { 10030 (void) unlock(lfp);
|