Home
last modified time | relevance | path

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

/freebsd/sys/netpfil/ipfw/
H A Dip_fw_table_value.c129 struct table_value **ptv, struct namedobj_instance **pvi) in get_value_ptrs() argument
143 if (ptv != NULL) in get_value_ptrs()
144 *ptv = pval; in get_value_ptrs()
156 struct table_val_link *ptv; in update_tvalue() local
160 ptv = (struct table_val_link *)no; in update_tvalue()
163 ptv->pval = &pval[ptv->no.kidx]; in update_tvalue()
164 ptv->no.name = (char *)&pval[ptv->no.kidx]; in update_tvalue()
429 struct table_val_link *ptv; in ipfw_link_table_values() local
447 ptv = (struct table_val_link *)ipfw_objhash_lookup_name(vi, 0, in ipfw_link_table_values()
449 if (ptv == NULL) in ipfw_link_table_values()
[all …]
H A Dip_fw_table.h81 void *ptv; /* Temporary field to hold obj */ member
H A Dip_fw_table.c388 if (ptei->ptv != NULL) { in flush_batch_buffer()
389 free(ptei->ptv, M_IPFW); in flush_batch_buffer()
390 ptei->ptv = NULL; in flush_batch_buffer()
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_dtsec.c181 iowrite32be(tmp, &regs->ptv); in fman_dtsec_init()
656 uint32_t ptv = 0; in fman_dtsec_set_tx_pause_frames() local
661 ptv = ioread32be(&regs->ptv); in fman_dtsec_set_tx_pause_frames()
662 ptv &= 0xffff0000; in fman_dtsec_set_tx_pause_frames()
663 ptv |= time & 0x0000ffff; in fman_dtsec_set_tx_pause_frames()
664 iowrite32be(ptv, &regs->ptv); in fman_dtsec_set_tx_pause_frames()
/freebsd/sys/arm/ti/
H A Dti_wdt.c236 uint32_t ptv; in ti_wdt_event() local
260 ptv = 0; in ti_wdt_event()
261 wldr = 0xffffffff - (s * (32768 / (1 << ptv))) + 1; in ti_wdt_event()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_reactor.c254 struct timeval tv, *ptv; in poll_two_fds() local
316 ptv = NULL; in poll_two_fds()
325 ptv = &tv; in poll_two_fds()
328 pres = select(maxfd + 1, &rfd_set, &wfd_set, &efd_set, ptv); in poll_two_fds()
/freebsd/contrib/pf/libevent/
H A 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()
H A Devent.h334 struct timeval *ptv);
/freebsd/contrib/tnftp/src/
H A Dutil.c1489 struct timeval tv, *ptv; in ftp_poll()
1511 ptv = &tv; /* determine timeout */ in ftp_poll()
1513 ptv = NULL; in ftp_poll()
1515 ptv->tv_sec = 0; in ftp_poll()
1516 ptv->tv_usec = 0; in ftp_poll()
1519 ptv->tv_sec = timeout / 1000; in ftp_poll()
1520 ptv->tv_usec = (timeout % 1000) * 1000; in ftp_poll()
1522 rv = select(max + 1, &rset, &wset, &xset, ptv); in ftp_poll()
/freebsd/contrib/ntp/libntp/
H A Dsystime.c597 const struct timeval * ptv in tv_fmt_libbuf()
605 secs = time_to_vint64(&ptv->tv_sec); in tv_fmt_libbuf()
613 (u_int)ptv->tv_usec); in tv_fmt_libbuf()
598 tv_fmt_libbuf(const struct timeval * ptv) tv_fmt_libbuf() argument
/freebsd/contrib/ntp/sntp/libevent/
H A Devent_tagging.c585 struct timeval *ptv) in evtag_unmarshal_timeval() argument
598 ptv->tv_sec = integer; in evtag_unmarshal_timeval()
601 ptv->tv_usec = integer; in evtag_unmarshal_timeval()
/freebsd/contrib/libevent/
H A Devent_tagging.c585 struct timeval *ptv) in evtag_unmarshal_timeval() argument
598 ptv->tv_sec = integer; in evtag_unmarshal_timeval()
601 ptv->tv_usec = integer; in evtag_unmarshal_timeval()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dtag.h140 struct timeval *ptv);
/freebsd/contrib/libevent/include/event2/
H A Dtag.h140 struct timeval *ptv);
/freebsd/contrib/ntp/ntpd/
H A Dntp_io.c3469 struct timeval ptv; local
3470 memcpy(&ptv, CMSG_DATA(cmsghdr), sizeof(ptv));
3473 ticks = (unsigned long)((ptv.tv_usec * 1e-6) /
3475 ptv.tv_usec = (long)(ticks * 1e6 *
3479 (intmax_t)ptv.tv_sec, (long)ptv.tv_usec));
3480 nts = tval_stamp_to_lfp(ptv);
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_dtsec.h413 uint32_t ptv; /* 0x018 Pause time value register */ member
/freebsd/sys/dev/ocs_fc/
H A Dsli4.c872 sli4->config.topology, sli4->config.ptv, sli4->config.tf, sli4->config.pt); in sli_cmd_init_link()
873 if (sli4->config.ptv) in sli_cmd_init_link()
3765 sli4->config.ptv = read_config->ptv; in sli_get_config()
3766 if (sli4->config.ptv){ in sli_get_config()
3771 sli4->config.topology, sli4->config.ptv, sli4->config.tf, sli4->config.pt); in sli_get_config()
4214 return (sli4->config.ptv); in sli_persist_topology_enabled()
H A Dsli4.h798 ptv:1,
3245 ptv:1, member
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h8098 uint32_t ptv = cl_ntoh32(prod_type_val); in ib_notice_set_prod_type() local
8100 cl_hton16((uint16_t) (ptv & 0x0000ffff)); in ib_notice_set_prod_type()
8102 (uint8_t) ((ptv & 0x00ff0000) >> 16); in ib_notice_set_prod_type()