Searched refs:ATTR_READONLY (Results 1 – 9 of 9) sorted by relevance
360 if ((attr & ATTR_READONLY) && !(attr & ATTR_SUBDIR)) in exfat_make_mode() 377 attr |= ATTR_READONLY; in exfat_make_attr() 384 EXFAT_I(inode)->attr = attr & (ATTR_RWMASK | ATTR_READONLY); in exfat_save_attr()
67 #define ATTR_READONLY 0x0001 macro
870 /* clear write bits if ATTR_READONLY is set */ in cifs_open_info_to_fattr() 871 if (fattr->cf_cifsattrs & ATTR_READONLY) in cifs_open_info_to_fattr() 1296 /* clear write bits if ATTR_READONLY is set */ in cifs_get_fattr() 1297 if (fattr->cf_cifsattrs & ATTR_READONLY) in cifs_get_fattr() 1727 dosattr = origattr & ~ATTR_READONLY; in cifs_rename_pending_delete() 1732 /* set ATTR_HIDDEN and clear ATTR_READONLY, but only if needed */ in cifs_rename_pending_delete() 1917 dosattr = origattr & ~ATTR_READONLY; in cifs_unlink() 3199 (cifsInode->cifsAttrs & ATTR_READONLY) == 0) {3201 dosattr = cifsInode->cifsAttrs | ATTR_READONLY;3207 (cifsInode->cifsAttrs & ATTR_READONLY)) {[all...]
766 cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM); in CIFSSMBDelFile()1087 pSMB->FileAttributes |= cpu_to_le16(ATTR_READONLY); in SMBLegacyOpen()1210 req->FileAttributes |= cpu_to_le32(ATTR_READONLY); in CIFS_open()2174 cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | in CIFSSMBRename()2556 cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | in CIFSCreateHardLink()4005 cpu_to_le16(ATTR_READONLY | ATTR_HIDDEN | ATTR_SYSTEM | in CIFSFindFirst()
208 if (fattr->cf_cifsattrs & ATTR_READONLY) in cifs_fill_common_info()
715 dosattrs = cifsInode->cifsAttrs|ATTR_READONLY; in cifs_mkdir_setinfo()
1063 dosattrs = cifs_i->cifsAttrs | ATTR_READONLY; in smb2_mkdir_setinfo()
288 #define ATTR_READONLY 0x0001 macro
3020 file_attributes |= ATTR_READONLY; in SMB2_open_init()