Lines Matching refs:attr
913 if ((de->attr & ATTR_DIR) && !IS_FREE(de->name)) { in fat_fill_inode()
915 inode->i_mode = MSDOS_MKMODE(de->attr,S_IRWXUGO & in fat_fill_inode()
945 inode->i_mode = MSDOS_MKMODE(de->attr, in fat_fill_inode()
961 if(de->attr & ATTR_SYS) in fat_fill_inode()
964 MSDOS_I(inode)->i_attrs = de->attr & ATTR_UNUSED; in fat_fill_inode()
1008 raw_entry->attr = ATTR_DIR; in fat_write_inode()
1012 raw_entry->attr = ATTR_NONE; in fat_write_inode()
1015 raw_entry->attr |= MSDOS_MKATTR(inode->i_mode) | in fat_write_inode()
1035 int fat_notify_change(struct dentry * dentry, struct iattr * attr) in fat_notify_change() argument
1042 if (attr->ia_valid & ATTR_SIZE) { in fat_notify_change()
1043 if (attr->ia_size > inode->i_size) in fat_notify_change()
1047 error = inode_change_ok(inode, attr); in fat_notify_change()
1051 if (((attr->ia_valid & ATTR_UID) && in fat_notify_change()
1052 (attr->ia_uid != MSDOS_SB(sb)->options.fs_uid)) || in fat_notify_change()
1053 ((attr->ia_valid & ATTR_GID) && in fat_notify_change()
1054 (attr->ia_gid != MSDOS_SB(sb)->options.fs_gid)) || in fat_notify_change()
1055 ((attr->ia_valid & ATTR_MODE) && in fat_notify_change()
1056 (attr->ia_mode & ~MSDOS_VALID_MODE))) in fat_notify_change()
1062 error = inode_setattr(inode, attr); in fat_notify_change()