Lines Matching refs:ubifs_assert

108 	ubifs_assert(c, !c->ro_media && !c->ro_mount);  in reserve_space()
212 ubifs_assert(c, err < 0); in reserve_space()
235 ubifs_assert(c, len >= auth_node_size); in ubifs_hash_nodes()
240 ubifs_assert(c, len > nodelen); in ubifs_hash_nodes()
241 ubifs_assert(c, ch->magic == cpu_to_le32(UBIFS_NODE_MAGIC)); in ubifs_hash_nodes()
274 ubifs_assert(c, jhead != GCHD); in write_head()
682 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_update()
867 ubifs_assert(c, len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
900 ubifs_assert(c, compr_len <= UBIFS_BLOCK_SIZE); in ubifs_jnl_write_data()
1046 ubifs_assert(c, ubifs_inode(xino)->xattr); in ubifs_jnl_write_inode()
1141 ubifs_assert(c, inode->i_nlink == 0); in ubifs_jnl_delete_inode()
1200 ubifs_assert(c, ubifs_inode(fst_dir)->data_len == 0); in ubifs_jnl_xrename()
1201 ubifs_assert(c, ubifs_inode(snd_dir)->data_len == 0); in ubifs_jnl_xrename()
1202 ubifs_assert(c, mutex_is_locked(&ubifs_inode(fst_dir)->ui_mutex)); in ubifs_jnl_xrename()
1203 ubifs_assert(c, mutex_is_locked(&ubifs_inode(snd_dir)->ui_mutex)); in ubifs_jnl_xrename()
1373 ubifs_assert(c, ubifs_inode(old_dir)->data_len == 0); in ubifs_jnl_rename()
1374 ubifs_assert(c, ubifs_inode(new_dir)->data_len == 0); in ubifs_jnl_rename()
1375 ubifs_assert(c, mutex_is_locked(&ubifs_inode(old_dir)->ui_mutex)); in ubifs_jnl_rename()
1376 ubifs_assert(c, mutex_is_locked(&ubifs_inode(new_dir)->ui_mutex)); in ubifs_jnl_rename()
1382 ubifs_assert(c, mutex_is_locked(&new_ui->ui_mutex)); in ubifs_jnl_rename()
1391 ubifs_assert(c, mutex_is_locked(&whiteout_ui->ui_mutex)); in ubifs_jnl_rename()
1392 ubifs_assert(c, whiteout->i_nlink == 1); in ubifs_jnl_rename()
1393 ubifs_assert(c, !whiteout_ui->dirty); in ubifs_jnl_rename()
1661 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node()
1703 ubifs_assert(c, !ui->data_len); in ubifs_jnl_truncate()
1704 ubifs_assert(c, S_ISREG(inode->i_mode)); in ubifs_jnl_truncate()
1705 ubifs_assert(c, mutex_is_locked(&ui->ui_mutex)); in ubifs_jnl_truncate()
1865 ubifs_assert(c, inode->i_nlink == 0); in ubifs_jnl_delete_xattr()
1866 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_delete_xattr()
1987 ubifs_assert(c, inode->i_nlink > 0); in ubifs_jnl_change_xattr()
1988 ubifs_assert(c, mutex_is_locked(&host_ui->ui_mutex)); in ubifs_jnl_change_xattr()