Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/mm_types.h
Show All 39 Lines | |||||
struct vm_area_struct; | struct vm_area_struct; | ||||
struct task_struct; | struct task_struct; | ||||
struct mm_struct { | struct mm_struct { | ||||
struct vm_area_struct *mmap; | struct vm_area_struct *mmap; | ||||
atomic_t mm_count; | atomic_t mm_count; | ||||
atomic_t mm_users; | atomic_t mm_users; | ||||
size_t pinned_vm; | size_t pinned_vm; | ||||
/* Renamed to mmap_lock in v5.8 */ | |||||
wulf: Can anonymous union be used to handle both names? | |||||
Done Inline ActionsProbably yes but using the new API I think that you're not supposed to use or know the underlying name. manu: Probably yes but using the new API I think that you're not supposed to use or know the… | |||||
struct rw_semaphore mmap_sem; | struct rw_semaphore mmap_sem; | ||||
}; | }; | ||||
extern void linux_mm_dtor(struct mm_struct *mm); | extern void linux_mm_dtor(struct mm_struct *mm); | ||||
static inline void | static inline void | ||||
mmdrop(struct mm_struct *mm) | mmdrop(struct mm_struct *mm) | ||||
{ | { | ||||
Show All 27 Lines |
Can anonymous union be used to handle both names?