Searched refs:bt (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-13-stable/tools/regression/sockets/unix_cmsg/
H A Duc_check_time.h33 int uc_check_bintime(const struct bintime *bt);
34 int uc_check_timeval(const struct timeval *bt);
35 int uc_check_timespec_real(const struct timespec *bt);
36 int uc_check_timespec_mono(const struct timespec *bt);
H A Duc_check_time.c41 struct timespec bt; local
43 bintime2timespec(mt, &bt);
44 return (uc_check_timespec_real(&bt));
48 uc_check_timeval(const struct timeval *bt) argument
54 timersub(&ct, bt, &dt);
62 uc_check_timespec_real(const struct timespec *bt) argument
68 timespecsub(&ct, bt, &ct);
76 uc_check_timespec_mono(const struct timespec *bt) argument
82 timespecsub(&ct, bt, &ct);
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/btree_test/
H A Dbtree_test.c88 verify_contents(avl_tree_t *avl, zfs_btree_t *bt) argument
98 ASSERT3U(avl_numnodes(avl), ==, zfs_btree_numnodes(bt));
101 data = zfs_btree_first(bt, &bt_idx);
104 data = zfs_btree_last(bt, &bt_idx);
110 data = zfs_btree_next(bt, &bt_idx, &bt_idx);
113 data = zfs_btree_prev(bt, &bt_idx, &bt_idx);
120 verify_node(avl_tree_t *avl, zfs_btree_t *bt, int_node_t *node) argument
128 ASSERT3U(avl_numnodes(avl), ==, zfs_btree_numnodes(bt));
129 ASSERT3P((rv = (uint64_t *)zfs_btree_find(bt, &data, &bt_idx)), !=,
132 ASSERT3P(zfs_btree_get(bt,
160 find_without_index(zfs_btree_t *bt, char *why) argument
184 insert_find_remove(zfs_btree_t *bt, char *why) argument
219 drain_tree(zfs_btree_t *bt, char *why) argument
295 stress_tree(zfs_btree_t *bt, char *why) argument
377 insert_duplicate(zfs_btree_t *bt) argument
403 remove_missing(zfs_btree_t *bt) argument
420 do_negative_test(zfs_btree_t *bt, char *test_name) argument
459 zfs_btree_t bt; local
[all...]
/freebsd-13-stable/sys/kern/
H A Dkern_ffclock.c71 ffclock_abstime(ffcounter *ffcount, struct bintime *bt, argument
81 ffclock_last_tick(&ffc, bt, flags);
84 ffclock_convert_abs(ffc, bt, flags);
99 bt->sec -= cest.leapsec_total;
101 bt->sec -= cest.leapsec;
106 bintime_sub(bt, &ffclock_boottime);
132 ffclock_difftime(ffcounter ffdelta, struct bintime *bt, argument
138 ffclock_convert_diff(ffdelta, bt);
249 ffclock_bintime(struct bintime *bt) argument
252 ffclock_abstime(NULL, bt, NUL
258 struct bintime bt; local
267 struct bintime bt; local
274 ffclock_getbintime(struct bintime *bt) argument
284 struct bintime bt; local
294 struct bintime bt; local
302 ffclock_binuptime(struct bintime *bt) argument
311 struct bintime bt; local
320 struct bintime bt; local
327 ffclock_getbinuptime(struct bintime *bt) argument
337 struct bintime bt; local
347 struct bintime bt; local
355 ffclock_bindifftime(ffcounter ffdelta, struct bintime *bt) argument
364 struct bintime bt; local
373 struct bintime bt; local
[all...]
H A Dsubr_vmem.c179 #define BT_ISSPAN_P(bt) ((bt)->bt_type <= BT_TYPE_SPAN_STATIC)
181 #define BT_END(bt) ((bt)->bt_start + (bt)->bt_size - 1)
253 bt_isbusy(bt_t *bt) argument
255 return (bt->bt_type == BT_TYPE_BUSY);
259 bt_isfree(bt_t *bt) argument
261 return (bt->bt_type == BT_TYPE_FREE);
272 bt_t *bt; local
324 bt_t *bt; local
343 bt_t *bt; local
361 bt_free(vmem_t *vm, bt_t *bt) argument
460 bt_t *bt; local
474 bt_rembusy(vmem_t *vm, bt_t *bt) argument
485 bt_insbusy(vmem_t *vm, bt_t *bt) argument
501 bt_remseg(vmem_t *vm, bt_t *bt) argument
510 bt_insseg(vmem_t *vm, bt_t *bt, bt_t *prev) argument
517 bt_insseg_tail(vmem_t *vm, bt_t *bt) argument
524 bt_remfree(vmem_t *vm __unused, bt_t *bt) argument
533 bt_insfree(vmem_t *vm, bt_t *bt) argument
732 bt_t *bt; local
879 bt_t *bt; local
946 vmem_fit(const bt_t *bt, vmem_size_t size, vmem_size_t align, vmem_size_t phase, vmem_size_t nocross, vmem_addr_t minaddr, vmem_addr_t maxaddr, vmem_addr_t *addrp) argument
996 vmem_clip(vmem_t *vm, bt_t *bt, vmem_addr_t start, vmem_size_t size) argument
1079 vmem_try_release(vmem_t *vm, struct vmem_btag *bt, const bool remfree) argument
1117 struct vmem_btag *bt, *cursor, *next, *prev; local
1364 bt_t *bt; local
1482 bt_t *bt; local
1601 bt_dump(const bt_t *bt, int (*pr)(const char *, ...)) argument
1612 const bt_t *bt; local
1642 bt_t *bt; local
1662 bt_t *bt; local
1715 const bt_t *bt; local
1773 const bt_t *bt, *bt2; local
[all...]
H A Dkern_tc.c215 bintime_off(struct bintime *bt, u_int off) argument
226 *bt = *btp;
236 bt->sec += x >> 32;
237 bintime_addx(bt, x << 32);
238 bintime_addx(bt, (scale & 0xffffffff) * delta);
240 bintime_addx(bt, scale * delta);
276 fbclock_binuptime(struct bintime *bt) argument
279 GETTHBINTIME(bt, th_offset);
285 struct bintime bt; local
287 fbclock_binuptime(&bt);
294 struct bintime bt; local
301 fbclock_bintime(struct bintime *bt) argument
310 struct bintime bt; local
319 struct bintime bt; local
326 fbclock_getbinuptime(struct bintime *bt) argument
335 struct bintime bt; local
344 struct bintime bt; local
351 fbclock_getbintime(struct bintime *bt) argument
373 binuptime(struct bintime *bt) argument
382 struct bintime bt; local
391 struct bintime bt; local
398 bintime(struct bintime *bt) argument
407 struct bintime bt; local
416 struct bintime bt; local
423 getbinuptime(struct bintime *bt) argument
432 struct bintime bt; local
441 struct bintime bt; local
448 getbintime(struct bintime *bt) argument
578 ffclock_convert_delta(ffcounter ffdelta, uint64_t period, struct bintime *bt) argument
611 struct bintime bt, gap_lerp; local
796 ffclock_last_tick(ffcounter *ffcount, struct bintime *bt, uint32_t flags) argument
824 ffclock_convert_abs(ffcounter ffcount, struct bintime *bt, uint32_t flags) argument
865 ffclock_convert_diff(ffcounter ffdelta, struct bintime *bt) argument
905 binuptime(struct bintime *bt) argument
926 bintime(struct bintime *bt) argument
947 getbinuptime(struct bintime *bt) argument
968 getbintime(struct bintime *bt) argument
1010 struct bintime bt; local
1035 struct bintime bt; local
1105 sysclock_snap2bintime(struct sysclock_snap *cs, struct bintime *bt, int whichclock, uint32_t flags) argument
1273 struct bintime bt, bt2; local
1307 struct bintime bt; local
1743 struct bintime bt; local
[all...]
H A Dkern_lockstat.c80 struct bintime bt; local
88 binuptime(&bt);
89 ns = bt.sec * (uint64_t)1000000000;
90 ns += ((uint64_t)1000000000 * (uint32_t)(bt.frac >> 32)) >> 32;
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_beacon.c46 ar5210SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
49 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt);
50 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba);
51 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba);
52 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim);
56 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
66 HAL_BEACON_TIMERS bt; local
68 bt.bt_nexttbtt = next_beacon;
71 bt.bt_nextdba = (next_beacon -
73 bt
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_beacon.c49 ar5211SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
52 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt);
53 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba);
54 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba);
55 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim);
59 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
69 HAL_BEACON_TIMERS bt; local
71 bt.bt_nexttbtt = next_beacon;
81 bt.bt_nextdba = 0xffff;
82 bt
[all...]
/freebsd-13-stable/sys/contrib/openzfs/contrib/bpftrace/
H A DMakefile.am4 taskqlatency.bt \
/freebsd-13-stable/lib/libc/sys/
H A D__vdso_gettimeofday.c62 binuptime(struct bintime *bt, struct vdso_timekeep *tk, int abs) argument
77 *bt = th->th_offset;
92 bt->sec += x >> 32;
93 bintime_addx(bt, x << 32);
95 bintime_addx(bt, scale * delta);
97 bintime_add(bt, &th->th_boottime);
114 struct bintime bt; local
126 error = binuptime(&bt, tk, 1);
129 bintime2timeval(&bt, tv);
137 struct bintime bt; local
[all...]
/freebsd-13-stable/sys/sys/
H A Dtimeffc.h153 int sysclock_snap2bintime(struct sysclock_snap *cs, struct bintime *bt,
170 void ffclock_last_tick(ffcounter *ffcount, struct bintime *bt, uint32_t flags);
177 void ffclock_convert_abs(ffcounter ffcount, struct bintime *bt, uint32_t flags);
178 void ffclock_convert_diff(ffcounter ffdelta, struct bintime *bt);
198 void ffclock_abstime(ffcounter *ffcount, struct bintime *bt,
200 void ffclock_difftime(ffcounter ffdelta, struct bintime *bt,
208 void ffclock_bintime(struct bintime *bt);
212 void ffclock_getbintime(struct bintime *bt);
216 void ffclock_binuptime(struct bintime *bt);
220 void ffclock_getbinuptime(struct bintime *bt);
261 bintime_fromclock(struct bintime *bt, int whichclock) argument
291 getbintime_fromclock(struct bintime *bt, int whichclock) argument
321 binuptime_fromclock(struct bintime *bt, int whichclock) argument
351 getbinuptime_fromclock(struct bintime *bt, int whichclock) argument
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dbptree.c64 bptree_phys_t *bt; local
76 bt = db->db_data;
77 bt->bt_begin = 0;
78 bt->bt_end = 0;
79 bt->bt_bytes = 0;
80 bt->bt_comp = 0;
81 bt->bt_uncomp = 0;
91 bptree_phys_t *bt; local
94 bt = db->db_data;
95 ASSERT3U(bt
108 bptree_phys_t *bt; local
123 bptree_phys_t *bt; local
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_beacon.c48 ar5416SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
53 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bt->bt_nexttbtt));
54 OS_REG_WRITE(ah, AR_NEXT_DBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextdba));
55 OS_REG_WRITE(ah, AR_NEXT_SWBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextswba));
56 OS_REG_WRITE(ah, AR_NEXT_NDP, TU_TO_USEC(bt->bt_nextatim));
58 bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD);
59 ahp->ah_beaconInterval = bt->bt_intval & HAL_BEACON_PERIOD;
68 if (bt->bt_intval & AR_BEACON_RESET_TSF)
74 bt->bt_flags != 0 ? bt
87 HAL_BEACON_TIMERS bt; local
[all...]
/freebsd-13-stable/sys/contrib/ngatm/netnatm/msg/
H A Dtraffic.c78 u_int ft, bt, be, ftag, btag; local
193 bt = traffic->h.present & bmask;
233 if (bt != UNI_TRAFFIC_BPCR1_P)
252 if (bt == UNI_TRAFFIC_BPCR0_P) {
255 } else if (bt == bcbr3) {
270 if (bt != bvbr16)
288 if (bt == bvbr23) {
293 } else if (bt == bvbr16) {
317 if (bt == bvbr23) {
322 } else if (bt
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_beacon.c47 ar5212SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
59 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt & 0xffff);
60 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba & 0x7ffff);
61 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba & 0x1ffffff);
63 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim & 0xffff);
67 if (bt->bt_intval & AR_BEACON_RESET_TSF) {
79 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
80 ahp->ah_beaconInterval = (bt->bt_intval & HAL_BEACON_PERIOD);
93 HAL_BEACON_TIMERS bt; local
95 bt
[all...]
/freebsd-13-stable/sys/arm/include/
H A Dcpu.h45 struct bintime bt;
47 binuptime(&bt);
48 return ((uint64_t)bt.sec << 56 | bt.frac >> 8);
/freebsd-13-stable/sbin/ddb/
H A Dddb.conf12 script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; textdump dump; reset
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_barrier.cpp47 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid,
51 kmp_bstate_t *thr_bar = &this_thr->th.th_bar[bt].bb;
57 gtid, team->t.t_id, tid, bt));
84 kmp_balign_team_t *team_bar = &team->t.t_bar[bt];
95 KMP_CACHE_PREFETCH(&other_threads[i + 1]->th.th_bar[bt].bb.b_arrived);
101 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state));
104 kmp_flag_64 flag(&other_threads[i]->th.th_bar[bt].bb.b_arrived,
148 gtid, team->t.t_id, tid, bt));
154 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid,
157 kmp_bstate_t *thr_bar = &this_thr->th.th_bar[bt]
46 __kmp_linear_barrier_gather_template( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
153 __kmp_linear_barrier_release_template( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
264 __kmp_linear_barrier_gather( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
271 __kmp_linear_barrier_gather_cancellable( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
278 __kmp_linear_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
285 __kmp_linear_barrier_release_cancellable( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
294 __kmp_tree_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
405 __kmp_tree_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
514 __kmp_hyper_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
638 __kmp_hyper_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
805 __kmp_init_hierarchical_barrier_thread(enum barrier_type bt, kmp_bstate_t *thr_bar, kmp_uint32 nproc, int gtid, int tid, kmp_team_t *team) argument
870 __kmp_hierarchical_barrier_gather( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
1050 __kmp_hierarchical_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument
1294 __kmp_barrier_template(enum barrier_type bt, int gtid, int is_split, size_t reduce_size, void *reduce_data, void (*reduce)(void *, void *)) argument
1597 __kmp_barrier(enum barrier_type bt, int gtid, int is_split, size_t reduce_size, void *reduce_data, void (*reduce)(void *, void *)) argument
1628 __kmp_end_split_barrier(enum barrier_type bt, int gtid) argument
[all...]
/freebsd-13-stable/sys/amd64/vmm/io/
H A Dvpmtmr.c66 struct bintime bt; local
72 FREQ2BT(PMTMR_FREQ, &bt);
73 vpmtmr->freq_sbt = bttosbt(bt);
/freebsd-13-stable/sys/dev/ath/
H A Dif_ath_tdma.c139 HAL_BEACON_TIMERS bt; local
141 bt.bt_intval = bintval | HAL_BEACON_ENA;
142 bt.bt_nexttbtt = nexttbtt;
143 bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep;
144 bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep;
145 bt.bt_nextatim = nexttbtt+1;
147 bt.bt_flags = 0;
152 bt.bt_intval,
153 bt.bt_intval,
154 bt
[all...]
/freebsd-13-stable/usr.bin/unifdef/
H A Dunifdef.c917 static Linetype op_strict(long *p, long v, Linetype at, Linetype bt) { argument
918 if(at == LT_IF || bt == LT_IF) return (LT_IF);
921 static Linetype op_lt(long *p, Linetype at, long a, Linetype bt, long b) { argument
922 return op_strict(p, a < b, at, bt);
924 static Linetype op_gt(long *p, Linetype at, long a, Linetype bt, long b) { argument
925 return op_strict(p, a > b, at, bt);
927 static Linetype op_le(long *p, Linetype at, long a, Linetype bt, long b) { argument
928 return op_strict(p, a <= b, at, bt);
930 static Linetype op_ge(long *p, Linetype at, long a, Linetype bt, long b) { argument
931 return op_strict(p, a >= b, at, bt);
933 op_eq(long *p, Linetype at, long a, Linetype bt, long b) argument
936 op_ne(long *p, Linetype at, long a, Linetype bt, long b) argument
939 op_or(long *p, Linetype at, long a, Linetype bt, long b) argument
944 op_and(long *p, Linetype at, long a, Linetype bt, long b) argument
949 op_blsh(long *p, Linetype at, long a, Linetype bt, long b) argument
952 op_brsh(long *p, Linetype at, long a, Linetype bt, long b) argument
955 op_add(long *p, Linetype at, long a, Linetype bt, long b) argument
958 op_sub(long *p, Linetype at, long a, Linetype bt, long b) argument
961 op_mul(long *p, Linetype at, long a, Linetype bt, long b) argument
964 op_div(long *p, Linetype at, long a, Linetype bt, long b) argument
971 op_mod(long *p, Linetype at, long a, Linetype bt, long b) argument
974 op_bor(long *p, Linetype at, long a, Linetype bt, long b) argument
977 op_bxor(long *p, Linetype at, long a, Linetype bt, long b) argument
980 op_band(long *p, Linetype at, long a, Linetype bt, long b) argument
[all...]
/freebsd-13-stable/crypto/openssl/crypto/
H A Dx86cpuid.pl35 &bt ("ecx",21);
84 &bt ("edx",28);
118 &bt ("edx",28); # test hyper-threading bit
145 &bt ("ebp",27); # check OSXSAVE bit
172 &bt (&DWP(0,"ecx"),4);
184 &bt (&DWP(0,"ecx"),4);
193 &bt ("eax",9);
224 &bt ("eax",9);
254 &bt (&DWP(0,"ecx"),1);
363 &bt (
[all...]
/freebsd-13-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dprof_structs.h18 prof_bt_t *bt; member in struct:__anon910
128 prof_bt_t bt; member in struct:prof_gctx_s
130 /* Backtrace vector, variable size, referred to by bt. */
/freebsd-13-stable/contrib/sendmail/src/
H A Dmime.c111 int bt; local
325 bt = MBT_FINAL;
329 bt = mimeboundary(buf, boundaries);
330 if (bt != MBT_NOTSEP)
339 bt = MBT_FINAL;
340 while (bt != MBT_FINAL)
356 bt = mime8to7(mci, hdr, e, boundaries, flags,
358 if (bt == SM_IO_EOF)
373 bt = mimeboundary(buf, boundaries);
374 if (bt !
754 static int bt = MBT_SYNTAX; /* boundary type of next SM_IO_EOF */ local
[all...]

Completed in 244 milliseconds

12345