Lines Matching refs:offs

2198 	uintptr_t offs;
2361 offs = buf->dtb_offset;
2362 while (offs & (align - 1))
2363 offs += sizeof (uint32_t);
2369 if ((uintptr_t)tomax + offs + fsize >
2380 key->dtak_data = kdata = tomax + offs;
2381 buf->dtb_offset = offs + fsize;
2497 intptr_t offs;
2573 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset,
2585 daddr = (uintptr_t)dest->dtb_tomax + offs;
2608 dest->dtb_offset = offs + src->dtb_offset;
6310 int size, offs = 0, i, j;
6364 if (offs >= strsize)
6377 str[offs++] = '\0';
6382 str[offs++] = '\0';
6391 for (j = 0; offs + j < strsize; j++) {
6392 if ((str[offs + j] = sym[j]) == '\0')
6398 offs += j + 1;
6401 if (offs >= strsize) {
6412 while (offs < strsize)
6413 str[offs++] = '\0';
6440 intptr_t offs;
6718 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed,
6726 DTRACE_STORE(uint32_t, tomax, offs, ecb->dte_epid);
6768 valoffs = offs + rec->dtrd_offset;
6792 offs, aggbuf, v, val);
6895 offs = dtrace_buffer_reserve(buf,
6899 if (offs < 0) {
6908 DTRACE_STORE(uint32_t, tomax, offs,
6936 buf->dtb_offset = offs + ecb->dte_size;
7156 buf->dtb_offset = offs + ecb->dte_size;
8623 * denoted by offs.
8626 dtrace_probe_foreach(uintptr_t offs)
8654 ((uintptr_t)&prov->dtpv_pops + offs));
10460 uint32_t align = sizeof (uint8_t), offs, diff;
10470 offs = sizeof (dtrace_epid_t);
10485 diff = offs + sizeof (dtrace_aggid_t);
10488 offs += sizeof (uint64_t) - diff;
10490 aggbase = offs - sizeof (dtrace_aggid_t);
10495 if (rec->dtrd_size != 0 && (diff = (offs & (align - 1)))) {
10499 offs += align - diff;
10502 rec->dtrd_offset = offs;
10504 if (offs + rec->dtrd_size > ecb->dte_needed) {
10505 ecb->dte_needed = offs + rec->dtrd_size;
10528 offs = prev->dta_rec.dtrd_offset +
10531 offs = sizeof (dtrace_epid_t);
10536 ecb->dte_size = offs + rec->dtrd_size;
10538 offs += rec->dtrd_size;
11484 intptr_t offs = buf->dtb_offset, soffs;
11498 while (offs & (align - 1)) {
11503 ASSERT(!((align - (offs & (align - 1))) &
11505 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
11506 offs += sizeof (uint32_t);
11510 if ((soffs = offs + needed) > buf->dtb_size) {
11512 if ((uint64_t)(soffs = offs + needed) > buf->dtb_size) {
11519 return (offs);
11525 return (offs);
11535 total_off = needed + (offs & (align - 1));
11544 offs + total_off > buf->dtb_size) {
11547 if (offs + total_off > buf->dtb_size) {
11572 if (woffs >= offs)
11585 while (offs < buf->dtb_size)
11587 while ((uint64_t)offs < buf->dtb_size)
11589 tomax[offs++] = 0;
11598 offs = 0;
11606 if (woffs < offs) {
11626 while (offs + total_off > woffs) {
11628 while (offs + total_off > (size_t)woffs) {
11653 * out. However, if the offs is 0, then we're
11670 if (offs == 0) {
11702 while (offs & (align - 1)) {
11707 ASSERT(!((align - (offs & (align - 1))) &
11709 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
11710 offs += sizeof (uint32_t);
11714 if (offs + needed > buf->dtb_size - state->dts_reserve) {
11721 return (offs);
11731 return (offs);
12889 size_t offs;
12924 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) {
12926 (uintptr_t)sec->dofs_offset + offs);
13378 size_t offs;
13404 for (offs = 0; offs < sec->dofs_size; offs += entsize) {
13406 (uintptr_t)sec->dofs_offset + offs);
17450 uint32_t offs;
17471 offs = agg->dtag_base;
17473 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
17528 rec.dtrd_offset -= offs;
18356 uint32_t offs;
18377 offs = agg->dtag_base;
18379 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
18434 rec.dtrd_offset -= offs;