Lines Matching +full:0 +full:xd

36 	full_dnode_slab = KMEM_CACHE(jffs2_full_dnode, 0);  in jffs2_create_slab_caches()
48 tmp_dnode_info_slab = KMEM_CACHE(jffs2_tmp_dnode_info, 0); in jffs2_create_slab_caches()
54 0, 0, NULL); in jffs2_create_slab_caches()
58 node_frag_slab = KMEM_CACHE(jffs2_node_frag, 0); in jffs2_create_slab_caches()
62 inode_cache_slab = KMEM_CACHE(jffs2_inode_cache, 0); in jffs2_create_slab_caches()
67 xattr_datum_cache = KMEM_CACHE(jffs2_xattr_datum, 0); in jffs2_create_slab_caches()
71 xattr_ref_cache = KMEM_CACHE(jffs2_xattr_ref, 0); in jffs2_create_slab_caches()
76 return 0; in jffs2_create_slab_caches()
174 int i = 0; in jffs2_alloc_refblock()
175 for (i=0; i < REFS_PER_BLOCK; i++) { in jffs2_alloc_refblock()
196 dbg_memalloc("Reserving %d refs for block @0x%08x\n", nr, jeb->offset); in jffs2_prealloc_raw_node_refs()
219 dbg_memalloc("Reserved %d refs for block @0x%08x, last_node is %p (%08x,%p)\n", in jffs2_prealloc_raw_node_refs()
223 return 0; in jffs2_prealloc_raw_node_refs()
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()