Searched refs:kmem_zalloc (Results 1 – 22 of 22) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_dir2.c | 125 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()
|
D | xfs_da_btree.c | 2431 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()
|
D | xfs_attr_leaf.c | 2086 tmp_leaf = kmem_zalloc(state->args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_unbalance()
|
/fs/xfs/ |
D | xfs_mru_cache.c | 346 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()
|
D | kmem.h | 73 kmem_zalloc(size_t size, xfs_km_flags_t flags) in kmem_zalloc() function
|
D | kmem.c | 54 ptr = kmem_zalloc(size, flags | KM_MAYFAIL); in kmem_zalloc_large()
|
D | xfs_log_cil.c | 573 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()
|
D | xfs_extfree_item.c | 214 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init() 480 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
|
D | xfs_itable.c | 69 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()
|
D | xfs_dquot_item.c | 473 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
|
D | xfs_rmap_item.c | 199 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), KM_SLEEP); in xfs_rui_init()
|
D | xfs_extent_busy.c | 48 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_SLEEP); in xfs_extent_busy_insert()
|
D | xfs_refcount_item.c | 199 cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), in xfs_cui_init()
|
D | xfs_trans_ail.c | 763 ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); in xfs_trans_ail_init()
|
D | xfs_dir2_readdir.c | 500 map_info = kmem_zalloc(offsetof(struct xfs_dir2_leaf_map_info, map) + in xfs_dir2_leaf_getdents()
|
D | xfs_buf.c | 190 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()
|
D | xfs_buf_item.c | 706 bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format), in xfs_buf_item_get_format()
|
D | xfs_log_recover.c | 4232 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()
|
D | xfs_mount.c | 207 pag = kmem_zalloc(sizeof(*pag), KM_MAYFAIL); in xfs_initialize_perag()
|
D | xfs_log.c | 1391 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()
|
D | xfs_qm.c | 611 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo()
|
D | xfs_super.c | 1210 tmp_mp = kmem_zalloc(sizeof(*tmp_mp), KM_MAYFAIL); in xfs_test_remount_options()
|