Home
last modified time | relevance | path

Searched refs:host_ui (Results 1 – 2 of 2) sorted by relevance

/fs/ubifs/
Dxattr.c105 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local
108 .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()
149 mutex_lock(&host_ui->ui_mutex); in create_xattr()
151 host_ui->xattr_cnt += 1; in create_xattr()
152 host_ui->xattr_size += CALC_DENT_SIZE(nm->len); in create_xattr()
153 host_ui->xattr_size += CALC_XATTR_BYTES(size); in create_xattr()
154 host_ui->xattr_names += nm->len; in create_xattr()
159 mutex_unlock(&host_ui->ui_mutex); in create_xattr()
[all …]
Djournal.c549 struct ubifs_inode *host_ui = ubifs_inode(dir); in ubifs_jnl_update() local
556 ubifs_assert(mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_update()
660 mark_inode_clean(c, host_ui); in ubifs_jnl_update()
1288 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_jnl_delete_xattr() local
1294 ubifs_assert(mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()
1302 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr()
1368 spin_lock(&host_ui->ui_lock); in ubifs_jnl_delete_xattr()
1369 host_ui->synced_i_size = host_ui->ui_size; in ubifs_jnl_delete_xattr()
1370 spin_unlock(&host_ui->ui_lock); in ubifs_jnl_delete_xattr()
1371 mark_inode_clean(c, host_ui); in ubifs_jnl_delete_xattr()
[all …]