Lines Matching refs:offs

2269 	uintptr_t offs;  in dtrace_aggregate()  local
2432 offs = buf->dtb_offset; in dtrace_aggregate()
2433 while (offs & (align - 1)) in dtrace_aggregate()
2434 offs += sizeof (uint32_t); in dtrace_aggregate()
2440 if ((uintptr_t)tomax + offs + fsize > in dtrace_aggregate()
2451 key->dtak_data = kdata = tomax + offs; in dtrace_aggregate()
2452 buf->dtb_offset = offs + fsize; in dtrace_aggregate()
2564 intptr_t offs; in dtrace_speculation_commit() local
2634 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset, in dtrace_speculation_commit()
2676 daddr = (uintptr_t)dest->dtb_tomax + offs; in dtrace_speculation_commit()
2699 dest->dtb_offset = offs + src->dtb_offset; in dtrace_speculation_commit()
6469 int size, offs = 0, i, j; in dtrace_action_ustack() local
6519 if (offs >= strsize) in dtrace_action_ustack()
6532 str[offs++] = '\0'; in dtrace_action_ustack()
6537 str[offs++] = '\0'; in dtrace_action_ustack()
6546 for (j = 0; offs + j < strsize; j++) { in dtrace_action_ustack()
6547 if ((str[offs + j] = sym[j]) == '\0') in dtrace_action_ustack()
6553 offs += j + 1; in dtrace_action_ustack()
6556 if (offs >= strsize) { in dtrace_action_ustack()
6567 while (offs < strsize) in dtrace_action_ustack()
6568 str[offs++] = '\0'; in dtrace_action_ustack()
6646 intptr_t offs; in dtrace_probe() local
6798 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed, in dtrace_probe()
6815 *((dtrace_rechdr_t *)(tomax + offs)) = dtrh; in dtrace_probe()
6852 valoffs = offs + rec->dtrd_offset; in dtrace_probe()
6876 offs, aggbuf, v, val); in dtrace_probe()
6992 offs = dtrace_buffer_reserve(buf, in dtrace_probe()
6996 if (offs < 0) { in dtrace_probe()
7009 dtrh = ((void *)(tomax + offs)); in dtrace_probe()
7040 buf->dtb_offset = offs + ecb->dte_size; in dtrace_probe()
7222 buf->dtb_offset = offs + ecb->dte_size; in dtrace_probe()
8573 dtrace_probe_foreach(uintptr_t offs) in dtrace_probe_foreach() argument
8601 ((uintptr_t)&prov->dtpv_pops + offs)); in dtrace_probe_foreach()
11313 intptr_t offs = buf->dtb_offset, soffs; in dtrace_buffer_reserve() local
11327 while (offs & (align - 1)) { in dtrace_buffer_reserve()
11332 ASSERT(!((align - (offs & (align - 1))) & in dtrace_buffer_reserve()
11334 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE); in dtrace_buffer_reserve()
11335 offs += sizeof (uint32_t); in dtrace_buffer_reserve()
11338 if ((soffs = offs + needed) > buf->dtb_size) { in dtrace_buffer_reserve()
11344 return (offs); in dtrace_buffer_reserve()
11350 return (offs); in dtrace_buffer_reserve()
11360 total = needed + (offs & (align - 1)); in dtrace_buffer_reserve()
11369 offs + total > buf->dtb_size) { in dtrace_buffer_reserve()
11372 if (offs + total > buf->dtb_size) { in dtrace_buffer_reserve()
11397 if (woffs >= offs) in dtrace_buffer_reserve()
11409 while (offs < buf->dtb_size) in dtrace_buffer_reserve()
11410 tomax[offs++] = 0; in dtrace_buffer_reserve()
11419 offs = 0; in dtrace_buffer_reserve()
11427 if (woffs < offs) { in dtrace_buffer_reserve()
11446 while (offs + total > woffs) { in dtrace_buffer_reserve()
11483 if (offs == 0) { in dtrace_buffer_reserve()
11510 while (offs & (align - 1)) { in dtrace_buffer_reserve()
11515 ASSERT(!((align - (offs & (align - 1))) & in dtrace_buffer_reserve()
11517 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE); in dtrace_buffer_reserve()
11518 offs += sizeof (uint32_t); in dtrace_buffer_reserve()
11522 if (offs + needed > buf->dtb_size - state->dts_reserve) { in dtrace_buffer_reserve()
11529 return (offs); in dtrace_buffer_reserve()
11539 return (offs); in dtrace_buffer_reserve()
12651 size_t offs; in dtrace_dof_actdesc() local
12686 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) { in dtrace_dof_actdesc()
12688 (uintptr_t)sec->dofs_offset + offs); in dtrace_dof_actdesc()
13116 size_t offs; in dtrace_dof_options() local
13142 for (offs = 0; offs < sec->dofs_size; offs += entsize) { in dtrace_dof_options()
13144 (uintptr_t)sec->dofs_offset + offs); in dtrace_dof_options()
16079 uint32_t offs; in dtrace_ioctl() local
16100 offs = agg->dtag_base; in dtrace_ioctl()
16102 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs; in dtrace_ioctl()
16157 rec.dtrd_offset -= offs; in dtrace_ioctl()