/dragonfly/sys/vfs/hammer/ |
H A D | hammer_transaction.c | 197 ocp = kmalloc(sizeof(*ocp), hmp->m_misc, in hammer_alloc_objid() 211 kfree(ocp, hmp->m_misc); in hammer_alloc_objid() 227 kfree(ocp, hmp->m_misc); in hammer_alloc_objid() 255 kfree(ocp, hmp->m_misc); in hammer_alloc_objid() 314 kfree(ocp, hmp->m_misc); in hammer_destroy_objid_cache()
|
H A D | hammer_ondisk.c | 130 volume = kmalloc(sizeof(*volume), hmp->m_misc, M_WAITOK|M_ZERO); in hammer_install_volume() 131 volume->vol_name = kstrdup(volname, hmp->m_misc); in hammer_install_volume() 406 kfree(volume->vol_name, hmp->m_misc); in hammer_free_volume() 414 kfree(volume, hmp->m_misc); in hammer_free_volume() 715 buffer = kmalloc(sizeof(*buffer), hmp->m_misc, in hammer_get_buffer() 735 kfree(buffer, hmp->m_misc); in hammer_get_buffer() 1098 kfree(buffer, hmp->m_misc); in hammer_rel_buffer() 1223 node = kmalloc(sizeof(*node), hmp->m_misc, M_WAITOK|M_ZERO|M_USE_RESERVE); in hammer_get_node() 1230 kfree(node, hmp->m_misc); in hammer_get_node() 1560 kfree(node, hmp->m_misc); in hammer_flush_node()
|
H A D | hammer_btree.c | 2010 kfree(rhb, hmp->m_misc); 2038 kfree(rhb, hmp->m_misc); 2120 kfree(rhb, hmp->m_misc); 2141 kfree(rhb, hmp->m_misc); 2591 hmp->m_misc, M_WAITOK); in hammer_btree_lcache_init() 2607 kfree(item->copy, hmp->m_misc); in hammer_btree_lcache_free() 2608 kfree(item, hmp->m_misc); in hammer_btree_lcache_free() 2691 hmp->m_misc, in hammer_btree_lock_children() 2733 hmp->m_misc, M_WAITOK); in hammer_btree_lock_copy() 2804 kfree(item, hmp->m_misc); in hammer_btree_unlock_children() [all …]
|
H A D | hammer_recover.c | 735 kfree(rte, hmp->m_misc); in hammer_recover_stage2() 737 kfree(rterm, hmp->m_misc); in hammer_recover_stage2() 1177 nrterm = kmalloc(sizeof(*nrterm), hmp->m_misc, M_WAITOK|M_ZERO); in hammer_recover_redo_rec() 1185 kfree(nrterm, hmp->m_misc); in hammer_recover_redo_rec() 1202 rte = kmalloc(sizeof(*rte), hmp->m_misc, M_WAITOK|M_ZERO); in hammer_recover_redo_rec() 1288 kfree(rte, hmp->m_misc); in hammer_recover_redo_run()
|
H A D | hammer_flusher.c | 209 info = kmalloc(sizeof(*info), hmp->m_misc, M_WAITOK|M_ZERO); in hammer_flusher_create() 242 kfree(info, hmp->m_misc); in hammer_flusher_destroy() 425 kfree(flg, hmp->m_misc); in hammer_flusher_flush()
|
H A D | hammer_blockmap.c | 583 resx = kmalloc(sizeof(*resv), hmp->m_misc, in hammer_blockmap_reserve() 675 kfree(resv, hmp->m_misc); in hammer_blockmap_reserve_complete() 705 resv = kmalloc(sizeof(*resv), hmp->m_misc, in hammer_reserve_setdelay_offset() 715 kfree(resv, hmp->m_misc); in hammer_reserve_setdelay_offset()
|
H A D | hammer_vfsops.c | 413 kmalloc_create(&hmp->m_misc, "HAMMER-others"); in hammer_vfs_mount() 855 kfree(flg, hmp->m_misc); in hammer_free_hmp() 882 kmalloc_destroy(&hmp->m_misc); in hammer_free_hmp()
|
H A D | hammer_object.c | 271 record = kmalloc(sizeof(*record), hmp->m_misc, in hammer_alloc_mem_record() 280 record->data = kmalloc(data_len, hmp->m_misc, M_WAITOK | M_ZERO); in hammer_alloc_mem_record() 465 kfree(record->data, hmp->m_misc); in hammer_rel_mem_record() 485 kfree(record, hmp->m_misc); in hammer_rel_mem_record()
|
H A D | hammer_cursor.c | 862 ncursor = kmalloc(sizeof(*ncursor), hmp->m_misc, M_WAITOK | M_ZERO); in hammer_push_cursor() 905 kfree(ncursor, hmp->m_misc); in hammer_pop_cursor()
|
H A D | hammer_inode.c | 1003 pfsm = kmalloc(sizeof(*pfsm), hmp->m_misc, M_WAITOK | M_ZERO); in hammer_load_pseudofs() 1044 kfree(pfsm, hmp->m_misc); in hammer_load_pseudofs() 1225 kfree(pfsm, hmp->m_misc); in hammer_rel_pseudofs() 1768 flg = kmalloc(sizeof(*flg), hmp->m_misc, M_WAITOK|M_ZERO); in hammer_flush_inode()
|
H A D | hammer.h | 807 struct malloc_type *m_misc; member
|