Lines Matching refs:metaslab_t
196 static uint64_t metaslab_weight(metaslab_t *);
197 static void metaslab_set_fragmentation(metaslab_t *);
420 const metaslab_t *m1 = x1;
421 const metaslab_t *m2 = x2;
445 metaslab_verify_space(metaslab_t *msp, uint64_t txg)
581 sizeof (metaslab_t), offsetof(struct metaslab, ms_group_node));
713 metaslab_t *msp = vd->vdev_ms[m];
730 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp)
750 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp)
775 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp)
790 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp)
804 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight)
836 metaslab_t *msp = vd->vdev_ms[m];
990 metaslab_t *msp = arg;
1005 metaslab_t *msp = arg;
1017 metaslab_t *msp = arg;
1028 metaslab_t *msp = arg;
1039 metaslab_t *msp = arg;
1072 metaslab_block_maxsize(metaslab_t *msp)
1138 metaslab_ff_alloc(metaslab_t *msp, uint64_t size)
1167 metaslab_df_alloc(metaslab_t *msp, uint64_t size)
1216 metaslab_cf_alloc(metaslab_t *msp, uint64_t size)
1266 metaslab_ndf_alloc(metaslab_t *msp, uint64_t size)
1320 metaslab_load_wait(metaslab_t *msp)
1331 metaslab_load(metaslab_t *msp)
1370 metaslab_unload(metaslab_t *msp)
1381 metaslab_t **msp)
1385 metaslab_t *ms;
1388 ms = kmem_zalloc(sizeof (metaslab_t), KM_SLEEP);
1404 kmem_free(ms, sizeof (metaslab_t));
1457 metaslab_fini(metaslab_t *msp)
1487 kmem_free(msp, sizeof (metaslab_t));
1537 metaslab_set_fragmentation(metaslab_t *msp)
1607 metaslab_space_weight(metaslab_t *msp)
1680 metaslab_weight_from_range_tree(metaslab_t *msp)
1721 metaslab_weight_from_spacemap(metaslab_t *msp)
1744 metaslab_segment_weight(metaslab_t *msp)
1810 metaslab_should_allocate(metaslab_t *msp, uint64_t asize)
1834 metaslab_weight(metaslab_t *msp)
1877 metaslab_activate(metaslab_t *msp, uint64_t activation_weight)
1902 metaslab_passivate(metaslab_t *msp, uint64_t weight)
1932 metaslab_segment_may_passivate(metaslab_t *msp)
1955 metaslab_t *msp = arg;
1972 metaslab_t *msp;
2034 metaslab_should_condense(metaslab_t *msp)
2082 metaslab_condense(metaslab_t *msp, uint64_t txg, dmu_tx_t *tx)
2167 metaslab_sync(metaslab_t *msp, uint64_t txg)
2324 metaslab_sync_done(metaslab_t *msp, uint64_t txg)
2458 metaslab_distance(metaslab_t *msp, dva_t *dva)
2515 metaslab_t *msp, uint64_t psize, uint32_t dva_id, uint64_t offset)
2631 metaslab_block_alloc(metaslab_t *msp, uint64_t size, uint64_t txg)
2671 metaslab_t *msp = NULL;
2685 metaslab_t *search = kmem_alloc(sizeof (*search), KM_SLEEP);
3128 metaslab_t *msp;
3186 metaslab_t *msp;
3394 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift];