Home | History | Annotate | Download | only in client

Lines Matching defs:td

284 	struct thread *td;
292 td = curthread;
306 error = nfsrpc_fsinfo(vp, &fs, td->td_ucred, td, &nfsva,
313 error = nfsrpc_statfs(vp, &sb, &fs, td->td_ucred, td, &nfsva,
319 td->td_ucred, td, &nfsva, NULL, NULL);
350 error = nfscl_maperr(td, error, (uid_t)0, (gid_t)0);
362 struct thread *td)
368 error = nfsrpc_fsinfo(vp, &fs, cred, td, &nfsva, &attrflag, NULL);
399 struct thread *td = curthread;
430 td->td_ucred, td);
446 error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td);
451 error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td);
458 error = ifioctl(so, SIOCSIFMTU, (caddr_t)&ir, td);
479 CURVNET_SET(TD_TO_VNET(td));
501 &nd->root_saddr, &nd->root_args, td, &vp, mp)) != 0) {
523 struct sockaddr_in *sin, struct nfs_args *args, struct thread *td,
541 NULL, 0, vpp, td->td_ucred, td, NFS_DEFAULT_NAMETIMEO,
562 const char *hostname, struct ucred *cred, struct thread *td)
714 cred, td, 0)) {
879 struct thread *td;
897 td = curthread;
1177 tprintf(td->td_proc, LOG_WARNING,
1199 nfs_decode_args(mp, nmp, &args, NULL, td->td_ucred, td);
1319 dirlen, srvkrbname, srvkrbnamelen, &vp, td->td_ucred, td,
1365 struct ucred *cred, struct thread *td, int nametimeo, int negnametimeo,
1395 if (td->td_ucred->cr_uid != (uid_t)0) {
1405 nmp->nm_uid = td->td_ucred->cr_uid;
1462 nfs_decode_args(mp, nmp, argp, hst, cred, td);
1506 if ((error = newnfs_connect(nmp, &nmp->nm_sockreq, cred, td, 0)))
1511 error = nfscl_getcl(mp, cred, td, 0, &clp);
1527 cred, td);
1533 error = nfscl_maperr(td, error, (uid_t)0, (gid_t)0);
1565 cred, td, &nfsva, NULL, &lease);
1600 ncl_fsinfo(nmp, *vpp, cred, td);
1647 struct thread *td;
1652 td = curthread;
1669 nfscl_umount(nmp, td);
1673 error = vflush(mp, 1, flags, td);
1684 nfscl_umount(nmp, td);
1747 struct thread *td;
1750 td = curthread;
1775 if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td)) {
1779 error = VOP_FSYNC(vp, waitfor, td);
1836 error = vfs_suser(mp, req->td);