Lines Matching refs:new

1705 		 * If we are not to allocate a new variable, we want to
1724 * We need to allocate a new dynamic variable. The size we need is the
1861 * We have now allocated a new chunk. We copy the tuple keys into the
2231 * If we don't have enough room to both allocate a new key _and_
2357 dtrace_speculation_state_t current, new VBDTUNASS(-1);
2395 new = DTRACESPEC_COMMITTING;
2407 new = DTRACESPEC_COMMITTING;
2413 new = DTRACESPEC_COMMITTINGMANY;
2424 current, new) != current);
2474 (current == DTRACESPEC_ACTIVEONE && new == DTRACESPEC_COMMITTING)) {
2497 dtrace_speculation_state_t current, new;
2523 new = DTRACESPEC_DISCARDING;
2528 new = DTRACESPEC_INACTIVE;
2530 new = DTRACESPEC_DISCARDING;
2542 current, new) != current);
2647 dtrace_speculation_state_t current, new;
2656 new = DTRACESPEC_INACTIVE;
2658 rv = dtrace_cas32((uint32_t *)&spec->dtsp_state, current, new);
2676 dtrace_speculation_state_t current, new VBDTUNASS(-1);
2708 * If it's zero, assume that we're starting on a new
2715 new = DTRACESPEC_ACTIVEMANY;
2722 new = DTRACESPEC_ACTIVEONE;
2733 current, new) != current);
2735 ASSERT(new == DTRACESPEC_ACTIVEONE || new == DTRACESPEC_ACTIVEMANY);
6348 * COOLDOWN, however, we want to honor the new
6599 dtrace_hash_add(dtrace_hash_t *hash, dtrace_probe_t *new)
6601 int hashval = DTRACE_HASHSTR(hash, new);
6607 if (DTRACE_HASHEQ(hash, bucket->dthb_chain, new))
6613 dtrace_hash_add(hash, new);
6623 nextp = DTRACE_HASHNEXT(hash, new);
6624 ASSERT(*nextp == NULL && *(DTRACE_HASHPREV(hash, new)) == NULL);
6630 *prevp = new;
6633 bucket->dthb_chain = new;
6740 char *new = kmem_zalloc((str != NULL ? strlen(str) : 0) + 1, KM_SLEEP);
6743 (void) strcpy(new, str);
6745 return (new);
7672 * All CPUs are now seeing the new probes array; we can
7781 * be told to provide all of its probes. (This is done whenever a new
8155 * off to the new meta provider now.
9142 dtrace_difo_t *new;
9148 new = kmem_zalloc(sizeof (dtrace_difo_t), KM_SLEEP);
9152 new->dtdo_buf = kmem_alloc(sz, KM_SLEEP);
9153 bcopy(dp->dtdo_buf, new->dtdo_buf, sz);
9154 new->dtdo_len = dp->dtdo_len;
9158 new->dtdo_strtab = kmem_alloc(dp->dtdo_strlen, KM_SLEEP);
9159 bcopy(dp->dtdo_strtab, new->dtdo_strtab, dp->dtdo_strlen);
9160 new->dtdo_strlen = dp->dtdo_strlen;
9166 new->dtdo_inttab = kmem_alloc(sz, KM_SLEEP);
9167 bcopy(dp->dtdo_inttab, new->dtdo_inttab, sz);
9168 new->dtdo_intlen = dp->dtdo_intlen;
9174 new->dtdo_vartab = kmem_alloc(sz, KM_SLEEP);
9175 bcopy(dp->dtdo_vartab, new->dtdo_vartab, sz);
9176 new->dtdo_varlen = dp->dtdo_varlen;
9179 dtrace_difo_init(new, vstate);
9180 return (new);
9283 char *fmt, **new;
9310 new = kmem_alloc((ndx + 1) * sizeof (char *), KM_SLEEP);
9314 bcopy(state->dts_formats, new, ndx * sizeof (char *));
9318 state->dts_formats = new;
9582 * point to the new ECB, and issue a dtrace_sync() to assure
10629 * mstate. Returns the new offset in the buffer, or a negative value if an
10992 dtrace_ecbdesc_t *new;
10997 * We're going to create a new ECB description that matches the
11000 new = kmem_zalloc(sizeof (dtrace_ecbdesc_t), KM_SLEEP);
11008 new->dted_action = ecb->dted_action;
11009 new->dted_pred = ecb->dted_pred;
11010 new->dted_probe = *pd;
11011 new->dted_uarg = ecb->dted_uarg;
11013 dtrace_enabling_add(enab, new);
11129 dtrace_enabling_t *new, *enab;
11138 new = dtrace_enabling_create(&state->dts_vstate);
11181 dtrace_enabling_addlike(new, ep, create);
11185 if (!found || (err = dtrace_enabling_retain(new)) != 0) {
11186 dtrace_enabling_destroy(new);
12554 * the new value. This assures that dts_alive never appears to be
13884 * helper action type, we'll refuse to add a new one.
14009 * we're refuse to add a new one.
14501 dtrace_helper_action_t *helper, *new, *last;
14525 new = kmem_zalloc(sizeof (dtrace_helper_action_t),
14527 new->dtha_generation = helper->dtha_generation;
14531 new->dtha_predicate = dp;
14534 new->dtha_nactions = helper->dtha_nactions;
14535 sz = sizeof (dtrace_difo_t *) * new->dtha_nactions;
14536 new->dtha_actions = kmem_alloc(sz, KM_SLEEP);
14538 for (j = 0; j < new->dtha_nactions; j++) {
14543 new->dtha_actions[j] = dp2;
14547 last->dtha_next = new;
14549 newhelp->dthps_actions[i] = new;
14552 last = new;
14764 * For now, we only allocate a new buffer for anonymous state.