@@ -73,7 +73,7 @@ struct mmu_notifier_ops {
73
73
* through the gart alias address, so leading to memory
74
74
* corruption.
75
75
*/
76
- void (* release )(struct mmu_notifier * mn ,
76
+ void (* release )(struct mmu_notifier * subscription ,
77
77
struct mm_struct * mm );
78
78
79
79
/*
@@ -85,7 +85,7 @@ struct mmu_notifier_ops {
85
85
* Start-end is necessary in case the secondary MMU is mapping the page
86
86
* at a smaller granularity than the primary MMU.
87
87
*/
88
- int (* clear_flush_young )(struct mmu_notifier * mn ,
88
+ int (* clear_flush_young )(struct mmu_notifier * subscription ,
89
89
struct mm_struct * mm ,
90
90
unsigned long start ,
91
91
unsigned long end );
@@ -95,7 +95,7 @@ struct mmu_notifier_ops {
95
95
* latter, it is supposed to test-and-clear the young/accessed bitflag
96
96
* in the secondary pte, but it may omit flushing the secondary tlb.
97
97
*/
98
- int (* clear_young )(struct mmu_notifier * mn ,
98
+ int (* clear_young )(struct mmu_notifier * subscription ,
99
99
struct mm_struct * mm ,
100
100
unsigned long start ,
101
101
unsigned long end );
@@ -106,15 +106,15 @@ struct mmu_notifier_ops {
106
106
* frequently used without actually clearing the flag or tearing
107
107
* down the secondary mapping on the page.
108
108
*/
109
- int (* test_young )(struct mmu_notifier * mn ,
109
+ int (* test_young )(struct mmu_notifier * subscription ,
110
110
struct mm_struct * mm ,
111
111
unsigned long address );
112
112
113
113
/*
114
114
* change_pte is called in cases that pte mapping to page is changed:
115
115
* for example, when ksm remaps pte to point to a new shared page.
116
116
*/
117
- void (* change_pte )(struct mmu_notifier * mn ,
117
+ void (* change_pte )(struct mmu_notifier * subscription ,
118
118
struct mm_struct * mm ,
119
119
unsigned long address ,
120
120
pte_t pte );
@@ -169,9 +169,9 @@ struct mmu_notifier_ops {
169
169
* invalidate_range_end.
170
170
*
171
171
*/
172
- int (* invalidate_range_start )(struct mmu_notifier * mn ,
172
+ int (* invalidate_range_start )(struct mmu_notifier * subscription ,
173
173
const struct mmu_notifier_range * range );
174
- void (* invalidate_range_end )(struct mmu_notifier * mn ,
174
+ void (* invalidate_range_end )(struct mmu_notifier * subscription ,
175
175
const struct mmu_notifier_range * range );
176
176
177
177
/*
@@ -192,8 +192,10 @@ struct mmu_notifier_ops {
192
192
* of what was passed to invalidate_range_start()/end(), if
193
193
* called between those functions.
194
194
*/
195
- void (* invalidate_range )(struct mmu_notifier * mn , struct mm_struct * mm ,
196
- unsigned long start , unsigned long end );
195
+ void (* invalidate_range )(struct mmu_notifier * subscription ,
196
+ struct mm_struct * mm ,
197
+ unsigned long start ,
198
+ unsigned long end );
197
199
198
200
/*
199
201
* These callbacks are used with the get/put interface to manage the
@@ -206,7 +208,7 @@ struct mmu_notifier_ops {
206
208
* and cannot sleep.
207
209
*/
208
210
struct mmu_notifier * (* alloc_notifier )(struct mm_struct * mm );
209
- void (* free_notifier )(struct mmu_notifier * mn );
211
+ void (* free_notifier )(struct mmu_notifier * subscription );
210
212
};
211
213
212
214
/*
@@ -280,14 +282,14 @@ mmu_notifier_get(const struct mmu_notifier_ops *ops, struct mm_struct *mm)
280
282
up_write (& mm -> mmap_sem );
281
283
return ret ;
282
284
}
283
- void mmu_notifier_put (struct mmu_notifier * mn );
285
+ void mmu_notifier_put (struct mmu_notifier * subscription );
284
286
void mmu_notifier_synchronize (void );
285
287
286
- extern int mmu_notifier_register (struct mmu_notifier * mn ,
288
+ extern int mmu_notifier_register (struct mmu_notifier * subscription ,
287
289
struct mm_struct * mm );
288
- extern int __mmu_notifier_register (struct mmu_notifier * mn ,
290
+ extern int __mmu_notifier_register (struct mmu_notifier * subscription ,
289
291
struct mm_struct * mm );
290
- extern void mmu_notifier_unregister (struct mmu_notifier * mn ,
292
+ extern void mmu_notifier_unregister (struct mmu_notifier * subscription ,
291
293
struct mm_struct * mm );
292
294
293
295
unsigned long mmu_interval_read_begin (struct mmu_interval_notifier * mni );
0 commit comments