Lines Matching full:ui
50 const struct ubifs_inode *ui = ubifs_inode(dir); in inherit_flags() local
59 flags = ui->flags & (UBIFS_COMPR_FL | UBIFS_SYNC_FL | UBIFS_DIRSYNC_FL); in inherit_flags()
87 struct ubifs_inode *ui; in ubifs_new_inode() local
91 ui = ubifs_inode(inode); in ubifs_new_inode()
124 inode->i_size = ui->ui_size = UBIFS_INO_NODE_SZ; in ubifs_new_inode()
139 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
142 ui->compr_type = c->default_compr; in ubifs_new_inode()
144 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
145 ui->synced_i_size = 0; in ubifs_new_inode()
168 ui->creat_sqnum = ++c->max_sqnum; in ubifs_new_inode()
179 ui->del_cmtno = c->cmt_no; in ubifs_new_inode()
452 struct ubifs_inode *ui; in ubifs_tmpfile() local
488 ui = ubifs_inode(inode); in ubifs_tmpfile()
495 mutex_lock(&ui->ui_mutex); in ubifs_tmpfile()
498 ubifs_assert(c, ui->dirty); in ubifs_tmpfile()
501 mutex_unlock(&ui->ui_mutex); in ubifs_tmpfile()
755 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_link() local
759 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in ubifs_link()
1084 struct ubifs_inode *ui; in ubifs_mknod() local
1138 ui = ubifs_inode(inode); in ubifs_mknod()
1139 ui->data = dev; in ubifs_mknod()
1140 ui->data_len = devlen; in ubifs_mknod()
1177 struct ubifs_inode *ui; in ubifs_symlink() local
1219 ui = ubifs_inode(inode); in ubifs_symlink()
1220 ui->data = kmalloc(disk_link.len, GFP_NOFS); in ubifs_symlink()
1221 if (!ui->data) { in ubifs_symlink()
1227 disk_link.name = ui->data; /* encrypt directly into ui->data */ in ubifs_symlink()
1232 memcpy(ui->data, disk_link.name, disk_link.len); in ubifs_symlink()
1233 inode->i_link = ui->data; in ubifs_symlink()
1241 ui->data_len = disk_link.len - 1; in ubifs_symlink()
1675 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_getattr() local
1677 mutex_lock(&ui->ui_mutex); in ubifs_getattr()
1679 if (ui->flags & UBIFS_APPEND_FL) in ubifs_getattr()
1681 if (ui->flags & UBIFS_COMPR_FL) in ubifs_getattr()
1683 if (ui->flags & UBIFS_CRYPT_FL) in ubifs_getattr()
1685 if (ui->flags & UBIFS_IMMUTABLE_FL) in ubifs_getattr()
1695 stat->size = ui->ui_size; in ubifs_getattr()
1710 size = ui->xattr_size; in ubifs_getattr()
1720 mutex_unlock(&ui->ui_mutex); in ubifs_getattr()