Searched refs:msp (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c215 static void metaslab_passivate(metaslab_t *msp, uint64_t weight);
216 static uint64_t metaslab_weight_from_range_tree(metaslab_t *msp);
503 metaslab_verify_space(metaslab_t *msp, uint64_t txg) argument
505 spa_t *spa = msp->ms_group->mg_vd->vdev_spa;
509 ASSERT(MUTEX_HELD(&msp->ms_lock));
521 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL ||
522 !msp->ms_loaded)
525 sm_free_space = msp->ms_size - space_map_allocated(msp->ms_sm) -
526 space_map_alloc_delta(msp
777 metaslab_t *msp = mg->mg_primaries[i]; local
841 metaslab_t *msp = vd->vdev_ms[m]; local
858 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp) argument
878 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp) argument
903 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp) argument
918 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp) argument
932 metaslab_group_sort_impl(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
943 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
972 metaslab_t *msp = vd->vdev_ms[m]; local
1127 metaslab_t *msp = arg; local
1142 metaslab_t *msp = arg; local
1154 metaslab_t *msp = arg; local
1165 metaslab_t *msp = arg; local
1176 metaslab_t *msp = arg; local
1209 metaslab_block_maxsize(metaslab_t *msp) argument
1275 metaslab_ff_alloc(metaslab_t *msp, uint64_t size) argument
1304 metaslab_df_alloc(metaslab_t *msp, uint64_t size) argument
1354 metaslab_cf_alloc(metaslab_t *msp, uint64_t size) argument
1404 metaslab_ndf_alloc(metaslab_t *msp, uint64_t size) argument
1459 metaslab_load_wait(metaslab_t *msp) argument
1470 metaslab_load(metaslab_t *msp) argument
1526 metaslab_unload(metaslab_t *msp) argument
1536 metaslab_init(metaslab_group_t *mg, uint64_t id, uint64_t object, uint64_t txg, metaslab_t **msp) argument
1617 metaslab_fini(metaslab_t *msp) argument
1701 metaslab_set_fragmentation(metaslab_t *msp) argument
1779 metaslab_space_weight(metaslab_t *msp) argument
1852 metaslab_weight_from_range_tree(metaslab_t *msp) argument
1893 metaslab_weight_from_spacemap(metaslab_t *msp) argument
1916 metaslab_segment_weight(metaslab_t *msp) argument
1982 metaslab_should_allocate(metaslab_t *msp, uint64_t asize) argument
2006 metaslab_weight(metaslab_t *msp) argument
2046 metaslab_activate_allocator(metaslab_group_t *mg, metaslab_t *msp, int allocator, uint64_t activation_weight) argument
2075 metaslab_activate(metaslab_t *msp, int allocator, uint64_t activation_weight) argument
2111 metaslab_passivate_allocator(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
2139 metaslab_passivate(metaslab_t *msp, uint64_t weight) argument
2169 metaslab_segment_may_passivate(metaslab_t *msp) argument
2192 metaslab_t *msp = arg; local
2209 metaslab_t *msp; local
2263 metaslab_should_condense(metaslab_t *msp) argument
2316 metaslab_condense(metaslab_t *msp, uint64_t txg, dmu_tx_t *tx) argument
2394 metaslab_sync(metaslab_t *msp, uint64_t txg) argument
2610 metaslab_sync_done(metaslab_t *msp, uint64_t txg) argument
2771 metaslab_distance(metaslab_t *msp, dva_t *dva) argument
2827 metaslab_trace_add(zio_alloc_list_t *zal, metaslab_group_t *mg, metaslab_t *msp, uint64_t psize, uint32_t dva_id, uint64_t offset, int allocator) argument
2968 metaslab_block_alloc(metaslab_t *msp, uint64_t size, uint64_t txg) argument
3023 metaslab_t *msp = avl_find(t, search, &idx); local
3080 metaslab_t *msp = NULL; local
3543 metaslab_t *msp; local
3762 metaslab_t *msp; local
3886 metaslab_t *msp; local
4159 metaslab_t *msp; local
[all...]
H A Dvdev_initialize.c356 vdev_initialize_ms_load(metaslab_t *msp) argument
358 ASSERT(MUTEX_HELD(&msp->ms_lock));
360 metaslab_load_wait(msp);
361 if (!msp->ms_loaded)
362 VERIFY0(metaslab_load(msp));
395 vdev_initialize_ms_mark(metaslab_t *msp) argument
397 ASSERT(!MUTEX_HELD(&msp->ms_lock));
398 metaslab_group_t *mg = msp->ms_group;
413 if (msp->ms_initializing == 0) {
416 mutex_enter(&msp
426 vdev_initialize_ms_unmark(metaslab_t *msp) argument
451 metaslab_t *msp = vd->vdev_top->vdev_ms[i]; local
605 metaslab_t *msp = vd->vdev_top->vdev_ms[i]; local
[all...]
H A Dvdev_removal.c1376 metaslab_t *msp = vd->vdev_ms[msi]; local
1381 mutex_enter(&msp->ms_sync_lock);
1382 mutex_enter(&msp->ms_lock);
1388 ASSERT0(range_tree_space(msp->ms_allocating[i]));
1400 if (msp->ms_sm != NULL) {
1411 msp->ms_sm->sm_object, msp->ms_sm->sm_start,
1412 msp->ms_sm->sm_size, msp->ms_sm->sm_shift));
1418 range_tree_walk(msp
1592 metaslab_t *msp = vd->vdev_ms[msi]; local
[all...]
H A Dvdev.c860 metaslab_t *msp; local
925 while ((msp = txg_list_remove(&svd->vdev_ms_list, t)) != NULL)
926 (void) txg_list_add(&tvd->vdev_ms_list, msp, t);
1139 metaslab_t *msp = vd->vdev_ms[m]; local
1141 if (msp != NULL)
1142 metaslab_fini(msp);
2841 metaslab_t *msp = vd->vdev_ms[m]; local
2843 if (msp == NULL || msp->ms_sm == NULL)
2846 mutex_enter(&msp
2887 metaslab_t *msp; local
2905 metaslab_t *msp; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs_log.c186 mapadd(uintptr_t *addr, ufslogmap_walk_data_t *uw, mapstats_t *msp) argument
188 if (msp->nentries == 0) {
189 msp->transid = uw->me.me_tid;
191 if (msp->transid != uw->me.me_tid) {
192 msp->transdiff = TRUE;
195 msp->nentries++;
196 msp->totalsize += uw->me.me_nb;
200 msp->delta_cnt[uw->me.me_dt]++;
201 msp->delta_sum[uw->me.me_dt] += uw->me.me_nb;
210 mapstats_t *msp; local
[all...]
/illumos-gate/usr/src/uts/sun4v/vm/
H A Dmach_kpm.c218 hat_kpm_mseghash_update(pgcnt_t inx, struct memseg *msp) argument
223 hat_kpm_addmem_mseg_update(struct memseg *msp, pgcnt_t nkpmpgs, argument
243 base = memseg_get_start(msp);
244 end = msp->pages_end;
255 hat_kpm_mseg_reuse(struct memseg *msp) argument
257 return ((caddr_t)msp->epages);
262 hat_kpm_addmem_mseg_insert(struct memseg *msp) argument
267 hat_kpm_addmem_memsegs_update(struct memseg *msp) argument
272 hat_kpm_delmem_mseg_update(struct memseg *msp, struct memseg **mspp) argument
284 base = memseg_get_start(msp);
293 hat_kpm_split_mseg_update(struct memseg *msp, struct memseg **mspp, struct memseg *lo, struct memseg *mid, struct memseg *hi) argument
306 struct memseg *msp; local
[all...]
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c40 static void md_free_string(mmd_t *mdp, md_string_t *msp);
60 md_string_t *msp; local
68 CHAIN_ITER(mdp->string_list, msp) {
69 if (msp->hash == hash && strcmp(msp->strp, strp) == 0)
70 return (msp);
79 md_string_t *msp; local
82 msp = md_find_string(mdp, strp, &hash);
83 if (msp == NULL) {
84 msp
345 md_free_string(mmd_t *mdp, md_string_t *msp) argument
432 md_string_t *msp; local
[all...]
/illumos-gate/usr/src/cmd/chmod/
H A Dcommon.c79 static char *msp; variable
143 msp = ms;
148 if (isdigit(*msp))
175 switch (*msp) {
188 msp++;
193 switch (*msp++) {
224 msp--;
480 } while (*msp++ == ',');
482 if (*--msp || operand_empty == 0) {
495 for (i = 0; (c = *msp) >
[all...]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_mem_acpi.c284 sbd_mem_stat_t *msp; local
316 msp = &dsp->d_mem;
317 bzero((caddr_t)msp, sizeof (*msp));
319 (void) strlcpy(msp->ms_cm.c_id.c_name, pstat.type,
320 sizeof (msp->ms_cm.c_id.c_name));
321 msp->ms_cm.c_id.c_type = mp->sbm_cm.sbdev_type;
322 msp->ms_cm.c_id.c_unit = mp->sbm_cm.sbdev_unum;
323 msp->ms_cm.c_cond = mp->sbm_cm.sbdev_cond;
324 msp
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Ddman.c100 #define SETSTATE(msp, state) \
101 MAN_DBG(MAN_DLPI, ("msp=0x%p @ %d state %s=>%s\n", \
102 (void *)msp, __LINE__, dss[msp->ms_dlpistate], \
104 msp->ms_dlpistate = (state);
240 #define SETSTATE(msp, state) msp->ms_dlpistate = (state);
1200 manstr_t *msp; local
1212 * reopen; q_ptr set to msp at open completion.
1221 msp
1432 manstr_t *msp; local
1487 man_dodetach(manstr_t *msp, man_work_t *wp) argument
1568 register manstr_t *msp; /* per stream data */ local
1692 register manstr_t *msp; /* per stream data */ local
1954 manstr_t *msp; local
2297 manstr_t *msp; local
2393 manstr_t *msp; /* per stream data */ local
2558 manstr_t *msp; local
2606 manstr_t *msp; /* per stream data */ local
2732 man_init_dests(man_t *manp, manstr_t *msp) argument
2764 man_start_dest(man_dest_t *mdp, manstr_t *msp, man_pg_t *mpg) argument
2803 man_set_optimized_dest(manstr_t *msp) argument
2828 man_dlpi(manstr_t *msp, mblk_t *mp) argument
2843 man_dlioc(manstr_t *msp, mblk_t *mp) argument
2907 man_dlpi_senddown(manstr_t *msp, mblk_t *mp) argument
3013 manstr_t *msp; /* per stream data */ local
3199 manstr_t *msp; /* per stream data */ local
3253 manstr_t *msp; /* per stream data */ local
3283 manstr_t *msp; local
3331 manstr_t *msp; local
3377 manstr_t *msp; local
3430 manstr_t *msp; local
3476 manstr_t *msp; local
3520 manstr_t *msp; local
3563 manstr_t *msp; local
3717 manstr_t *msp; local
4602 manstr_t *msp; local
4672 manstr_t *msp; local
4875 manstr_t *msp; local
4903 manstr_t *msp; local
4994 man_str_uses_pg(manstr_t *msp, man_pg_t *mpg) argument
5369 manstr_t *msp; local
7693 manstr_t *msp; local
8008 man_print_msp(manstr_t *msp) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c372 hat_kpm_mseghash_update(pgcnt_t inx, struct memseg *msp) argument
377 memseg_phash[inx] = (msp) ? va_to_pa(msp) : MSEG_NULLPTR_PA;
384 hat_kpm_addmem_mseg_update(struct memseg *msp, pgcnt_t nkpmpgs, argument
390 msp->kpm_pages = (kpm_page_t *)((caddr_t)msp->pages + kpm_pages_off);
391 msp->kpm_nkpmpgs = nkpmpgs;
392 msp->kpm_pbase = kpmptop(ptokpmp(msp->pages_base));
393 msp
403 hat_kpm_addmem_mseg_insert(struct memseg *msp) argument
419 hat_kpm_addmem_memsegs_update(struct memseg *msp) argument
438 hat_kpm_mseg_reuse(struct memseg *msp) argument
456 hat_kpm_delmem_mseg_update(struct memseg *msp, struct memseg **mspp) argument
490 hat_kpm_split_mseg_update(struct memseg *msp, struct memseg **mspp, struct memseg *lo, struct memseg *mid, struct memseg *hi) argument
577 struct memseg *msp; local
[all...]
/illumos-gate/usr/src/common/devid/
H A Ddevid.c320 char *str, *msp, *dsp, *dp, ta; local
349 if ((msp = strchr(&devidstr[4], '/')) != NULL)
350 msp++;
367 if (msp == NULL)
370 id_len = msp - str - 1;
455 if (minor_namep && msp) {
456 if ((*minor_namep = DEVID_MALLOC(strlen(msp) + 1)) == NULL)
458 (void) strcpy(*minor_namep, msp);
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c716 sbd_mem_stat_t *msp; local
748 msp = &dsp->d_mem;
749 bzero((caddr_t)msp, sizeof (*msp));
751 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type,
752 sizeof (msp->ms_cm.c_id.c_name));
753 msp->ms_cm.c_id.c_type = mp->sbm_cm.sbdev_type;
754 msp->ms_cm.c_id.c_unit = SBD_NULL_UNIT;
755 msp->ms_cm.c_cond = mp->sbm_cm.sbdev_cond;
756 msp
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c701 sbd_mem_stat_t *msp; local
733 msp = &dsp->d_mem;
734 bzero((caddr_t)msp, sizeof (*msp));
736 (void) strncpy(msp->ms_cm.c_id.c_name, pstat.type,
737 sizeof (msp->ms_cm.c_id.c_name));
738 msp->ms_cm.c_id.c_type = mp->sbm_cm.sbdev_type;
739 msp->ms_cm.c_id.c_unit = SBD_NULL_UNIT;
740 msp->ms_cm.c_cond = mp->sbm_cm.sbdev_cond;
741 msp
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c865 dump_metaslab_stats(metaslab_t *msp) argument
868 range_tree_t *rt = msp->ms_allocatable;
869 avl_tree_t *t = &msp->ms_allocatable_by_size;
870 int free_pct = range_tree_space(rt) * 100 / msp->ms_size;
875 zdb_nicenum(metaslab_block_maxsize(msp), maxbuf, sizeof (maxbuf));
885 dump_metaslab(metaslab_t *msp) argument
887 vdev_t *vd = msp->ms_group->mg_vd;
889 space_map_t *sm = msp->ms_sm;
892 zdb_nicenum(msp->ms_size - space_map_allocated(sm), freebuf,
897 (u_longlong_t)msp
3022 metaslab_t *msp = vd->vdev_ms[msi]; local
3229 metaslab_t *msp = vd->vdev_ms[m]; local
3264 load_indirect_ms_allocatable_tree(vdev_t *vd, metaslab_t *msp, uint64_t *vim_idxp) argument
3433 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; local
3504 metaslab_t *msp = vd->vdev_ms[m]; local
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c62 record_begin_hold(tdb_mutex_stats_t *msp) argument
64 tdb_incr(msp->mutex_lock);
65 msp->mutex_begin_hold = gethrtime();
69 record_hold_time(tdb_mutex_stats_t *msp) argument
73 if (msp->mutex_begin_hold)
74 msp->mutex_hold_time += now - msp->mutex_begin_hold;
75 msp->mutex_begin_hold = 0;
983 mutex_lock_kernel(mutex_t *mp, timespec_t *tsp, tdb_mutex_stats_t *msp) argument
999 if (msp) {
1783 mutex_lock_queue(ulwp_t *self, tdb_mutex_stats_t *msp, mutex_t *mp, timespec_t *tsp) argument
2050 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
2446 tdb_mutex_stats_t *msp; local
2650 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
2687 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
3439 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c4060 sbd_mem_stat_t *msp; local
4099 msp = &dsp->d_mem;
4101 bzero((caddr_t)msp, sizeof (*msp));
4102 msp->ms_type = SBD_COMP_MEM;
4107 msp->ms_cm.c_id.c_unit = -1;
4114 (void) strcpy(msp->ms_name, SBD_DEVNAME(i));
4117 msp->ms_cm.c_cond = mp->sbm_cm.sbdev_cond;
4118 msp->ms_cm.c_busy = mp->sbm_cm.sbdev_busy;
4119 msp
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c303 ipmi_sdr_management_locator_t *msp = local
306 namelen = msp->is_ml_idlen;
307 type = msp->is_ml_idtype;
308 name = msp->is_ml_idstring;
/illumos-gate/usr/src/cmd/sendmail/cf/cf/
H A DMakefile93 ${CFDIR}/feature/msp.m4 \
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c4950 hat_kpm_mseghash_update(pgcnt_t inx, struct memseg *msp) argument
4955 hat_kpm_addmem_mseg_update(struct memseg *msp, pgcnt_t nkpmpgs, argument
4976 base = memseg_get_start(msp);
4977 end = msp->pages_end;
4985 hat_kpm_addmem_mseg_insert(struct memseg *msp) argument
4987 _NOTE(ARGUNUSED(msp));
4991 hat_kpm_addmem_memsegs_update(struct memseg *msp) argument
4993 _NOTE(ARGUNUSED(msp));
5001 hat_kpm_mseg_reuse(struct memseg *msp) argument
5003 return ((caddr_t)msp
5007 hat_kpm_delmem_mseg_update(struct memseg *msp, struct memseg **mspp) argument
5014 hat_kpm_split_mseg_update(struct memseg *msp, struct memseg **mspp, struct memseg *lo, struct memseg *mid, struct memseg *hi) argument
5030 struct memseg *msp; local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c2454 struct memseg *msp; local
2465 msp = ndata_alloc(ndata, memseg_sz, ecache_alignsize);
2466 if (msp == NULL)
2471 msp->next = memseg_free;
2472 memseg_free = msp;
2473 msp++;
2512 struct memseg *msp; local
2513 msp = (struct memseg *)((caddr_t)prev_memsegp -
2515 msp->nextpa = va_to_pa(memsegp);
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c749 pfn2page_cb(uintptr_t addr, const struct memseg *msp, void *data) argument
753 if (p->pfn >= msp->pages_base && p->pfn < msp->pages_end) {
754 p->pp = msp->pages + (p->pfn - msp->pages_base);
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c2779 td_mutex_stats_t *msp = &ss_p->ss_un.mutex; local
2783 msp->mutex_lock =
2785 msp->mutex_sleep =
2787 msp->mutex_sleep_time =
2789 msp->mutex_hold_time =
2791 msp->mutex_try =
2793 msp->mutex_try_fail =
2798 msp->mutex_internal =
/illumos-gate/usr/src/cmd/sendmail/cf/
H A DMakefile83 $(ROOTETCMAILCF)/feature/msp.m4 \
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c258 const struct memseg *msp = wsp->walk_layer; local
261 size_t pg_num = msp->pages_end - msp->pages_base;
262 const page_t *pg_addr = msp->pages;

Completed in 282 milliseconds

12