Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/libsyscall/wrappers/
H A Dselect-base.c72 struct timeval tb, *timeout; in select() local
78 tb.tv_sec = 0; in select()
79 tb.tv_usec = 10000; in select()
80 timeout = &tb; in select()
156 struct timespec tb; in pselect() local
163 tb.tv_sec = 0; in pselect()
164 tb.tv_nsec = 10000000L; in pselect()
165 timeout = &tb; in pselect()
/xnu-11215/tools/tests/kernpost_test_report/
H A Dkernpost_test_report.lua62 local function convert_time(raw_time, tb)
63 local time_secs = raw_time * tb.numer / tb.denom / 1e9
85 local tb = config.mach_timebase_info
86 info_tbl.result_started = convert_time(test_data.begin_time, tb)
89 info_tbl.result_finished = convert_time(test_data.end_time, tb)
/xnu-11215/tools/lldbmacros/
H A Dmisc.py528 tb = rtc.rtc_timebase_const
529 return int(tb.numer), int(tb.denom)
H A Dxnu.py134 …tb = traceback.TracebackException.from_exception(exc, limit=None, lookup_lines=True, capture_local…
136 for frame in tb.stack:
H A Dkcdata.py1534 def GetSecondsFromMATime(mat, tb): argument
1535 return (float(long(mat) * tb['numer']) / tb['denom']) / 1e9
/xnu-11215/bsd/skywalk/packet/
H A Dpacket_copy.c1994 static uint8_t tb[TRAILERS_MAX]; /* random trailing bytes */ variable
2010 if (extra == 0 || extra > sizeof(tb) || in pkt_add_trailers()
2017 read_frandom(&tb[0], sizeof(tb)); in pkt_add_trailers()
2021 bcopy(&tb[0], (baddr + len), extra); in pkt_add_trailers()
2038 if (extra == 0 || extra > sizeof(tb)) { in pkt_add_trailers_mbuf()
2042 if (mbuf_copyback(m, m_pktlen(m), extra, &tb[0], M_NOWAIT) != 0) { in pkt_add_trailers_mbuf()
2048 read_frandom(&tb[0], sizeof(tb)); in pkt_add_trailers_mbuf()
/xnu-11215/bsd/dev/i386/
H A Dcpu_copy_in_cksum.s78 #define tb %r9b macro
516 mov tb, (dst)
/xnu-11215/bsd/net/classq/
H A Dclassq_subr.c200 struct tb_profile tb = in ifclassq_teardown() local
202 (void) ifclassq_tbr_set(ifq, &tb, FALSE); in ifclassq_teardown()
/xnu-11215/bsd/net/
H A Dif.c2023 struct tb_profile tb = { .rate = 0, .percent = 0, .depth = 0 }; in ifioctl_linkparams() local
2067 bcopy(&iflpr->iflpr_output_tbr_rate, &tb.rate, in ifioctl_linkparams()
2068 sizeof(tb.rate)); in ifioctl_linkparams()
2069 bcopy(&iflpr->iflpr_output_tbr_percent, &tb.percent, in ifioctl_linkparams()
2070 sizeof(tb.percent)); in ifioctl_linkparams()
2071 error = ifclassq_tbr_set(ifq, &tb, TRUE); in ifioctl_linkparams()
H A Ddlil.c4686 struct tb_profile tb = { in ifnet_update_sndq() local
4690 (void) ifclassq_tbr_set(ifq, &tb, FALSE); in ifnet_update_sndq()
/xnu-11215/tests/
H A Dstackshot_tests.m2474 mach_timebase_info_data_t *tb = kcdata_iter_payload(iter);
2475 memcpy(&timebase, tb, sizeof(timebase));