Lines Matching refs:dn
676 struct ubifs_data_node *dn) in read_block() argument
684 err = ubifs_tnc_lookup(c, &key, dn); in read_block()
692 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
694 len = le32_to_cpu(dn->size); in read_block()
698 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; in read_block()
700 err = ubifs_decompress(c, &dn->data, dlen, addr, &out_len, in read_block()
701 le16_to_cpu(dn->compr_type)); in read_block()
718 ubifs_dump_node(c, dn); in read_block()
728 struct ubifs_data_node *dn; in do_readpage() local
744 dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS); in do_readpage()
745 if (!dn) in do_readpage()
780 ret = read_block(inode, buff, block, dn); in do_readpage()
792 dlen = le32_to_cpu(dn->size); in do_readpage()
799 ret = read_block(inode, addr, block, dn); in do_readpage()
824 kfree(dn); in do_readpage()
829 kfree(dn); in do_readpage()