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

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c450 metaslab_verify_space(metaslab_t *msp, uint64_t txg) argument
452 spa_t *spa = msp->ms_group->mg_vd->vdev_spa;
456 ASSERT(MUTEX_HELD(&msp->ms_lock));
468 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL ||
469 !msp->ms_loaded)
472 sm_free_space = msp->ms_size - space_map_allocated(msp->ms_sm) -
473 space_map_alloc_delta(msp->ms_sm);
481 range_tree_space(msp->ms_alloctree[(txg + t) & TXG_MASK]);
484 msp_free_space = range_tree_space(msp
716 metaslab_t *msp = vd->vdev_ms[m]; local
733 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp) argument
753 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp) argument
778 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp) argument
793 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp) argument
807 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
839 metaslab_t *msp = vd->vdev_ms[m]; local
993 metaslab_t *msp = arg; local
1008 metaslab_t *msp = arg; local
1020 metaslab_t *msp = arg; local
1031 metaslab_t *msp = arg; local
1042 metaslab_t *msp = arg; local
1075 metaslab_block_maxsize(metaslab_t *msp) argument
1141 metaslab_ff_alloc(metaslab_t *msp, uint64_t size) argument
1170 metaslab_df_alloc(metaslab_t *msp, uint64_t size) argument
1219 metaslab_cf_alloc(metaslab_t *msp, uint64_t size) argument
1269 metaslab_ndf_alloc(metaslab_t *msp, uint64_t size) argument
1323 metaslab_load_wait(metaslab_t *msp) argument
1334 metaslab_load(metaslab_t *msp) argument
1373 metaslab_unload(metaslab_t *msp) argument
1383 metaslab_init(metaslab_group_t *mg, uint64_t id, uint64_t object, uint64_t txg, metaslab_t **msp) argument
1460 metaslab_fini(metaslab_t *msp) argument
1541 metaslab_set_fragmentation(metaslab_t *msp) argument
1619 metaslab_space_weight(metaslab_t *msp) argument
1692 metaslab_weight_from_range_tree(metaslab_t *msp) argument
1733 metaslab_weight_from_spacemap(metaslab_t *msp) argument
1756 metaslab_segment_weight(metaslab_t *msp) argument
1822 metaslab_should_allocate(metaslab_t *msp, uint64_t asize) argument
1846 metaslab_weight(metaslab_t *msp) argument
1889 metaslab_activate(metaslab_t *msp, uint64_t activation_weight) argument
1914 metaslab_passivate(metaslab_t *msp, uint64_t weight) argument
1944 metaslab_segment_may_passivate(metaslab_t *msp) argument
1967 metaslab_t *msp = arg; local
1984 metaslab_t *msp; local
2046 metaslab_should_condense(metaslab_t *msp) argument
2094 metaslab_condense(metaslab_t *msp, uint64_t txg, dmu_tx_t *tx) argument
2178 metaslab_sync(metaslab_t *msp, uint64_t txg) argument
2337 metaslab_sync_done(metaslab_t *msp, uint64_t txg) argument
2470 metaslab_distance(metaslab_t *msp, dva_t *dva) argument
2526 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) argument
2643 metaslab_block_alloc(metaslab_t *msp, uint64_t size, uint64_t txg) argument
2683 metaslab_t *msp = NULL; local
3140 metaslab_t *msp; local
3198 metaslab_t *msp; local
3406 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; local
[all...]
H A Dvdev.c702 metaslab_t *msp; local
738 while ((msp = txg_list_remove(&svd->vdev_ms_list, t)) != NULL)
739 (void) txg_list_add(&tvd->vdev_ms_list, msp, t);
936 metaslab_t *msp = vd->vdev_ms[m]; local
938 if (msp != NULL)
939 metaslab_fini(msp);
2259 metaslab_t *msp = vd->vdev_ms[m]; local
2261 if (msp == NULL || msp->ms_sm == NULL)
2264 mutex_enter(&msp
2303 metaslab_t *msp; local
2320 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.c758 dump_metaslab_stats(metaslab_t *msp) argument
761 range_tree_t *rt = msp->ms_tree;
762 avl_tree_t *t = &msp->ms_size_tree;
763 int free_pct = range_tree_space(rt) * 100 / msp->ms_size;
768 zdb_nicenum(metaslab_block_maxsize(msp), maxbuf, sizeof (maxbuf));
778 dump_metaslab(metaslab_t *msp) argument
780 vdev_t *vd = msp->ms_group->mg_vd;
782 space_map_t *sm = msp->ms_sm;
785 zdb_nicenum(msp->ms_size - space_map_allocated(sm), freebuf,
790 (u_longlong_t)msp
2788 metaslab_t *msp = vd->vdev_ms[m]; local
2846 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.c4356 hat_kpm_mseghash_update(pgcnt_t inx, struct memseg *msp) argument
4361 hat_kpm_addmem_mseg_update(struct memseg *msp, pgcnt_t nkpmpgs, argument
4382 base = memseg_get_start(msp);
4383 end = msp->pages_end;
4391 hat_kpm_addmem_mseg_insert(struct memseg *msp) argument
4393 _NOTE(ARGUNUSED(msp));
4397 hat_kpm_addmem_memsegs_update(struct memseg *msp) argument
4399 _NOTE(ARGUNUSED(msp));
4407 hat_kpm_mseg_reuse(struct memseg *msp) argument
4409 return ((caddr_t)msp
4413 hat_kpm_delmem_mseg_update(struct memseg *msp, struct memseg **mspp) argument
4420 hat_kpm_split_mseg_update(struct memseg *msp, struct memseg **mspp, struct memseg *lo, struct memseg *mid, struct memseg *hi) argument
4436 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.c748 pfn2page_cb(uintptr_t addr, const struct memseg *msp, void *data) argument
752 if (p->pfn >= msp->pages_base && p->pfn < msp->pages_end) {
753 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;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_case.c2204 fmd_modstat_t *msp; local
2213 msp = cip->ci_mod->mod_stats;
2215 ASSERT(msp->ms_caseopen.fmds_value.ui64 != 0);
2216 msp->ms_caseopen.fmds_value.ui64--;
2218 ASSERT(msp->ms_buftotal.fmds_value.ui64 >= buftotal);
2219 msp->ms_buftotal.fmds_value.ui64 -= buftotal;
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1819 uintptr_t msp; local
1854 msp = mw->mw_mss[mw->mw_curms];
1855 if (mdb_vread(&ms, sizeof (metaslab_t), msp) == -1) {
1856 mdb_warn("failed to read metaslab_t at %p", msp);
1862 return (wsp->walk_callback(msp, &ms, wsp->walk_cbdata));

Completed in 259 milliseconds

12