Home
last modified time | relevance | path

Searched refs:kmem_zalloc (Results 1 – 22 of 22) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2.c125 mp->m_dir_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount()
127 mp->m_attr_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount()
248 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_init()
286 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_createname()
387 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_lookup()
458 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_removename()
523 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_replace()
Dxfs_da_btree.c2431 map = kmem_zalloc(nirecs * sizeof(struct xfs_buf_map), in xfs_buf_map_from_irec()
2490 irecs = kmem_zalloc(sizeof(irec) * nfsb, in xfs_dabuf_map()
Dxfs_attr_leaf.c2086 tmp_leaf = kmem_zalloc(state->args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_unbalance()
/fs/xfs/
Dxfs_mru_cache.c346 if (!(mru = kmem_zalloc(sizeof(*mru), KM_SLEEP))) in xfs_mru_cache_create()
351 mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); in xfs_mru_cache_create()
Dkmem.h73 kmem_zalloc(size_t size, xfs_km_flags_t flags) in kmem_zalloc() function
Dkmem.c54 ptr = kmem_zalloc(size, flags | KM_MAYFAIL); in kmem_zalloc_large()
Dxfs_log_cil.c573 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
1086 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
1090 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
Dxfs_extfree_item.c214 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init()
480 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
Dxfs_itable.c69 buf = kmem_zalloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int()
586 buffer = kmem_zalloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
Dxfs_dquot_item.c473 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_rmap_item.c199 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), KM_SLEEP); in xfs_rui_init()
Dxfs_extent_busy.c48 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_SLEEP); in xfs_extent_busy_insert()
Dxfs_refcount_item.c199 cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init()
Dxfs_trans_ail.c763 ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); in xfs_trans_ail_init()
Dxfs_dir2_readdir.c500 map_info = kmem_zalloc(offsetof(struct xfs_dir2_leaf_map_info, map) + in xfs_dir2_leaf_getdents()
Dxfs_buf.c190 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()
1780 btp = kmem_zalloc(sizeof(*btp), KM_SLEEP | KM_NOFS); in xfs_alloc_buftarg()
Dxfs_buf_item.c706 bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format), in xfs_buf_item_get_format()
Dxfs_log_recover.c4232 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item()
4359 kmem_zalloc(item->ri_total * sizeof(xfs_log_iovec_t), in xlog_recover_add_to_trans()
4494 trans = kmem_zalloc(sizeof(struct xlog_recover), KM_SLEEP); in xlog_recover_ophdr_to_trans()
5555 log->l_buf_cancel_table = kmem_zalloc(XLOG_BC_TABLE_SIZE * in xlog_do_log_recovery()
Dxfs_mount.c207 pag = kmem_zalloc(sizeof(*pag), KM_MAYFAIL); in xfs_initialize_perag()
Dxfs_log.c1391 log = kmem_zalloc(sizeof(struct xlog), KM_MAYFAIL); in xlog_alloc_log()
1481 *iclogp = kmem_zalloc(sizeof(xlog_in_core_t), KM_MAYFAIL); in xlog_alloc_log()
Dxfs_qm.c611 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo()
Dxfs_super.c1210 tmp_mp = kmem_zalloc(sizeof(*tmp_mp), KM_MAYFAIL); in xfs_test_remount_options()