Lines Matching defs:offs

1929 	uintptr_t offs;
2092 offs = buf->dtb_offset;
2093 while (offs & (align - 1))
2094 offs += sizeof (uint32_t);
2100 if ((uintptr_t)tomax + offs + fsize >
2111 key->dtak_data = kdata = tomax + offs;
2112 buf->dtb_offset = offs + fsize;
2224 intptr_t offs;
2293 if ((offs = dtrace_buffer_reserve(dest, src->dtb_offset,
2305 daddr = (uintptr_t)dest->dtb_tomax + offs;
2328 dest->dtb_offset = offs + src->dtb_offset;
5435 int size, offs = 0, i, j;
5485 if (offs >= strsize)
5498 str[offs++] = '\0';
5503 str[offs++] = '\0';
5512 for (j = 0; offs + j < strsize; j++) {
5513 if ((str[offs + j] = sym[j]) == '\0')
5519 offs += j + 1;
5522 if (offs >= strsize) {
5533 while (offs < strsize)
5534 str[offs++] = '\0';
5555 intptr_t offs;
5757 if ((offs = dtrace_buffer_reserve(buf, ecb->dte_needed,
5765 DTRACE_STORE(uint32_t, tomax, offs, ecb->dte_epid);
5803 valoffs = offs + rec->dtrd_offset;
5827 offs, aggbuf, v, val);
5923 offs = dtrace_buffer_reserve(buf,
5927 if (offs < 0) {
5936 DTRACE_STORE(uint32_t, tomax, offs,
5957 buf->dtb_offset = offs + ecb->dte_size;
6152 buf->dtb_offset = offs + ecb->dte_size;
7480 * denoted by offs.
7483 dtrace_probe_foreach(uintptr_t offs)
7511 ((uintptr_t)&prov->dtpv_pops + offs));
9211 uint32_t align = sizeof (uint8_t), offs, diff;
9221 offs = sizeof (dtrace_epid_t);
9236 diff = offs + sizeof (dtrace_aggid_t);
9239 offs += sizeof (uint64_t) - diff;
9241 aggbase = offs - sizeof (dtrace_aggid_t);
9246 if (rec->dtrd_size != 0 && (diff = (offs & (align - 1)))) {
9250 offs += align - diff;
9253 rec->dtrd_offset = offs;
9255 if (offs + rec->dtrd_size > ecb->dte_needed) {
9256 ecb->dte_needed = offs + rec->dtrd_size;
9279 offs = prev->dta_rec.dtrd_offset +
9282 offs = sizeof (dtrace_epid_t);
9287 ecb->dte_size = offs + rec->dtrd_size;
9289 offs += rec->dtrd_size;
10194 intptr_t offs = buf->dtb_offset, soffs;
10208 while (offs & (align - 1)) {
10213 ASSERT(!((align - (offs & (align - 1))) &
10215 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10216 offs += sizeof (uint32_t);
10219 if ((soffs = offs + needed) > buf->dtb_size) {
10225 return (offs);
10231 return (offs);
10241 total = needed + (offs & (align - 1));
10250 offs + total > buf->dtb_size) {
10253 if (offs + total > buf->dtb_size) {
10278 if (woffs >= offs)
10290 while (offs < buf->dtb_size)
10291 tomax[offs++] = 0;
10300 offs = 0;
10308 if (woffs < offs) {
10327 while (offs + total > woffs) {
10347 * out. However, if the offs is 0, then we're
10364 if (offs == 0) {
10391 while (offs & (align - 1)) {
10396 ASSERT(!((align - (offs & (align - 1))) &
10398 DTRACE_STORE(uint32_t, tomax, offs, DTRACE_EPIDNONE);
10399 offs += sizeof (uint32_t);
10403 if (offs + needed > buf->dtb_size - state->dts_reserve) {
10410 return (offs);
10420 return (offs);
11421 size_t offs;
11456 for (offs = 0; offs < sec->dofs_size; offs += sec->dofs_entsize) {
11458 (uintptr_t)sec->dofs_offset + offs);
11881 size_t offs;
11907 for (offs = 0; offs < sec->dofs_size; offs += entsize) {
11909 (uintptr_t)sec->dofs_offset + offs);
14767 uint32_t offs;
14788 offs = agg->dtag_base;
14790 aggdesc.dtagd_size = lrec->dtrd_offset + lrec->dtrd_size - offs;
14845 rec.dtrd_offset -= offs;