Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2.c116 mp->m_dir_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount()
118 mp->m_attr_geo = kmem_zalloc(sizeof(struct xfs_da_geometry), in xfs_da_mount()
239 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_init()
277 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_createname()
378 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_lookup()
449 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_removename()
514 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_replace()
Dxfs_da_btree.c2432 map = kmem_zalloc(nirecs * sizeof(struct xfs_buf_map), in xfs_buf_map_from_irec()
2491 irecs = kmem_zalloc(sizeof(irec) * nfsb, in xfs_dabuf_map()
Dxfs_attr_leaf.c2080 tmp_leaf = kmem_zalloc(state->args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_unbalance()
/linux-4.4.14/fs/xfs/
Dxfs_log_cil.c242 lv = kmem_zalloc(buf_size, KM_SLEEP|KM_NOFS); in xlog_cil_insert_format_items()
451 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
957 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
961 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
Dkmem.h75 kmem_zalloc(size_t size, xfs_km_flags_t flags) in kmem_zalloc() function
Dkmem.c72 ptr = kmem_zalloc(size, flags | KM_MAYFAIL); in kmem_zalloc_large()
Dxfs_extfree_item.c210 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init()
475 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
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()
Dxfs_dquot_item.c435 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_extent_busy.c48 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_MAYFAIL); in xfs_extent_busy_insert()
Dxfs_trans_ail.c762 ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); in xfs_trans_ail_init()
Dxfs_dir2_readdir.c505 map_info = kmem_zalloc(offsetof(struct xfs_dir2_leaf_map_info, map) + in xfs_dir2_leaf_getdents()
Dxfs_buf.c128 bp->b_maps = kmem_zalloc(map_count * sizeof(struct xfs_buf_map), in xfs_buf_get_maps()
1689 btp = kmem_zalloc(sizeof(*btp), KM_SLEEP | KM_NOFS); in xfs_alloc_buftarg()
Dxfs_buf_item.c725 bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format), in xfs_buf_item_get_format()
Dxfs_log_recover.c3418 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item()
3545 kmem_zalloc(item->ri_total * sizeof(xfs_log_iovec_t), in xlog_recover_add_to_trans()
3676 trans = kmem_zalloc(sizeof(struct xlog_recover), KM_SLEEP); in xlog_recover_ophdr_to_trans()
4494 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.c1355 log = kmem_zalloc(sizeof(struct xlog), KM_MAYFAIL); in xlog_alloc_log()
1445 *iclogp = kmem_zalloc(sizeof(xlog_in_core_t), KM_MAYFAIL); in xlog_alloc_log()
Dxfs_qm.c577 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo()