Lines Matching defs:xattr
22 #include <linux/xattr.h>
72 int flag; /* Indicates what storage xattr points to */
73 int max_size; /* largest xattr that fits in current buffer */
74 dxd_t new_ea; /* dxd to replace ea when modifying xattr */
76 struct jfs_ea_list *xattr; /* buffer containing ea list */
480 ea_buf->xattr = NULL;
487 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea;
499 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea;
518 ea_buf->xattr = kmalloc(size, GFP_KERNEL);
519 if (ea_buf->xattr == NULL)
529 if ((rc = ea_read(inode, ea_buf->xattr))) {
530 kfree(ea_buf->xattr);
531 ea_buf->xattr = NULL;
566 ea_buf->xattr = ea_buf->mp->data;
571 if ((rc = ea_read(inode, ea_buf->xattr))) {
586 ea_buf->xattr = ea_buf->mp->data;
591 if (EALIST_SIZE(ea_buf->xattr) != ea_size) {
593 dump_mem("xattr", ea_buf->xattr, ea_size);
612 kfree(ea_buf->xattr);
641 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea);
642 kfree(ea_buf->xattr);
647 /* ->xattr must point to original ea's metapage */
648 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea);
690 * which doesn't belong in the main xattr codepath.
816 ealist = (struct jfs_ea_list *) ea_buf.xattr;
983 ealist = (struct jfs_ea_list *) ea_buf.xattr;
1054 ealist = (struct jfs_ea_list *) ea_buf.xattr;