Home
last modified time | relevance | path

Searched refs:lhp (Results 1 – 5 of 5) sorted by relevance

/freebsd-11-stable/usr.sbin/ppp/
HDfsm.c468 FsmRecvConfigReq(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvConfigReq() argument
478 flen = ntohs(lhp->length) - sizeof *lhp; in FsmRecvConfigReq()
511 bp = m_prepend(bp, lhp, sizeof *lhp, 2); in FsmRecvConfigReq()
525 (*fp->fn->SendTerminateAck)(fp, lhp->id); in FsmRecvConfigReq()
543 fsm_Output(fp, CODE_CONFIGREJ, lhp->id, dec.rej, dec.rejend - dec.rej, in FsmRecvConfigReq()
546 fsm_Output(fp, CODE_CONFIGNAK, lhp->id, dec.nak, dec.nakend - dec.nak, in FsmRecvConfigReq()
549 fsm_Output(fp, CODE_CONFIGACK, lhp->id, dec.ack, dec.ackend - dec.ack, in FsmRecvConfigReq()
611 FsmRecvConfigAck(struct fsm *fp, struct fsmheader *lhp, struct mbuf *bp) in FsmRecvConfigAck() argument
619 flen = ntohs(lhp->length) - sizeof *lhp; in FsmRecvConfigAck()
637 (*fp->fn->SendTerminateAck)(fp, lhp->id); in FsmRecvConfigAck()
[all …]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libctf/common/
HDctf_lib.c387 const GElf_Shdr *lhp = &sp[shp->sh_link]; in ctf_fdopen() local
393 lhp->sh_name >= sp[shstrndx].sh_size) in ctf_fdopen()
413 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
414 strsect.cts_type = lhp->sh_type; in ctf_fdopen()
415 strsect.cts_flags = lhp->sh_flags; in ctf_fdopen()
416 strsect.cts_size = lhp->sh_size; in ctf_fdopen()
417 strsect.cts_entsize = lhp->sh_entsize; in ctf_fdopen()
418 strsect.cts_offset = (off64_t)lhp->sh_offset; in ctf_fdopen()
/freebsd-11-stable/usr.bin/sed/
HDcompile.c892 struct labhash **lhp, *lh; in enterlabel() local
898 lhp = &labels[h & LHMASK]; in enterlabel()
899 for (lh = *lhp; lh != NULL; lh = lh->lh_next) in enterlabel()
904 lh->lh_next = *lhp; in enterlabel()
908 *lhp = lh; in enterlabel()
/freebsd-11-stable/sys/fs/nfsclient/
HDnfs_clstate.c992 struct nfscllockownerhead *lhp = NULL; in nfscl_getbytelock() local
1078 lhp = &dp->nfsdl_lock; in nfscl_getbytelock()
1095 lhp = &op->nfso_lock; in nfscl_getbytelock()
1115 LIST_FOREACH(lp, lhp, nfsl_list) { in nfscl_getbytelock()
1139 LIST_INSERT_HEAD(lhp, nlp, nfsl_list); in nfscl_getbytelock()
1474 nfscl_freealllocks(struct nfscllockownerhead *lhp, int local) in nfscl_freealllocks() argument
1478 LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) { in nfscl_freealllocks()
1781 nfscl_cleanupkext(struct nfsclclient *clp, struct nfscllockownerfhhead *lhp) in nfscl_cleanupkext() argument
1794 nfscl_emptylockowner(lp, lhp); in nfscl_cleanupkext()
1824 struct nfscllockownerfhhead *lhp) in nfscl_emptylockowner() argument
[all …]
/freebsd-11-stable/sys/dev/isp/
HDisp_freebsd.c782 struct tslist *lhp; in get_lun_statep() local
785 ISP_GET_PC_ADDR(isp, bus, lun_hash[LUN_HASH_FUNC(lun)], lhp); in get_lun_statep()
786 SLIST_FOREACH(tptr, lhp, next) { in get_lun_statep()
833 struct tslist *lhp; in isp_tmcmd_restart() local
839 ISP_GET_PC_ADDR(isp, bus, lun_hash[i], lhp); in isp_tmcmd_restart()
840 SLIST_FOREACH(tptr, lhp, next) in isp_tmcmd_restart()
958 struct tslist *lhp; in create_lun_state() local
975 ISP_GET_PC_ADDR(isp, bus, lun_hash[LUN_HASH_FUNC(lun)], lhp); in create_lun_state()
976 SLIST_INSERT_HEAD(lhp, tptr, next); in create_lun_state()
986 struct tslist *lhp; in destroy_lun_state() local
[all …]