Lines Matching refs:offs
2303 uintptr_t offs; in dtrace_aggregate() local
2466 offs = buf->dtb_offset; in dtrace_aggregate()
2467 while (offs & (align - 1)) in dtrace_aggregate()
2468 offs += sizeof (uint32_t); in dtrace_aggregate()
2474 if ((uintptr_t)tomax + offs + fsize > in dtrace_aggregate()
2485 key->dtak_data = kdata = tomax + offs; in dtrace_aggregate()
2486 buf->dtb_offset = offs + fsize; in dtrace_aggregate()
2598 intptr_t offs; in dtrace_speculation_commit() local
2668 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset, in dtrace_speculation_commit()
2710 daddr = (uintptr_t)dest->dtb_tomax + offs; in dtrace_speculation_commit()
2733 dest->dtb_offset = offs + src->dtb_offset; in dtrace_speculation_commit()
6528 int size, offs = 0, i, j; in dtrace_action_ustack() local
6578 if (offs >= strsize) in dtrace_action_ustack()
6591 str[offs++] = '\0'; in dtrace_action_ustack()
6596 str[offs++] = '\0'; in dtrace_action_ustack()
6605 for (j = 0; offs + j < strsize; j++) { in dtrace_action_ustack()
6606 if ((str[offs + j] = sym[j]) == '\0') in dtrace_action_ustack()
6612 offs += j + 1; in dtrace_action_ustack()
6615 if (offs >= strsize) { in dtrace_action_ustack()
6626 while (offs < strsize) in dtrace_action_ustack()
6627 str[offs++] = '\0'; in dtrace_action_ustack()
6705 intptr_t offs; in dtrace_probe() local
6857 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed, in dtrace_probe()
6874 *((dtrace_rechdr_t *)(tomax + offs)) = dtrh; in dtrace_probe()
6911 valoffs = offs + rec->dtrd_offset; in dtrace_probe()
6935 offs, aggbuf, v, val); in dtrace_probe()
7051 offs = dtrace_buffer_reserve(buf, in dtrace_probe()
7055 if (offs < 0) { in dtrace_probe()
7068 dtrh = ((void *)(tomax + offs)); in dtrace_probe()
7099 buf->dtb_offset = offs + ecb->dte_size; in dtrace_probe()
7281 buf->dtb_offset = offs + ecb->dte_size; in dtrace_probe()
8632 dtrace_probe_foreach(uintptr_t offs) in dtrace_probe_foreach() argument
8660 ((uintptr_t)&prov->dtpv_pops + offs)); in dtrace_probe_foreach()
11430 intptr_t offs = buf->dtb_offset, soffs; in dtrace_buffer_reserve() local
11444 while (offs & (align - 1)) { in dtrace_buffer_reserve()
11449 ASSERT(!((align - (offs & (align - 1))) & in dtrace_buffer_reserve()
11451 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE); in dtrace_buffer_reserve()
11452 offs += sizeof (uint32_t); in dtrace_buffer_reserve()
11455 if ((soffs = offs + needed) > buf->dtb_size) { in dtrace_buffer_reserve()
11461 return (offs); in dtrace_buffer_reserve()
11467 return (offs); in dtrace_buffer_reserve()
11477 total = needed + (offs & (align - 1)); in dtrace_buffer_reserve()
11486 offs + total > buf->dtb_size) { in dtrace_buffer_reserve()
11489 if (offs + total > buf->dtb_size) { in dtrace_buffer_reserve()
11514 if (woffs >= offs) in dtrace_buffer_reserve()
11526 while (offs < buf->dtb_size) in dtrace_buffer_reserve()
11527 tomax[offs++] = 0; in dtrace_buffer_reserve()
11536 offs = 0; in dtrace_buffer_reserve()
11544 if (woffs < offs) { in dtrace_buffer_reserve()
11563 while (offs + total > woffs) { in dtrace_buffer_reserve()
11600 if (offs == 0) { in dtrace_buffer_reserve()
11627 while (offs & (align - 1)) { in dtrace_buffer_reserve()
11632 ASSERT(!((align - (offs & (align - 1))) & in dtrace_buffer_reserve()
11634 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE); in dtrace_buffer_reserve()
11635 offs += sizeof (uint32_t); in dtrace_buffer_reserve()
11639 if (offs + needed > buf->dtb_size - state->dts_reserve) { in dtrace_buffer_reserve()
11646 return (offs); in dtrace_buffer_reserve()
11656 return (offs); in dtrace_buffer_reserve()
12768 size_t offs; in dtrace_dof_actdesc() local
12803 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) { in dtrace_dof_actdesc()
12805 (uintptr_t)sec->dofs_offset + offs); in dtrace_dof_actdesc()
13233 size_t offs; in dtrace_dof_options() local
13259 for (offs = 0; offs < sec->dofs_size; offs += entsize) { in dtrace_dof_options()
13261 (uintptr_t)sec->dofs_offset + offs); in dtrace_dof_options()
16210 uint32_t offs; in dtrace_ioctl() local
16231 offs = agg->dtag_base; in dtrace_ioctl()
16233 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs; in dtrace_ioctl()
16288 rec.dtrd_offset -= offs; in dtrace_ioctl()