Lines Matching refs:dosattr
930 char *full_path, __u32 dosattr) argument
972 info_buf.Attributes = cpu_to_le32(dosattr);
994 __u32 dosattr, origattr; local
1022 dosattr = origattr & ~ATTR_READONLY;
1023 if (dosattr == 0)
1024 dosattr |= ATTR_NORMAL;
1025 dosattr |= ATTR_HIDDEN;
1028 if (dosattr != origattr) {
1034 info_buf->Attributes = cpu_to_le32(dosattr);
1040 cifsInode->cifsAttrs = dosattr;
1042 dosattr = origattr; /* since not able to change them */
1092 if (dosattr != origattr) {
1132 __u32 dosattr = 0, origattr = 0; local
1183 } else if ((rc == -EACCES) && (dosattr == 0) && inode) {
1195 dosattr = origattr & ~ATTR_READONLY;
1196 if (dosattr == 0)
1197 dosattr |= ATTR_NORMAL;
1198 dosattr |= ATTR_HIDDEN;
1200 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);
1208 if (rc != 0 && dosattr != 0)
2118 __u32 dosattr = 0; local
2206 dosattr = cifsInode->cifsAttrs | ATTR_READONLY;
2214 dosattr = cifsInode->cifsAttrs & ~ATTR_READONLY;
2216 if (dosattr == 0)
2217 dosattr |= ATTR_NORMAL;
2236 ((attrs->ia_valid & ATTR_MODE) && dosattr)) {
2237 rc = cifs_set_file_info(inode, attrs, xid, full_path, dosattr);