/freebsd/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_mapped_section.h | 65 static inline void pt_msec_init(struct pt_mapped_section *msec, in pt_msec_init() argument 70 if (!msec) in pt_msec_init() 73 msec->section = section; in pt_msec_init() 74 msec->vaddr = vaddr; in pt_msec_init() 75 msec->offset = offset; in pt_msec_init() 76 msec->size = size; in pt_msec_init() 79 msec->asid = *asid; in pt_msec_init() 81 pt_asid_init(&msec->asid); in pt_msec_init() 85 static inline void pt_msec_fini(struct pt_mapped_section *msec) in pt_msec_fini() argument 87 (void) msec; in pt_msec_fini() [all …]
|
H A D | pt_image.h | 122 extern int pt_image_find(struct pt_image *image, struct pt_mapped_section *msec, 137 const struct pt_mapped_section *msec,
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-mapped_section.c | 38 struct pt_mapped_section msec; in begin() local 42 pt_msec_init(&msec, &sec, NULL, 0x2000ull, 0x100ull, 0x1000ull); in begin() 44 begin = pt_msec_begin(&msec); in begin() 52 struct pt_mapped_section msec; in end() local 56 pt_msec_init(&msec, &sec, NULL, 0x2000ull, 0x100ull, 0x1000ull); in end() 58 end = pt_msec_end(&msec); in end() 66 struct pt_mapped_section msec; in offset() local 70 pt_msec_init(&msec, &sec, NULL, 0x2000ull, 0x100ull, 0x1000ull); in offset() 72 offset = pt_msec_offset(&msec); in offset() 80 struct pt_mapped_section msec; in size() local [all …]
|
H A D | ptunit-msec_cache.c | 118 int pt_image_validate(struct pt_image *image, struct pt_mapped_section *msec, in pt_image_validate() argument 126 if (!image || !msec) in pt_image_validate() 133 if (section != msec->section) in pt_image_validate() 139 int pt_image_find(struct pt_image *image, struct pt_mapped_section *msec, in pt_image_find() argument 146 if (!image || !msec || !asid) in pt_image_find() 153 if (msec->section) in pt_image_find() 156 msec->section = section; in pt_image_find() 206 const struct pt_mapped_section *msec; in read_null() local 211 status = pt_msec_cache_read(NULL, &msec, &image, 0ull); in read_null() 217 status = pt_msec_cache_read(&mcache, &msec, NULL, 0ull); in read_null() [all …]
|
H A D | ptunit-image.c | 1904 struct pt_mapped_section msec; in find_null() local 1907 status = pt_image_find(NULL, &msec, &ifix->asid[0], in find_null() 1915 status = pt_image_find(&ifix->image, &msec, NULL, 0x1000ull); in find_null() 1923 struct pt_mapped_section msec; in find() local 1926 status = pt_image_find(&ifix->image, &msec, &ifix->asid[1], 0x2003ull); in find() 1928 ptu_ptr_eq(msec.section, &ifix->section[1]); in find() 1929 ptu_uint_eq(msec.vaddr, 0x2000ull); in find() 1931 status = pt_section_put(msec.section); in find() 1939 struct pt_mapped_section msec; in find_asid() local 1950 status = pt_image_find(&ifix->image, &msec, &ifix->asid[0], 0x1009ull); in find_asid() [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_msec_cache.c | 52 pt_msec_fini(&cache->msec); in pt_msec_cache_fini() 63 section = pt_msec_section(&cache->msec); in pt_msec_cache_invalidate() 71 cache->msec.section = NULL; in pt_msec_cache_invalidate() 80 struct pt_mapped_section *msec; in pt_msec_cache_read() local 86 msec = &cache->msec; in pt_msec_cache_read() 89 errcode = pt_image_validate(image, msec, vaddr, isid); in pt_msec_cache_read() 93 *pmsec = msec; in pt_msec_cache_read() 104 struct pt_mapped_section *msec; in pt_msec_cache_fill() local 115 msec = &cache->msec; in pt_msec_cache_fill() 117 isid = pt_image_find(image, msec, asid, vaddr); in pt_msec_cache_fill() [all …]
|
H A D | pt_image.c | 179 const struct pt_mapped_section *msec; in pt_image_add() local 186 msec = ¤t->section; in pt_image_add() 187 masid = pt_msec_asid(msec); in pt_image_add() 198 lbegin = pt_msec_begin(msec); in pt_image_add() 199 lend = pt_msec_end(msec); in pt_image_add() 207 lsec = pt_msec_section(msec); in pt_image_add() 208 loff = pt_msec_offset(msec); in pt_image_add() 276 struct pt_mapped_section *msec; in pt_image_remove() local 284 msec = &trash->section; in pt_image_remove() 285 masid = pt_msec_asid(msec); in pt_image_remove() [all …]
|
H A D | pt_block_decoder.c | 675 const struct pt_mapped_section *msec) in pt_blk_decode_in_section() argument 686 status = pt_msec_read(msec, insn->raw, sizeof(insn->raw), insn->ip); in pt_blk_decode_in_section() 1686 static inline int pt_blk_is_in_section(const struct pt_mapped_section *msec, in pt_blk_is_in_section() argument 1691 begin = pt_msec_begin(msec); in pt_blk_is_in_section() 1692 end = pt_msec_end(msec); in pt_blk_is_in_section() 1778 const struct pt_mapped_section *msec, in pt_blk_proceed_no_event_fill_cache() argument 1800 ioff = pt_msec_unmap(msec, insn.ip); in pt_blk_proceed_no_event_fill_cache() 1876 noff = pt_msec_unmap(msec, nip); in pt_blk_proceed_no_event_fill_cache() 1950 if (!pt_blk_is_in_section(msec, nip) || block->truncated) in pt_blk_proceed_no_event_fill_cache() 1982 bcache, msec, in pt_blk_proceed_no_event_fill_cache() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | prettydate.c | 166 u_int msec; in common_prettydate() 179 msec = ts->l_uf / 4294967; /* fract / (2 ** 32 / 1000) */ in common_prettydate() 180 if (msec >= 1000u) { in common_prettydate() 181 msec -= 1000u; in common_prettydate() 197 jd.minute, jd.second, msec); in common_prettydate() 203 tm->tm_min, tm->tm_sec, msec); in common_prettydate() 167 u_int msec; common_prettydate() local
|
H A D | uglydate.c | 22 long msec; in uglydate() 28 msec = ts->l_uf / 4294967; /* fract / (2**32/1000) */ in uglydate() 47 msec); in uglydate() 23 long msec; uglydate() local
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/rates/ |
H A D | tst.switchrate.d | 47 #pragma D option switchrate=10msec 52 tick-100msec 58 tick-100msec
|
H A D | tst.aggrate.d | 48 #pragma D option aggrate=10msec 53 tick-100msec 59 tick-100msec
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.ring1.d | 53 tick-10msec 60 tick-10msec 66 tick-10msec
|
H A D | tst.ring3.d | 62 tick-10msec 68 tick-10msec 74 tick-10msec
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | jiffies.h | 72 msecs_to_jiffies(uint64_t msec) in msecs_to_jiffies() argument 76 if (msec > lkpi_msec2hz_max) in msecs_to_jiffies() 77 msec = lkpi_msec2hz_max; in msecs_to_jiffies() 78 result = howmany(msec * lkpi_msec2hz_rem, lkpi_msec2hz_div); in msecs_to_jiffies()
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | poll.c | 139 long msec = -1; in poll_dispatch() local 175 msec = evutil_tv_to_msec_(tv); in poll_dispatch() 176 if (msec < 0 || msec > INT_MAX) in poll_dispatch() 177 msec = INT_MAX; in poll_dispatch() 182 res = poll(event_set, nfds, msec); in poll_dispatch()
|
/freebsd/contrib/libevent/ |
H A D | poll.c | 139 long msec = -1; in poll_dispatch() local 175 msec = evutil_tv_to_msec_(tv); in poll_dispatch() 176 if (msec < 0 || msec > INT_MAX) in poll_dispatch() 177 msec = INT_MAX; in poll_dispatch() 182 res = poll(event_set, nfds, msec); in poll_dispatch()
|
/freebsd/usr.sbin/bluetooth/rtlbtfw/ |
H A D | rtlbt_hw.h | 72 #define RTLBT_MSEC2TS(msec) \ argument 74 .tv_sec = (msec) / 1000, \ 75 .tv_nsec = ((msec) % 1000) * 1000000 \
|
/freebsd/contrib/netbsd-tests/net/route/ |
H A D | t_route.sh | 236 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 252 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 268 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 286 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 311 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 326 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 342 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 360 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
H A D | t_change.sh | 129 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 148 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 196 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 215 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 263 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 282 recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
|
/freebsd/usr.sbin/bluetooth/iwmbtfw/ |
H A D | iwmbt_hw.h | 87 #define IWMBT_MSEC2TS(msec) \ 89 .tv_sec = (msec) / 1000, \ 90 .tv_nsec = ((msec) % 1000) * 1000000 \ 75 IWMBT_MSEC2TS(msec) global() argument
|
/freebsd/sys/contrib/device-tree/Bindings/iio/accel/ |
H A D | lis302.txt | 30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec 31 with step of 0.5 msec 32 - st,click-latency: click latency, from 0 to 255 msec with 33 step of 1 msec. 34 - st,click-window: click window, from 0 to 255 msec with 35 step of 1 msec.
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_datum.c | 142 int msec; /* miliseconds */ member 570 datum_pts->msec = 100*((datum_pts->retbuf[5] & 0xf0) >> 4) + in datum_pts_receive() 574 datum_pts->usec = 1000*datum_pts->msec; in datum_pts_receive() 583 datum_pts->msec); in datum_pts_receive() 777 datum_pts->msec, in datum_pts_receive()
|
/freebsd/sys/dev/iicbus/rtc/ |
H A D | rtc8583.c | 64 uint8_t msec, sec, min, hour, day, month; member 230 if (!validbcd(tregs.msec)) in rtc8583_gettime() 234 bct.nsec = bcd2bin(tregs.msec) * 10 * 1000 * 1000; in rtc8583_gettime() 261 tregs.msec = bin2bcd(ts->tv_nsec / (10 * 1000 * 1000)); in rtc8583_settime()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_context_os.h | 76 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC)) argument
|