Searched defs:svd (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Durw.c63 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 Dsimulator.c859 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 Dvdev_label.c1370 /* Sync the uberblocks to all vdevs in svd[] */
1372 vdev_uberblock_sync_list(vdev_t **svd, int svdcount, uberblock_t *ub, int flags) argument
1374 spa_t *spa = svd[0]->vdev_spa;
1381 vdev_uberblock_sync(zio, &good_writes, ub, svd[v], flags);
1393 if (vdev_writeable(svd[v])) {
1394 zio_flush(zio, svd[v]);
1542 vdev_config_sync(vdev_t **svd, int svdcount, uint64_t txg) argument
1544 spa_t *spa = svd[0]->vdev_spa;
1619 * Sync the uberblocks to all vdevs in svd[].
1633 if ((error = vdev_uberblock_sync_list(svd, svdcoun
[all...]
H A Dvdev.c951 * Transfer top-level vdev state from svd to tvd.
954 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) argument
956 spa_t *spa = svd->vdev_spa;
963 tvd->vdev_ms_array = svd->vdev_ms_array;
964 tvd->vdev_ms_shift = svd->vdev_ms_shift;
965 tvd->vdev_ms_count = svd->vdev_ms_count;
966 tvd->vdev_top_zap = svd->vdev_top_zap;
968 svd->vdev_ms_array = 0;
969 svd->vdev_ms_shift = 0;
970 svd
1981 vdev_copy_path_impl(vdev_t *svd, vdev_t *dvd) argument
2004 vdev_copy_path_strict(vdev_t *svd, vdev_t *dvd) argument
[all...]
H A Ddsl_scan.c4070 * Properly transfers a dsl_scan_queue_t from `svd' to `tvd'. This is
4075 dsl_scan_io_queue_vdev_xfer(vdev_t *svd, vdev_t *tvd) argument
4077 mutex_enter(&svd->vdev_scan_io_queue_lock);
4081 tvd->vdev_scan_io_queue = svd->vdev_scan_io_queue;
4082 svd->vdev_scan_io_queue = NULL;
4087 mutex_exit(&svd->vdev_scan_io_queue_lock);
H A Dspa.c4040 vdev_t *svd[SPA_SYNC_MIN_VDEVS] = { NULL }; local
4049 if (c > 0 && svd[0] == vd)
4056 svd[svdcount++] = vd;
4060 error = vdev_config_sync(svd, svdcount, spa->spa_first_txg);
8480 vdev_t *svd[SPA_SYNC_MIN_VDEVS] = { NULL }; local
8490 if (c > 0 && svd[0] == vd)
8498 svd[svdcount++] = vd;
8502 error = vdev_config_sync(svd, svdcount, txg);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_seg.c1824 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 Dvm_usage.c90 * - Add svd->swresv pages to swap count for each of the
1086 struct segvn_data *svd; local
1119 svd = (struct segvn_data *)seg->s_data;
1120 if (svd->type == MAP_SHARED) {
1123 swresv = svd->swresv;
1125 if (SEGVN_LOCK_TRYENTER(seg->s_as, &svd->lock,
1135 if (svd->tr_state == SEGVN_TR_OFF &&
1136 svd->amp != NULL) {
1137 private_amp = svd->amp;
1138 p_start = svd
[all...]
H A Dseg_vn.c266 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).
546 struct segvn_data *svd; local
1514 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
1577 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
1822 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
1843 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
1863 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
2422 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
2572 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
2718 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
3363 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
3833 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
4645 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
4936 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
5628 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
5682 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6083 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6366 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6487 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6588 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6743 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6874 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6908 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6935 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6946 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6958 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6979 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7086 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7255 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7481 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7643 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8076 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8586 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8659 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8710 struct segvn_data *svd; local
8820 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9439 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9473 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9599 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9661 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9745 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
10029 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
10200 segvn_data_t *svd; local
10220 segvn_trupdate_seg(struct seg *seg, segvn_data_t *svd, svntr_t *svntrp, ulong_t hash) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c164 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 Dmemory.c1294 struct segvn_data svd; local
1302 if (mdb_vread(&svd, sizeof (svd), svd_addr) == -1) {
1307 if (svd.amp == NULL) {
1312 amp_addr = (uintptr_t)svd.amp;
1318 seg_addr = (uintptr_t)svd.seg;
1324 if ((seg.s_size + (svd.anon_index << PAGESHIFT)) > amp.size) {
1332 svd.anon_index, svd.anon_index + (seg.s_size >> PAGESHIFT)));
1405 struct segvn_data *svd; local
1500 struct segvn_data *const svd = &svw->svw_svd; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1312 struct segvn_data svd; local
1315 if (seg->s_ops == asmp->asm_segvn_ops && mdb_vread(&svd,
1316 sizeof (svd), (uintptr_t)seg->s_data) == sizeof (svd)) {
1318 if (svd.vp != NULL) {
1319 if (mdb_vnode2path((uintptr_t)svd.vp, map.map_name,
1322 MDB_TGT_MAPSZ, "[ vnode %p ]", svd.vp);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c4510 struct segvn_data *svd; member in union:__anon1
4528 (!reserved && seg->s_ops == &segvn_ops && s.svd != NULL &&
4529 (s.svd->vp == NULL || s.svd->vp->v_type != VREG) &&
4530 (s.svd->flags & MAP_NORESERVE));
4539 seg->s_ops == &segvn_ops && s.svd != NULL && s.svd->pageprot == 0) {
4540 prot = s.svd->prot;

Completed in 141 milliseconds