• Home
  • Raw
  • Download

Lines Matching refs:ui

451 	struct ubifs_inode *ui = ubifs_inode(inode);  in pack_inode()  local
455 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode()
465 ino->flags = cpu_to_le32(ui->flags); in pack_inode()
466 ino->size = cpu_to_le64(ui->ui_size); in pack_inode()
468 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode()
469 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode()
470 ino->xattr_cnt = cpu_to_le32(ui->xattr_cnt); in pack_inode()
471 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode()
472 ino->xattr_names = cpu_to_le32(ui->xattr_names); in pack_inode()
480 memcpy(ino->data, ui->data, ui->data_len); in pack_inode()
481 data_len = ui->data_len; in pack_inode()
497 static void mark_inode_clean(struct ubifs_info *c, struct ubifs_inode *ui) in mark_inode_clean() argument
499 if (ui->dirty) in mark_inode_clean()
500 ubifs_release_dirty_inode_budget(c, ui); in mark_inode_clean()
501 ui->dirty = 0; in mark_inode_clean()
546 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_jnl_update() local
564 ilen += ui->data_len; in ubifs_jnl_update()
617 ui->del_cmtno = c->cmt_no; in ubifs_jnl_update()
665 spin_lock(&ui->ui_lock); in ubifs_jnl_update()
666 ui->synced_i_size = ui->ui_size; in ubifs_jnl_update()
667 spin_unlock(&ui->ui_lock); in ubifs_jnl_update()
673 mark_inode_clean(c, ui); in ubifs_jnl_update()
711 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_jnl_write_data() local
739 if (!(ui->flags & UBIFS_COMPR_FL)) in ubifs_jnl_write_data()
743 compr_type = ui->compr_type; in ubifs_jnl_write_data()
810 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_jnl_write_inode() local
820 len += ui->data_len; in ubifs_jnl_write_inode()
857 spin_lock(&ui->ui_lock); in ubifs_jnl_write_inode()
858 ui->synced_i_size = ui->ui_size; in ubifs_jnl_write_inode()
859 spin_unlock(&ui->ui_lock); in ubifs_jnl_write_inode()
905 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_jnl_delete_inode() local
909 if (ui->del_cmtno != c->cmt_no) in ubifs_jnl_delete_inode()
918 if (ui->del_cmtno != c->cmt_no) { in ubifs_jnl_delete_inode()
1360 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_jnl_truncate() local
1366 ubifs_assert(!ui->data_len); in ubifs_jnl_truncate()
1368 ubifs_assert(mutex_is_locked(&ui->ui_mutex)); in ubifs_jnl_truncate()
1464 spin_lock(&ui->ui_lock); in ubifs_jnl_truncate()
1465 ui->synced_i_size = ui->ui_size; in ubifs_jnl_truncate()
1466 spin_unlock(&ui->ui_lock); in ubifs_jnl_truncate()
1467 mark_inode_clean(c, ui); in ubifs_jnl_truncate()