Searched refs:xent (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | xattr.c | 271 struct ubifs_dent_node *xent; in ubifs_xattr_set() local 284 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set() 285 if (!xent) in ubifs_xattr_set() 294 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_set() 313 inode = iget_xattr(c, le64_to_cpu(xent->inum)); in ubifs_xattr_set() 324 kfree(xent); in ubifs_xattr_set() 335 struct ubifs_dent_node *xent; in ubifs_xattr_get() local 342 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get() 343 if (!xent) in ubifs_xattr_get() 348 err = ubifs_tnc_lookup_nm(c, &key, xent, &nm); in ubifs_xattr_get() [all …]
|
| H A D | journal.c | 540 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 …]
|
| H A D | orphan.c | 160 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()
|
| H A D | tnc.c | 2868 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 …]
|
| H A D | ubifs.h | 1768 int deletion, int xent);
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | tnc.c | 2688 struct ubifs_dent_node *xent, *pxent = NULL; in ubifs_tnc_remove_ino() local 2702 xent = ubifs_tnc_next_ent(c, &key1, &nm); in ubifs_tnc_remove_ino() 2703 if (IS_ERR(xent)) { in ubifs_tnc_remove_ino() 2704 err = PTR_ERR(xent); in ubifs_tnc_remove_ino() 2710 xattr_inum = le64_to_cpu(xent->inum); in ubifs_tnc_remove_ino() 2711 dbg_tnc("xent '%s', ino %lu", xent->name, in ubifs_tnc_remove_ino() 2714 nm.name = xent->name; in ubifs_tnc_remove_ino() 2715 nm.len = le16_to_cpu(xent->nlen); in ubifs_tnc_remove_ino() 2718 kfree(xent); in ubifs_tnc_remove_ino() 2726 kfree(xent); in ubifs_tnc_remove_ino() [all …]
|
| H A D | ubifs.h | 2143 int deletion, int xent);
|