Searched refs:mik (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 204 struct mntinfo_kstat mik; in load_kstat_data() local 211 if (safe_kstat_read(libkstat_cookie, ksp, &mik, errp) == -1) { in load_kstat_data() 215 if (strlcpy(mrp->nml_proto, mik.mik_proto, KNC_STRSIZE) in load_kstat_data() 220 if (strlcpy(mrp->nml_curserver, mik.mik_curserver, SYS_NMLN) in load_kstat_data() 225 mrp->nml_vers = mik.mik_vers; in load_kstat_data() 229 if (!nfs_getseconfig_bynumber(mik.mik_secmod, &nfs_sec)) { in load_kstat_data() 234 mrp->nml_curread = mik.mik_curread; in load_kstat_data() 235 mrp->nml_curwrite = mik.mik_curwrite; in load_kstat_data() 236 mrp->nml_timeo = mik.mik_timeo; in load_kstat_data() 237 mrp->nml_retrans = mik.mik_retrans; in load_kstat_data() [all …]
|
/titanic_44/usr/src/cmd/fs.d/nfs/nfsstat/ |
H A D | nfsstat.c | 1041 struct mntinfo_kstat mik; in mi_print() local 1180 if (safe_kstat_read(kc, ksp, &mik) == -1) in mi_print() 1190 if (strcmp(mik.mik_proto, "ibtf") == 0) { in mi_print() 1192 mik.mik_vers); in mi_print() 1196 mik.mik_vers, mik.mik_proto); in mi_print() 1203 if (!nfs_getseconfig_bynumber(mik.mik_secmod, &nfs_sec)) { in mi_print() 1211 printf(",sec#=%d", mik.mik_secmod); in mi_print() 1213 printf(",%s", (mik.mik_flags & MI_HARD) ? "hard" : "soft"); in mi_print() 1214 if (mik.mik_flags & MI_PRINTED) in mi_print() 1216 printf(",%s", (mik.mik_flags & MI_INT) ? "intr" : "nointr"); in mi_print() [all …]
|
/titanic_44/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 365 struct mntinfo_kstat mik; in is_v4_mount() local 383 if (kstat_read(kc, ksp, &mik) == -1) in is_v4_mount() 386 if (mik.mik_vers == 4) in is_v4_mount()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs_client.c | 3240 struct mntinfo_kstat *mik; in mnt_kstat_update() local 3258 mik = (struct mntinfo_kstat *)ksp->ks_data; in mnt_kstat_update() 3260 (void) strcpy(mik->mik_proto, mi->mi_curr_serv->sv_knconf->knc_proto); in mnt_kstat_update() 3261 mik->mik_vers = (uint32_t)mi->mi_vers; in mnt_kstat_update() 3262 mik->mik_flags = mi->mi_flags; in mnt_kstat_update() 3263 mik->mik_secmod = mi->mi_curr_serv->sv_secdata->secmod; in mnt_kstat_update() 3264 mik->mik_curread = (uint32_t)mi->mi_curread; in mnt_kstat_update() 3265 mik->mik_curwrite = (uint32_t)mi->mi_curwrite; in mnt_kstat_update() 3266 mik->mik_retrans = mi->mi_retrans; in mnt_kstat_update() 3267 mik->mik_timeo = mi->mi_timeo; in mnt_kstat_update() [all …]
|
H A D | nfs4_client.c | 2569 struct mntinfo_kstat *mik; in nfs4_mnt_kstat_update() local 2585 mik = (struct mntinfo_kstat *)ksp->ks_data; in nfs4_mnt_kstat_update() 2587 (void) strcpy(mik->mik_proto, mi->mi_curr_serv->sv_knconf->knc_proto); in nfs4_mnt_kstat_update() 2589 mik->mik_vers = (uint32_t)mi->mi_vers; in nfs4_mnt_kstat_update() 2590 mik->mik_flags = mi->mi_flags; in nfs4_mnt_kstat_update() 2598 mik->mik_secmod = mi->mi_curr_serv->sv_currsec ? in nfs4_mnt_kstat_update() 2601 mik->mik_curread = (uint32_t)mi->mi_curread; in nfs4_mnt_kstat_update() 2602 mik->mik_curwrite = (uint32_t)mi->mi_curwrite; in nfs4_mnt_kstat_update() 2603 mik->mik_retrans = mi->mi_retrans; in nfs4_mnt_kstat_update() 2604 mik->mik_timeo = mi->mi_timeo; in nfs4_mnt_kstat_update() [all …]
|
/titanic_44/usr/src/cmd/stat/common/ |
H A D | dsr.c | 451 static struct mntinfo_kstat mik; in cur_hostname() local 465 if (kstat_read(kc, ksp, &mik) == -1) in cur_hostname() 467 rstr = safe_strdup(mik.mik_curserver); in cur_hostname()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/mount/ |
H A D | mount.c | 1527 struct mntinfo_kstat mik; in cachefs_get_back_nfsvers() local 1594 if (kstat_read(kc, ksp, &mik) == -1) { in cachefs_get_back_nfsvers() 1600 nfsvers = mik.mik_vers; in cachefs_get_back_nfsvers()
|
/titanic_44/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 4142 struct mntinfo_kstat mik; in is_v4_mount() local 4166 if (kstat_read(kc, ksp, &mik) == -1) in is_v4_mount() 4170 if (mik.mik_vers == 4) in is_v4_mount()
|