Deleted Added
full compact
vm_radix.h (246423) vm_radix.h (246430)
1/*
2 * Copyright (c) 2011 Jeffrey Roberson <jeff@freebsd.org>
3 * Copyright (c) 2008 Mayur Shardul <mayur.shardul@gmail.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28
29#ifndef _VM_RADIX_H_
30#define _VM_RADIX_H_
31
32#include <vm/_vm_radix.h>
33
34#ifdef _KERNEL
35
1/*
2 * Copyright (c) 2011 Jeffrey Roberson <jeff@freebsd.org>
3 * Copyright (c) 2008 Mayur Shardul <mayur.shardul@gmail.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 19 unchanged lines hidden (view full) ---

28
29#ifndef _VM_RADIX_H_
30#define _VM_RADIX_H_
31
32#include <vm/_vm_radix.h>
33
34#ifdef _KERNEL
35
36void vm_radix_init(void);
37int vm_radix_insert(struct vm_radix *, vm_pindex_t, void *);
38void *vm_radix_lookup(struct vm_radix *, vm_pindex_t);
39void *vm_radix_lookup_ge(struct vm_radix *, vm_pindex_t);
40void *vm_radix_lookup_le(struct vm_radix *, vm_pindex_t);
41void vm_radix_reclaim_allnodes(struct vm_radix *);
42void vm_radix_remove(struct vm_radix *, vm_pindex_t);
36void vm_radix_init(void);
37void vm_radix_insert(struct vm_radix *rtree, vm_pindex_t index,
38 vm_page_t page);
39vm_page_t vm_radix_lookup(struct vm_radix *rtree, vm_pindex_t index);
40vm_page_t vm_radix_lookup_ge(struct vm_radix *rtree, vm_pindex_t index);
41vm_page_t vm_radix_lookup_le(struct vm_radix *rtree, vm_pindex_t index);
42void vm_radix_reclaim_allnodes(struct vm_radix *rtree);
43void vm_radix_remove(struct vm_radix *rtree, vm_pindex_t index);
43
44#endif /* _KERNEL */
45#endif /* !_VM_RADIX_H_ */
44
45#endif /* _KERNEL */
46#endif /* !_VM_RADIX_H_ */