Lines Matching refs:xattr

64 	struct jfs_ea_list *xattr;	/* buffer containing ea list */  member
447 ea_buf->xattr = NULL; in ea_get()
454 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea; in ea_get()
466 ea_buf->xattr = (struct jfs_ea_list *) ji->i_inline_ea; in ea_get()
489 ea_buf->xattr = kmalloc(ea_buf->max_size, GFP_KERNEL); in ea_get()
490 if (ea_buf->xattr == NULL) in ea_get()
498 if ((rc = ea_read(inode, ea_buf->xattr))) { in ea_get()
499 kfree(ea_buf->xattr); in ea_get()
500 ea_buf->xattr = NULL; in ea_get()
536 ea_buf->xattr = ea_buf->mp->data; in ea_get()
541 if ((rc = ea_read(inode, ea_buf->xattr))) { in ea_get()
556 ea_buf->xattr = ea_buf->mp->data; in ea_get()
561 if (EALIST_SIZE(ea_buf->xattr) != ea_size) { in ea_get()
562 int size = min_t(int, EALIST_SIZE(ea_buf->xattr), ea_size); in ea_get()
566 ea_buf->xattr, size, 1); in ea_get()
585 kfree(ea_buf->xattr); in ea_release()
614 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea); in ea_put()
615 kfree(ea_buf->xattr); in ea_put()
621 rc = ea_write(inode, ea_buf->xattr, new_size, &ea_buf->new_ea); in ea_put()
682 ealist = (struct jfs_ea_list *) ea_buf.xattr; in __jfs_setxattr()
821 ealist = (struct jfs_ea_list *) ea_buf.xattr; in __jfs_getxattr()
888 ealist = (struct jfs_ea_list *) ea_buf.xattr; in jfs_listxattr()
1017 static int jfs_initxattrs(struct inode *inode, const struct xattr *xattr_array, in jfs_initxattrs()
1020 const struct xattr *xattr; in jfs_initxattrs() local
1025 for (xattr = xattr_array; xattr->name != NULL; xattr++) { in jfs_initxattrs()
1027 strlen(xattr->name) + 1, GFP_NOFS); in jfs_initxattrs()
1033 strcpy(name + XATTR_SECURITY_PREFIX_LEN, xattr->name); in jfs_initxattrs()
1036 xattr->value, xattr->value_len, 0); in jfs_initxattrs()