Lines Matching refs:xd
279 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local
280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
281 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum()
282 if (!xd) in jffs2_alloc_xattr_datum()
285 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
286 xd->node = (void *)xd; in jffs2_alloc_xattr_datum()
287 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum()
288 return xd; in jffs2_alloc_xattr_datum()
291 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument
293 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum()
294 kmem_cache_free(xattr_datum_cache, xd); in jffs2_free_xattr_datum()