HomeSort by: relevance | last modified time | path
    Searched refs:mhp (Results 1 - 16 of 16) sorted by relevancy

  /src/sys/netipsec/
key.c 642 key_msghdr_get_sockaddr(const struct sadb_msghdr *mhp, int idx)
645 return PFKEY_ADDR_SADDR(mhp->ext[idx]);
2137 key_gather_mbuf(struct mbuf *m, const struct sadb_msghdr *mhp,
2147 KASSERT(mhp != NULL);
2156 if (idx == SADB_EXT_RESERVED && mhp->msg == NULL)
2159 (mhp->ext[idx] == NULL || mhp->extlen[idx] == 0))
2171 len = mhp->extlen[idx];
2174 m_copydata(m, mhp->extoff[idx], mhp->extlen[idx]
    [all...]
  /src/games/hack/
hack.potion.c 315 if (rn2(5) && mon->mhp > 1)
316 mon->mhp--;
327 if (mon->mhp < mon->mhpmax) {
328 mon->mhp = mon->mhpmax;
335 if (mon->mhp > 2)
336 mon->mhp /= 2;
def.monst.h 74 schar mhp,mhpmax; member in struct:monst
hack.worm.c 133 mtmp->mhp += 3;
154 mtmp->mhp -= 3; /* mhpmax not changed ! */
254 mtmp2->mhpmax = mtmp2->mhp =
266 mtmp->mhp /= 2;
hack.mon.c 126 if (mtmp->mhp > 1)
127 mtmp->mhp--;
246 mtmp->mhp < mtmp->mhpmax)
247 mtmp->mhp++;
282 && mtmp->mhp == mtmp->mhpmax && !rn2(25))
368 || (msym == '1' && (mtmp->mhp < 7 || (!xdnstair && !rn2(5))
370 if (mtmp->mhp < 7 || (msym == 't' && rn2(2)))
943 int mhp, hpn, hpd; local in function:newcham
961 hpn = mtmp->mhp;
966 mhp = (mdat->mlevel) * 8
    [all...]
hack.zap.c 99 mtmp->mhp -= tmp;
100 if (mtmp->mhp < 1)
113 mtmp->mhp -= rnd(8);
114 if (mtmp->mhp < 1)
280 mtmp->mhp = 1; /* almost dead */
565 if (mon->mhp < 1) {
679 tmp = mon->mhp + 1;
682 mon->mhp -= tmp;
hack.lev.c 258 newhp = mtmp->mhp +
261 mtmp->mhp = mtmp->mhpmax;
263 mtmp->mhp = newhp;
hack.makemon.c 129 mtmp->mhpmax = mtmp->mhp = 80;
131 mtmp->mhpmax = mtmp->mhp = rnd(4);
133 mtmp->mhpmax = mtmp->mhp = d(ptr->mlevel, 8);
hack.trap.c 269 mtmp->mhp -= 3;
276 mtmp->mhp -= 2;
281 mtmp->mhp -= 10;
hack.fight.c 127 } else if ((mdef->mhp -= d(pa->damn, pa->damd)) < 1) {
310 mon->mhp -= tmp;
311 if (mon->mhp < 1) {
430 if (!rn2(25) && mtmp->mhp < mtmp->mhpmax / 2) {
hack.dog.c 215 if (mtmp->mhp > mtmp->mhpmax)
216 mtmp->mhp = mtmp->mhpmax;
221 } else if (moves > edog->hungrytime + 750 || mtmp->mhp < 1) {
hack.read.c 489 mtmp->mhp -= num;
491 mtmp->mhp -= 3 * num; /* this might well kill
493 if (mtmp->mhp < 1) {
hack.end.c 241 u.urexp += mtmp->mhp;
hack.pri.c 787 mtmp->data->mlevel, mtmp->mgold, mtmp->mhp, mtmp->mhpmax,
  /src/sys/compat/netbsd32/
netbsd32_conv.h 301 netbsd32_to_msghdr(const struct netbsd32_msghdr *mhp32, struct msghdr *mhp)
304 memset(mhp, 0, sizeof(*mhp));
305 mhp->msg_name = NETBSD32PTR64(mhp32->msg_name);
306 mhp->msg_namelen = mhp32->msg_namelen;
307 mhp->msg_iovlen = (size_t)mhp32->msg_iovlen;
308 mhp->msg_control = NETBSD32PTR64(mhp32->msg_control);
309 mhp->msg_controllen = mhp32->msg_controllen;
310 mhp->msg_flags = mhp32->msg_flags;
315 netbsd32_from_msghdr(struct netbsd32_msghdr *mhp32, const struct msghdr *mhp)
    [all...]
  /src/sys/arch/atari/atari/
bus.c 213 bus_space_handle_t *mhp)
226 error = bus_mem_add_mapping(t, bpa, size, flags, mhp);
359 bus_size_t off, bus_size_t sz, bus_space_handle_t *mhp)
362 *mhp = memh + off;

Completed in 52 milliseconds