/illumos-gate/usr/src/uts/common/os/ |
H A D | urw.c | 63 struct segvn_data *svd; local 107 (svd = (struct segvn_data *)seg->s_data) != NULL && 108 (svd->vp == NULL || svd->vp->v_type != VREG) && 109 (svd->flags & MAP_NORESERVE)) {
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | simulator.c | 859 struct segvn_data *svd; local 1093 svd = (struct segvn_data *)mapseg->s_data; 1098 SEGVN_LOCK_ENTER(as, &svd->lock, RW_READER); 1099 if ((svd->type & MAP_TYPE) & MAP_SHARED) { 1100 SEGVN_LOCK_EXIT(as, &svd->lock); 1104 SEGVN_LOCK_EXIT(as, &svd->lock);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_label.c | 1030 /* Sync the uberblocks to all vdevs in svd[] */ 1032 vdev_uberblock_sync_list(vdev_t **svd, int svdcount, uberblock_t *ub, int flags) argument 1034 spa_t *spa = svd[0]->vdev_spa; 1041 vdev_uberblock_sync(zio, ub, svd[v], flags); 1053 zio_flush(zio, svd[v]); 1194 vdev_config_sync(vdev_t **svd, int svdcount, uint64_t txg) argument 1196 spa_t *spa = svd[0]->vdev_spa; 1262 * Sync the uberblocks to all vdevs in svd[]. 1276 if ((error = vdev_uberblock_sync_list(svd, svdcount, ub, flags)) != 0)
|
H A D | vdev.c | 693 * Transfer top-level vdev state from svd to tvd. 696 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) argument 698 spa_t *spa = svd->vdev_spa; 705 tvd->vdev_ms_array = svd->vdev_ms_array; 706 tvd->vdev_ms_shift = svd->vdev_ms_shift; 707 tvd->vdev_ms_count = svd->vdev_ms_count; 708 tvd->vdev_top_zap = svd->vdev_top_zap; 710 svd->vdev_ms_array = 0; 711 svd->vdev_ms_shift = 0; 712 svd [all...] |
H A D | spa.c | 6702 vdev_t *svd[SPA_DVAS_PER_BP]; local 6711 svd[svdcount++] = vd; 6715 error = vdev_config_sync(svd, svdcount, txg);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 164 mdb_segvn_data_t *svd = NULL; local 169 svd = mdb_alloc(sizeof (*svd), UM_SLEEP); 170 if (mdb_ctf_vread(svd, "segvn_data_t", "mdb_segvn_data_t", 175 if (svd->pageprot != 0) { 181 (uintptr_t)svd->vpage) != vpgtob(nvpage)) { 183 svd->vpage); 187 svd->vpage = vpage; 189 svd->vpage = NULL; 191 gs->gs_data = svd; 208 mdb_segvn_data_t *svd = gs->gs_data; local 217 mdb_segvn_data_t *svd = gs->gs_data; local 263 mdb_segvn_data_t *svd = gs->gs_data; local 278 mdb_segvn_data_t *svd = gs->gs_data; local 384 mdb_segvn_data_t *svd = gs->gs_data; local 425 mdb_segvn_data_t *svd = gs->gs_data; local 547 mdb_segvn_data_t svd; local 722 mdb_segvn_data_t svd; local [all...] |
H A D | memory.c | 1272 struct segvn_data svd; local 1280 if (mdb_vread(&svd, sizeof (svd), svd_addr) == -1) { 1285 if (svd.amp == NULL) { 1290 amp_addr = (uintptr_t)svd.amp; 1296 seg_addr = (uintptr_t)svd.seg; 1302 if ((seg.s_size + (svd.anon_index << PAGESHIFT)) > amp.size) { 1310 svd.anon_index, svd.anon_index + (seg.s_size >> PAGESHIFT))); 1383 struct segvn_data *svd; local 1478 struct segvn_data *const svd = &svw->svw_svd; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 1311 struct segvn_data svd; local 1314 if (seg->s_ops == asmp->asm_segvn_ops && mdb_vread(&svd, 1315 sizeof (svd), (uintptr_t)seg->s_data) == sizeof (svd)) { 1317 if (svd.vp != NULL) { 1318 if (mdb_vnode2path((uintptr_t)svd.vp, map.map_name, 1321 MDB_TGT_MAPSZ, "[ vnode %p ]", svd.vp);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_seg.c | 1824 struct segvn_data *svd; local 1830 svd = (struct segvn_data *)seg->s_data; 1831 if (svd->type == MAP_SHARED && 1832 svd->amp != NULL && 1833 svd->amp->swresv > 0) 1845 struct segvn_data *svd; local 1849 svd = (struct segvn_data *)seg->s_data; 1850 if (svd->type == MAP_PRIVATE && svd->swresv > 0) 1851 swap = svd [all...] |
H A D | vm_usage.c | 90 * - Add svd->swresv pages to swap count for each of the 1086 struct segvn_data *svd; local 1117 svd = (struct segvn_data *)seg->s_data; 1118 if (svd->type == MAP_SHARED) { 1121 swresv = svd->swresv; 1123 if (SEGVN_LOCK_TRYENTER(seg->s_as, &svd->lock, 1133 if (svd->tr_state == SEGVN_TR_OFF && 1134 svd->amp != NULL) { 1135 private_amp = svd->amp; 1136 p_start = svd [all...] |
H A D | seg_vn.c | 266 struct segvn_data *svd = buf; local 268 rw_init(&svd->lock, NULL, RW_DEFAULT, NULL); 269 mutex_init(&svd->segfree_syncmtx, NULL, MUTEX_DEFAULT, NULL); 270 svd->svn_trnext = svd->svn_trprev = NULL; 278 struct segvn_data *svd = buf; local 280 rw_destroy(&svd->lock); 281 mutex_destroy(&svd->segfree_syncmtx); 363 * (unmap segment's address range and set svd->amp to NULL). 545 struct segvn_data *svd; local 1508 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 1571 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 1816 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 1837 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 1857 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 2416 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 2566 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 2712 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 3357 segvn_fill_vp_pages(struct segvn_data *svd, vnode_t *vp, u_offset_t off, uint_t szc, page_t **ppa, page_t **ppplist, uint_t *ret_pszc, int *downsize) argument 3828 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 4637 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 4925 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 5617 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 5671 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6072 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6355 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6476 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6577 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6732 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6863 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6897 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6924 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6935 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6947 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 6968 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 7075 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 7244 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 7470 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 7632 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 8065 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 8575 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 8648 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 8699 struct segvn_data *svd; local 8809 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 9428 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 9462 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 9588 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 9650 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 9734 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 10018 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local 10189 segvn_data_t *svd; local 10209 segvn_trupdate_seg(struct seg *seg, segvn_data_t *svd, svntr_t *svntrp, ulong_t hash) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 3851 struct segvn_data *svd; member in union:__anon193 3869 (!reserved && seg->s_ops == &segvn_ops && s.svd != NULL && 3870 (s.svd->vp == NULL || s.svd->vp->v_type != VREG) && 3871 (s.svd->flags & MAP_NORESERVE)); 3880 seg->s_ops == &segvn_ops && s.svd != NULL && s.svd->pageprot == 0) { 3881 prot = s.svd->prot;
|