Home
last modified time | relevance | path

Searched refs:ptv (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/contrib/pf/libevent/
Devbuffer.c56 struct timeval tv, *ptv = NULL; in bufferevent_add() local
61 ptv = &tv; in bufferevent_add()
64 return (event_add(ev, ptv)); in bufferevent_add()
Devent.h335 struct timeval *ptv);
/freebsd-9-stable/contrib/tnftp/src/
Dutil.c1475 struct timeval tv, *ptv; in ftp_poll()
1497 ptv = &tv; /* determine timeout */ in ftp_poll()
1499 ptv = NULL; in ftp_poll()
1501 ptv->tv_sec = 0; in ftp_poll()
1502 ptv->tv_usec = 0; in ftp_poll()
1505 ptv->tv_sec = timeout / 1000; in ftp_poll()
1506 ptv->tv_usec = (timeout % 1000) * 1000; in ftp_poll()
1508 rv = select(max + 1, &rset, &wset, &xset, ptv); in ftp_poll()
/freebsd-9-stable/contrib/ntp/sntp/libevent/
Devent_tagging.c580 struct timeval *ptv) in evtag_unmarshal_timeval() argument
593 ptv->tv_sec = integer; in evtag_unmarshal_timeval()
596 ptv->tv_usec = integer; in evtag_unmarshal_timeval()
/freebsd-9-stable/contrib/ntp/sntp/libevent/include/event2/
Dtag.h140 struct timeval *ptv);
/freebsd-9-stable/contrib/ntp/ntpd/
Dntp_io.c3353 struct timeval ptv; local
3354 memcpy(&ptv, CMSG_DATA(cmsghdr), sizeof(ptv));
3357 ticks = (unsigned long)((ptv.tv_usec * 1e-6) /
3359 ptv.tv_usec = (long)(ticks * 1e6 *
3363 (intmax_t)ptv.tv_sec, (long)ptv.tv_usec));
3364 nts = tval_stamp_to_lfp(ptv);
/freebsd-9-stable/contrib/ofed/management/opensm/include/iba/
Dib_types.h7321 uint32_t ptv = cl_ntoh32(prod_type_val); in ib_notice_set_prod_type() local
7323 cl_hton16((uint16_t) (ptv & 0x0000ffff)); in ib_notice_set_prod_type()
7325 (uint8_t) ((ptv & 0x00ff0000) >> 16); in ib_notice_set_prod_type()