Lines Matching refs:ubifs_inode
86 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr()
125 ui = ubifs_inode(inode); in create_xattr()
194 struct ubifs_inode *host_ui = ubifs_inode(host); in change_xattr()
195 struct ubifs_inode *ui = ubifs_inode(inode); in change_xattr()
256 if (ubifs_inode(inode)->xattr) in iget_xattr()
286 down_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_set()
321 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_set()
332 struct ubifs_inode *ui; in ubifs_xattr_get()
344 down_read(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_get()
359 ui = ubifs_inode(inode); in ubifs_xattr_get()
361 ubifs_assert(c, ubifs_inode(host)->xattr_size > ui->data_len); in ubifs_xattr_get()
377 up_read(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_get()
401 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_listxattr()
465 struct ubifs_inode *host_ui = ubifs_inode(host); in remove_xattr()
466 struct ubifs_inode *ui = ubifs_inode(inode); in remove_xattr()
511 if (ubifs_inode(host)->xattr_cnt <= ubifs_xattr_max_cnt(c)) in ubifs_purge_xattrs()
517 down_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs()
540 ubifs_assert(c, ubifs_inode(xino)->xattr); in ubifs_purge_xattrs()
559 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs()
569 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_purge_xattrs()
613 down_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_remove()
638 up_write(&ubifs_inode(host)->xattr_sem); in ubifs_xattr_remove()