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

/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/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/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/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/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/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/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/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/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/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/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/libc/port/threads/
H A Dsynch.c61 record_begin_hold(tdb_mutex_stats_t *msp) argument
63 tdb_incr(msp->mutex_lock);
64 msp->mutex_begin_hold = gethrtime();
68 record_hold_time(tdb_mutex_stats_t *msp) argument
72 if (msp->mutex_begin_hold)
73 msp->mutex_hold_time += now - msp->mutex_begin_hold;
74 msp->mutex_begin_hold = 0;
982 mutex_lock_kernel(mutex_t *mp, timespec_t *tsp, tdb_mutex_stats_t *msp) argument
998 if (msp) {
1782 mutex_lock_queue(ulwp_t *self, tdb_mutex_stats_t *msp, mutex_t *mp, timespec_t *tsp) argument
2049 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
2445 tdb_mutex_stats_t *msp; local
2649 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
2686 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
3438 tdb_mutex_stats_t *msp = MUTEX_STATS(mp, udp); local
[all...]
/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/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/uts/common/fs/zfs/
H A Dvdev.c699 metaslab_t *msp; local
735 while ((msp = txg_list_remove(&svd->vdev_ms_list, t)) != NULL)
736 (void) txg_list_add(&tvd->vdev_ms_list, msp, t);
933 metaslab_t *msp = vd->vdev_ms[m]; local
935 if (msp != NULL)
936 metaslab_fini(msp);
2244 metaslab_t *msp = vd->vdev_ms[m]; local
2246 if (msp == NULL || msp->ms_sm == NULL)
2249 mutex_enter(&msp
2288 metaslab_t *msp; local
2305 metaslab_t *msp; local
[all...]
H A Dmetaslab.c445 metaslab_verify_space(metaslab_t *msp, uint64_t txg) argument
447 spa_t *spa = msp->ms_group->mg_vd->vdev_spa;
451 ASSERT(MUTEX_HELD(&msp->ms_lock));
463 if (txg != spa_syncing_txg(spa) || msp->ms_sm == NULL ||
464 !msp->ms_loaded)
467 sm_free_space = msp->ms_size - space_map_allocated(msp->ms_sm) -
468 space_map_alloc_delta(msp->ms_sm);
476 range_tree_space(msp->ms_alloctree[(txg + t) & TXG_MASK]);
479 msp_free_space = range_tree_space(msp
711 metaslab_t *msp = vd->vdev_ms[m]; local
728 metaslab_group_histogram_add(metaslab_group_t *mg, metaslab_t *msp) argument
748 metaslab_group_histogram_remove(metaslab_group_t *mg, metaslab_t *msp) argument
773 metaslab_group_add(metaslab_group_t *mg, metaslab_t *msp) argument
788 metaslab_group_remove(metaslab_group_t *mg, metaslab_t *msp) argument
802 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
834 metaslab_t *msp = vd->vdev_ms[m]; local
988 metaslab_t *msp = arg; local
1003 metaslab_t *msp = arg; local
1015 metaslab_t *msp = arg; local
1026 metaslab_t *msp = arg; local
1037 metaslab_t *msp = arg; local
1070 metaslab_block_maxsize(metaslab_t *msp) argument
1136 metaslab_ff_alloc(metaslab_t *msp, uint64_t size) argument
1165 metaslab_df_alloc(metaslab_t *msp, uint64_t size) argument
1214 metaslab_cf_alloc(metaslab_t *msp, uint64_t size) argument
1264 metaslab_ndf_alloc(metaslab_t *msp, uint64_t size) argument
1318 metaslab_load_wait(metaslab_t *msp) argument
1329 metaslab_load(metaslab_t *msp) argument
1368 metaslab_unload(metaslab_t *msp) argument
1378 metaslab_init(metaslab_group_t *mg, uint64_t id, uint64_t object, uint64_t txg, metaslab_t **msp) argument
1455 metaslab_fini(metaslab_t *msp) argument
1536 metaslab_set_fragmentation(metaslab_t *msp) argument
1606 metaslab_space_weight(metaslab_t *msp) argument
1679 metaslab_weight_from_range_tree(metaslab_t *msp) argument
1720 metaslab_weight_from_spacemap(metaslab_t *msp) argument
1743 metaslab_segment_weight(metaslab_t *msp) argument
1809 metaslab_should_allocate(metaslab_t *msp, uint64_t asize) argument
1833 metaslab_weight(metaslab_t *msp) argument
1876 metaslab_activate(metaslab_t *msp, uint64_t activation_weight) argument
1901 metaslab_passivate(metaslab_t *msp, uint64_t weight) argument
1931 metaslab_segment_may_passivate(metaslab_t *msp) argument
1954 metaslab_t *msp = arg; local
1971 metaslab_t *msp; local
2033 metaslab_should_condense(metaslab_t *msp) argument
2081 metaslab_condense(metaslab_t *msp, uint64_t txg, dmu_tx_t *tx) argument
2165 metaslab_sync(metaslab_t *msp, uint64_t txg) argument
2320 metaslab_sync_done(metaslab_t *msp, uint64_t txg) argument
2453 metaslab_distance(metaslab_t *msp, dva_t *dva) argument
2509 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
2626 metaslab_block_alloc(metaslab_t *msp, uint64_t size, uint64_t txg) argument
2666 metaslab_t *msp = NULL; local
3123 metaslab_t *msp; local
3181 metaslab_t *msp; local
3389 metaslab_t *msp = vd->vdev_ms[offset >> vd->vdev_ms_shift]; local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dstartup.c2453 struct memseg *msp; local
2464 msp = ndata_alloc(ndata, memseg_sz, ecache_alignsize);
2465 if (msp == NULL)
2470 msp->next = memseg_free;
2471 memseg_free = msp;
2472 msp++;
2511 struct memseg *msp; local
2512 msp = (struct memseg *)((caddr_t)prev_memsegp -
2514 msp->nextpa = va_to_pa(memsegp);
/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/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/sun4u/starcat/io/
H A Ddman.c99 #define SETSTATE(msp, state) \
100 MAN_DBG(MAN_DLPI, ("msp=0x%p @ %d state %s=>%s\n", \
101 (void *)msp, __LINE__, dss[msp->ms_dlpistate], \
103 msp->ms_dlpistate = (state);
239 #define SETSTATE(msp, state) msp->ms_dlpistate = (state);
1199 manstr_t *msp; local
1211 * reopen; q_ptr set to msp at open completion.
1220 msp
1431 manstr_t *msp; local
1486 man_dodetach(manstr_t *msp, man_work_t *wp) argument
1567 register manstr_t *msp; /* per stream data */ local
1691 register manstr_t *msp; /* per stream data */ local
1953 manstr_t *msp; local
2296 manstr_t *msp; local
2392 manstr_t *msp; /* per stream data */ local
2557 manstr_t *msp; local
2605 manstr_t *msp; /* per stream data */ local
2731 man_init_dests(man_t *manp, manstr_t *msp) argument
2763 man_start_dest(man_dest_t *mdp, manstr_t *msp, man_pg_t *mpg) argument
2802 man_set_optimized_dest(manstr_t *msp) argument
2827 man_dlpi(manstr_t *msp, mblk_t *mp) argument
2842 man_dlioc(manstr_t *msp, mblk_t *mp) argument
2906 man_dlpi_senddown(manstr_t *msp, mblk_t *mp) argument
3012 manstr_t *msp; /* per stream data */ local
3198 manstr_t *msp; /* per stream data */ local
3252 manstr_t *msp; /* per stream data */ local
3282 manstr_t *msp; local
3330 manstr_t *msp; local
3376 manstr_t *msp; local
3429 manstr_t *msp; local
3475 manstr_t *msp; local
3519 manstr_t *msp; local
3562 manstr_t *msp; local
3716 manstr_t *msp; local
4601 manstr_t *msp; local
4671 manstr_t *msp; local
4874 manstr_t *msp; local
4902 manstr_t *msp; local
4993 man_str_uses_pg(manstr_t *msp, man_pg_t *mpg) argument
5368 manstr_t *msp; local
7692 manstr_t *msp; local
8007 man_print_msp(manstr_t *msp) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn.c4099 register idn_mboxmsg_t *msp; local
4180 msp = &mtp->mt_queue[0];
4182 if (msp[n].ms_owner)
H A Didn_proto.c11810 idn_mboxmsg_t *msp; local
11814 msp = &mqp[qi];
11816 if (msp->ms_flag & IDN_MBOXMSG_FLAG_ERRMASK) {
11819 (uint_t)(msp->ms_flag &
11821 IDN_BFRAME2OFFSET(msp->ms_bframe),
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c740 dump_metaslab_stats(metaslab_t *msp) argument
743 range_tree_t *rt = msp->ms_tree;
744 avl_tree_t *t = &msp->ms_size_tree;
745 int free_pct = range_tree_space(rt) * 100 / msp->ms_size;
747 zdb_nicenum(metaslab_block_maxsize(msp), maxbuf);
757 dump_metaslab(metaslab_t *msp) argument
759 vdev_t *vd = msp->ms_group->mg_vd;
761 space_map_t *sm = msp->ms_sm;
764 zdb_nicenum(msp->ms_size - space_map_allocated(sm), freebuf);
768 (u_longlong_t)msp
2597 metaslab_t *msp = vd->vdev_ms[m]; local
2655 metaslab_t *msp = vd->vdev_ms[m]; local
[all...]
/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 262 milliseconds