| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| vmsegment.c | 44 reg Vmdata_t* vd = vm->data; local 47 SETINUSE(vd, inuse); 48 if(!(vd->mode&VM_TRUST)) 49 { if(ISLOCK(vd,0)) 50 { CLRINUSE(vd, inuse); 53 SETLOCK(vd,0); 56 for(seg = vd->seg; seg; seg = seg->next) 61 CLRLOCK(vd,0); 62 CLRINUSE(vd, inuse);
|
| vmset.c | 45 reg Vmdata_t* vd = vm->data; local 48 return vd->mode; 50 SETINUSE(vd, inuse); 51 if(!(vd->mode&VM_TRUST) ) 52 { if(ISLOCK(vd,0)) 53 { CLRINUSE(vd, inuse); 56 SETLOCK(vd,0); 59 mode = vd->mode; 62 vd->mode |= (flags&VM_FLAGS); 63 else vd->mode &= ~(flags&VM_FLAGS) [all...] |
| vmclear.c | 45 reg Vmdata_t* vd = vm->data; local 48 SETINUSE(vd, inuse); 49 if(!(vd->mode&VM_TRUST) ) 50 { if(ISLOCK(vd,0)) 51 { CLRINUSE(vd, inuse); 54 SETLOCK(vd,0); 57 vd->free = vd->wild = NIL(Block_t*); 58 vd->pool = 0; 60 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE) [all...] |
| vmclose.c | 43 Vmdata_t* vd = vm->data; local 49 if(!(vd->mode&VM_TRUST) && ISLOCK(vd,0)) 57 vd->mode &= ~VM_TRUST; 58 SETLOCK(vd,0); 60 if((vd->mode&VM_MTPROFILE) && _Vmpfclose) 73 for(seg = vd->seg; seg; seg = next) 82 else CLRLOCK(vd,0);
|
| vmstat.c | 46 reg Vmdata_t* vd = vm ? vm->data : Vmregion->data; local 49 SETINUSE(vd, inuse); 51 { CLRINUSE(vd, inuse); 54 if(!(vd->mode&VM_TRUST)) 55 { if(ISLOCK(vd,0)) 56 { CLRINUSE(vd, inuse); 59 SETLOCK(vd,0); 67 if(vd->mode&VM_MTLAST) 69 else if((vd->mode&VM_MTPOOL) && (s = vd->pool) > 0 [all...] |
| vmopen.c | 40 Vmdata_t vd; /* space for the region itself */ member in struct:_vminit_ 57 reg Vmdata_t* vd; local 90 vd = (Vmdata_t*)addr; 91 if((vd->mode&meth->meth) != 0) 92 { vm->data = vd; 103 /* make sure vd->incr is properly rounded */ 119 vd = (Vmdata_t*)addr; 120 vd->mode = (mode&VM_FLAGS) | meth->meth; 121 vd->incr = incr; 122 vd->pool = 0 [all...] |
| vmlast.c | 46 reg Vmdata_t* vd = vm->data; local 50 SETINUSE(vd, inuse); 51 if(!(local = vd->mode&VM_TRUST)) 52 { GETLOCAL(vd,local); 53 if(ISLOCK(vd,local)) 54 { CLRINUSE(vd, inuse); 57 SETLOCK(vd,local); 63 { for(last = NIL(Seg_t*), seg = vd->seg; seg; last = seg, seg = seg->next) 68 seg->next = vd->seg; 69 vd->seg = seg 116 reg Vmdata_t* vd = vm->data; local 175 reg Vmdata_t* vd = vm->data; local 318 reg Vmdata_t* vd = vm->data; local 335 reg Vmdata_t* vd = vm->data; local 356 reg Vmdata_t* vd = vm->data; local 405 reg Vmdata_t* vd = vm->data; local [all...] |
| vmpool.c | 49 reg Vmdata_t* vd = vm->data; local 57 else if(size != vd->pool) 58 { if(vd->pool <= 0) 59 vd->pool = size; 63 SETINUSE(vd, inuse); 64 if(!(local = vd->mode&VM_TRUST) ) 65 { GETLOCAL(vd,local); 66 if(ISLOCK(vd, local)) 67 { CLRINUSE(vd, inuse); 70 SETLOCK(vd, local) 138 reg Vmdata_t* vd = vm->data; local 187 reg Vmdata_t* vd = vm->data; local 237 reg Vmdata_t* vd = vm->data; local 301 reg Vmdata_t* vd = vm->data; local [all...] |
| vmprivate.c | 62 reg Vmdata_t* vd = vm->data; local 69 if(!_Vmtrace && vm == Vmheap && (vd->mode&VM_TRUST) ) 72 vd->mode = (vd->mode&~VM_TRUST)|VM_TRACE; 79 if(vd->incr <= 0) /* this is just _Vmheap on the first call */ 80 vd->incr = VMHEAPINCR; 86 if((size = ROUND(s,vd->incr)) < s) 90 if(size > 2*vd->incr && vm->disc->round < vd->incr) 91 vd->incr *= 2 235 reg Vmdata_t* vd = vm->data; local [all...] |
| vmtrace.c | 112 Vmdata_t* vd = vm->data; local 128 { type = vd->mode&VM_METHODS; 253 Vmdata_t* vd = vm->data; local 255 if(Trfile < 0 || !(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE))) 258 for(seg = vd->seg; seg; seg = seg->next) 268 if(vd->mode&VM_MTDEBUG) 272 else if(vd->mode&VM_MTPROFILE)
|
| vmdebug.c | 90 reg Vmdata_t* vd = vm->data; local 93 if(vd->mode&VM_DBABORT) 276 reg Vmdata_t* vd = vm->data; local 279 SETINUSE(vd, inuse); 280 GETLOCAL(vd,local); 281 if(ISLOCK(vd,local) || !addr) 282 { CLRINUSE(vd, inuse); 285 SETLOCK(vd,local); 288 for(seg = vd->seg; seg; seg = seg->next) 324 CLRLOCK(vd,local) 341 reg Vmdata_t* vd = vm->data; local 387 reg Vmdata_t* vd = vm->data; local 444 reg Vmdata_t* vd = vm->data; local 512 reg Vmdata_t* vd = vm->data; local 612 reg Vmdata_t* vd = vm->data; local 709 reg Vmdata_t* vd = vm->data; local [all...] |
| vmprofile.c | 476 reg Vmdata_t* vd = vm->data; local 479 SETINUSE(vd, inuse); 480 if(!(local = vd->mode&VM_TRUST) ) 481 { GETLOCAL(vd, local); 482 if(ISLOCK(vd, local)) 483 { CLRINUSE(vd, inuse); 486 SETLOCK(vd, local); 495 if(!local && (vd->mode&VM_TRACE) && _Vmtrace) 500 CLRLOCK(vd, local); 502 CLRINUSE(vd, inuse) 519 reg Vmdata_t* vd = vm->data; local 584 reg Vmdata_t* vd = vm->data; local 704 reg Vmdata_t* vd = vm->data; local [all...] |
| vmbest.c | 87 static int vmisfree(Vmdata_t* vd, Block_t* b) 89 static int vmisfree(vd,b) 90 Vmdata_t* vd; 97 if(b == vd->wild) 101 return vmonlist(TINY(vd)[INDEX(SIZE(b))], b); 103 if(vd->root) 104 return vmintree(vd->root, b); 111 static int vmisjunk(Vmdata_t* vd, Block_t* b) 113 static int vmisjunk(vd,b) 114 Vmdata_t* vd; 547 reg Vmdata_t* vd = vm->data; local 637 reg Vmdata_t* vd = vm->data; local 824 reg Vmdata_t* vd = vm->data; local 884 reg Vmdata_t* vd = vm->data; local 972 Vmdata_t *vd = vm->data; local 1103 reg Vmdata_t* vd = vm->data; local 1157 reg Vmdata_t* vd = vm->data; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| vdev_file.c | 39 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *ashift) 49 if (vd->vdev_path == NULL || vd->vdev_path[0] != '/') { 50 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; 58 if (vd->vdev_tsd != NULL) { 59 ASSERT(vd->vdev_reopening); 60 vf = vd->vdev_tsd; 64 vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_SLEEP); 72 ASSERT(vd->vdev_path != NULL && vd->vdev_path[0] == '/') 132 vdev_t *vd = zio->io_vd; local [all...] |
| zio_inject.c | 184 vdev_t *vd = zio->io_vd; local 190 offset < vd->vdev_psize - VDEV_LABEL_END_SIZE) 211 label = vdev_label_number(vd->vdev_psize, offset); 212 start = vdev_label_offset(vd->vdev_psize, label, start); 213 end = vdev_label_offset(vd->vdev_psize, label, end); 227 zio_handle_device_injection(vdev_t *vd, zio_t *zio, int error) 240 offset >= vd->vdev_psize - VDEV_LABEL_END_SIZE) 258 if (vd->vdev_guid == handler->zi_record.zi_guid) { 277 vd->vdev_stat.vs_aux =
|
| vdev_disk.c | 48 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *ashift) 50 spa_t *spa = vd->vdev_spa; 60 if (vd->vdev_path == NULL || vd->vdev_path[0] != '/') { 61 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; 69 if (vd->vdev_tsd != NULL) { 70 ASSERT(vd->vdev_reopening); 71 dvd = vd->vdev_tsd; 75 dvd = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_disk_t), KM_SLEEP); 93 if (vd->vdev_devid != NULL) 341 vdev_t *vd = zio->io_vd; local 432 vdev_t *vd = zio->io_vd; local [all...] |
| vdev_label.c | 177 vdev_label_read(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, 184 zio_nowait(zio_read_phys(zio, vd, 185 vdev_label_offset(vd->vdev_psize, l, offset), 191 vdev_label_write(zio_t *zio, vdev_t *vd, int l, void *buf, uint64_t offset, 200 zio_nowait(zio_write_phys(zio, vd, 201 vdev_label_offset(vd->vdev_psize, l, offset), 210 vdev_config_generate(spa_t *spa, vdev_t *vd, boolean_t getstats, 218 vd->vdev_ops->vdev_op_type) == 0); 220 VERIFY(nvlist_add_uint64(nv, ZPOOL_CONFIG_ID, vd->vdev_id) 222 VERIFY(nvlist_add_uint64(nv, ZPOOL_CONFIG_GUID, vd->vdev_guid) == 0) 1025 vdev_t *vd; local 1079 vdev_t *vd; local [all...] |
| vdev_mirror.c | 73 vdev_t *vd = zio->io_vd; local 76 if (vd == NULL) { 107 c = vd->vdev_children; 111 mm->mm_replacing = (vd->vdev_ops == &vdev_replacing_ops || 112 vd->vdev_ops == &vdev_spare_ops); 119 mc->mc_vd = vd->vdev_child[c]; 130 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *ashift) 135 if (vd->vdev_children == 0) { 136 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; 140 vdev_open_children(vd); [all...] |
| vdev_cache.c | 208 vdev_t *vd = fio->io_vd; local 209 vdev_cache_t *vc = &vd->vdev_cache; 357 vdev_cache_purge(vdev_t *vd) 359 vdev_cache_t *vc = &vd->vdev_cache; 369 vdev_cache_init(vdev_t *vd) 371 vdev_cache_t *vc = &vd->vdev_cache; 385 vdev_cache_fini(vdev_t *vd) 387 vdev_cache_t *vc = &vd->vdev_cache; 389 vdev_cache_purge(vd);
|
| dsl_scrub.c | 1131 vdev_t *vd = vdev_lookup_top(spa, local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| multilink.c | 226 TDB_DATA kd, vd; local 232 vd = tdb_fetch(pppdb, kd); 233 if (vd.dptr != NULL) { 234 ret = vd.dsize == key.dsize 235 && memcmp(vd.dptr, key.dptr, vd.dsize) == 0; 236 free(vd.dptr);
|
| /onnv/onnv-gate/usr/src/cmd/fm/schemes/zfs/ |
| scheme.c | 193 nvlist_t *vd; local 210 vd = find_vdev(cb.cb_pool, vdev_guid); 211 if (vd == NULL) { 217 (void) nvlist_lookup_uint64_array(vd, ZPOOL_CONFIG_STATS,
|
| /onnv/onnv-gate/usr/src/lib/libnsl/rpc/ |
| xdr_float.c | 331 struct vax_double vd; local 350 vd = *((struct vax_double *)dp); 355 if ((vd.mantissa4 == lim->d.mantissa4) && 356 (vd.mantissa3 == lim->d.mantissa3) && 357 (vd.mantissa2 == lim->d.mantissa2) && 358 (vd.mantissa1 == lim->d.mantissa1) && 359 (vd.exp == lim->d.exp)) { 364 id.exp = vd.exp - VAX_DBL_BIAS + IEEE_DBL_BIAS; 365 id.mantissa1 = (vd.mantissa1 << 13) | (vd.mantissa2 >> 3) [all...] |
| /onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/ |
| t10_spc.c | 145 struct vpd_desc vd; local 385 bzero(&vd, sizeof (vd)); 386 vd.code_set = SPC_INQUIRY_CODE_SET_BINARY; 387 vd.id_type = SPC_INQUIRY_ID_TYPE_TARG_PORT; 388 vd.proto_id = SPC_INQUIRY_PROTOCOL_ISCSI; 389 vd.association = SPC_INQUIRY_ASSOC_TARGPORT; 390 vd.piv = 1; 391 vd.len = 4; 392 bcopy(&vd, rbp, sizeof (vd)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/zfs-diagnosis/ |
| zfs_de.c | 157 zfs_mark_vdev(uint64_t pool_guid, nvlist_t *vd) 165 ret = nvlist_lookup_uint64(vd, ZPOOL_CONFIG_GUID, &vdev_guid); 181 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_CHILDREN, &child, 187 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_L2CACHE, &child, 193 if (nvlist_lookup_nvlist_array(vd, ZPOOL_CONFIG_SPARES, &child, 206 nvlist_t *config, *vd; local 225 ret = nvlist_lookup_nvlist(config, ZPOOL_CONFIG_VDEV_TREE, &vd); 228 zfs_mark_vdev(pool_guid, vd);
|