Home
last modified time | relevance | path

Searched refs:xent (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/fs/ubifs/
Dxattr.c304 struct ubifs_dent_node *xent; in ubifs_setxattr() local
319 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_setxattr()
320 if (!xent) in ubifs_setxattr()
328 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_setxattr()
347 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_setxattr()
357 kfree(xent); in ubifs_setxattr()
368 struct ubifs_dent_node *xent; in ubifs_getxattr() local
379 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_getxattr()
380 if (!xent) in ubifs_getxattr()
384 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_getxattr()
[all …]
Djournal.c540 int deletion, int xent) in ubifs_jnl_update() argument
582 if (!xent) { in ubifs_jnl_update()
1285 struct ubifs_dent_node *xent; in ubifs_jnl_delete_xattr() local
1306 xent = kmalloc(len, GFP_NOFS); in ubifs_jnl_delete_xattr()
1307 if (!xent) in ubifs_jnl_delete_xattr()
1313 kfree(xent); in ubifs_jnl_delete_xattr()
1317 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
1319 key_write(c, &xent_key, xent->key); in ubifs_jnl_delete_xattr()
1320 xent->inum = 0; in ubifs_jnl_delete_xattr()
1321 xent->type = get_dent_type(inode->i_mode); in ubifs_jnl_delete_xattr()
[all …]
Dtnc.c2691 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_tnc_remove_ino() local
2705 xent = ubifs_tnc_next_ent(c, &key1, &nm); in ubifs_tnc_remove_ino()
2706 if (IS_ERR(xent)) { in ubifs_tnc_remove_ino()
2707 err = PTR_ERR(xent); in ubifs_tnc_remove_ino()
2713 xattr_inum = le64_to_cpu(xent->inum); in ubifs_tnc_remove_ino()
2714 dbg_tnc("xent '%s', ino %lu", xent->name, in ubifs_tnc_remove_ino()
2717 nm.name = xent->name; in ubifs_tnc_remove_ino()
2718 nm.len = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino()
2721 kfree(xent); in ubifs_tnc_remove_ino()
2729 kfree(xent); in ubifs_tnc_remove_ino()
[all …]
Dubifs.h1514 int deletion, int xent);