Symbol: nfsd
sys/vfs/nfs/nfs.h
202
struct nfsd *nsd_nfsd; /* Pointer to in kernel nfsd struct */
sys/vfs/nfs/nfs.h
506
TAILQ_ENTRY(nfsd) nfsd_chain; /* List of all nfsd's */
sys/vfs/nfs/nfs.h
567
extern TAILQ_HEAD(nfsd_head, nfsd) nfsd_head;
sys/vfs/nfs/nfs.h
656
int nfs_getreq (struct nfsrv_descript *,struct nfsd *,int);
sys/vfs/nfs/nfs.h
705
int nfsrv_dorec (struct nfssvc_sock *, struct nfsd *,
sys/vfs/nfs/nfs.h
727
int nfsrv3_access (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
730
int nfsrv_commit (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
732
int nfsrv_create (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
740
int nfsrv_fsinfo (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
742
int nfsrv_getattr (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
744
int nfsrv_link (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
746
int nfsrv_lookup (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
748
int nfsrv_mkdir (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
750
int nfsrv_mknod (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
752
int nfsrv_noop (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
754
int nfsrv_null (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
756
int nfsrv_pathconf (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
759
int nfsrv_read (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
761
int nfsrv_readdir (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
764
int nfsrv_readdirplus (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
767
int nfsrv_readlink (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
770
int nfsrv_remove (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
772
int nfsrv_rename (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
774
int nfsrv_rmdir (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs.h
776
int nfsrv_setattr (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
779
int nfsrv_statfs (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
782
int nfsrv_symlink (struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfs.h
785
int nfsrv_write (struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
1000
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
1001
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
1022
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1024
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
1025
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
1026
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
1034
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
1082
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1084
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1090
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
1093
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1095
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1114
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1116
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1167
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1173
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1199
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
1220
struct nfsrv_descript *wp, *nfsd, *owp, *swp;
sys/vfs/nfs/nfs_serv.c
1245
nfsd = *ndp;
sys/vfs/nfs/nfs_serv.c
1247
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1249
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
1250
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
1251
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
1252
cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
1253
LIST_INIT(&nfsd->nd_coalesce);
sys/vfs/nfs/nfs_serv.c
1254
nfsd->nd_mreq = NULL;
sys/vfs/nfs/nfs_serv.c
1255
nfsd->nd_stable = NFSV3WRITE_FILESYNC;
sys/vfs/nfs/nfs_serv.c
1257
nfsd->nd_time = cur_usec +
sys/vfs/nfs/nfs_serv.c
1263
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, &nfsd->nd_fh, &error));
sys/vfs/nfs/nfs_serv.c
1266
nfsd->nd_off = fxdr_hyper(tl);
sys/vfs/nfs/nfs_serv.c
1268
nfsd->nd_stable = fxdr_unsigned(int, *tl++);
sys/vfs/nfs/nfs_serv.c
1271
nfsd->nd_off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
sys/vfs/nfs/nfs_serv.c
1274
nfsd->nd_stable = NFSV3WRITE_UNSTABLE;
sys/vfs/nfs/nfs_serv.c
1277
nfsd->nd_len = len;
sys/vfs/nfs/nfs_serv.c
1278
nfsd->nd_eoff = nfsd->nd_off + len;
sys/vfs/nfs/nfs_serv.c
1311
nfsm_writereply(&info, nfsd, slp, error, 2 * NFSX_UNSIGNED);
sys/vfs/nfs/nfs_serv.c
1313
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1316
nfsd->nd_mreq = info.mreq;
sys/vfs/nfs/nfs_serv.c
1317
nfsd->nd_mrep = NULL;
sys/vfs/nfs/nfs_serv.c
1318
nfsd->nd_time = 0;
sys/vfs/nfs/nfs_serv.c
1326
while (wp && wp->nd_time < nfsd->nd_time) {
sys/vfs/nfs/nfs_serv.c
1330
NFS_DPF(WG, ("Q%03x", nfsd->nd_retxid & 0xfff));
sys/vfs/nfs/nfs_serv.c
1332
LIST_INSERT_AFTER(owp, nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1334
LIST_INSERT_HEAD(&slp->ns_tq, nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1336
if (nfsd->nd_mrep) {
sys/vfs/nfs/nfs_serv.c
1337
wpp = NWDELAYHASH(slp, nfsd->nd_fh.fh_fid.fid_data);
sys/vfs/nfs/nfs_serv.c
1341
bcmp((caddr_t)&nfsd->nd_fh,(caddr_t)&wp->nd_fh,NFSX_V3FH)) {
sys/vfs/nfs/nfs_serv.c
1345
while (wp && wp->nd_off < nfsd->nd_off &&
sys/vfs/nfs/nfs_serv.c
1346
!bcmp((caddr_t)&nfsd->nd_fh,(caddr_t)&wp->nd_fh,NFSX_V3FH)) {
sys/vfs/nfs/nfs_serv.c
1351
LIST_INSERT_AFTER(owp, nfsd, nd_hash);
sys/vfs/nfs/nfs_serv.c
1357
for(; nfsd && NFSW_CONTIG(owp, nfsd); nfsd = wp) {
sys/vfs/nfs/nfs_serv.c
1358
wp = nfsd->nd_hash.le_next;
sys/vfs/nfs/nfs_serv.c
1359
if (NFSW_SAMECRED(owp, nfsd))
sys/vfs/nfs/nfs_serv.c
1360
nfsrvw_coalesce(owp, nfsd);
sys/vfs/nfs/nfs_serv.c
1363
LIST_INSERT_HEAD(wpp, nfsd, nd_hash);
sys/vfs/nfs/nfs_serv.c
1374
for (nfsd = slp->ns_tq.lh_first; nfsd; nfsd = owp) {
sys/vfs/nfs/nfs_serv.c
1375
owp = nfsd->nd_tq.le_next;
sys/vfs/nfs/nfs_serv.c
1376
if (nfsd->nd_time > cur_usec)
sys/vfs/nfs/nfs_serv.c
1378
if (nfsd->nd_mreq)
sys/vfs/nfs/nfs_serv.c
1380
NFS_DPF(WG, ("P%03x", nfsd->nd_retxid & 0xfff));
sys/vfs/nfs/nfs_serv.c
1381
LIST_REMOVE(nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1382
LIST_REMOVE(nfsd, nd_hash);
sys/vfs/nfs/nfs_serv.c
1383
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1385
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
1386
nfsd->nd_mrep = NULL;
sys/vfs/nfs/nfs_serv.c
1387
cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
1389
error = nfsrv_fhtovp(&nfsd->nd_fh, 1, &mp, &vp, cred, slp,
sys/vfs/nfs/nfs_serv.c
1390
nfsd->nd_nam, &rdonly,
sys/vfs/nfs/nfs_serv.c
1391
(nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
1408
if (nfsd->nd_stable == NFSV3WRITE_UNSTABLE)
sys/vfs/nfs/nfs_serv.c
1410
else if (nfsd->nd_stable == NFSV3WRITE_DATASYNC)
sys/vfs/nfs/nfs_serv.c
1417
uiop->uio_offset = nfsd->nd_off;
sys/vfs/nfs/nfs_serv.c
1418
uiop->uio_resid = nfsd->nd_eoff - nfsd->nd_off;
sys/vfs/nfs/nfs_serv.c
1457
swp = nfsd;
sys/vfs/nfs/nfs_serv.c
1459
NFS_DPF(WG, ("R%03x", nfsd->nd_retxid & 0xfff));
sys/vfs/nfs/nfs_serv.c
1461
nfsm_writereply(&info, nfsd, slp, error,
sys/vfs/nfs/nfs_serv.c
1464
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1468
nfsm_writereply(&info, nfsd, slp, error,
sys/vfs/nfs/nfs_serv.c
1474
nfsm_srvwcc_data(&info, nfsd, forat_ret, &forat,
sys/vfs/nfs/nfs_serv.c
1477
*tl++ = txdr_unsigned(nfsd->nd_len);
sys/vfs/nfs/nfs_serv.c
1490
nfsm_srvfattr(nfsd, &va, fp);
sys/vfs/nfs/nfs_serv.c
1493
nfsd->nd_mreq = info.mreq;
sys/vfs/nfs/nfs_serv.c
1494
if (nfsd->nd_mrep)
sys/vfs/nfs/nfs_serv.c
1501
if (nfsd != swp) {
sys/vfs/nfs/nfs_serv.c
1502
nfsd->nd_time = 0;
sys/vfs/nfs/nfs_serv.c
1503
LIST_INSERT_HEAD(&slp->ns_tq, nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1505
nfsd = swp->nd_coalesce.lh_first;
sys/vfs/nfs/nfs_serv.c
1506
if (nfsd) {
sys/vfs/nfs/nfs_serv.c
1507
LIST_REMOVE(nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1509
} while (nfsd);
sys/vfs/nfs/nfs_serv.c
1518
for (nfsd = slp->ns_tq.lh_first; nfsd; nfsd = nfsd->nd_tq.le_next) {
sys/vfs/nfs/nfs_serv.c
1519
if (nfsd->nd_mreq) {
sys/vfs/nfs/nfs_serv.c
1520
NFS_DPF(WG, ("X%03x", nfsd->nd_retxid & 0xfff));
sys/vfs/nfs/nfs_serv.c
1521
LIST_REMOVE(nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1525
if (nfsd) {
sys/vfs/nfs/nfs_serv.c
1526
*ndp = nfsd;
sys/vfs/nfs/nfs_serv.c
1527
*mrq = nfsd->nd_mreq;
sys/vfs/nfs/nfs_serv.c
1544
nfsrvw_coalesce(struct nfsrv_descript *owp, struct nfsrv_descript *nfsd)
sys/vfs/nfs/nfs_serv.c
1551
nfsd->nd_retxid & 0xfff, owp->nd_retxid & 0xfff));
sys/vfs/nfs/nfs_serv.c
1552
LIST_REMOVE(nfsd, nd_hash);
sys/vfs/nfs/nfs_serv.c
1553
LIST_REMOVE(nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1554
if (owp->nd_eoff < nfsd->nd_eoff) {
sys/vfs/nfs/nfs_serv.c
1555
overlap = owp->nd_eoff - nfsd->nd_off;
sys/vfs/nfs/nfs_serv.c
1559
m_adj(nfsd->nd_mrep, overlap);
sys/vfs/nfs/nfs_serv.c
1563
mp1->m_next = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1564
owp->nd_eoff = nfsd->nd_eoff;
sys/vfs/nfs/nfs_serv.c
1566
m_freem(nfsd->nd_mrep);
sys/vfs/nfs/nfs_serv.c
1567
nfsd->nd_mrep = NULL;
sys/vfs/nfs/nfs_serv.c
1568
if (nfsd->nd_stable == NFSV3WRITE_FILESYNC)
sys/vfs/nfs/nfs_serv.c
1570
else if (nfsd->nd_stable == NFSV3WRITE_DATASYNC &&
sys/vfs/nfs/nfs_serv.c
1573
LIST_INSERT_HEAD(&owp->nd_coalesce, nfsd, nd_tq);
sys/vfs/nfs/nfs_serv.c
1579
for (p = nfsd->nd_coalesce.lh_first; p;
sys/vfs/nfs/nfs_serv.c
1580
p = nfsd->nd_coalesce.lh_first) {
sys/vfs/nfs/nfs_serv.c
1591
nfsrv_create(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
1594
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
1595
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
1622
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1624
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
1625
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
1626
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
1629
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
1643
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
1655
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1657
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
1800
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1840
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1847
nfsm_srvpostop_attr(&info, nfsd, 0, vap);
sys/vfs/nfs/nfs_serv.c
1849
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
1855
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
1860
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, 0, &error));
sys/vfs/nfs/nfs_serv.c
1886
nfsrv_mknod(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
1889
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
1890
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
1910
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
1912
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
1913
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
1916
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
1927
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
1931
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
1933
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2009
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2014
nfsm_srvpostop_attr(&info, nfsd, 0, vap);
sys/vfs/nfs/nfs_serv.c
2016
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2040
nfsrv_remove(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2043
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2044
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2061
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2063
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2064
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2065
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2068
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
2073
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
208
nfsrv3_access(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2105
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_WCCDATA(info.v3), &error));
sys/vfs/nfs/nfs_serv.c
2107
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
211
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
212
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2131
nfsrv_rename(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2134
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2135
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2152
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2154
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2155
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2156
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2174
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, ffhp, &error));
sys/vfs/nfs/nfs_serv.c
2189
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
2195
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2197
nfsm_srvwcc_data(&info, nfsd, fdirfor_ret, &fdirfor,
sys/vfs/nfs/nfs_serv.c
2199
nfsm_srvwcc_data(&info, nfsd, tdirfor_ret, &tdirfor,
sys/vfs/nfs/nfs_serv.c
2221
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, tfhp, &error));
sys/vfs/nfs/nfs_serv.c
2227
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
223
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
224
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
225
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
230
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
233
(nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
235
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
236
nfsm_srvpostop_attr(&info, nfsd, 1, NULL);
sys/vfs/nfs/nfs_serv.c
2371
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2374
nfsm_srvwcc_data(&info, nfsd, fdirfor_ret, &fdirfor,
sys/vfs/nfs/nfs_serv.c
2376
nfsm_srvwcc_data(&info, nfsd, tdirfor_ret, &tdirfor,
sys/vfs/nfs/nfs_serv.c
2406
nfsrv_link(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2409
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2410
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2424
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2426
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2427
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2428
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2437
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
2438
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, dfhp, &error));
sys/vfs/nfs/nfs_serv.c
2442
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
2444
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2448
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
2449
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2462
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
2490
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2494
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
2495
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2523
nfsrv_symlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2526
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2527
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2549
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2551
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2552
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2553
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2556
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
2561
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
262
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2629
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2636
nfsm_srvpostop_attr(&info, nfsd, 0, vap);
sys/vfs/nfs/nfs_serv.c
2638
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
264
nfsm_srvpostop_attr(&info, nfsd, getret, vap);
sys/vfs/nfs/nfs_serv.c
2660
nfsrv_mkdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2663
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2664
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2684
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2685
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2687
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2688
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2691
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
2696
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
2702
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2704
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2749
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2756
nfsm_srvpostop_attr(&info, nfsd, 0, vap);
sys/vfs/nfs/nfs_serv.c
2758
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2763
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
278
nfsrv_getattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2788
nfsrv_rmdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2791
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2792
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2809
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
281
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2811
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2812
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2813
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2816
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
282
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
2821
td, (nfsd->nd_flag & ND_KERBAUTH), FALSE);
sys/vfs/nfs/nfs_serv.c
2827
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
2829
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2862
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_WCCDATA(info.v3), &error));
sys/vfs/nfs/nfs_serv.c
2864
nfsm_srvwcc_data(&info, nfsd, dirfor_ret, &dirfor,
sys/vfs/nfs/nfs_serv.c
2925
nfsrv_readdir(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
2928
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
2929
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
293
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
294
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
295
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2952
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
2954
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
2955
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
2956
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
2960
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
2979
xfer = NFS_SRVMAXDATA(nfsd);
sys/vfs/nfs/nfs_serv.c
2986
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
2993
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
2994
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
300
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3018
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
302
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3020
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
304
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, 0, &error));
sys/vfs/nfs/nfs_serv.c
3060
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3062
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3076
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3082
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
311
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
312
NFSX_FATTR(nfsd->nd_flag & ND_NFSV3), &error));
sys/vfs/nfs/nfs_serv.c
3127
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3132
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
317
fp = nfsm_build(&info, NFSX_FATTR(nfsd->nd_flag & ND_NFSV3));
sys/vfs/nfs/nfs_serv.c
318
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
3232
nfsrv_readdirplus(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3235
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3236
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3261
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3263
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
3264
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
3265
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
3269
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3281
xfer = NFS_SRVMAXDATA(nfsd);
sys/vfs/nfs/nfs_serv.c
3288
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3295
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
3296
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3314
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3316
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
332
nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
335
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3350
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3352
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
336
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3366
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3371
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3423
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3425
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3436
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, cnt, &error));
sys/vfs/nfs/nfs_serv.c
3437
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3490
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
351
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
353
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
354
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
355
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
3580
nfsrv_commit(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3583
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3584
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3595
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3597
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
3598
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
3602
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3613
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3615
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3617
nfsm_srvwcc_data(&info, nfsd, for_ret, &bfor,
sys/vfs/nfs/nfs_serv.c
362
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3707
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3710
nfsm_srvwcc_data(&info, nfsd, for_ret, &bfor,
sys/vfs/nfs/nfs_serv.c
3732
nfsrv_statfs(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3735
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3736
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3749
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3751
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
3752
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
3753
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
3757
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3759
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3761
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
3762
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3771
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3775
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3816
nfsrv_fsinfo(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3819
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3820
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3832
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3834
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
3835
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
3839
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3841
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3843
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
3844
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3856
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3858
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3894
nfsrv_pathconf(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3897
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
3898
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
3909
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3911
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
3912
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
3916
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
3918
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
3920
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, NFSX_UNSIGNED, &error));
sys/vfs/nfs/nfs_serv.c
3921
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3935
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
3938
nfsm_srvpostop_attr(&info, nfsd, getret, &at);
sys/vfs/nfs/nfs_serv.c
3969
nfsrv_null(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3975
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
3979
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, 0, &error));
sys/vfs/nfs/nfs_serv.c
3990
nfsrv_noop(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
3996
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
4000
if (nfsd->nd_repstat)
sys/vfs/nfs/nfs_serv.c
4001
error = nfsd->nd_repstat;
sys/vfs/nfs/nfs_serv.c
4004
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp, 0, &error));
sys/vfs/nfs/nfs_serv.c
407
(nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
409
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
411
nfsm_srvwcc_data(&info, nfsd, preat_ret, &preat,
sys/vfs/nfs/nfs_serv.c
430
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
432
nfsm_srvwcc_data(&info, nfsd, preat_ret, &preat,
sys/vfs/nfs/nfs_serv.c
464
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
467
nfsm_srvwcc_data(&info, nfsd, preat_ret, &preat,
sys/vfs/nfs/nfs_serv.c
473
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
487
nfsrv_lookup(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
490
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
491
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
504
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
506
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
507
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
508
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
516
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
523
&dirp, td, (nfsd->nd_flag & ND_KERBAUTH), pubflag);
sys/vfs/nfs/nfs_serv.c
537
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
539
nfsm_srvpostop_attr(&info, nfsd, dirattr_ret, &dirattr);
sys/vfs/nfs/nfs_serv.c
620
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
622
nfsm_srvpostop_attr(&info, nfsd, dirattr_ret, &dirattr);
sys/vfs/nfs/nfs_serv.c
645
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
651
nfsm_srvpostop_attr(&info, nfsd, dirattr_ret, &dirattr);
sys/vfs/nfs/nfs_serv.c
657
nfsm_srvpostop_attr(&info, nfsd, 0, vap);
sys/vfs/nfs/nfs_serv.c
658
nfsm_srvpostop_attr(&info, nfsd, dirattr_ret, &dirattr);
sys/vfs/nfs/nfs_serv.c
661
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
678
nfsrv_readlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
681
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
682
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
696
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
698
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
699
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
700
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
710
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
740
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
742
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
744
nfsm_srvpostop_attr(&info, nfsd, 1, NULL);
sys/vfs/nfs/nfs_serv.c
760
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
764
nfsm_srvpostop_attr(&info, nfsd, getret, &attr);
sys/vfs/nfs/nfs_serv.c
792
nfsrv_read(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_serv.c
796
struct sockaddr *nam = nfsd->nd_nam;
sys/vfs/nfs/nfs_serv.c
797
struct ucred *cred = &nfsd->nd_cr;
sys/vfs/nfs/nfs_serv.c
817
info.mrep = nfsd->nd_mrep;
sys/vfs/nfs/nfs_serv.c
819
info.md = nfsd->nd_md;
sys/vfs/nfs/nfs_serv.c
820
info.dpos = nfsd->nd_dpos;
sys/vfs/nfs/nfs_serv.c
821
info.v3 = (nfsd->nd_flag & ND_NFSV3);
sys/vfs/nfs/nfs_serv.c
825
NEGREPLYOUT(nfsm_srvmtofh(&info, nfsd, fhp, &error));
sys/vfs/nfs/nfs_serv.c
834
NFS_SRVMAXDATA(nfsd), &error));
sys/vfs/nfs/nfs_serv.c
843
&rdonly, (nfsd->nd_flag & ND_KERBAUTH), TRUE);
sys/vfs/nfs/nfs_serv.c
846
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
848
nfsm_srvpostop_attr(&info, nfsd, 1, NULL);
sys/vfs/nfs/nfs_serv.c
869
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
871
nfsm_srvpostop_attr(&info, nfsd, getret, vap);
sys/vfs/nfs/nfs_serv.c
887
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
960
NEGKEEPOUT(nfsm_reply(&info, nfsd, slp,
sys/vfs/nfs/nfs_serv.c
963
nfsm_srvpostop_attr(&info, nfsd, getret, vap);
sys/vfs/nfs/nfs_serv.c
972
nfsm_srvfattr(nfsd, vap, fp);
sys/vfs/nfs/nfs_serv.c
997
nfsrv_write(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfs_socket.c
2281
nfs_getreq(struct nfsrv_descript *nd, struct nfsd *nfsd, int has_header)
sys/vfs/nfs/nfs_socket.c
2396
*((u_int32_t *)nfsd->nfsd_authstr) = *tl;
sys/vfs/nfs/nfs_socket.c
2398
nfsd->nfsd_authlen = uio.uio_resid + NFSX_UNSIGNED;
sys/vfs/nfs/nfs_socket.c
2407
iov.iov_base = (caddr_t)&nfsd->nfsd_authstr[4];
sys/vfs/nfs/nfs_socket.c
2427
bcopy(cp, nfsd->nfsd_verfstr, 3 * NFSX_UNSIGNED);
sys/vfs/nfs/nfs_socket.c
2428
nfsd->nfsd_verflen = 3 * NFSX_UNSIGNED;
sys/vfs/nfs/nfs_socket.c
2430
nfsd->nfsd_flag |= NFSD_NEEDAUTH;
sys/vfs/nfs/nfs_socket.c
2452
for (nuidp = NUIDHASH(nfsd->nfsd_slp,nickuid)->lh_first;
sys/vfs/nfs/nfs_socket.c
2864
nfsrv_dorec(struct nfssvc_sock *slp, struct nfsd *nfsd,
sys/vfs/nfs/nfs_socket.c
2888
error = nfs_getreq(nd, nfsd, TRUE);
sys/vfs/nfs/nfs_socket.c
2897
nfsd->nfsd_nd = nd;
sys/vfs/nfs/nfs_socket.c
2914
struct nfsd *nd;
sys/vfs/nfs/nfs_syscalls.c
132
struct nfsd *nfsd;
sys/vfs/nfs/nfs_syscalls.c
216
((nfsd = nsd->nsd_nfsd)) != NULL &&
sys/vfs/nfs/nfs_syscalls.c
217
(nfsd->nfsd_slp->ns_flag & SLP_VALID)) {
sys/vfs/nfs/nfs_syscalls.c
218
slp = nfsd->nfsd_slp;
sys/vfs/nfs/nfs_syscalls.c
227
(!nfsd->nfsd_nd->nd_nam2 ||
sys/vfs/nfs/nfs_syscalls.c
229
&nuidp->nu_haddr, nfsd->nfsd_nd->nd_nam2)))
sys/vfs/nfs/nfs_syscalls.c
233
nfsrv_setcred(&nuidp->nu_cr,&nfsd->nfsd_nd->nd_cr);
sys/vfs/nfs/nfs_syscalls.c
234
nfsd->nfsd_nd->nd_flag |= ND_KERBFULL;
sys/vfs/nfs/nfs_syscalls.c
270
if (nfsd->nfsd_nd->nd_nam2) {
sys/vfs/nfs/nfs_syscalls.c
274
nfsd->nfsd_nd->nd_nam2;
sys/vfs/nfs/nfs_syscalls.c
284
dup_sockaddr(nfsd->nfsd_nd->nd_nam2);
sys/vfs/nfs/nfs_syscalls.c
293
&nfsd->nfsd_nd->nd_cr);
sys/vfs/nfs/nfs_syscalls.c
294
nfsd->nfsd_nd->nd_flag |= ND_KERBFULL;
sys/vfs/nfs/nfs_syscalls.c
298
if ((uap->flag & NFSSVC_AUTHINFAIL) && (nfsd = nsd->nsd_nfsd))
sys/vfs/nfs/nfs_syscalls.c
299
nfsd->nfsd_flag |= NFSD_AUTHFAIL;
sys/vfs/nfs/nfs_syscalls.c
447
struct nfsd *nfsd = nsd->nsd_nfsd;
sys/vfs/nfs/nfs_syscalls.c
461
if (nfsd == NULL) {
sys/vfs/nfs/nfs_syscalls.c
462
nsd->nsd_nfsd = nfsd = (struct nfsd *)
sys/vfs/nfs/nfs_syscalls.c
463
kmalloc(sizeof (struct nfsd), M_NFSD, M_WAITOK|M_ZERO);
sys/vfs/nfs/nfs_syscalls.c
464
nfsd->nfsd_td = td;
sys/vfs/nfs/nfs_syscalls.c
465
TAILQ_INSERT_TAIL(&nfsd_head, nfsd, nfsd_chain);
sys/vfs/nfs/nfs_syscalls.c
473
if ((nfsd->nfsd_flag & NFSD_REQINPROG) == 0) {
sys/vfs/nfs/nfs_syscalls.c
474
while (nfsd->nfsd_slp == NULL &&
sys/vfs/nfs/nfs_syscalls.c
476
nfsd->nfsd_flag |= NFSD_WAITING;
sys/vfs/nfs/nfs_syscalls.c
478
error = tsleep(nfsd, PCATCH, "nfsd", 0);
sys/vfs/nfs/nfs_syscalls.c
480
if (error && nfsd->nfsd_slp == NULL)
sys/vfs/nfs/nfs_syscalls.c
483
if (nfsd->nfsd_slp == NULL &&
sys/vfs/nfs/nfs_syscalls.c
489
nfsd->nfsd_slp = slp;
sys/vfs/nfs/nfs_syscalls.c
496
if ((slp = nfsd->nfsd_slp) == NULL)
sys/vfs/nfs/nfs_syscalls.c
534
error = nfsrv_dorec(slp, nfsd, &nd);
sys/vfs/nfs/nfs_syscalls.c
544
nfsd->nfsd_flag |= NFSD_REQINPROG;
sys/vfs/nfs/nfs_syscalls.c
551
slp = nfsd->nfsd_slp;
sys/vfs/nfs/nfs_syscalls.c
580
nfsd->nfsd_flag &= ~NFSD_REQINPROG;
sys/vfs/nfs/nfs_syscalls.c
585
nfsd->nfsd_slp = NULL;
sys/vfs/nfs/nfs_syscalls.c
609
if (nfsd->nfsd_flag & NFSD_NEEDAUTH) {
sys/vfs/nfs/nfs_syscalls.c
610
nfsd->nfsd_flag &= ~NFSD_NEEDAUTH;
sys/vfs/nfs/nfs_syscalls.c
614
nsd->nsd_authlen = nfsd->nfsd_authlen;
sys/vfs/nfs/nfs_syscalls.c
615
nsd->nsd_verflen = nfsd->nfsd_verflen;
sys/vfs/nfs/nfs_syscalls.c
616
if (!copyout(nfsd->nfsd_authstr,nsd->nsd_authstr,
sys/vfs/nfs/nfs_syscalls.c
617
nfsd->nfsd_authlen) &&
sys/vfs/nfs/nfs_syscalls.c
618
!copyout(nfsd->nfsd_verfstr, nsd->nsd_verfstr,
sys/vfs/nfs/nfs_syscalls.c
619
nfsd->nfsd_verflen) &&
sys/vfs/nfs/nfs_syscalls.c
630
if (nfsd->nfsd_flag & NFSD_AUTHFAIL) {
sys/vfs/nfs/nfs_syscalls.c
631
nfsd->nfsd_flag &= ~NFSD_AUTHFAIL;
sys/vfs/nfs/nfs_syscalls.c
675
nfsd->nfsd_td, &mreq);
sys/vfs/nfs/nfs_syscalls.c
679
slp, nfsd->nfsd_td, &mreq);
sys/vfs/nfs/nfs_syscalls.c
746
nfsd->nfsd_slp = NULL;
sys/vfs/nfs/nfs_syscalls.c
781
if (nfsrv_dorec(slp, nfsd, &nd)) {
sys/vfs/nfs/nfs_syscalls.c
782
nfsd->nfsd_flag &= ~NFSD_REQINPROG;
sys/vfs/nfs/nfs_syscalls.c
787
nfsd->nfsd_slp = NULL;
sys/vfs/nfs/nfs_syscalls.c
798
TAILQ_REMOVE(&nfsd_head, nfsd, nfsd_chain);
sys/vfs/nfs/nfs_syscalls.c
799
kfree((caddr_t)nfsd, M_NFSD);
sys/vfs/nfs/nfsm_subs.c
1516
nfsm_srvwcc_data(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.c
1537
nfsm_srvpostop_attr(info, nfsd, after_ret, after_vap);
sys/vfs/nfs/nfsm_subs.c
1541
nfsm_srvpostop_attr(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.c
1554
nfsm_srvfattr(nfsd, after_vap, fp);
sys/vfs/nfs/nfsm_subs.c
1559
nfsm_srvfattr(struct nfsrv_descript *nfsd, struct vattr *vap,
sys/vfs/nfs/nfsm_subs.c
1571
if (nfsd->nd_flag & ND_NFSV3) {
sys/vfs/nfs/nfsm_subs.c
877
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfsm_subs.c
880
nfsd->nd_repstat = *errorp;
sys/vfs/nfs/nfsm_subs.c
881
if (*errorp && !(nfsd->nd_flag & ND_NFSV3))
sys/vfs/nfs/nfsm_subs.c
883
nfs_rephead(siz, nfsd, slp, *errorp, &info->mreq,
sys/vfs/nfs/nfsm_subs.c
889
if (*errorp && (!(nfsd->nd_flag & ND_NFSV3) || *errorp == EBADRPC)) {
sys/vfs/nfs/nfsm_subs.c
898
struct nfsrv_descript *nfsd, struct nfssvc_sock *slp,
sys/vfs/nfs/nfsm_subs.c
901
nfsd->nd_repstat = error;
sys/vfs/nfs/nfsm_subs.c
904
nfs_rephead(siz, nfsd, slp, error, &info->mreq, &info->mb, &info->bpos);
sys/vfs/nfs/nfsm_subs.c
934
nfsm_srvmtofh(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.c
940
if (nfsd->nd_flag & ND_NFSV3) {
sys/vfs/nfs/nfsm_subs.h
119
nfsm_reply(&info, nfsd, slp, 0, &error); \
sys/vfs/nfs/nfsm_subs.h
168
int nfsm_reply(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.h
170
void nfsm_writereply(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.h
173
int nfsm_srvmtofh(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.h
190
void nfsm_srvwcc_data(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.h
193
void nfsm_srvpostop_attr(nfsm_info_t info, struct nfsrv_descript *nfsd,
sys/vfs/nfs/nfsm_subs.h
195
void nfsm_srvfattr(struct nfsrv_descript *nfsd, struct vattr *vap,