Home
last modified time | relevance | path

Searched refs:interval_sub (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dmmu_notifier.c117 mn_itree_inv_next(struct mmu_interval_notifier *interval_sub, in mn_itree_inv_next() argument
122 node = interval_tree_iter_next(&interval_sub->interval_tree, in mn_itree_inv_next()
131 struct mmu_interval_notifier *interval_sub; in mn_itree_inv_end() local
150 hlist_for_each_entry_safe(interval_sub, next, in mn_itree_inv_end()
153 if (RB_EMPTY_NODE(&interval_sub->interval_tree.rb)) in mn_itree_inv_end()
154 interval_tree_insert(&interval_sub->interval_tree, in mn_itree_inv_end()
157 interval_tree_remove(&interval_sub->interval_tree, in mn_itree_inv_end()
159 hlist_del(&interval_sub->deferred_item); in mn_itree_inv_end()
186 mmu_interval_read_begin(struct mmu_interval_notifier *interval_sub) in mmu_interval_read_begin() argument
189 interval_sub->mm->notifier_subscriptions; in mmu_interval_read_begin()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dmmu_notifier.h246 bool (*invalidate)(struct mmu_interval_notifier *interval_sub,
303 mmu_interval_read_begin(struct mmu_interval_notifier *interval_sub);
304 int mmu_interval_notifier_insert(struct mmu_interval_notifier *interval_sub,
309 struct mmu_interval_notifier *interval_sub, struct mm_struct *mm,
312 void mmu_interval_notifier_remove(struct mmu_interval_notifier *interval_sub);
328 mmu_interval_set_seq(struct mmu_interval_notifier *interval_sub, in mmu_interval_set_seq() argument
331 WRITE_ONCE(interval_sub->invalidate_seq, cur_seq); in mmu_interval_set_seq()
349 mmu_interval_read_retry(struct mmu_interval_notifier *interval_sub, in mmu_interval_read_retry() argument
352 return interval_sub->invalidate_seq != seq; in mmu_interval_read_retry()
373 mmu_interval_check_retry(struct mmu_interval_notifier *interval_sub, in mmu_interval_check_retry() argument
[all …]
/kernel/linux/linux-5.10/Documentation/vm/
Dhmm.rst152 int mmu_interval_notifier_insert(struct mmu_interval_notifier *interval_sub,
184 range.notifier = &interval_sub;
189 if (!mmget_not_zero(interval_sub->notifier.mm))
193 range.notifier_seq = mmu_interval_read_begin(&interval_sub);