Searched refs:nmblocks (Results 1 – 2 of 2) sorted by relevance
183 static int mblock_alloc(mpo_config_t *, update_t, int nmblocks);1462 mblock_alloc(mpo_config_t *mc, update_t utype, int nmblocks) in mblock_alloc() argument1466 int nstripes = MAX_MEM_NODES * nmblocks; in mblock_alloc()1467 size_t mblocksz = nmblocks * sizeof (struct mblock_md); in mblock_alloc()1486 ms = (mem_stripe_t *)(mb + nmblocks); in mblock_alloc()1488 } else if (nmblocks <= SMALL_MBLOCKS_COUNT) { in mblock_alloc()1508 ms = (mem_stripe_t *)(mb + nmblocks); in mblock_alloc()1513 mc->mc_nmblocks = nmblocks; in mblock_alloc()1515 MPO_DEBUG("mblock_alloc: mblocks: %d\n", nmblocks); in mblock_alloc()1649 int nmblocks = 0; in mblock_update_add() local[all …]
555 int num_nodes, nmblocks, i; in cmd_mem_get_phys_pages() local576 nmblocks = md_scan_dag(mdp, MDE_INVAL_ELEM_COOKIE, in cmd_mem_get_phys_pages()579 for (i = 0; i < nmblocks; i++) { in cmd_mem_get_phys_pages()