Home
last modified time | relevance | path

Searched refs:lfp (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c115 (lfp)->lf_refcnt++; \
120 log_file_rele(lfp); \
132 (lfp)->lf_refcnt++; \
138 if ((lfp)->lf_writers == 0 && ((lfp)->lf_flags & L_WAITING)) { \
143 log_file_rele(lfp); \
549 (void *)lfp, lfp->lf_refcnt)); in log_file_rele()
559 (void *)lfp)); in log_file_rele()
571 lfp->lf_path); in log_file_rele()
576 lfp->lf_path, (void *)lfp->lf_vp, lfp->lf_vp->v_count)); in log_file_rele()
583 kmem_free(lfp, sizeof (*lfp)); in log_file_rele()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c209 log(lfp, cp); in server()
660 if (lfp != NULL) in update()
673 if (lfp != NULL) in update()
1264 log(lfp, "%s\n", s); in rmchk()
1280 if (lfp != NULL) in rmchk()
1542 if (lfp != NULL) { in error()
1546 fflush(lfp); in error()
1574 if (lfp != NULL) { in fatal()
1578 fflush(lfp); in fatal()
1604 log(lfp, "%s\n", s); in response()
[all …]
H A Ddocmd.c44 FILE *lfp; /* log file for recording files updated */ variable
193 if ((lfp = fopen(Tmpfile, "w")) == NULL) { in doarrow()
221 (void) fclose(lfp); in doarrow()
222 lfp = NULL; in doarrow()
233 log(lfp, "%s: Warning: missing links\n", in doarrow()
468 log(lfp, "rdist: lost connection\n"); in lostconn()
/illumos-gate/usr/src/common/ctf/
H A Dctf_types.c733 if (lfp == rfp) in ctf_type_cmp()
737 lfp = lfp->ctf_parent; in ctf_type_cmp()
742 if (lfp < rfp) in ctf_type_cmp()
745 if (lfp > rfp) in ctf_type_cmp()
758 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, in ctf_type_compat() argument
766 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat()
769 ltype = ctf_type_resolve(lfp, ltype); in ctf_type_compat()
770 lkind = ctf_type_kind(lfp, ltype); in ctf_type_compat()
778 strcmp(ctf_strptr(lfp, ltp->ctt_name), in ctf_type_compat()
789 return (ctf_type_compat(lfp, ctf_type_reference(lfp, ltype), in ctf_type_compat()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1496 if (lfp == NULL) { in is_errorlocked()
1498 if (lfp == NULL) in is_errorlocked()
1503 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in is_errorlocked()
1504 lfp->lf_comment = elock_combuf; in is_errorlocked()
1506 if (ioctl(mountfd, _FIOLFSS, lfp) == -1) in is_errorlocked()
1514 retval = LOCKFS_IS_ELOCK(lfp); in is_errorlocked()
1607 if (lfp == NULL) { in search_vfstab()
1670 lfp->lf_lock = lock_type; in search_vfstab()
1671 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in search_vfstab()
1672 lfp->lf_comment = elock_combuf; in search_vfstab()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_panic.c1217 get_lockfs_status(ufs_failure_t *f, struct lockfs *lfp) in get_lockfs_status() argument
2114 if ((LOCKFS_IS_ELOCK(&f->uf_lf) || !lfp->lf_comment || in alloc_lockfs_comment()
2115 lfp->lf_comlen <= 0)) { in alloc_lockfs_comment()
2119 from = lfp->lf_comment; in alloc_lockfs_comment()
2120 len = lfp->lf_comlen; in alloc_lockfs_comment()
2133 set_lockfs(ufs_failure_t *f, struct lockfs *lfp) in set_lockfs() argument
2155 alloc_lockfs_comment(f, lfp); in set_lockfs()
2158 if (!LOCKFS_IS_ELOCK(lfp)) { in set_lockfs()
2159 lfp->lf_lock = f->uf_lf.lf_lock = LOCKFS_ELOCK; in set_lockfs()
2385 lock_name(struct lockfs *lfp) in lock_name() argument
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c1003 sctp_faddr_t *lfp; in sctp_output() local
1010 lfp = NULL; in sctp_output()
1019 lfp = sctp->sctp_lastdata; in sctp_output()
1020 ASSERT(lfp != NULL); in sctp_output()
1021 if (lfp->sf_state != SCTP_FADDRS_ALIVE) in sctp_output()
1022 lfp = sctp->sctp_current; in sctp_output()
1090 if (sacklen > 0 && (seglen + extra <= lfp->sf_cwnd - in sctp_output()
1091 lfp->sf_suna) && in sctp_output()
1092 (seglen + sacklen + extra <= lfp->sf_pmss)) { in sctp_output()
1097 pathmax = lfp->sf_cwnd - lfp->sf_suna; in sctp_output()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_parser.c334 ctf_file_t *lfp = lp->dn_ctfp; in dt_type_promote() local
354 lfp = DT_INT_CTFP(dtp); in dt_type_promote()
393 *ofp = lfp; in dt_type_promote()
1054 ctf_file_t *lfp = lp->dn_ctfp; in dt_node_is_ptrcompat() local
1094 lkind = ctf_type_kind(lfp, lbase); in dt_node_is_ptrcompat()
1097 lref = ctf_type_resolve(lfp, in dt_node_is_ptrcompat()
1127 lfp = rfp; in dt_node_is_ptrcompat()
1132 rfp = lfp; in dt_node_is_ptrcompat()
1149 *fpp = rp_is_void ? lfp : rfp; in dt_node_is_ptrcompat()
1165 ctf_file_t *lfp = lp->dn_ctfp; in dt_node_is_argcompat() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c9904 int lfp; local
10005 lfp = lock();
10006 if (lfp == -1) {
10030 (void) unlock(lfp);