Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_vops.c342 ret_attr->sa_dosattr = 0; in smb_vop_getattr()
350 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_READONLY; in smb_vop_getattr()
355 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_HIDDEN; in smb_vop_getattr()
360 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_SYSTEM; in smb_vop_getattr()
365 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_ARCHIVE; in smb_vop_getattr()
370 ret_attr->sa_dosattr |= in smb_vop_getattr()
376 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_OFFLINE; in smb_vop_getattr()
381 ret_attr->sa_dosattr |= in smb_vop_getattr()
401 ret_attr->sa_dosattr = 0; in smb_vop_getattr()
423 ret_attr->sa_dosattr |= FILE_ATTRIBUTE_DIRECTORY; in smb_vop_getattr()
[all …]
H A Dsmb_nt_transact_ioctl.c199 (attr.sa_dosattr & FILE_ATTRIBUTE_SPARSE_FILE)) { in smb_nt_trans_ioctl_set_sparse()
200 attr.sa_dosattr &= ~FILE_ATTRIBUTE_SPARSE_FILE; in smb_nt_trans_ioctl_set_sparse()
203 !(attr.sa_dosattr & FILE_ATTRIBUTE_SPARSE_FILE)) { in smb_nt_trans_ioctl_set_sparse()
204 attr.sa_dosattr |= FILE_ATTRIBUTE_SPARSE_FILE; in smb_nt_trans_ioctl_set_sparse()
H A Dsmb_node.c664 if ((rc != 0) || (attr.sa_dosattr & FILE_ATTRIBUTE_READONLY)) { in smb_node_set_delete_on_close()
1400 return ((attr.sa_dosattr & FILE_ATTRIBUTE_READONLY) != 0); in smb_node_file_is_readonly()
1578 tmp_attr.sa_dosattr &= smb_vop_dosattr_settable; in smb_node_setattr()
1579 if (((tmp_attr.sa_dosattr & in smb_node_setattr()
1584 tmp_attr.sa_dosattr; in smb_node_setattr()
1585 tmp_attr.sa_dosattr &= in smb_node_setattr()
1662 attr->sa_dosattr &= ~smb_vop_dosattr_settable; in smb_node_getattr()
1663 attr->sa_dosattr |= node->n_pending_dosattr; in smb_node_getattr()
1665 if (attr->sa_dosattr == 0) { in smb_node_getattr()
1666 attr->sa_dosattr = (isdir) ? in smb_node_getattr()
[all …]
H A Dsmb_common_open.c554 if (!smb_sattr_check(op->fqi.fq_fattr.sa_dosattr, in smb_open_subr()
650 new_attr.sa_dosattr = op->dattr; in smb_open_subr()
736 new_attr.sa_dosattr = op->dattr; in smb_open_subr()
777 new_attr.sa_dosattr = op->dattr; in smb_open_subr()
894 op->dattr = op->fqi.fq_fattr.sa_dosattr; in smb_open_subr()
1009 attr.sa_dosattr = op->dattr | FILE_ATTRIBUTE_READONLY; in smb_set_open_attributes()
H A Dsmb_delete.c420 if (attr.sa_dosattr & FILE_ATTRIBUTE_DIRECTORY) { in smb_delete_check_dosattr()
432 if ((attr.sa_dosattr & FILE_ATTRIBUTE_HIDDEN) && in smb_delete_check_dosattr()
439 if ((attr.sa_dosattr & FILE_ATTRIBUTE_SYSTEM) && in smb_delete_check_dosattr()
H A Dsmb2_close.c87 attr.sa_dosattr); /* l */ in smb2_close()
H A Dsmb_directory.c157 new_attr.sa_dosattr = FILE_ATTRIBUTE_DIRECTORY; in smb_common_create_directory()
298 if ((fqi->fq_fattr.sa_dosattr & FILE_ATTRIBUTE_READONLY) || in smb_com_delete_directory()
H A Dsmb2_qinfo_file.c251 sa->sa_dosattr, /* l */ in smb2_qif_basic()
555 sa->sa_dosattr, /* l */ in smb2_qif_opens()
H A Dsmb_query_fileinfo.c396 dattr = qinfo->qi_attr.sa_dosattr & FILE_ATTRIBUTE_MASK; in smb_query_encode_response()
956 qinfo->qi_attr.sa_dosattr = 0; in smb_query_pipeinfo()
958 qinfo->qi_attr.sa_dosattr = FILE_ATTRIBUTE_NORMAL; in smb_query_pipeinfo()
H A Dsmb_cmn_setfile.c88 attr->sa_dosattr = attributes; in smb_set_basic_info()
H A Dsmb_odir.c1217 if (!smb_sattr_check(attr.sa_dosattr, od->d_sattr)) { in smb_odir_single_fileinfo()
1235 fileinfo->fi_dosattr = attr.sa_dosattr; in smb_odir_single_fileinfo()
1334 if (!smb_sattr_check(attr.sa_dosattr, od->d_sattr)) { in smb_odir_wildcard_fileinfo()
1354 fileinfo->fi_dosattr = attr.sa_dosattr; in smb_odir_wildcard_fileinfo()
H A Dsmb_cmn_rename.c643 if ((attr.sa_dosattr & FILE_ATTRIBUTE_HIDDEN) && in smb_rename_check_attr()
647 if ((attr.sa_dosattr & FILE_ATTRIBUTE_SYSTEM) && in smb_rename_check_attr()
H A Dsmb_ofile.c284 if (attr.sa_dosattr & FILE_ATTRIBUTE_READONLY) in smb_ofile_open()
404 pa->sa_dosattr = in smb_ofile_close()
406 if (pa->sa_dosattr != 0) in smb_ofile_close()
H A Dsmb_fsops.c979 attr->sa_dosattr |= FILE_ATTRIBUTE_DIRECTORY; in smb_fsop_getattr()
1123 if (from_attr.sa_dosattr & FILE_ATTRIBUTE_REPARSE_POINT) { in smb_fsop_rename()
1128 isdir = ((from_attr.sa_dosattr & FILE_ATTRIBUTE_DIRECTORY) != 0); in smb_fsop_rename()
1928 ((attr.sa_dosattr & FILE_ATTRIBUTE_REPARSE_POINT) == 0)) { in smb_fsop_lookup()
H A Dsmb_opipe.c443 ap->sa_dosattr = FILE_ATTRIBUTE_NORMAL; in smb_opipe_getattr()
H A Dsmb_set_fileinfo.c414 attr.sa_dosattr = attributes; in smb_set_information()
H A Dsmb2_create.c387 attr->sa_dosattr, /* l */ in smb2_create()
H A Dsmb_pathname.c460 if (attr.sa_dosattr & FILE_ATTRIBUTE_REPARSE_POINT) { in smb_pathname()
/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_vops.h71 uint32_t sa_dosattr; /* DOS attributes */ member