Lines Matching refs:ea_name
40 int cifs_removexattr(struct dentry *direntry, const char *ea_name) in cifs_removexattr() argument
72 if (ea_name == NULL) { in cifs_removexattr()
74 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_removexattr()
75 && (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN))) { in cifs_removexattr()
78 ea_name); in cifs_removexattr()
86 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ in cifs_removexattr()
89 full_path, ea_name, NULL, (__u16)0, in cifs_removexattr()
100 int cifs_setxattr(struct dentry *direntry, const char *ea_name, in cifs_setxattr() argument
145 if (ea_name == NULL) { in cifs_setxattr()
147 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_setxattr()
151 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) in cifs_setxattr()
154 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ in cifs_setxattr()
157 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr()
159 } else if (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) in cifs_setxattr()
164 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ in cifs_setxattr()
167 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr()
169 } else if (strncmp(ea_name, CIFS_XATTR_CIFS_ACL, in cifs_setxattr()
193 temp = strncmp(ea_name, POSIX_ACL_XATTR_ACCESS, in cifs_setxattr()
206 } else if (strncmp(ea_name, POSIX_ACL_XATTR_DEFAULT, in cifs_setxattr()
220 ea_name); in cifs_setxattr()
235 ssize_t cifs_getxattr(struct dentry *direntry, const char *ea_name, in cifs_getxattr() argument
270 if (ea_name == NULL) { in cifs_getxattr()
272 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_getxattr()
277 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) { in cifs_getxattr()
281 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ in cifs_getxattr()
284 full_path, ea_name, ea_value, buf_size, in cifs_getxattr()
286 } else if (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) == 0) { in cifs_getxattr()
290 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ in cifs_getxattr()
293 full_path, ea_name, ea_value, buf_size, in cifs_getxattr()
295 } else if (strncmp(ea_name, POSIX_ACL_XATTR_ACCESS, in cifs_getxattr()
306 } else if (strncmp(ea_name, POSIX_ACL_XATTR_DEFAULT, in cifs_getxattr()
317 } else if (strncmp(ea_name, CIFS_XATTR_CIFS_ACL, in cifs_getxattr()
345 } else if (strncmp(ea_name, in cifs_getxattr()
348 } else if (strncmp(ea_name, in cifs_getxattr()
354 ea_name); in cifs_getxattr()