Lines Matching refs:offs

2063 	uintptr_t offs;
2226 offs = buf->dtb_offset;
2227 while (offs & (align - 1))
2228 offs += sizeof (uint32_t);
2234 if ((uintptr_t)tomax + offs + fsize >
2245 key->dtak_data = kdata = tomax + offs;
2246 buf->dtb_offset = offs + fsize;
2358 intptr_t offs;
2431 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset,
2443 daddr = (uintptr_t)dest->dtb_tomax + offs;
2466 dest->dtb_offset = offs + src->dtb_offset;
5723 int size, offs = 0, i, j;
5777 if (offs >= strsize)
5794 str[offs++] = '\0';
5799 str[offs++] = '\0';
5808 for (j = 0; offs + j < strsize; j++) {
5809 if ((str[offs + j] = sym[j]) == '\0')
5815 offs += j + 1;
5818 if (offs >= strsize) {
5829 while (offs < strsize)
5830 str[offs++] = '\0';
5858 intptr_t offs;
6073 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed,
6081 DTRACE_STORE(uint32_t, tomax, offs, ecb->dte_epid);
6119 valoffs = offs + rec->dtrd_offset;
6143 offs, aggbuf, v, val);
6251 offs = dtrace_buffer_reserve(buf,
6255 if (offs < 0) {
6264 DTRACE_STORE(uint32_t, tomax, offs,
6293 buf->dtb_offset = offs + ecb->dte_size;
6499 buf->dtb_offset = offs + ecb->dte_size;
7839 * denoted by offs.
7842 dtrace_probe_foreach(uintptr_t offs)
7870 ((uintptr_t)&prov->dtpv_pops + offs));
9599 uint32_t align = sizeof (uint8_t), offs, diff;
9609 offs = sizeof (dtrace_epid_t);
9624 diff = offs + sizeof (dtrace_aggid_t);
9627 offs += sizeof (uint64_t) - diff;
9629 aggbase = offs - sizeof (dtrace_aggid_t);
9634 if (rec->dtrd_size != 0 && (diff = (offs & (align - 1)))) {
9638 offs += align - diff;
9641 rec->dtrd_offset = offs;
9643 if (offs + rec->dtrd_size > ecb->dte_needed) {
9644 ecb->dte_needed = offs + rec->dtrd_size;
9667 offs = prev->dta_rec.dtrd_offset +
9670 offs = sizeof (dtrace_epid_t);
9675 ecb->dte_size = offs + rec->dtrd_size;
9677 offs += rec->dtrd_size;
10636 intptr_t offs = buf->dtb_offset, soffs;
10650 while (offs & (align - 1)) {
10655 ASSERT(!((align - (offs & (align - 1))) &
10657 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10658 offs += sizeof (uint32_t);
10661 if (VBDTCAST(uintptr_t)(soffs = offs + needed) > buf->dtb_size) {
10667 return (offs);
10673 return (offs);
10683 total = needed + (offs & (align - 1));
10692 offs + total > buf->dtb_size) {
10695 if (offs + total > buf->dtb_size) {
10720 if (woffs >= offs)
10732 while (VBDTCAST(uintptr_t)offs < buf->dtb_size)
10733 tomax[offs++] = 0;
10742 offs = 0;
10750 if (woffs < offs) {
10769 while (VBDTCAST(uintptr_t)offs + total > VBDTCAST(uintptr_t)woffs) {
10789 * out. However, if the offs is 0, then we're
10806 if (offs == 0) {
10833 while (offs & (align - 1)) {
10838 ASSERT(!((align - (offs & (align - 1))) &
10840 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10841 offs += sizeof (uint32_t);
10845 if (offs + needed > buf->dtb_size - state->dts_reserve) {
10852 return (offs);
10862 return (offs);
11869 size_t offs;
11904 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) {
11906 (uintptr_t)sec->dofs_offset + offs);
12329 size_t offs;
12355 for (offs = 0; offs < sec->dofs_size; offs += entsize) {
12357 (uintptr_t)sec->dofs_offset + offs);
15380 uint32_t offs;
15401 offs = agg->dtag_base;
15403 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
15458 rec.dtrd_offset -= offs;