Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dxattr.c86 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local
89 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr()
91 if (host_ui->xattr_cnt >= ubifs_xattr_max_cnt(c)) { in create_xattr()
93 host->i_ino, host_ui->xattr_cnt); in create_xattr()
102 names_len = host_ui->xattr_names + host_ui->xattr_cnt + fname_len(nm) + 1; in create_xattr()
136 mutex_lock(&host_ui->ui_mutex); in create_xattr()
138 host_ui->xattr_cnt += 1; in create_xattr()
139 host_ui->xattr_size += CALC_DENT_SIZE(fname_len(nm)); in create_xattr()
140 host_ui->xattr_size += CALC_XATTR_BYTES(size); in create_xattr()
141 host_ui->xattr_names += fname_len(nm); in create_xattr()
[all …]
Djournal.c546 struct ubifs_inode *host_ui = ubifs_inode(dir); in ubifs_jnl_update() local
554 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_update()
576 len += ALIGN(host_ui->data_len, 8) + ubifs_auth_node_sz(c); in ubifs_jnl_update()
578 len += host_ui->data_len; in ubifs_jnl_update()
678 UBIFS_INO_NODE_SZ + host_ui->data_len, hash_ino_host); in ubifs_jnl_update()
687 spin_lock(&host_ui->ui_lock); in ubifs_jnl_update()
688 host_ui->synced_i_size = host_ui->ui_size; in ubifs_jnl_update()
689 spin_unlock(&host_ui->ui_lock); in ubifs_jnl_update()
692 mark_inode_clean(c, host_ui); in ubifs_jnl_update()
1722 struct ubifs_inode *host_ui = ubifs_inode(host); in ubifs_jnl_delete_xattr() local
[all …]