Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfsport.h
Show First 20 Lines • Show All 874 Lines • ▼ Show 20 Lines | |||||
#define NFSBCOPY(s, d, l) bcopy((s), (d), (l)) | #define NFSBCOPY(s, d, l) bcopy((s), (d), (l)) | ||||
#define NFSOVBCOPY(s, d, l) ovbcopy((s), (d), (l)) | #define NFSOVBCOPY(s, d, l) ovbcopy((s), (d), (l)) | ||||
#define NFSBCMP(s, d, l) bcmp((s), (d), (l)) | #define NFSBCMP(s, d, l) bcmp((s), (d), (l)) | ||||
#define NFSBZERO(s, l) bzero((s), (l)) | #define NFSBZERO(s, l) bzero((s), (l)) | ||||
/* | /* | ||||
* Some queue.h files don't have these dfined in them. | * Some queue.h files don't have these dfined in them. | ||||
*/ | */ | ||||
#ifndef LIST_END | |||||
#define LIST_END(head) NULL | #define LIST_END(head) NULL | ||||
#define SLIST_END(head) NULL | #define SLIST_END(head) NULL | ||||
#define TAILQ_END(head) NULL | #define TAILQ_END(head) NULL | ||||
#endif | |||||
/* | /* | ||||
* This must be defined to be a global variable that increments once | * This must be defined to be a global variable that increments once | ||||
* per second, but never stops or goes backwards, even when a "date" | * per second, but never stops or goes backwards, even when a "date" | ||||
* command changes the TOD clock. It is used for delta times for | * command changes the TOD clock. It is used for delta times for | ||||
* leases, etc. | * leases, etc. | ||||
*/ | */ | ||||
#define NFSD_MONOSEC time_uptime | #define NFSD_MONOSEC time_uptime | ||||
▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines |