IB/hfi1: Add parameter names to callback declarations
This makes it more clear what these functions are operating on. Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
ac335e7e80
commit
862548dace
|
@ -57,11 +57,12 @@ struct mmu_rb_node {
|
|||
};
|
||||
|
||||
struct mmu_rb_ops {
|
||||
bool (*filter)(struct mmu_rb_node *, unsigned long, unsigned long);
|
||||
int (*insert)(struct rb_root *, struct mmu_rb_node *);
|
||||
void (*remove)(struct rb_root *, struct mmu_rb_node *,
|
||||
struct mm_struct *);
|
||||
int (*invalidate)(struct rb_root *, struct mmu_rb_node *);
|
||||
bool (*filter)(struct mmu_rb_node *node, unsigned long addr,
|
||||
unsigned long len);
|
||||
int (*insert)(struct rb_root *root, struct mmu_rb_node *mnode);
|
||||
void (*remove)(struct rb_root *root, struct mmu_rb_node *mnode,
|
||||
struct mm_struct *mm);
|
||||
int (*invalidate)(struct rb_root *root, struct mmu_rb_node *node);
|
||||
};
|
||||
|
||||
int hfi1_mmu_rb_register(struct rb_root *root, struct mmu_rb_ops *ops);
|
||||
|
|
Loading…
Reference in New Issue