Lines Matching refs:ealist
169 static int ea_write_inline(struct inode *ip, struct jfs_ea_list *ealist, in ea_write_inline() argument
178 if (ealist && size > sizeof (struct jfs_ea_list)) { in ea_write_inline()
191 memcpy(ji->i_inline_ea, ealist, size); in ea_write_inline()
228 static int ea_write(struct inode *ip, struct jfs_ea_list *ealist, int size, in ea_write() argument
246 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()
247 if (!ea_write_inline(ip, ealist, size, ea)) in ea_write()
263 cp = (char *) ealist; in ea_write()
307 DXDsize(ea, le32_to_cpu(ealist->size)); in ea_write()
333 static int ea_read_inline(struct inode *ip, struct jfs_ea_list *ealist) in ea_read_inline() argument
339 ealist->size = 0; in ea_read_inline()
350 memcpy(ealist, ji->i_inline_ea, ea_size); in ea_read_inline()
367 static int ea_read(struct inode *ip, struct jfs_ea_list *ealist) in ea_read() argument
374 char *cp = (char *) ealist; in ea_read()
382 return ea_read_inline(ip, ealist); in ea_read()
674 struct jfs_ea_list *ealist; in __jfs_setxattr() local
706 ealist = (struct jfs_ea_list *) ea_buf.xattr; in __jfs_setxattr()
710 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); in __jfs_setxattr()
757 length = (char *) END_EALIST(ealist) - (char *) next_ea; in __jfs_setxattr()
769 ea = (struct jfs_ea *) ((char *) ealist + xattr_size); in __jfs_setxattr()
796 ealist->size = cpu_to_le32(new_size); in __jfs_setxattr()
831 struct jfs_ea_list *ealist; in __jfs_getxattr() local
863 ealist = (struct jfs_ea_list *) ea_buf.xattr; in __jfs_getxattr()
866 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); ea = NEXT_EA(ea)) in __jfs_getxattr()
904 struct jfs_ea_list *ealist; in jfs_listxattr() local
917 ealist = (struct jfs_ea_list *) ea_buf.xattr; in jfs_listxattr()
920 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); ea = NEXT_EA(ea)) in jfs_listxattr()
933 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); ea = NEXT_EA(ea)) { in jfs_listxattr()