/fs/hpfs/ |
D | ea.c | 19 struct extended_attribute *ea = (struct extended_attribute *)ex; in hpfs_ea_ext_remove() local 26 if (ea->indirect) { in hpfs_ea_ext_remove() 27 if (ea->valuelen != 8) { in hpfs_ea_ext_remove() 32 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove() 34 hpfs_ea_remove(s, ea_sec(ea), ea->anode, ea_len(ea)); in hpfs_ea_ext_remove() 36 pos += ea->namelen + ea->valuelen + 5; in hpfs_ea_ext_remove() 79 struct extended_attribute *ea; in hpfs_read_ea() local 81 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_read_ea() 82 if (!strcmp(ea->name, key)) { in hpfs_read_ea() 83 if (ea->indirect) in hpfs_read_ea() [all …]
|
D | inode.c | 48 unsigned char *ea; in hpfs_read_inode() local 61 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode() 63 i->i_uid = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode() 66 kfree(ea); in hpfs_read_inode() 68 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode() 70 i->i_gid = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode() 73 kfree(ea); in hpfs_read_inode() 75 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode() 76 kfree(ea); in hpfs_read_inode() 86 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode() [all …]
|
D | hpfs_fn.h | 153 static inline struct extended_attribute *next_ea(struct extended_attribute *ea) in next_ea() argument 155 return (struct extended_attribute *)((char *)ea + 5 + ea->namelen + ea->valuelen); in next_ea() 158 static inline secno ea_sec(struct extended_attribute *ea) in ea_sec() argument 160 return *(secno *)((char *)ea + 9 + ea->namelen); in ea_sec() 163 static inline secno ea_len(struct extended_attribute *ea) in ea_len() argument 165 return *(secno *)((char *)ea + 5 + ea->namelen); in ea_len() 168 static inline char *ea_data(struct extended_attribute *ea) in ea_data() argument 170 return (char *)((char *)ea + 5 + ea->namelen); in ea_data()
|
D | map.c | 126 struct extended_attribute *ea; in hpfs_map_fnode() local 157 ea = fnode_ea(fnode); in hpfs_map_fnode() 159 while (ea != ea_end) { in hpfs_map_fnode() 160 if (ea > ea_end) { in hpfs_map_fnode() 165 ea = next_ea(ea); in hpfs_map_fnode()
|
D | anode.c | 479 struct extended_attribute *ea; in hpfs_remove_fnode() local 485 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_remove_fnode() 486 if (ea->indirect) in hpfs_remove_fnode() 487 hpfs_ea_remove(s, ea_sec(ea), ea->anode, ea_len(ea)); in hpfs_remove_fnode()
|
D | Makefile | 7 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
|
D | hpfs.h | 420 unsigned char ea[316]; /* zero or more EA's, packed together member
|
/fs/gfs2/ |
D | eattr.h | 16 #define GFS2_EA_REC_LEN(ea) be32_to_cpu((ea)->ea_rec_len) argument 17 #define GFS2_EA_DATA_LEN(ea) be32_to_cpu((ea)->ea_data_len) argument 19 #define GFS2_EA_SIZE(ea) \ argument 20 ALIGN(sizeof(struct gfs2_ea_header) + (ea)->ea_name_len + \ 21 ((GFS2_EA_IS_STUFFED(ea)) ? GFS2_EA_DATA_LEN(ea) : \ 22 (sizeof(__be64) * (ea)->ea_num_ptrs)), 8) 24 #define GFS2_EA_IS_STUFFED(ea) (!(ea)->ea_num_ptrs) argument 25 #define GFS2_EA_IS_LAST(ea) ((ea)->ea_flags & GFS2_EAFLAG_LAST) argument 34 #define GFS2_EA2NAME(ea) ((char *)((struct gfs2_ea_header *)(ea) + 1)) argument 35 #define GFS2_EA2DATA(ea) (GFS2_EA2NAME(ea) + (ea)->ea_name_len) argument [all …]
|
D | eattr.c | 71 struct gfs2_ea_header *ea, 77 struct gfs2_ea_header *ea, *prev = NULL; in ea_foreach_i() local 83 for (ea = GFS2_EA_BH2FIRST(bh);; prev = ea, ea = GFS2_EA2NEXT(ea)) { in ea_foreach_i() 84 if (!GFS2_EA_REC_LEN(ea)) in ea_foreach_i() 86 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <= in ea_foreach_i() 89 if (!GFS2_EATYPE_VALID(ea->ea_type)) in ea_foreach_i() 92 error = ea_call(ip, bh, ea, prev, data); in ea_foreach_i() 96 if (GFS2_EA_IS_LAST(ea)) { in ea_foreach_i() 97 if ((char *)GFS2_EA2NEXT(ea) != in ea_foreach_i() 160 struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, in ea_find_i() argument [all …]
|
/fs/jfs/ |
D | xattr.c | 93 static inline int is_os2_xattr(struct jfs_ea *ea) in is_os2_xattr() argument 98 if ((ea->namelen >= XATTR_SYSTEM_PREFIX_LEN) && in is_os2_xattr() 99 !strncmp(ea->name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in is_os2_xattr() 104 if ((ea->namelen >= XATTR_USER_PREFIX_LEN) && in is_os2_xattr() 105 !strncmp(ea->name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in is_os2_xattr() 110 if ((ea->namelen >= XATTR_SECURITY_PREFIX_LEN) && in is_os2_xattr() 111 !strncmp(ea->name, XATTR_SECURITY_PREFIX, in is_os2_xattr() 117 if ((ea->namelen >= XATTR_TRUSTED_PREFIX_LEN) && in is_os2_xattr() 118 !strncmp(ea->name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) in is_os2_xattr() 130 static inline int name_size(struct jfs_ea *ea) in name_size() argument [all …]
|
D | jfs_xattr.h | 36 struct jfs_ea ea[0]; /* Variable length list */ member 46 #define EA_SIZE(ea) \ argument 47 (sizeof (struct jfs_ea) + (ea)->namelen + 1 + \ 48 le16_to_cpu((ea)->valuelen)) 49 #define NEXT_EA(ea) ((struct jfs_ea *) (((char *) (ea)) + (EA_SIZE (ea)))) argument 50 #define FIRST_EA(ealist) ((ealist)->ea)
|
D | namei.c | 50 dxd_t *ea = &JFS_IP(inode)->ea; in free_ea_wmap() local 52 if (ea->flag & DXD_EXTENT) { in free_ea_wmap() 54 invalidate_dxd_metapages(inode, *ea); in free_ea_wmap() 55 dbFree(inode, addressDXD(ea), lengthDXD(ea)); in free_ea_wmap() 57 ea->flag = 0; in free_ea_wmap() 408 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_rmdir() 410 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in jfs_rmdir() 412 JFS_IP(ip)->ea.flag = 0; in jfs_rmdir() 657 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) in commitZeroLink() 659 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in commitZeroLink() [all …]
|
D | jfs_inode.c | 148 memset(&jfs_inode->ea, 0, sizeof(dxd_t)); in ialloc()
|
D | jfs_incore.h | 45 dxd_t ea; /* dxd describing ea */ member
|
D | jfs_imap.c | 3111 jfs_ip->ea = dip->di_ea; in copy_from_dinode() 3184 dip->di_ea = jfs_ip->ea; in copy_to_dinode()
|
/fs/udf/ |
D | misc.c | 51 uint8_t *ea = NULL, *ad = NULL; in udf_add_extendedattr() local 56 ea = iinfo->i_ext.i_data; in udf_add_extendedattr() 60 ad = ea; in udf_add_extendedattr() 71 eahd = (struct extendedAttrHeaderDesc *)ea; in udf_add_extendedattr() 108 memmove(&ea[offset - aal + size], in udf_add_extendedattr() 109 &ea[aal], offset - aal); in udf_add_extendedattr() 118 memmove(&ea[offset - ial + size], in udf_add_extendedattr() 119 &ea[ial], offset - ial); in udf_add_extendedattr() 129 memmove(&ea[offset - aal + size], in udf_add_extendedattr() 130 &ea[aal], offset - aal); in udf_add_extendedattr() [all …]
|
D | namei.c | 875 char *ea; in udf_symlink() local 928 ea = epos.bh->b_data + udf_ext0_offset(inode); in udf_symlink() 930 ea = iinfo->i_ext.i_data + iinfo->i_lenEAttr; in udf_symlink() 933 pc = (struct pathComponent *)ea; in udf_symlink() 953 pc = (struct pathComponent *)(ea + elen); in udf_symlink()
|
/fs/ntfs/ |
D | layout.h | 1100 } __attribute__ ((__packed__)) ea; member
|
/fs/cifs/ |
D | README | 146 ea support = yes 148 Note that server ea support is required for supporting xattrs from the Linux
|