Home
last modified time | relevance | path

Searched refs:ea_name (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ntfs/
H A Dea.c70 p_ea_size - offsetof(struct ea_attr, ea_name)) in ntfs_ea_lookup()
73 actual_size = ALIGN(struct_size(p_ea, ea_name, 1 + p_ea->ea_name_length + in ntfs_ea_lookup()
79 !memcmp(p_ea->ea_name, name, name_len)) { in ntfs_ea_lookup()
159 memcpy(buffer, &p_ea->ea_name[p_ea->ea_name_length + 1], in ntfs_get_ea()
204 size_t new_ea_size = ALIGN(struct_size(p_ea, ea_name, 1 + name_len + val_size), 4); in ntfs_set_ea()
290 !memcmp(p_ea->ea_name + p_ea->ea_name_length + 1, value, in ntfs_set_ea()
367 memcpy(p_ea->ea_name, name, name_len); in ntfs_set_ea()
369 p_ea->ea_name[name_len] = 0; in ntfs_set_ea()
370 memcpy(p_ea->ea_name + name_len + 1, value, val_size); in ntfs_set_ea()
573 ea_size - offsetof(struct ea_attr, ea_name)) { in ntfs_listxattr()
[all …]
/linux/fs/smb/client/
H A Dsmb2ops.c1049 const unsigned char *ea_name) in move_smb2_ea_to_cifs() argument
1052 unsigned int ea_name_len = ea_name ? strlen(ea_name) : 0; in move_smb2_ea_to_cifs()
1075 if (ea_name) { in move_smb2_ea_to_cifs()
1077 memcmp(ea_name, name, name_len) == 0) { in move_smb2_ea_to_cifs()
1133 if (ea_name) in move_smb2_ea_to_cifs()
1142 const unsigned char *path, const unsigned char *ea_name, in smb2_query_eas() argument
1162 * If ea_name is NULL (listxattr) and there are no EAs, in smb2_query_eas()
1164 * ea_name was not found. in smb2_query_eas()
1166 if (!ea_name in smb2_query_eas()
1191 smb2_set_ea(const unsigned int xid,struct cifs_tcon * tcon,const char * path,const char * ea_name,const void * ea_value,const __u16 ea_value_len,const struct nls_table * nls_codepage,struct cifs_sb_info * cifs_sb) smb2_set_ea() argument
[all...]
H A Dcifssmb.c6151 const unsigned char *searchName, const unsigned char *ea_name, in CIFSSMBQAllEAs() argument
6169 unsigned int ea_name_len = ea_name ? strlen(ea_name) : 0; in CIFSSMBQAllEAs()
6250 if (ea_name) in CIFSSMBQAllEAs()
6291 if (ea_name) { in CIFSSMBQAllEAs()
6293 memcmp(ea_name, temp_ptr, name_len) == 0) { in CIFSSMBQAllEAs()
6329 if (ea_name) in CIFSSMBQAllEAs()
6342 const char *fileName, const char *ea_name, const void *ea_value, in CIFSSMBSetEA() argument
6381 if (ea_name == NULL) in CIFSSMBSetEA()
6384 name_len = strnlen(ea_name, 255); in CIFSSMBSetEA()
6421 strscpy(parm_data->list.name, ea_name ?: "", name_len + 1); in CIFSSMBSetEA()