Lines Matching defs:arg
79 ppm_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp)
388 * matching the arg *dip; we need to scan the entire list
425 ppm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
431 char *iofmt = "%s: copy%s error, arg 0x%p\n";
436 DPRINTF(D_IOCTL, ("%s: dev 0x%lx, cmd 0x%x, arg 0x%lx, mode 0x%x\n",
437 str, dev, cmd, arg, mode));
439 if (ddi_copyin((caddr_t)arg, &req, sizeof (req), mode)) {
440 DPRINTF(D_IOCTL, (iofmt, str, "in", arg));
486 if (ddi_copyout((const void *)&req, (void *)arg,
488 DPRINTF(D_ERROR, (iofmt, str, "out", arg));