Lines Matching refs:cred
1684 kauth_cred_t cred = vfs_context_ucred(ctx);
1685 kauth_cred_ref(cred);
1686 bp->nb_wcred = cred;
2394 kauth_cred_t cred,
2420 error = nfs_request_async(np, NULL, &nmreq, NFSPROC_READ, thd, cred, NULL, 0, cb, reqp);
2514 kauth_cred_t cred;
2524 cred = vfs_context_ucred(ctx);
2619 kauth_cred_ref(cred);
2620 bp->nb_wcred = cred;
3068 kauth_cred_t cred,
3110 error = nmp->nm_funcs->nf_write_rpc_async(np, uio, len, thd, cred, *iomodep, NULL, &req);
3186 kauth_cred_t cred,
3224 error = nfs_request_async(np, NULL, &nmreq, NFSPROC_WRITE, thd, cred, NULL, 0, cb, reqp);
3840 kauth_cred_t cred)
3866 error = nfs_request2(dnp, NULL, &nmreq, NFSPROC_REMOVE, thd, cred, NULL, 0, &nmrep, &xid, &status);
5642 kauth_cred_t cred;
5656 cred = vfs_context_ucred(ctx);
5657 kauth_cred_ref(cred);
5658 nsp->nsr_cred = cred;
5708 kauth_cred_unref(&cred);
6014 kauth_cred_t cred,
6047 current_thread(), cred, NULL, 0, &nmrep, &xid, &status);
6661 kauth_cred_t cred;
6696 cred = ubc_getcred(vp);
6697 if (!IS_VALID_CRED(cred))
6698 cred = vfs_context_ucred(ap->a_context);
6735 if ((error = nmp->nm_funcs->nf_read_rpc_async(np, txoffset, iosize, thd, cred, NULL, &req[nextsend]))) {
6973 kauth_cred_t cred;
7112 cred = ubc_getcred(vp);
7113 if (!IS_VALID_CRED(cred))
7114 cred = vfs_context_ucred(ap->a_context);
7195 if ((error = nmp->nm_funcs->nf_write_rpc_async(np, auio, iosize, thd, cred, iomode, NULL, &req[nextsend]))) {
7253 error = nfs_write_rpc2(np, auio, thd, cred, &iomode, &wverf2);
7288 error = nmp->nm_funcs->nf_commit_rpc(np, f_offset, xsize, cred, wverf);