Searched refs:ea_name (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/fs/jfs/
H A Dacl.c33 char *ea_name; jfs_get_acl() local
43 ea_name = POSIX_ACL_XATTR_ACCESS; jfs_get_acl()
46 ea_name = POSIX_ACL_XATTR_DEFAULT; jfs_get_acl()
52 size = __jfs_getxattr(inode, ea_name, NULL, 0); jfs_get_acl()
58 size = __jfs_getxattr(inode, ea_name, value, size); jfs_get_acl()
78 char *ea_name; __jfs_set_acl() local
85 ea_name = POSIX_ACL_XATTR_ACCESS; __jfs_set_acl()
97 ea_name = POSIX_ACL_XATTR_DEFAULT; __jfs_set_acl()
112 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); __jfs_set_acl()
/linux-4.4.14/fs/cifs/
H A Dxattr.c40 int cifs_removexattr(struct dentry *direntry, const char *ea_name) cifs_removexattr() argument
72 if (ea_name == NULL) { cifs_removexattr()
74 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) cifs_removexattr()
75 && (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN))) { cifs_removexattr()
78 ea_name); cifs_removexattr()
86 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_removexattr()
89 full_path, ea_name, NULL, (__u16)0, cifs_removexattr()
100 int cifs_setxattr(struct dentry *direntry, const char *ea_name, cifs_setxattr() argument
145 if (ea_name == NULL) { cifs_setxattr()
147 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) cifs_setxattr()
151 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) cifs_setxattr()
154 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_setxattr()
157 full_path, ea_name, ea_value, (__u16)value_size, cifs_setxattr()
159 } else if (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) cifs_setxattr()
164 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ cifs_setxattr()
167 full_path, ea_name, ea_value, (__u16)value_size, cifs_setxattr()
169 } else if (strncmp(ea_name, CIFS_XATTR_CIFS_ACL, cifs_setxattr()
193 temp = strncmp(ea_name, POSIX_ACL_XATTR_ACCESS, cifs_setxattr()
206 } else if (strncmp(ea_name, POSIX_ACL_XATTR_DEFAULT, cifs_setxattr()
220 ea_name); cifs_setxattr()
235 ssize_t cifs_getxattr(struct dentry *direntry, const char *ea_name, cifs_getxattr() argument
270 if (ea_name == NULL) { cifs_getxattr()
272 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) cifs_getxattr()
277 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) { cifs_getxattr()
281 ea_name += XATTR_USER_PREFIX_LEN; /* skip past user. prefix */ cifs_getxattr()
284 full_path, ea_name, ea_value, buf_size, cifs_getxattr()
286 } else if (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) == 0) { cifs_getxattr()
290 ea_name += XATTR_OS2_PREFIX_LEN; /* skip past os2. prefix */ cifs_getxattr()
293 full_path, ea_name, ea_value, buf_size, cifs_getxattr()
295 } else if (strncmp(ea_name, POSIX_ACL_XATTR_ACCESS, cifs_getxattr()
306 } else if (strncmp(ea_name, POSIX_ACL_XATTR_DEFAULT, cifs_getxattr()
317 } else if (strncmp(ea_name, CIFS_XATTR_CIFS_ACL, cifs_getxattr()
345 } else if (strncmp(ea_name, cifs_getxattr()
348 } else if (strncmp(ea_name, cifs_getxattr()
354 ea_name); cifs_getxattr()
H A Dcifssmb.c6159 * function used by listxattr and getxattr type calls. When ea_name is set,
6161 * buffer. When ea_name is NULL, it stuffs a list of attribute names into the
6168 const unsigned char *searchName, const unsigned char *ea_name, CIFSSMBQAllEAs()
6183 unsigned int ea_name_len = ea_name ? strlen(ea_name) : 0; CIFSSMBQAllEAs()
6264 if (ea_name) CIFSSMBQAllEAs()
6303 if (ea_name) { CIFSSMBQAllEAs()
6305 memcmp(ea_name, temp_ptr, name_len) == 0) { CIFSSMBQAllEAs()
6341 if (ea_name) CIFSSMBQAllEAs()
6354 const char *fileName, const char *ea_name, const void *ea_value, CIFSSMBSetEA()
6390 if (ea_name == NULL) CIFSSMBSetEA()
6393 name_len = strnlen(ea_name, 255); CIFSSMBSetEA()
6425 if (ea_name) CIFSSMBSetEA()
6426 strncpy(parm_data->list[0].name, ea_name, name_len); CIFSSMBSetEA()
6167 CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, const unsigned char *ea_name, char *EAData, size_t buf_size, const struct nls_table *nls_codepage, int remap) CIFSSMBQAllEAs() argument
6353 CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, const char *ea_name, const void *ea_value, const __u16 ea_value_len, const struct nls_table *nls_codepage, int remap) CIFSSMBSetEA() argument
H A Dcifsproto.h463 const unsigned char *ea_name, char *EAData,
467 const char *fileName, const char *ea_name,
/linux-4.4.14/fs/xfs/
H A Dxfs_acl.c130 unsigned char *ea_name; xfs_get_acl() local
138 ea_name = SGI_ACL_FILE; xfs_get_acl()
141 ea_name = SGI_ACL_DEFAULT; xfs_get_acl()
156 error = xfs_attr_get(ip, ea_name, (unsigned char *)xfs_acl, xfs_get_acl()
185 unsigned char *ea_name; __xfs_set_acl() local
190 ea_name = SGI_ACL_FILE; __xfs_set_acl()
195 ea_name = SGI_ACL_DEFAULT; __xfs_set_acl()
215 error = xfs_attr_set(ip, ea_name, (unsigned char *)xfs_acl, __xfs_set_acl()
223 error = xfs_attr_remove(ip, ea_name, ATTR_ROOT); __xfs_set_acl()
/linux-4.4.14/fs/ntfs/
H A Dlayout.h2402 u8 ea_name[0]; /* Name of the EA. Note this is ASCII, not member in struct:__anon11831

Completed in 405 milliseconds