Lines Matching refs:write_len
860 int write_len; in ubifs_jnl_write_data() local
914 write_len = ALIGN(dlen, 8) + auth_len; in ubifs_jnl_write_data()
916 write_len = dlen; in ubifs_jnl_write_data()
921 err = make_reservation(c, DATAHD, write_len); in ubifs_jnl_write_data()
926 err = write_head(c, DATAHD, data, write_len, &lnum, &offs, 0); in ubifs_jnl_write_data()
977 int sync = 0, write_len = 0, ilen = UBIFS_INO_NODE_SZ; in ubifs_jnl_write_inode() local
999 write_len += UBIFS_INO_NODE_SZ * ui->xattr_cnt; in ubifs_jnl_write_inode()
1003 write_len += ALIGN(ilen, 8) + ubifs_auth_node_sz(c); in ubifs_jnl_write_inode()
1005 write_len += ilen; in ubifs_jnl_write_inode()
1007 ino_start = ino = kmalloc(write_len, GFP_NOFS); in ubifs_jnl_write_inode()
1012 err = make_reservation(c, BASEHD, write_len); in ubifs_jnl_write_inode()
1066 err = write_head(c, BASEHD, ino_start, write_len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
1079 err = ubifs_add_dirt(c, lnum, write_len); in ubifs_jnl_write_inode()
1858 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local
1878 write_len = len + ubifs_auth_node_sz(c); in ubifs_jnl_delete_xattr()
1880 xent = kzalloc(write_len, GFP_NOFS); in ubifs_jnl_delete_xattr()
1885 err = make_reservation(c, BASEHD, write_len); in ubifs_jnl_delete_xattr()
1910 err = write_head(c, BASEHD, xent, write_len, &lnum, &xent_offs, sync); in ubifs_jnl_delete_xattr()