Lines Matching defs:offs
2293 uintptr_t offs;
2456 offs = buf->dtb_offset;
2457 while (offs & (align - 1))
2458 offs += sizeof (uint32_t);
2464 if ((uintptr_t)tomax + offs + fsize >
2475 key->dtak_data = kdata = tomax + offs;
2476 buf->dtb_offset = offs + fsize;
2588 intptr_t offs;
2657 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset,
2669 daddr = (uintptr_t)dest->dtb_tomax + offs;
2692 dest->dtb_offset = offs + src->dtb_offset;
5735 int size, offs = 0, i, j;
5785 if (offs >= strsize)
5798 str[offs++] = '\0';
5803 str[offs++] = '\0';
5812 for (j = 0; offs + j < strsize; j++) {
5813 if ((str[offs + j] = sym[j]) == '\0')
5819 offs += j + 1;
5822 if (offs >= strsize) {
5833 while (offs < strsize)
5834 str[offs++] = '\0';
5855 intptr_t offs;
6115 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed,
6123 DTRACE_STORE(uint32_t, tomax, offs, ecb->dte_epid);
6162 valoffs = offs + rec->dtrd_offset;
6186 offs, aggbuf, v, val);
6281 offs = dtrace_buffer_reserve(buf,
6285 if (offs < 0) {
6294 DTRACE_STORE(uint32_t, tomax, offs,
6320 buf->dtb_offset = offs + ecb->dte_size;
6533 buf->dtb_offset = offs + ecb->dte_size;
7914 * denoted by offs.
7917 dtrace_probe_foreach(uintptr_t offs)
7945 ((uintptr_t)&prov->dtpv_pops + offs));
9665 uint32_t align = sizeof (uint8_t), offs, diff;
9675 offs = sizeof (dtrace_epid_t);
9690 diff = offs + sizeof (dtrace_aggid_t);
9693 offs += sizeof (uint64_t) - diff;
9695 aggbase = offs - sizeof (dtrace_aggid_t);
9700 if (rec->dtrd_size != 0 && (diff = (offs & (align - 1)))) {
9704 offs += align - diff;
9707 rec->dtrd_offset = offs;
9709 if (offs + rec->dtrd_size > ecb->dte_needed) {
9710 ecb->dte_needed = offs + rec->dtrd_size;
9733 offs = prev->dta_rec.dtrd_offset +
9736 offs = sizeof (dtrace_epid_t);
9741 ecb->dte_size = offs + rec->dtrd_size;
9743 offs += rec->dtrd_size;
10709 intptr_t offs = buf->dtb_offset, soffs;
10723 while (offs & (align - 1)) {
10728 ASSERT(!((align - (offs & (align - 1))) &
10730 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10731 offs += sizeof (uint32_t);
10734 if ((uint64_t)(soffs = offs + needed) > buf->dtb_size) {
10740 return (offs);
10746 return (offs);
10756 total_off = needed + (offs & (align - 1));
10765 offs + total_off > buf->dtb_size) {
10768 if (offs + total_off > buf->dtb_size) {
10793 if (woffs >= offs)
10805 while ((uint64_t)offs < buf->dtb_size)
10806 tomax[offs++] = 0;
10815 offs = 0;
10823 if (woffs < offs) {
10842 while (offs + total_off > (size_t)woffs) {
10862 * out. However, if the offs is 0, then we're
10879 if (offs == 0) {
10906 while (offs & (align - 1)) {
10911 ASSERT(!((align - (offs & (align - 1))) &
10913 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10914 offs += sizeof (uint32_t);
10918 if (offs + needed > buf->dtb_size - state->dts_reserve) {
10925 return (offs);
10935 return (offs);
12006 size_t offs;
12041 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) {
12043 (uintptr_t)sec->dofs_offset + offs);
12391 size_t offs;
12417 for (offs = 0; offs < sec->dofs_size; offs += entsize) {
12419 (uintptr_t)sec->dofs_offset + offs);
16187 uint32_t offs;
16208 offs = agg->dtag_base;
16210 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
16265 rec.dtrd_offset -= offs;