Lines Matching defs:cred
3908 kauth_cred_t cred = vfs_context_ucred(ctx);
3961 RPCAUTH_SYS, cred, NULL, nmreq.nmc_mhead, &xid, &mreq);
3991 kauth_cred_t cred = vfs_context_ucred(ctx);
4049 RPCAUTH_SYS, cred, NULL, nmreq.nmc_mhead, &xid, &mreq);
4415 kauth_cred_t cred = vfs_context_ucred(ctx);
4479 RPCAUTH_SYS, cred, NULL, nmreq.nmc_mhead, &xid, &mreq);
4530 kauth_cred_t cred = vfs_context_ucred(ctx);
4546 if (id != kauth_cred_getuid(cred)) {
4548 posix_cred_t pcred = posix_cred_get(cred);
4553 cred = posix_cred_create(&temp_pcred);
4554 if (!IS_VALID_CRED(cred))
4557 kauth_cred_ref(cred);
4565 kauth_cred_unref(&cred);
4590 error = nfs_request2(np, NULL, &nmreq, NFSPROC4_COMPOUND, thd, cred, &si, 0, &nmrep, &xid, &status);
4604 kauth_cred_unref(&cred);