Lines Matching refs:xent
668 int deletion, int xent, int in_orphan) in ubifs_jnl_update() argument
717 if (!xent) { in ubifs_jnl_update()
817 if (xent) { in ubifs_jnl_update()
1013 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_jnl_write_inode() local
1023 xent = ubifs_tnc_next_ent(c, &key, &nm); in ubifs_jnl_write_inode()
1024 if (IS_ERR(xent)) { in ubifs_jnl_write_inode()
1025 err = PTR_ERR(xent); in ubifs_jnl_write_inode()
1033 fname_name(&nm) = xent->name; in ubifs_jnl_write_inode()
1034 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_jnl_write_inode()
1036 xino = ubifs_iget(c->vfs_sb, le64_to_cpu(xent->inum)); in ubifs_jnl_write_inode()
1040 xent->name, err); in ubifs_jnl_write_inode()
1043 kfree(xent); in ubifs_jnl_write_inode()
1054 pxent = xent; in ubifs_jnl_write_inode()
1055 key_read(c, &xent->key, &key); in ubifs_jnl_write_inode()
1858 struct ubifs_dent_node *xent; in ubifs_jnl_delete_xattr() local
1879 xent = kzalloc(write_len, GFP_NOFS); in ubifs_jnl_delete_xattr()
1880 if (!xent) in ubifs_jnl_delete_xattr()
1886 kfree(xent); in ubifs_jnl_delete_xattr()
1890 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
1892 key_write(c, &xent_key, xent->key); in ubifs_jnl_delete_xattr()
1893 xent->inum = 0; in ubifs_jnl_delete_xattr()
1894 xent->type = get_dent_type(inode->i_mode); in ubifs_jnl_delete_xattr()
1895 xent->nlen = cpu_to_le16(fname_len(nm)); in ubifs_jnl_delete_xattr()
1896 memcpy(xent->name, fname_name(nm), fname_len(nm)); in ubifs_jnl_delete_xattr()
1897 xent->name[fname_len(nm)] = '\0'; in ubifs_jnl_delete_xattr()
1898 zero_dent_node_unused(xent); in ubifs_jnl_delete_xattr()
1899 ubifs_prep_grp_node(c, xent, xlen, 0); in ubifs_jnl_delete_xattr()
1901 ino = (void *)xent + aligned_xlen; in ubifs_jnl_delete_xattr()
1909 err = write_head(c, BASEHD, xent, write_len, &lnum, &xent_offs, sync); in ubifs_jnl_delete_xattr()
1915 kfree(xent); in ubifs_jnl_delete_xattr()
1954 kfree(xent); in ubifs_jnl_delete_xattr()