Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/mman.h
Show First 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | struct shmfd { | ||||
struct timespec shm_birthtime; | struct timespec shm_birthtime; | ||||
ino_t shm_ino; | ino_t shm_ino; | ||||
struct label *shm_label; /* MAC label */ | struct label *shm_label; /* MAC label */ | ||||
const char *shm_path; | const char *shm_path; | ||||
struct rangelock shm_rl; | struct rangelock shm_rl; | ||||
struct mtx shm_mtx; | struct mtx shm_mtx; | ||||
int shm_seals; | |||||
}; | }; | ||||
#endif | #endif | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
int shm_map(struct file *fp, size_t size, off_t offset, void **memp); | int shm_map(struct file *fp, size_t size, off_t offset, void **memp); | ||||
int shm_unmap(struct file *fp, void *mem, size_t size); | int shm_unmap(struct file *fp, void *mem, size_t size); | ||||
int shm_access(struct shmfd *shmfd, struct ucred *ucred, int flags); | int shm_access(struct shmfd *shmfd, struct ucred *ucred, int flags); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |