Lines Matching refs:new_size
593 int new_size) in ea_put() argument
599 if (new_size == 0) { in ea_put()
603 assert(new_size <= sizeof (ji->i_inline_ea)); in ea_put()
606 DXDsize(&ea_buf->new_ea, new_size); in ea_put()
610 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea); in ea_put()
617 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea); in ea_put()
663 int new_size; in __jfs_setxattr() local
679 new_size = sizeof (struct jfs_ea_list); in __jfs_setxattr()
695 new_size += EA_SIZE(ea); in __jfs_setxattr()
710 new_size += sizeof (struct jfs_ea) + namelen + 1 + value_len; in __jfs_setxattr()
712 if (new_size > ea_buf.max_size) { in __jfs_setxattr()
718 xattr_size = ea_get(inode, &ea_buf, new_size); in __jfs_setxattr()
766 if (xattr_size != new_size) { in __jfs_setxattr()
769 xattr_size, new_size); in __jfs_setxattr()
778 if (new_size == sizeof (struct jfs_ea_list)) in __jfs_setxattr()
779 new_size = 0; in __jfs_setxattr()
781 ealist->size = cpu_to_le32(new_size); in __jfs_setxattr()
783 rc = ea_put(tid, inode, &ea_buf, new_size); in __jfs_setxattr()