Lines Matching refs:xd
263 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local
264 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
265 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum()
266 if (!xd) in jffs2_alloc_xattr_datum()
269 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
270 xd->node = (void *)xd; in jffs2_alloc_xattr_datum()
271 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum()
272 return xd; in jffs2_alloc_xattr_datum()
275 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument
277 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum()
278 kmem_cache_free(xattr_datum_cache, xd); in jffs2_free_xattr_datum()