Lines Matching refs:out_len
858 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local
898 out_len = compr_len = dlen - UBIFS_DATA_NODE_SZ; in ubifs_jnl_write_data()
903 err = ubifs_encrypt(inode, data, compr_len, &out_len, key_block(c, key)); in ubifs_jnl_write_data()
909 out_len = compr_len; in ubifs_jnl_write_data()
912 dlen = UBIFS_DATA_NODE_SZ + out_len; in ubifs_jnl_write_data()
1625 int err, dlen, compr_type, out_len, data_size; in truncate_data_node() local
1627 out_len = le32_to_cpu(dn->size); in truncate_data_node()
1628 buf = kmalloc_array(out_len, WORST_COMPR_FACTOR, GFP_NOFS); in truncate_data_node()
1643 out_len = *new_len; in truncate_data_node()
1645 err = ubifs_decompress(c, &dn->data, dlen, buf, &out_len, compr_type); in truncate_data_node()
1649 ubifs_compress(c, buf, *new_len, &dn->data, &out_len, &compr_type); in truncate_data_node()
1653 err = ubifs_encrypt(inode, dn, out_len, &data_size, block); in truncate_data_node()
1657 out_len = data_size; in truncate_data_node()
1662 ubifs_assert(c, out_len <= UBIFS_BLOCK_SIZE); in truncate_data_node()
1665 *new_len = UBIFS_DATA_NODE_SZ + out_len; in truncate_data_node()