/titanic_41/usr/src/uts/common/os/ |
H A D | vmem.c | 352 #define VMEM_INSERT(vprev, vsp, type) \ argument 355 (vsp)->vs_##type##next = (vnext); \ 356 (vsp)->vs_##type##prev = (vprev); \ 357 (vprev)->vs_##type##next = (vsp); \ 358 (vnext)->vs_##type##prev = (vsp); \ 361 #define VMEM_DELETE(vsp, type) \ argument 363 vmem_seg_t *vprev = (vsp)->vs_##type##prev; \ 364 vmem_seg_t *vnext = (vsp)->vs_##type##next; \ 375 vmem_seg_t *vsp; in vmem_getseg_global() local 378 if ((vsp = vmem_segfree) != NULL) in vmem_getseg_global() [all …]
|
/titanic_41/usr/src/lib/libumem/common/ |
H A D | vmem.c | 222 #define VMEM_INSERT(vprev, vsp, type) \ argument 225 (vsp)->vs_##type##next = (vnext); \ 226 (vsp)->vs_##type##prev = (vprev); \ 227 (vprev)->vs_##type##next = (vsp); \ 228 (vnext)->vs_##type##prev = (vsp); \ 231 #define VMEM_DELETE(vsp, type) \ argument 233 vmem_seg_t *vprev = (vsp)->vs_##type##prev; \ 234 vmem_seg_t *vnext = (vsp)->vs_##type##next; \ 245 vmem_seg_t *vsp; in vmem_getseg_global() local 248 if ((vsp = vmem_segfree) != NULL) in vmem_getseg_global() [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_acl_vnops.c | 125 acl_getacl2(vnode_t *vp, vsecattr_t *vsp, int flag, cred_t *cr) in acl_getacl2() argument 143 if (nfs_acl_dup_cache(vsp, rp->r_secattr)) { in acl_getacl2() 151 args.mask = vsp->vsa_mask; in acl_getacl2() 178 *vsp = res.resok.acl; in acl_getacl2() 188 acl_setacl2(vnode_t *vp, vsecattr_t *vsp, int flag, cred_t *cr) in acl_setacl2() argument 199 args.acl = *vsp; in acl_setacl2() 506 acl_getacl3(vnode_t *vp, vsecattr_t *vsp, int flag, cred_t *cr) in acl_getacl3() argument 523 if (nfs_acl_dup_cache(vsp, rp->r_secattr)) { in acl_getacl3() 531 args.mask = vsp->vsa_mask; in acl_getacl3() 559 *vsp = res.resok.acl; in acl_getacl3() [all …]
|
H A D | nfs4_acl.c | 235 vs_acet_destroy(vsecattr_t *vsp) in vs_acet_destroy() argument 237 if (vsp->vsa_mask != (VSA_ACE | VSA_ACECNT)) in vs_acet_destroy() 240 if ((vsp->vsa_aclentp != NULL) && in vs_acet_destroy() 241 (vsp->vsa_aclcnt > 0) && in vs_acet_destroy() 242 (vsp->vsa_mask & VSA_ACE) && in vs_acet_destroy() 243 (vsp->vsa_mask & VSA_ACECNT)) in vs_acet_destroy() 244 kmem_free(vsp->vsa_aclentp, in vs_acet_destroy() 245 vsp->vsa_aclcnt * sizeof (ace_t)); in vs_acet_destroy() 247 vsp->vsa_aclentp = NULL; in vs_acet_destroy() 248 vsp->vsa_aclcnt = 0; in vs_acet_destroy() [all …]
|
H A D | nfs4_rnode.c | 241 vsecattr_t *vsp; in r4inactive() local 256 vsp = rp->r_secattr; in r4inactive() 283 if (vsp != NULL) in r4inactive() 284 nfs4_acl_free_cache(vsp); in r4inactive() 1402 vsecattr_t *vsp; in nfs4_free_data_reclaim() local 1416 vsp = rp->r_secattr; in nfs4_free_data_reclaim() 1427 if (rdc == FALSE && contents == NULL && vsp == NULL && xattr == NULL) in nfs4_free_data_reclaim() 1446 if (vsp != NULL) in nfs4_free_data_reclaim() 1447 nfs4_acl_free_cache(vsp); in nfs4_free_data_reclaim() 1464 vsecattr_t *vsp; in nfs4_active_data_reclaim() local [all …]
|
H A D | nfs_subr.c | 2180 vsecattr_t *vsp; in rinactive() local 2223 vsp = rp->r_secattr; in rinactive() 2257 if (vsp != NULL) in rinactive() 2258 nfs_acl_free(vsp); in rinactive() 3946 vsecattr_t *vsp; in nfs_free_data_reclaim() local 3961 vsp = rp->r_secattr; in nfs_free_data_reclaim() 3977 vsp == NULL && in nfs_free_data_reclaim() 3998 if (vsp != NULL) in nfs_free_data_reclaim() 3999 nfs_acl_free(vsp); in nfs_free_data_reclaim() 4015 vsecattr_t *vsp; in nfs_active_data_reclaim() local [all …]
|
H A D | nfs_client.c | 479 vsecattr_t *vsp; in nfs_attr_cache() local 584 vsp = rp->r_secattr; in nfs_attr_cache() 587 if (vsp != NULL) in nfs_attr_cache() 588 nfs_acl_free(vsp); in nfs_attr_cache() 622 vsecattr_t *vsp; in nfs3_attr_cache() local 727 vsp = rp->r_secattr; in nfs3_attr_cache() 730 if (vsp != NULL) in nfs3_attr_cache() 731 nfs_acl_free(vsp); in nfs3_attr_cache()
|
H A D | nfs4_client.c | 448 vsecattr_t *vsp; in nfs4_attr_cache() local 636 vsp = rp->r_secattr; in nfs4_attr_cache() 639 if (vsp != NULL) in nfs4_attr_cache() 640 nfs4_acl_free_cache(vsp); in nfs4_attr_cache()
|
H A D | nfs_vnops.c | 1195 vsecattr_t *vsp; in nfssetattr() local 1308 vsp = rp->r_secattr; in nfssetattr() 1311 if (vsp != NULL) in nfssetattr() 1312 nfs_acl_free(vsp); in nfssetattr()
|
H A D | nfs3_vnops.c | 1354 vsecattr_t *vsp; in nfs3setattr() local 1449 vsp = rp->r_secattr; in nfs3setattr() 1452 if (vsp != NULL) in nfs3setattr() 1453 nfs_acl_free(vsp); in nfs3setattr()
|
H A D | nfs4_vnops.c | 3791 vsecattr_t *vsp; in nfs4setattr() local 3958 vsp = rp->r_secattr; in nfs4setattr() 3961 if (vsp != NULL) in nfs4setattr() 3962 nfs4_acl_free_cache(vsp); in nfs4setattr() 4191 vsp = rp->r_secattr; in nfs4setattr() 4194 if (vsp != NULL) in nfs4setattr() 4195 nfs4_acl_free_cache(vsp); in nfs4setattr()
|
/titanic_41/usr/src/common/devid/ |
H A D | devid_smp.c | 104 uint8_t *vsp; in ddi_devid_smp_encode() local 140 vsp = &srmir->srmir_vs_52[0]; in ddi_devid_smp_encode() 141 s = ((uint64_t)vsp[0] << 56) | in ddi_devid_smp_encode() 142 ((uint64_t)vsp[1] << 48) | in ddi_devid_smp_encode() 143 ((uint64_t)vsp[2] << 40) | in ddi_devid_smp_encode() 144 ((uint64_t)vsp[3] << 32) | in ddi_devid_smp_encode() 145 ((uint64_t)vsp[4] << 24) | in ddi_devid_smp_encode() 146 ((uint64_t)vsp[5] << 16) | in ddi_devid_smp_encode() 147 ((uint64_t)vsp[6] << 8) | in ddi_devid_smp_encode() 148 ((uint64_t)vsp[7]); in ddi_devid_smp_encode()
|
/titanic_41/usr/src/uts/common/fs/ |
H A D | vnode.c | 163 vopstats_t *vsp = &vfsp->vfs_vopstats; \ 164 uint64_t *stataddr = &(vsp->n##counter.value.ui64); \ 169 if ((vsp = vfsp->vfs_fstypevsp) != NULL) { \ 170 vsp->n##counter.value.ui64++; \ 179 vopstats_t *vsp = &vfsp->vfs_vopstats; \ 180 uint64_t *stataddr = &(vsp->n##counter.value.ui64); \ 185 vsp->bytecounter.value.ui64 += bytesval; \ 186 if ((vsp = vfsp->vfs_fstypevsp) != NULL) { \ 187 vsp->n##counter.value.ui64++; \ 188 vsp->bytecounter.value.ui64 += bytesval; \ [all …]
|
/titanic_41/usr/src/lib/scsi/plugins/ses/SUN/common/ |
H A D | sun_enclosure.c | 47 uint8_t *vsp; in enc_parse_feature_block() local 56 &vsp, &vsp_len) != 0 || in enc_parse_feature_block() 60 sfbip = (sun_feature_block_impl_t *)vsp; in enc_parse_feature_block() 83 LIBSES_EN_PROP_CSN, (char *)(vsp + cid_off), in enc_parse_feature_block()
|
/titanic_41/usr/src/lib/libumem/common/sys/ |
H A D | vmem_impl_user.h | 75 #define VS_SIZE(vsp) ((vsp)->vs_end - (vsp)->vs_start) argument
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | vmem_impl.h | 76 #define VS_SIZE(vsp) ((vsp)->vs_end - (vsp)->vs_start) argument
|
/titanic_41/usr/src/cmd/stat/fsstat/ |
H A D | fsstat.c | 450 get_vopstats(kstat_ctl_t *kc, char *ksname, vopstats_t *vsp, kstat_t **kspp) in get_vopstats() argument 473 if (kstat_read(kc, ksp, vsp) == -1) { in get_vopstats() 1016 vopstats_t *vsp = &ent->e_vs[CUR_INDEX]; in main() local 1019 if (get_vopstats(kc, ent->e_ksname, vsp, &ksp) == 0) { in main() 1020 (*dfunc)(ent->e_name, NULL, vsp, in main()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 3391 sysfile_vmem_seg(uintptr_t addr, const vmem_seg_t *vsp, void **target) in sysfile_vmem_seg() argument 3393 if (vsp->vs_type == VMEM_ALLOC && (void *)vsp->vs_start == *target) { in sysfile_vmem_seg()
|