/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_acl_srv.c | 92 bzero((caddr_t)&resp->resok.acl, sizeof (resp->resok.acl)); in acl2_getacl() 94 resp->resok.acl.vsa_mask = args->mask; in acl2_getacl() 96 error = VOP_GETSECATTR(vp, &resp->resok.acl, 0, cr, NULL); in acl2_getacl() 114 error = fs_fab_acl(vp, &resp->resok.acl, 0, cr, NULL); in acl2_getacl() 130 error = vattr_to_nattr(&va, &resp->resok.attr); in acl2_getacl() 134 if (resp->resok.acl.vsa_aclcnt > 0 && in acl2_getacl() 135 resp->resok.acl.vsa_aclentp != NULL) { in acl2_getacl() 136 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl2_getacl() 137 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl2_getacl() 139 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl2_getacl() [all …]
|
H A D | nfs3_srv.c | 117 error = vattr_to_fattr3(&va, &resp->resok.obj_attributes); in rfs3_getattr() 331 vattr_to_wcc_data(bvap, avap, &resp->resok.obj_wcc); in rfs3_setattr() 508 error = makefh3_ol(&resp->resok.object, exi, sec.sec_index); in rfs3_lookup() 510 error = makefh3(&resp->resok.object, vp, exi); in rfs3_lookup() 535 vattr_to_post_op_attr(vap, &resp->resok.obj_attributes); in rfs3_lookup() 536 vattr_to_post_op_attr(dvap, &resp->resok.dir_attributes); in rfs3_lookup() 625 resp->resok.access = 0; in rfs3_access() 654 resp->resok.access |= ACCESS3_READ; in rfs3_access() 663 resp->resok.access |= ACCESS3_LOOKUP; in rfs3_access() 673 resp->resok.access |= in rfs3_access() [all …]
|
H A D | nfs_acl_vnops.c | 159 res.resok.acl.vsa_aclentp = NULL; in acl_getacl2() 160 res.resok.acl.vsa_dfaclentp = NULL; in acl_getacl2() 176 (void) nfs_cache_fattr(vp, &res.resok.attr, &va, t, cr); in acl_getacl2() 177 nfs_acl_dup_res(rp, &res.resok.acl); in acl_getacl2() 178 *vsp = res.resok.acl; in acl_getacl2() 229 (void) nfs_cache_fattr(vp, &res.resok.attr, &va, t, cr); in acl_setacl2() 268 error = nfs_cache_fattr(vp, &res.resok.attr, vap, t, cr); in acl_getattr2_otw() 376 (void) nfs_cache_fattr(vp, &res.resok.attr, &va, t, cr); in acl_access2() 377 nfs_access_cache(rp, args.access, res.resok.access, cred); in acl_access2() 386 if ((acc & res.resok.access) != acc) { in acl_access2() [all …]
|
H A D | nfs3_vfsops.c | 1188 if (res.resok.obj_attributes.attributes) { in nfs3rootvp() 1189 if (res.resok.obj_attributes.attr.type < NF3REG || in nfs3rootvp() 1190 res.resok.obj_attributes.attr.type > NF3FIFO) { in nfs3rootvp() 1204 nf3_to_vt[res.resok.obj_attributes.attr. in nfs3rootvp() 1219 nf3_to_vt[res.resok.obj_attributes.attr. in nfs3rootvp() 1224 if (res.resok.rtmax != 0) { in nfs3rootvp() 1225 mi->mi_tsize = MIN(res.resok.rtmax, mi->mi_tsize); in nfs3rootvp() 1226 if (res.resok.rtpref != 0) { in nfs3rootvp() 1227 mi->mi_curread = MIN(res.resok.rtpref, in nfs3rootvp() 1230 mi->mi_curread = MIN(res.resok.rtmax, in nfs3rootvp() [all …]
|
H A D | nfs_acl_xdr.c | 183 if (!xdr_GETACL2resok(xdrs, &objp->resok)) in xdr_GETACL2res() 228 if (!xdr_SETACL2resok(xdrs, &objp->resok)) in xdr_SETACL2res() 243 if (!xdr_fastSETACL2resok(xdrs, &objp->resok)) in xdr_fastSETACL2res() 303 if (!xdr_GETATTR2resok(xdrs, &objp->resok)) in xdr_GETATTR2res() 318 if (!xdr_fastGETATTR2resok(xdrs, &objp->resok)) in xdr_fastGETATTR2res() 390 if (!xdr_ACCESS2resok(xdrs, &objp->resok)) in xdr_ACCESS2res() 405 if (!xdr_fastACCESS2resok(xdrs, &objp->resok)) in xdr_fastACCESS2res() 440 if (!xdr_GETXATTRDIR2resok(xdrs, &objp->resok)) in xdr_GETXATTRDIR2res() 495 if (!xdr_GETACL3resok(xdrs, &objp->resok)) in xdr_GETACL3res() 552 if (!xdr_SETACL3resok(xdrs, &objp->resok)) in xdr_SETACL3res() [all …]
|
H A D | nfs3_vnops.c | 1059 if (res.resok.count > args.count) { in nfs3write() 1064 res.resok.count, args.count); in nfs3write() 1067 if (res.resok.committed == UNSTABLE) { in nfs3write() 1077 tsize = (int)res.resok.count; in nfs3write() 1091 if (rp->r_verf != res.resok.verf) { in nfs3write() 1093 rp->r_verf = res.resok.verf; in nfs3write() 1106 rp->r_verf = res.resok.verf; in nfs3write() 1480 nfs3_cache_wcc_data(vp, &res.resok.obj_wcc, t, cr); in nfs3setattr() 1634 nfs3_cache_post_op_attr(vp, &res.resok.obj_attributes, t, cr); in nfs3_access() 1635 nfs_access_cache(rp, args.access, res.resok.access, cred); in nfs3_access() [all …]
|
H A D | nfs3_xdr.c | 1050 return (xdr_fattr3(xdrs, &objp->resok.obj_attributes)); in xdr_GETATTR3res() 1114 return (xdr_wcc_data(xdrs, &objp->resok.obj_wcc)); in xdr_SETATTR3res() 1132 resokp = &objp->resok; in xdr_LOOKUP3res() 1203 resokp = &objp->resok; in xdr_ACCESS3res() 1239 resokp = &objp->resok; in xdr_READLINK3res() 1320 resokp = &objp->resok; in xdr_READ3res() 1691 resokp = &objp->resok; in xdr_WRITE3res() 1747 resokp = &objp->resok; in xdr_CREATE3res() 1778 resokp = &objp->resok; in xdr_MKDIR3res() 1809 resokp = &objp->resok; in xdr_SYMLINK3res() [all …]
|
/titanic_50/usr/src/head/rpcsvc/ |
H A D | nfs_acl.x | 108 GETACL2resok resok; variable 128 SETACL2resok resok; variable 151 GETATTR2resok resok; variable 183 ACCESS2resok resok; variable 204 GETXATTRDIR2resok resok; variable 229 GETACL3resok resok; variable 253 SETACL3resok resok; variable 274 GETXATTRDIR3resok resok; variable 308 GETACL4resok resok; variable 332 SETACL4resok resok; variable
|
H A D | nfs_prot.x | 588 GETATTR3resok resok; variable 619 SETATTR3resok resok; variable 643 LOOKUP3resok resok; variable 674 ACCESS3resok resok; variable 697 READLINK3resok resok; variable 724 READ3resok resok; variable 759 WRITE3resok resok; variable 798 CREATE3resok resok; variable 823 MKDIR3resok resok; variable 853 SYMLINK3resok resok; variable [all …]
|
/titanic_50/usr/src/stand/lib/fs/nfs/ |
H A D | nfs3ops.c | 91 read_res.READ3res_u.resok.data.data_val = buf_offset; in nfs3read() 144 readcnt = read_res.READ3res_u.resok.data.data_len; in nfs3read() 148 if (read_res.READ3res_u.resok.eof == TRUE) in nfs3read() 213 na = &getattr_res.GETATTR3res_u.resok.obj_attributes; in nfs3getattr() 386 if (res_lookup.LOOKUP3res_u.resok.obj_attributes.attributes_follow == in nfs3lookup() 394 cd.ftype.type3 = res_lookup.LOOKUP3res_u.resok.obj_attributes in nfs3lookup() 396 cd.fh.fh3.len = res_lookup.LOOKUP3res_u.resok.object.data.data_len; in nfs3lookup() 397 bcopy(res_lookup.LOOKUP3res_u.resok.object.data.data_val, in nfs3lookup() 424 linkres.READLINK3res_u.resok.data = symlink_path; in nfs3getsymlink()
|
H A D | nfs3_xdr.c | 124 return (xdr_b_GETATTR3resok(xdrs, &objp->GETATTR3res_u.resok)); in xdr_GETATTR3res() 157 return (xdr_b_LOOKUP3resok(xdrs, &objp->LOOKUP3res_u.resok)); in xdr_LOOKUP3res() 189 &objp->READLINK3res_u.resok)); in xdr_READLINK3res() 228 return (xdr_b_READ3resok(xdrs, &objp->READ3res_u.resok)); in xdr_READ3res() 282 return (xdr_b_READDIR3resok(xdrs, &objp->READDIR3res_u.resok)); in xdr_READDIR3res()
|
H A D | getdents3.c | 107 while (!res.READDIR3res_u.resok.reply.eof) { in nfs3getdents() 126 res.READDIR3res_u.resok.reply.entries = rdbuf.etlist; in nfs3getdents()
|
/titanic_50/usr/src/uts/common/nfs/ |
H A D | nfs.h | 1267 #define resok res_u.ok macro
|