Lines Matching refs:arg
1670 dtrace_aggregate_min(uint64_t *oval, uint64_t nval, uint64_t arg)
1672 #pragma unused(arg)
1679 dtrace_aggregate_max(uint64_t *oval, uint64_t nval, uint64_t arg)
1681 #pragma unused(arg)
1717 uint64_t arg = *lquanta++;
1718 int32_t base = DTRACE_LQUANTIZE_BASE(arg);
1719 uint16_t step = DTRACE_LQUANTIZE_STEP(arg);
1720 uint16_t levels = DTRACE_LQUANTIZE_LEVELS(arg);
1749 dtrace_aggregate_avg(uint64_t *data, uint64_t nval, uint64_t arg)
1751 #pragma unused(arg)
1758 dtrace_aggregate_count(uint64_t *oval, uint64_t nval, uint64_t arg)
1760 #pragma unused(nval,arg)
1766 dtrace_aggregate_sum(uint64_t *oval, uint64_t nval, uint64_t arg)
1768 #pragma unused(arg)
1781 intptr_t offset, dtrace_buffer_t *buf, uint64_t expr, uint64_t arg)
1783 #pragma unused(arg)
1807 arg = 1;
1945 agg->dtag_aggregate((uint64_t *)(kdata + size), expr, arg);
2027 agg->dtag_aggregate((uint64_t *)(key->dtak_data + size), expr, arg);
5152 uint64_t *buf, uint64_t arg)
5154 int nframes = DTRACE_USTACK_NFRAMES(arg);
5155 int strsize = DTRACE_USTACK_STRSIZE(arg);
6560 zoneid_t zoneid, int (*matched)(dtrace_probe_t *, void *), void *arg)
6576 (void) (*matched)(probe, arg);
6623 if ((*matched)(probe, arg) != DTRACE_MATCH_NEXT)
6643 if ((*matched)(probe, arg) != DTRACE_MATCH_NEXT)
6718 cred_t *cr, const dtrace_pops_t *pops, void *arg, dtrace_provider_id_t *idp)
6799 provider->dtpv_arg = arg;
7114 const char *func, const char *name, int aframes, void *arg)
7140 probe->dtpr_arg = arg;
7205 dtrace_probe_lookup_match(dtrace_probe_t *probe, void *arg)
7207 *((dtrace_id_t *)arg) = probe->dtpr_id;
7463 uint8_t *arg;
7484 arg = (uint8_t *)(uintptr_t)(daddr + arg_sec->dofs_offset);
7533 dhpb.dthpb_args = arg + probe->dofpr_argidx;
7627 dtrace_meta_register(const char *name, const dtrace_mops_t *mops, void *arg,
7659 meta->dtm_arg = arg;
8916 uint64_t uarg, uint64_t arg)
8920 /* ASSERT(!DTRACEACT_ISPRINTFLIKE(kind) || (arg != NULL &&
8921 arg >= KERNELBASE) || (arg == NULL && kind == DTRACEACT_PRINTA));*/
8927 act->dtad_arg = arg;
9380 uint64_t arg = desc->dtad_arg;
9417 * We know that our arg is a string -- turn it into a
9420 if (arg == NULL) {
9424 ASSERT(arg != NULL);
9425 /* ASSERT(arg > KERNELBASE); */
9427 (char *)(uintptr_t)arg);
9449 if ((nframes = arg) == 0) {
9452 arg = nframes;
9459 if ((strsize = DTRACE_USTACK_STRSIZE(arg)) == 0)
9462 if ((nframes = DTRACE_USTACK_NFRAMES(arg)) == 0)
9465 arg = DTRACE_USTACK_ARG(nframes, strsize);
9470 (nframes = DTRACE_USTACK_NFRAMES(arg)) == 0) {
9471 strsize = DTRACE_USTACK_STRSIZE(arg);
9474 arg = DTRACE_USTACK_ARG(nframes, strsize);
9481 size += DTRACE_USTACK_STRSIZE(arg);
9592 rec->dtrd_arg = arg;
9835 dtrace_ecb_create_enable(dtrace_probe_t *probe, void *arg)
9838 dtrace_enabling_t *enab = arg;
11359 uint64_t arg;
11432 arg = (uint64_t)(uintptr_t)fmt;
11436 arg = 0;
11438 arg = desc->dofa_arg;
11443 desc->dofa_uarg, arg);
13582 uint8_t *arg;
13659 arg = (uint8_t *)(uintptr_t)(daddr + arg_sec->dofs_offset);
13761 if (arg[probe->dofpr_argidx + k] > probe->dofpr_nargc) {
15156 dtrace_ioctl_helper(int cmd, caddr_t arg, int *rv)
15172 user_addr_t user_address = *(user_addr_t*)arg;
15276 int generation = *(int*)arg;
15306 dtrace_ioctl(dev_t dev, int cmd, intptr_t arg, int md, cred_t *cr, int *rv)
15316 return (dtrace_ioctl_helper(cmd, arg, rv));
15333 if (copyin((void *)arg, &pvd, sizeof (pvd)) != 0)
15351 if (copyout(&pvd, (void *)arg, sizeof (pvd)) != 0)
15366 if (copyin((void *)arg, &epdesc, sizeof (epdesc)) != 0)
15423 if (copyout(buf, (void *)arg, dest - (uintptr_t)buf) != 0) {
15443 if (copyin((void *)arg, &aggdesc, sizeof (aggdesc)) != 0)
15525 if (copyout(buf, (void *)arg, dest - (uintptr_t)buf) != 0) {
15546 if (arg == NULL) {
15556 if ((dof = dtrace_dof_copyin(arg, &rval)) == NULL)
15604 if (copyin((void *)arg, &desc, sizeof (desc)) != 0)
15635 if (copyin((void *)arg, &desc, sizeof (desc)) != 0)
15692 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
15703 if (copyin((void *)arg, &desc, sizeof (desc)) != 0)
15752 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
15765 if (copyout(&cpuid, (void *)arg, sizeof (cpuid)) != 0)
15781 if (copyout(&cpuid, (void *)arg, sizeof (cpuid)) != 0)
15791 if (copyin((void *)arg, &hdr, sizeof (hdr)) != 0)
15799 rval = copyout(dof, (void *)arg, len);
15811 if (copyin((void *)arg, &desc, sizeof (desc)) != 0)
15847 if (copyout(&desc, (void *)arg, sz) != 0)
15874 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
15929 if (copyout(&desc, (void *)arg, sizeof (desc)) != 0)
15944 if (copyout(&conf, (void *)arg, sizeof (conf)) != 0)
16012 if (copyout(&stat, (void *)arg, sizeof (stat)) != 0)
16023 if (copyin((void *)arg, &fmt, sizeof (fmt)) != 0)
16049 if (copyout(&fmt, (void *)arg, sizeof (fmt)) != 0) {
16204 dtrace_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result)