Lines Matching defs:rval
500 uint##bits##_t rval; \
524 rval = *((volatile uint##bits##_t *)addr); \
527 return (!(*flags & CPU_DTRACE_FAULT) ? rval : 0); \
2007 void *rval;
2101 rval = dtrace_casptr(&dcpu->dtdsc_free, NULL, clean);
2102 ASSERT(rval == NULL);
2817 uint32_t rval = dtrace_cas32((uint32_t *)&spec->dtsp_state,
2820 ASSERT(rval == DTRACESPEC_COMMITTING);
4422 int rval = 0;
4432 rval = 1;
4439 regs[rd] = rval;
5896 uint64_t rval = 0;
6145 rval = regs[rd];
6658 return (rval);
7287 int rval;
7289 rval = dtrace_dif_emulate(dp, &mstate, vstate, state);
7291 if (!(*flags & CPU_DTRACE_ERROR) && !rval) {
9044 void *rval = NULL;
9050 rval = probe->dtpr_arg;
9054 return (rval);
13867 int i, rval;
13909 if ((rval = dtrace_state_option(state,
13912 return (rval);
14395 int flags = 0, rval, factor, divisor = 1;
14443 rval = dtrace_buffer_alloc(buf, size, flags, cpu, &factor);
14445 if (rval != ENOMEM) {
14447 return (rval);
14451 return (rval);
14464 int rval, i;
14466 if ((rval = dtrace_state_buffer(state, state->dts_buffer,
14468 return (rval);
14470 if ((rval = dtrace_state_buffer(state, state->dts_aggbuffer,
14472 return (rval);
14475 if ((rval = dtrace_state_buffer(state,
14477 return (rval);
14519 int rval = 0, i, bufsize = NCPU * sizeof (dtrace_buffer_t);
14526 rval = EBUSY;
14537 rval = EACCES;
14552 rval = ENOMEM;
14560 rval = ENOMEM;
14570 rval = ENOMEM;
14579 rval = ENOENT;
14584 rval = EALREADY;
14661 rval = ENOSPC;
14665 if ((rval = dtrace_state_buffers(state)) != 0)
14672 rval = dtrace_dstate_init(&state->dts_vstate.dtvs_dynvars, sz);
14674 if (rval == 0)
14683 if (rval != 0)
14808 return (rval);
15188 int rval;
15197 rval = dtrace_enabling_retain(dtrace_anon.dta_enabling);
15198 ASSERT(rval == 0);
15277 uint64_t rval = 0;
15322 rval = dtrace_dif_emulate(helper->dtha_actions[i],
15345 return (rval);
16924 int rval;
16939 dof_hdr_t *dof = dtrace_dof_copyin(arg, &rval);
16942 return (rval);
16950 if ((rval = dtrace_helper_slurp(dof, dhp)) != -1) {
16951 *rv = rval;
16952 rval = 0;
16954 rval = EINVAL;
16958 return (rval);
16963 rval = dtrace_helper_destroygen(arg);
16966 return (rval);
16982 int rval;
17219 if ((dof = dtrace_dof_copyin(arg, &rval)) == NULL)
17220 return (rval);
17240 if ((rval = dtrace_dof_options(dof, state)) != 0) {
17245 return (rval);
17423 rval = dtrace_state_go(state, &cpuid);
17425 if (rval != 0)
17426 return (rval);
17438 rval = dtrace_state_stop(state, &cpuid);
17441 if (rval != 0)
17442 return (rval);
17462 rval = copyout(dof, (void *)arg, len);
17465 return (rval == 0 ? 0 : EFAULT);