Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dxattr.c269 struct ubifs_dent_node *xent; in ubifs_xattr_set() local
282 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set()
283 if (!xent) in ubifs_xattr_set()
292 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_set()
311 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_set()
322 kfree(xent); in ubifs_xattr_set()
333 struct ubifs_dent_node *xent; in ubifs_xattr_get() local
340 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get()
341 if (!xent) in ubifs_xattr_get()
346 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_get()
[all …]
Djournal.c540 int deletion, int xent) in ubifs_jnl_update() argument
589 if (!xent) { in ubifs_jnl_update()
686 if (xent) { in ubifs_jnl_update()
882 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_jnl_write_inode() local
892 xent = ubifs_tnc_next_ent(c, &key, &nm); in ubifs_jnl_write_inode()
893 if (IS_ERR(xent)) { in ubifs_jnl_write_inode()
894 err = PTR_ERR(xent); in ubifs_jnl_write_inode()
902 fname_name(&nm) = xent->name; in ubifs_jnl_write_inode()
903 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_jnl_write_inode()
905 xino = ubifs_iget(c->vfs_sb, le64_to_cpu(xent->inum)); in ubifs_jnl_write_inode()
[all …]
Dorphan.c160 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_add_orphan() local
171 xent = ubifs_tnc_next_ent(c, &key, &nm); in ubifs_add_orphan()
172 if (IS_ERR(xent)) { in ubifs_add_orphan()
173 err = PTR_ERR(xent); in ubifs_add_orphan()
180 fname_name(&nm) = xent->name; in ubifs_add_orphan()
181 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_add_orphan()
182 xattr_inum = le64_to_cpu(xent->inum); in ubifs_add_orphan()
187 kfree(xent); in ubifs_add_orphan()
192 pxent = xent; in ubifs_add_orphan()
193 key_read(c, &xent->key, &key); in ubifs_add_orphan()
Dtnc.c2868 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_tnc_remove_ino() local
2882 xent = ubifs_tnc_next_ent(c, &key1, &nm); in ubifs_tnc_remove_ino()
2883 if (IS_ERR(xent)) { in ubifs_tnc_remove_ino()
2884 err = PTR_ERR(xent); in ubifs_tnc_remove_ino()
2891 xattr_inum = le64_to_cpu(xent->inum); in ubifs_tnc_remove_ino()
2892 dbg_tnc("xent '%s', ino %lu", xent->name, in ubifs_tnc_remove_ino()
2897 fname_name(&nm) = xent->name; in ubifs_tnc_remove_ino()
2898 fname_len(&nm) = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino()
2902 kfree(xent); in ubifs_tnc_remove_ino()
2911 kfree(xent); in ubifs_tnc_remove_ino()
[all …]
Dubifs.h1797 int deletion, int xent);