Home
last modified time | relevance | path

Searched refs:share_access (Results 1 – 19 of 19) sorted by relevance

/titanic_44/usr/src/uts/common/smbsrv/
H A Dsmb.h564 #define SMB_DENY_READ(share_access) ((share_access & FILE_SHARE_READ) == 0) argument
566 #define SMB_DENY_WRITE(share_access) ((share_access & FILE_SHARE_WRITE) == 0) argument
568 #define SMB_DENY_DELETE(share_access) ((share_access & FILE_SHARE_DELETE) == 0) argument
570 #define SMB_DENY_RW(share_access) \ argument
571 ((share_access & (FILE_SHARE_READ | FILE_SHARE_WRITE)) == 0)
573 #define SMB_DENY_ALL(share_access) (share_access == 0) argument
575 #define SMB_DENY_NONE(share_access) (share_access == FILE_SHARE_ALL) argument
H A Dsmb_ktypes.h1430 uint32_t share_access; member
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_open_andx.c251 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open()
377 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_open_andx()
494 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_com_trans2_open2()
H A Dsmb_ofile.c209 of->f_share_access = op->share_access; in smb_ofile_open()
1002 uint32_t share_access) in smb_ofile_open_check() argument
1023 if (SMB_DENY_DELETE(share_access) && (of->f_granted_access & DELETE)) { in smb_ofile_open_check()
1028 if (SMB_DENY_READ(share_access) && in smb_ofile_open_check()
1034 if (SMB_DENY_WRITE(share_access) && in smb_ofile_open_check()
H A Dsmb_nt_create_andx.c186 &op->share_access, in smb_pre_nt_create_andx()
H A Dsmb_create.c190 op->share_access = smb_denymode_to_sharemode(op->omode, in smb_common_create()
H A Dsmb_vops.c1344 uint32_t share_access, cred_t *cr) in smb_vop_shrlock() argument
1381 if (SMB_DENY_READ(share_access)) { in smb_vop_shrlock()
1385 if (SMB_DENY_WRITE(share_access)) { in smb_vop_shrlock()
1393 if (SMB_DENY_DELETE(share_access)) { in smb_vop_shrlock()
H A Dsmb_nt_transact_create.c74 &op->share_access, in smb_pre_nt_transact_create()
H A Dsmb_common_open.c649 op->desired_access, op->share_access); in smb_open_subr()
786 op->desired_access, op->share_access); in smb_open_subr()
H A Dsmb_node.c718 uint32_t share_access) in smb_node_open_check() argument
728 status = smb_ofile_open_check(of, desired_access, share_access); in smb_node_open_check()
H A Dsmb_fsops.c2522 uint32_t desired_access, uint32_t share_access) in smb_fsop_shrlock() argument
2530 rc = smb_node_open_check(node, desired_access, share_access); in smb_fsop_shrlock()
2534 rc = smb_vop_shrlock(node->vp, uniq_fid, desired_access, share_access, in smb_fsop_shrlock()
/titanic_44/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h962 uint32_t share_access; member
983 uint32_t share_access; member
1063 uint32_t share_access; member
/titanic_44/usr/src/head/rpcsvc/
H A Dnfs4_prot.x976 uint32_t share_access; member
1081 uint32_t share_access; member
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_state.c1949 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()
2368 if (open_args->share_access & OPEN4_SHARE_ACCESS_READ) in nfs4_resend_open_otw()
2370 if (open_args->share_access & OPEN4_SHARE_ACCESS_WRITE) in nfs4_resend_open_otw()
H A Dnfs4_srv.c6734 args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in rfs4_createfile()
6735 status = check_open_access(args->share_access, cs, req); in rfs4_createfile()
6991 req, cs, args->share_access, cinfo); in rfs4_do_opennull()
7008 args->share_access, args->share_deny, resp, 0); in rfs4_do_opennull()
7063 resp->status = check_open_access(args->share_access, cs, req); in rfs4_do_openprev()
7078 args->share_access, args->share_deny, resp, 0); in rfs4_do_openprev()
7132 args->share_access, args->share_deny, resp, 1); in rfs4_do_opendelcur()
7159 req, cs, args->share_access, &resp->cinfo); in rfs4_do_opendelprev()
7184 if (args->share_access != sp->rs_share_access || in rfs4_do_opendelprev()
7476 if (! (args->share_access & OPEN4_SHARE_ACCESS_BOTH) || in rfs4_op_open()
[all …]
H A Dnfs4_xdr.c2891 if (!xdr_u_int(xdrs, &objp->share_access)) in xdr_OPEN4args()
3042 IXDR_PUT_U_INT32(ptr, objp->share_access); in xdr_OPEN4cargs()
3062 if (!XDR_PUTINT32(xdrs, (int32_t *)&objp->share_access)) in xdr_OPEN4cargs()
3288 if (!xdr_u_int(xdrs, &objp->share_access)) in xdr_OPEN_DOWNGRADE4args()
H A Dnfs4_vnops.c743 lost_rqstp->lr_oacc = open_args->share_access; in nfs4open_save_lost_rqst()
1081 open_args->share_access = 0; in nfs4open_otw()
1083 open_args->share_access |= OPEN4_SHARE_ACCESS_READ; in nfs4open_otw()
1085 open_args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in nfs4open_otw()
1889 open_args->share_access = 0; in nfs4_reopen()
1901 open_args->share_access |= OPEN4_SHARE_ACCESS_READ; in nfs4_reopen()
1903 open_args->share_access |= OPEN4_SHARE_ACCESS_WRITE; in nfs4_reopen()
2193 osp->os_dc_openacc = open_args->share_access; in nfs4_reopen()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c1613 sum_open_share_access(args->share_access), in sumarg_open()
1628 args->share_access, sum_open_share_access(args->share_access)); in dtlarg_open()
1677 sum_open_share_access(args->share_access), in sumarg_open_downgrd()
1689 args->share_access, sum_open_share_access(args->share_access)); in dtlarg_open_downgrd()
H A Dnfs4_xdr.c1664 if (!xdr_uint32_t(xdrs, &objp->share_access)) in xdr_OPEN4args()
1824 if (!xdr_uint32_t(xdrs, &objp->share_access)) in xdr_OPEN_DOWNGRADE4args()