Lines Matching refs:CRED
297 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in getifflags()
312 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in setifname()
351 if ((err = ldi_open_by_name(rootfs.bo_devname, FREAD|FWRITE, CRED(), in strplumb_dev()
359 if ((err = ldi_ioctl(lh, I_PUSH, (intptr_t)IP, FKIOCTL, CRED(), in strplumb_dev()
393 if ((err = ldi_open_by_name(name, FREAD|FWRITE, CRED(), &mux_lh, in strplumb_dev()
399 FREAD|FWRITE|FNOCTTY|FKIOCTL, CRED(), in strplumb_dev()
412 (void) ldi_close(lh, FREAD|FWRITE, CRED()); in strplumb_dev()
419 if ((err = ldi_open_by_name(rootfs.bo_devname, FREAD|FWRITE, CRED(), in strplumb_dev()
426 if ((err = ldi_ioctl(lh, I_PUSH, (intptr_t)ARP, FKIOCTL, CRED(), in strplumb_dev()
436 FREAD|FWRITE|FNOCTTY|FKIOCTL, CRED(), in strplumb_dev()
451 CRED(), &rval)) != 0) { in strplumb_dev()
458 (void) ldi_close(lh, FREAD|FWRITE, CRED()); in strplumb_dev()
461 (void) ldi_close(mux_lh, FREAD|FWRITE, CRED()); in strplumb_dev()
664 rc = ldi_open_by_name(clonepath, FREAD|FWRITE, CRED(), &lh, li); in getmacaddr()
678 (void) ldi_close(lh, FREAD|FWRITE, CRED()); in getmacaddr()
696 (void) ldi_close(lh, FREAD|FWRITE, CRED()); in getmacaddr()