Searched refs:host_ui (Results 1 – 2 of 2) sorted by relevance
104 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local107 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr()109 if (host_ui->xattr_cnt >= MAX_XATTRS_PER_INODE) { in create_xattr()111 host->i_ino, host_ui->xattr_cnt); in create_xattr()120 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr()154 mutex_lock(&host_ui->ui_mutex); in create_xattr()156 host_ui->xattr_cnt += 1; in create_xattr()157 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr()158 host_ui->xattr_size += CALC_XATTR_BYTES(size); in create_xattr()159 host_ui->xattr_names += fname_len(nm); in create_xattr()[all …]
547 struct ubifs_inode *host_ui = ubifs_inode(dir); in ubifs_jnl_update() local552 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_update()573 len += host_ui->data_len; in ubifs_jnl_update()660 UBIFS_INO_NODE_SZ + host_ui->data_len); in ubifs_jnl_update()669 spin_lock(&host_ui->ui_lock); in ubifs_jnl_update()670 host_ui->synced_i_size = host_ui->ui_size; in ubifs_jnl_update()671 spin_unlock(&host_ui->ui_lock); in ubifs_jnl_update()674 mark_inode_clean(c, host_ui); in ubifs_jnl_update()1503 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_jnl_delete_xattr() local1506 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()[all …]