Lines Matching refs:dlmgmt_checkprivs
78 dlmgmt_checkprivs(datalink_class_t class, ucred_t *cred)
169 if ((err = dlmgmt_checkprivs(class, cred)) != 0)
305 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
379 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
547 if ((err = dlmgmt_checkprivs(createid->ld_class, cred)) != 0)
602 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
648 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
709 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
741 if ((err = dlmgmt_checkprivs(createconf->ld_class, cred)) != 0)
778 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0)
811 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0)
857 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0)
938 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
969 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0)
1026 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
1148 if ((err = dlmgmt_checkprivs(dlconfp->ld_class, cred)) != 0) {
1173 err = dlmgmt_checkprivs(linkp->ll_class, cred);
1216 if ((err = dlmgmt_checkprivs(linkp->ll_class, cred)) != 0)
1283 if ((err = dlmgmt_checkprivs(0, cred)) != 0)
1313 if ((err = dlmgmt_checkprivs(0, cred)) == 0) {