Lines Matching refs:xd
288 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local
289 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum()
290 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum()
291 if (!xd) in jffs2_alloc_xattr_datum()
294 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum()
295 xd->node = (void *)xd; in jffs2_alloc_xattr_datum()
296 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum()
297 return xd; in jffs2_alloc_xattr_datum()
300 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument
302 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum()
303 kmem_cache_free(xattr_datum_cache, xd); in jffs2_free_xattr_datum()