_vm_radix.h (248110) | _vm_radix.h (248134) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2013 EMC Corp. |
|
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: 9 * 1. Redistributions of source code must retain the above copyright --- 21 unchanged lines hidden (view full) --- 31 32/* 33 * Radix tree root. 34 */ 35struct vm_radix { 36 uintptr_t rt_root; 37}; 38 | 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 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 21 unchanged lines hidden (view full) --- 32 33/* 34 * Radix tree root. 35 */ 36struct vm_radix { 37 uintptr_t rt_root; 38}; 39 |
40static __inline boolean_t 41vm_radix_is_empty(struct vm_radix *rtree) 42{ 43 44 return (rtree->rt_root == 0); 45} 46 |
|
39#endif /* !__VM_RADIX_H_ */ | 47#endif /* !__VM_RADIX_H_ */ |