/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb.h | 603 #define SMB_DENY_READ(share_access) ((share_access & FILE_SHARE_READ) == 0) argument 605 #define SMB_DENY_WRITE(share_access) ((share_access & FILE_SHARE_WRITE) == 0) argument 607 #define SMB_DENY_DELETE(share_access) ((share_access & FILE_SHARE_DELETE) == 0) argument 609 #define SMB_DENY_RW(share_access) \ argument 610 ((share_access & (FILE_SHARE_READ | FILE_SHARE_WRITE)) == 0) 612 #define SMB_DENY_ALL(share_access) (share_access == 0) argument 614 #define SMB_DENY_NONE(share_access) (share_access == FILE_SHARE_ALL) argument
|
H A D | smb_ktypes.h | 1637 uint32_t share_access; member
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_open_andx.c | 252 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open() 393 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open_andx() 551 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_trans2_open2()
|
H A D | smb_ofile.c | 360 of->f_share_access = op->share_access; in smb_ofile_alloc() 1644 uint32_t share_access) in smb_ofile_open_check() argument 1667 if (SMB_DENY_DELETE(share_access) && (of->f_granted_access & DELETE)) { in smb_ofile_open_check() 1672 if (SMB_DENY_READ(share_access) && in smb_ofile_open_check() 1678 if (SMB_DENY_WRITE(share_access) && in smb_ofile_open_check()
|
H A D | smb_create.c | 188 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
|
H A D | smb_common_open.c | 674 op->desired_access, op->share_access); in smb_common_open() 736 op->desired_access, op->share_access); in smb_common_open() 1075 op->desired_access, op->share_access); in smb_common_open()
|
H A D | smb_vops.c | 1542 uint32_t share_access, cred_t *cr) in smb_vop_shrlock() argument 1579 if (SMB_DENY_READ(share_access)) { in smb_vop_shrlock() 1583 if (SMB_DENY_WRITE(share_access)) { in smb_vop_shrlock() 1591 if (SMB_DENY_DELETE(share_access)) { in smb_vop_shrlock()
|
H A D | smb_nt_create_andx.c | 188 &op->share_access, in smb_pre_nt_create_andx()
|
H A D | smb_nt_transact_create.c | 76 &op->share_access, in smb_pre_nt_transact_create()
|
H A D | smb_node.c | 771 uint32_t share_access) in smb_node_open_check() argument 781 status = smb_ofile_open_check(of, desired_access, share_access); in smb_node_open_check() 793 uint32_t, share_access); in smb_node_open_check()
|
H A D | smb_fsops.c | 2813 uint32_t desired_access, uint32_t share_access) in smb_fsop_shrlock() argument 2821 rc = smb_node_open_check(node, desired_access, share_access); in smb_fsop_shrlock() 2825 rc = smb_vop_shrlock(node->vp, uniq_fid, desired_access, share_access, in smb_fsop_shrlock()
|
H A D | smb2_create.c | 156 &op->share_access, /* l */ in smb2_create()
|
H A D | smb2_durable.c | 609 "share_access", &op->share_access); in smb2_dh_import_handle()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | smb.d | 123 soa_share_access = P->arg.open.share_access;
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_state.c | 1949 argop[2].nfs_argop4_u.opopen_downgrade.share_access = new_acc; in nfs4_open_downgrade() 2130 open_args->share_access = resend_rqstp->lr_oacc; in nfs4_resend_open_otw() 2367 if (open_args->share_access & OPEN4_SHARE_ACCESS_READ) in nfs4_resend_open_otw() 2369 if (open_args->share_access & OPEN4_SHARE_ACCESS_WRITE) in nfs4_resend_open_otw()
|
H A D | nfs4_srv.c | 6928 args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in rfs4_createfile() 6929 status = check_open_access(args->share_access, cs, req); in rfs4_createfile() 7195 req, cs, args->share_access, cinfo); in rfs4_do_opennull() 7212 args->share_access, args->share_deny, resp, 0); in rfs4_do_opennull() 7282 args->share_access, args->share_deny, resp, 0); in rfs4_do_openprev() 7337 args->share_access, args->share_deny, resp, 1); in rfs4_do_opendelcur() 7365 req, cs, args->share_access, &resp->cinfo); in rfs4_do_opendelprev() 7390 if (args->share_access != sp->rs_share_access || in rfs4_do_opendelprev() 7702 if (! (args->share_access & OPEN4_SHARE_ACCESS_BOTH) || in rfs4_op_open() 7703 (args->share_access & ~OPEN4_SHARE_ACCESS_BOTH) || in rfs4_op_open() [all …]
|
H A D | nfs4_xdr.c | 2959 xdr_share_access(XDR *xdrs, uint32_t *share_access, uint32_t *deleg_want) in xdr_share_access() argument 2968 *share_access = w & OPEN4_SHARE_ACCESS_MASK; in xdr_share_access() 2973 return (xdr_u_int(xdrs, share_access)); in xdr_share_access() 2988 if (!xdr_share_access(xdrs, &objp->share_access, in xdr_OPEN4args() 3087 IXDR_PUT_U_INT32(ptr, objp->share_access); in xdr_OPEN4cargs() 3107 if (!XDR_PUTINT32(xdrs, (int32_t *)&objp->share_access)) in xdr_OPEN4cargs() 3333 if (!xdr_share_access(xdrs, &objp->share_access, &objp->deleg_want)) in xdr_OPEN_DOWNGRADE4args()
|
H A D | nfs4_vnops.c | 740 lost_rqstp->lr_oacc = open_args->share_access; in nfs4open_save_lost_rqst() 1078 open_args->share_access = 0; in nfs4open_otw() 1080 open_args->share_access |= OPEN4_SHARE_ACCESS_READ; in nfs4open_otw() 1082 open_args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in nfs4open_otw() 1886 open_args->share_access = 0; in nfs4_reopen() 1898 open_args->share_access |= OPEN4_SHARE_ACCESS_READ; in nfs4_reopen() 1900 open_args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in nfs4_reopen() 2190 osp->os_dc_openacc = open_args->share_access; in nfs4_reopen()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 1614 sum_open_share_access(args->share_access), in sumarg_open() 1629 args->share_access, sum_open_share_access(args->share_access)); in dtlarg_open() 1678 sum_open_share_access(args->share_access), in sumarg_open_downgrd() 1690 args->share_access, sum_open_share_access(args->share_access)); in dtlarg_open_downgrd()
|
H A D | nfs4_xdr.c | 1655 if (!xdr_uint32_t(xdrs, &objp->share_access)) in xdr_OPEN4args() 1815 if (!xdr_uint32_t(xdrs, &objp->share_access)) in xdr_OPEN_DOWNGRADE4args()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs4_kprot.h | 1617 uint32_t share_access; member 1634 uint32_t share_access; member 1742 uint32_t share_access; member
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nfs4_prot.x | 1804 uint32_t share_access; member 1947 uint32_t share_access; member
|