Lines Matching refs:ia_valid

22 	unsigned int ia_valid = attr->ia_valid;  in inode_change_ok()  local
25 if (ia_valid & ATTR_FORCE) in inode_change_ok()
29 if ((ia_valid & ATTR_UID) && in inode_change_ok()
35 if ((ia_valid & ATTR_GID) && in inode_change_ok()
42 if (ia_valid & ATTR_MODE) { in inode_change_ok()
46 if (!in_group_p((ia_valid & ATTR_GID) ? attr->ia_gid : in inode_change_ok()
52 if (ia_valid & (ATTR_MTIME_SET | ATTR_ATIME_SET)) { in inode_change_ok()
64 unsigned int ia_valid = attr->ia_valid; in inode_setattr() local
67 if (ia_valid & ATTR_SIZE) { in inode_setattr()
73 if (ia_valid & ATTR_UID) in inode_setattr()
75 if (ia_valid & ATTR_GID) in inode_setattr()
77 if (ia_valid & ATTR_ATIME) in inode_setattr()
79 if (ia_valid & ATTR_MTIME) in inode_setattr()
81 if (ia_valid & ATTR_CTIME) in inode_setattr()
83 if (ia_valid & ATTR_MODE) { in inode_setattr()
93 static int setattr_mask(unsigned int ia_valid) in setattr_mask() argument
97 if (ia_valid & ATTR_UID) in setattr_mask()
99 if (ia_valid & ATTR_GID) in setattr_mask()
101 if (ia_valid & ATTR_SIZE) in setattr_mask()
104 if ((ia_valid & (ATTR_ATIME|ATTR_MTIME)) == (ATTR_ATIME|ATTR_MTIME)) in setattr_mask()
106 else if (ia_valid & ATTR_ATIME) in setattr_mask()
108 else if (ia_valid & ATTR_MTIME) in setattr_mask()
110 if (ia_valid & ATTR_MODE) in setattr_mask()
120 unsigned int ia_valid = attr->ia_valid; in notify_change() local
126 if (!(ia_valid & ATTR_ATIME_SET)) in notify_change()
128 if (!(ia_valid & ATTR_MTIME_SET)) in notify_change()
137 if ((ia_valid & ATTR_UID && attr->ia_uid != inode->i_uid) || in notify_change()
138 (ia_valid & ATTR_GID && attr->ia_gid != inode->i_gid)) in notify_change()
146 unsigned long dn_mask = setattr_mask(ia_valid); in notify_change()