Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ubifs/
Dxattr.c289 struct ubifs_dent_node *xent; in ubifs_xattr_set() local
302 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set()
303 if (!xent) in ubifs_xattr_set()
311 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_set()
330 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_set()
340 kfree(xent); in ubifs_xattr_set()
351 struct ubifs_dent_node *xent; in ubifs_xattr_get() local
358 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get()
359 if (!xent) in ubifs_xattr_get()
363 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_get()
[all …]
Djournal.c541 int deletion, int xent) in ubifs_jnl_update() argument
584 if (!xent) { in ubifs_jnl_update()
668 if (xent) { in ubifs_jnl_update()
1499 struct ubifs_dent_node *xent; in ubifs_jnl_delete_xattr() local
1517 xent = kzalloc(len, GFP_NOFS); in ubifs_jnl_delete_xattr()
1518 if (!xent) in ubifs_jnl_delete_xattr()
1524 kfree(xent); in ubifs_jnl_delete_xattr()
1528 xent->ch.node_type = UBIFS_XENT_NODE; in ubifs_jnl_delete_xattr()
1530 key_write(c, &xent_key, xent->key); in ubifs_jnl_delete_xattr()
1531 xent->inum = 0; in ubifs_jnl_delete_xattr()
[all …]
Dtnc.c2858 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_tnc_remove_ino() local
2872 xent = ubifs_tnc_next_ent(c, &key1, &nm); in ubifs_tnc_remove_ino()
2873 if (IS_ERR(xent)) { in ubifs_tnc_remove_ino()
2874 err = PTR_ERR(xent); in ubifs_tnc_remove_ino()
2880 xattr_inum = le64_to_cpu(xent->inum); in ubifs_tnc_remove_ino()
2881 dbg_tnc("xent '%s', ino %lu", xent->name, in ubifs_tnc_remove_ino()
2886 fname_name(&nm) = xent->name; in ubifs_tnc_remove_ino()
2887 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino()
2890 kfree(xent); in ubifs_tnc_remove_ino()
2898 kfree(xent); in ubifs_tnc_remove_ino()
[all …]
Dubifs.h1533 int deletion, int xent);