Searched refs:kmem_zalloc (Results 1 – 18 of 18) sorted by relevance
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dir2.c | 116 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()
|
D | xfs_da_btree.c | 2432 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()
|
D | xfs_attr_leaf.c | 2080 tmp_leaf = kmem_zalloc(state->args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_unbalance()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_log_cil.c | 242 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()
|
D | kmem.h | 75 kmem_zalloc(size_t size, xfs_km_flags_t flags) in kmem_zalloc() function
|
D | kmem.c | 72 ptr = kmem_zalloc(size, flags | KM_MAYFAIL); in kmem_zalloc_large()
|
D | xfs_extfree_item.c | 210 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init() 475 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
|
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 | xfs_dquot_item.c | 435 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
|
D | xfs_extent_busy.c | 48 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_MAYFAIL); in xfs_extent_busy_insert()
|
D | xfs_trans_ail.c | 762 ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); in xfs_trans_ail_init()
|
D | xfs_dir2_readdir.c | 505 map_info = kmem_zalloc(offsetof(struct xfs_dir2_leaf_map_info, map) + in xfs_dir2_leaf_getdents()
|
D | xfs_buf.c | 128 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()
|
D | xfs_buf_item.c | 725 bip->bli_formats = kmem_zalloc(count * sizeof(struct xfs_buf_log_format), in xfs_buf_item_get_format()
|
D | xfs_log_recover.c | 3418 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()
|
D | xfs_mount.c | 207 pag = kmem_zalloc(sizeof(*pag), KM_MAYFAIL); in xfs_initialize_perag()
|
D | xfs_log.c | 1355 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()
|
D | xfs_qm.c | 577 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo()
|