/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
#define afs_bufferpages v.v_bufhw
-#define osi_vnhold(avc, r) do { (avc)->vrefCount++; } while (0)
-
#undef gop_lookupname
#define gop_lookupname(fnamep,segflg,followlink,compvpp) \
lookupvp((fnamep), (followlink), (compvpp), &afs_osi_cred)
* src/afs/AIX/osi_gcpags.c for how to look at the process list */
#define osi_procname(procname, size) strncpy(procname, "", size)
+static_inline void
+osi_GetTime(osi_timeval32_t *atv)
+{
+ struct timestruc_t now;
+ curtime(&now);
+ atv->tv_sec = now.tv_sec;
+ atv->tv_usec = now.tv_nsec / 1000;
+}
+
#endif /* _OSI_MACHDEP_H_ */