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

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

32
33/*
34 * Radix tree root.
35 */
36struct vm_radix {
37 uintptr_t rt_root;
38};
39
1/*
2 * Copyright (c) 2013 EMC Corp.
3 * Copyright (c) 2011 Jeffrey Roberson <jeff@freebsd.org>
4 * Copyright (c) 2008 Mayur Shardul <mayur.shardul@gmail.com>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

32
33/*
34 * Radix tree root.
35 */
36struct vm_radix {
37 uintptr_t rt_root;
38};
39
40#ifdef _KERNEL
41
40static __inline boolean_t
41vm_radix_is_empty(struct vm_radix *rtree)
42{
43
44 return (rtree->rt_root == 0);
45}
46
42static __inline boolean_t
43vm_radix_is_empty(struct vm_radix *rtree)
44{
45
46 return (rtree->rt_root == 0);
47}
48
49#endif /* _KERNEL */
47#endif /* !__VM_RADIX_H_ */
50#endif /* !__VM_RADIX_H_ */