Lines Matching defs:tomax
362 #define DTRACE_STORE(type, tomax, offset, what) \
363 *((type *)((uintptr_t)(tomax) + (uintptr_t)offset)) = (type)(what);
2300 caddr_t tomax, data, kdata;
2327 if ((tomax = buf->dtb_tomax) == NULL) {
2335 agb = (dtrace_aggbuffer_t *)(tomax + buf->dtb_size -
2348 (uintptr_t)tomax || hashsize == 0) {
2413 ASSERT((caddr_t)key >= tomax);
2414 ASSERT((caddr_t)key < tomax + buf->dtb_size);
2420 ASSERT(kdata >= tomax && kdata < tomax + buf->dtb_size);
2474 if ((uintptr_t)tomax + offs + fsize >
2485 key->dtak_data = kdata = tomax + offs;
6634 dtrace_store_by_ref(dtrace_difo_t *dp, caddr_t tomax, size_t size,
6663 DTRACE_STORE(uint8_t, tomax, valoffs++, c);
6681 DTRACE_STORE(uint8_t, tomax,
6771 caddr_t tomax;
6861 tomax = buf->dtb_tomax;
6862 ASSERT(tomax != NULL);
6874 *((dtrace_rechdr_t *)(tomax + offs)) = dtrh;
6960 dtrace_getpcstack((pc_t *)(tomax + valoffs),
6980 dtrace_bzero((void *)(tomax + valoffs),
6997 (uint64_t *)(tomax + valoffs),
7011 uint64_t *buf = (uint64_t *)(tomax +
7021 (tomax + valoffs),
7060 tomax = buf->dtb_tomax;
7061 ASSERT(tomax != NULL);
7068 dtrh = ((void *)(tomax + offs));
7136 DTRACE_STORE(uint64_t, tomax,
7138 DTRACE_STORE(uint64_t, tomax,
7197 dtrace_store_by_ref(dp, tomax, size, &valoffs,
7209 DTRACE_STORE(uint8_t, tomax, valoffs, val);
7212 DTRACE_STORE(uint16_t, tomax, valoffs, val);
7215 DTRACE_STORE(uint32_t, tomax, valoffs, val);
7218 DTRACE_STORE(uint64_t, tomax, valoffs, val);
11266 caddr_t tomax = buf->dtb_tomax;
11277 buf->dtb_xamot = tomax;
11432 caddr_t tomax;
11438 if ((tomax = buf->dtb_tomax) == NULL) {
11451 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
11463 mstate->dtms_scratch_base = (uintptr_t)tomax + soffs;
11527 tomax[offs++] = 0;
11564 dtrace_epid_t epid = *(uint32_t *)(tomax + woffs);
11606 tomax[woffs++] = 0;
11634 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);