Home
last modified time | relevance | path

Searched refs:ea_size (Results 1 – 13 of 13) sorted by relevance

/linux/fs/hpfs/
H A Dinode.c51 int ea_size; in hpfs_read_inode() local
63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode()
64 if (ea_size == 2) { in hpfs_read_inode()
70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode()
71 if (ea_size == 2) { in hpfs_read_inode()
77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode()
84 i->i_size = ea_size; in hpfs_read_inode()
89 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode()
92 if (ea_size == 2) { in hpfs_read_inode()
99 if ((ea = hpfs_get_ea(i->i_sb, fnode, "DEV", &ea_size))) { in hpfs_read_inode()
[all …]
H A Ddir.c254 else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas) in hpfs_lookup()
290 hpfs_result->i_ea_size = le32_to_cpu(de->ea_size); in hpfs_lookup()
H A Dhpfs.h355 __le32 ea_size; /* total EA length, bytes */ member
/linux/fs/ntfs3/
H A Dxattr.c48 u32 ea_size; in find_ea() local
54 for (; *off < bytes; *off += ea_size) { in find_ea()
56 ea_size = unpacked_ea_size(ea); in find_ea()
60 *ea_sz = ea_size; in find_ea()
81 u32 size, off, ea_size; in ntfs_read_ea() local
146 for (off = 0; off < size; off += ea_size) { in ntfs_read_ea()
155 ea_size = le32_to_cpu(ef->size); in ntfs_read_ea()
156 if (ea_size > bytes) in ntfs_read_ea()
165 ea_size = ALIGN(struct_size(ef, name, in ntfs_read_ea()
169 if (ea_size > bytes) in ntfs_read_ea()
[all …]
H A Dinode.c1386 fname->dup.ea_size = fname->dup.reparse = 0; in ntfs_create_inode()
1631 err = ntfs_save_wsl_perm(inode, &fname->dup.ea_size); in ntfs_create_inode()
1646 fn->dup.ea_size = fname->dup.ea_size; in ntfs_create_inode()
H A Ddir.c333 fname->dup.ea_size) && in ntfs_dir_emit()
H A Dntfs.h564 __le16 ea_size; // 0x34: Packed EAs. member
H A Dntfs_fs.h887 int ntfs_save_wsl_perm(struct inode *inode, __le16 *ea_size);
H A Dfrecord.c3175 dup->ea_size = 0; in ni_update_parent()
3186 dup->ea_size = info->size_pack; in ni_update_parent()
/linux/fs/jfs/
H A Dxattr.c320 int ea_size = sizeDXD(&ji->ea); in ea_read_inline() local
322 if (ea_size == 0) { in ea_read_inline()
331 != ea_size) in ea_read_inline()
334 memcpy(ealist, ji->i_inline_ea, ea_size); in ea_read_inline()
431 int ea_size = sizeDXD(&ji->ea); in ea_get() local
441 ea_size = 0; in ea_get()
443 if (ea_size == 0) { in ea_get()
475 current_blocks = (ea_size + sb->s_blocksize - 1) >> in ea_get()
478 size = max(min_size, ea_size); in ea_get()
495 if (ea_size == 0) in ea_get()
[all …]
/linux/fs/gfs2/
H A Dxattr.c361 unsigned int ea_size; in ea_list_i() local
391 ea_size = l + ea->ea_name_len + 1; in ea_list_i()
393 if (ei->ei_size + ea_size > er->er_data_len) in ea_list_i()
399 er->er_data[ei->ei_size + ea_size - 1] = 0; in ea_list_i()
402 ei->ei_size += ea_size; in ea_list_i()
826 u32 ea_size = GFS2_EA_SIZE(ea); in ea_split_ea() local
828 ea_size); in ea_split_ea()
829 u32 new_size = GFS2_EA_REC_LEN(ea) - ea_size; in ea_split_ea()
832 ea->ea_rec_len = cpu_to_be32(ea_size); in ea_split_ea()
/linux/fs/smb/server/
H A Dxattr.h41 __u32 ea_size; /* EA size */ member
H A Dndr.c207 ret = ndr_write_int32(n, da->ea_size); in ndr_encode_dos_attr()