Searched refs:host_ui (Results 1 – 2 of 2) sorted by relevance
105 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local108 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr()110 if (host_ui->xattr_cnt >= MAX_XATTRS_PER_INODE) in create_xattr()118 if (host_ui->xattr_names + host_ui->xattr_cnt + in create_xattr()150 mutex_lock(&host_ui->ui_mutex); in create_xattr()152 host_ui->xattr_cnt += 1; in create_xattr()153 host_ui->xattr_size += CALC_DENT_SIZE(nm->len); in create_xattr()154 host_ui->xattr_size += CALC_XATTR_BYTES(size); in create_xattr()155 host_ui->xattr_names += nm->len; in create_xattr()160 mutex_unlock(&host_ui->ui_mutex); in create_xattr()[all …]
1289 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_jnl_delete_xattr() local1295 ubifs_assert(mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()1303 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr()1369 spin_lock(&host_ui->ui_lock); in ubifs_jnl_delete_xattr()1370 host_ui->synced_i_size = host_ui->ui_size; in ubifs_jnl_delete_xattr()1371 spin_unlock(&host_ui->ui_lock); in ubifs_jnl_delete_xattr()1372 mark_inode_clean(c, host_ui); in ubifs_jnl_delete_xattr()1398 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_jnl_change_xattr() local1406 ubifs_assert(mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_change_xattr()1408 len1 = UBIFS_INO_NODE_SZ + host_ui->data_len; in ubifs_jnl_change_xattr()[all …]