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.c1211 /* Sync the uberblocks to all vdevs in svd[] */
1213 vdev_uberblock_sync_list(vdev_t **svd, int svdcount, uberblock_t *ub, int flags) argument
1215 spa_t *spa = svd[0]->vdev_spa;
1222 vdev_uberblock_sync(zio, &good_writes, ub, svd[v], flags);
1234 if (vdev_writeable(svd[v])) {
1235 zio_flush(zio, svd[v]);
1383 vdev_config_sync(vdev_t **svd, int svdcount, uint64_t txg) argument
1385 spa_t *spa = svd[0]->vdev_spa;
1460 * Sync the uberblocks to all vdevs in svd[].
1474 if ((error = vdev_uberblock_sync_list(svd, svdcoun
[all...]
H A Dvdev.c942 * Transfer top-level vdev state from svd to tvd.
945 vdev_top_transfer(vdev_t *svd, vdev_t *tvd) argument
947 spa_t *spa = svd->vdev_spa;
954 tvd->vdev_ms_array = svd->vdev_ms_array;
955 tvd->vdev_ms_shift = svd->vdev_ms_shift;
956 tvd->vdev_ms_count = svd->vdev_ms_count;
957 tvd->vdev_top_zap = svd->vdev_top_zap;
959 svd->vdev_ms_array = 0;
960 svd->vdev_ms_shift = 0;
961 svd
1977 vdev_copy_path_impl(vdev_t *svd, vdev_t *dvd) argument
2000 vdev_copy_path_strict(vdev_t *svd, vdev_t *dvd) argument
[all...]
H A Ddsl_scan.c4037 * Properly transfers a dsl_scan_queue_t from `svd' to `tvd'. This is
4042 dsl_scan_io_queue_vdev_xfer(vdev_t *svd, vdev_t *tvd) argument
4044 mutex_enter(&svd->vdev_scan_io_queue_lock);
4048 tvd->vdev_scan_io_queue = svd->vdev_scan_io_queue;
4049 svd->vdev_scan_io_queue = NULL;
4054 mutex_exit(&svd->vdev_scan_io_queue_lock);
H A Dspa.c4018 vdev_t *svd[SPA_SYNC_MIN_VDEVS] = { NULL }; local
4027 if (c > 0 && svd[0] == vd)
4034 svd[svdcount++] = vd;
4038 error = vdev_config_sync(svd, svdcount, spa->spa_first_txg);
8407 vdev_t *svd[SPA_SYNC_MIN_VDEVS] = { NULL }; local
8417 if (c > 0 && svd[0] == vd)
8425 svd[svdcount++] = vd;
8429 error = vdev_config_sync(svd, svdcount, txg);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_usage.c90 * - 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 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 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
4642 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
4930 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
5622 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
5676 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6077 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6360 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6481 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6582 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6737 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6868 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6902 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6929 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6940 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6952 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
6973 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7080 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7249 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7475 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
7637 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8070 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8580 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8653 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
8704 struct segvn_data *svd; local
8814 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9433 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9467 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9593 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9655 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
9739 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
10023 struct segvn_data *svd = (struct segvn_data *)seg->s_data; local
10194 segvn_data_t *svd; local
10214 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 Dprsubr.c3879 struct segvn_data *svd; member in union:__anon15
3897 (!reserved && seg->s_ops == &segvn_ops && s.svd != NULL &&
3898 (s.svd->vp == NULL || s.svd->vp->v_type != VREG) &&
3899 (s.svd->flags & MAP_NORESERVE));
3908 seg->s_ops == &segvn_ops && s.svd != NULL && s.svd->pageprot == 0) {
3909 prot = s.svd->prot;
/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.c1295 struct segvn_data svd; local
1303 if (mdb_vread(&svd, sizeof (svd), svd_addr) == -1) {
1308 if (svd.amp == NULL) {
1313 amp_addr = (uintptr_t)svd.amp;
1319 seg_addr = (uintptr_t)svd.seg;
1325 if ((seg.s_size + (svd.anon_index << PAGESHIFT)) > amp.size) {
1333 svd.anon_index, svd.anon_index + (seg.s_size >> PAGESHIFT)));
1406 struct segvn_data *svd; local
1501 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);

Completed in 265 milliseconds