Deleted Added
full compact
vm_radix.c (247771) vm_radix.c (247773)
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

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

290 wrapidx = *idx;
291 *idx = vm_radix_trimkey(*idx, ilev);
292 *idx |= VM_RADIX_UNITLEVEL(ilev) - 1;
293 *idx -= VM_RADIX_UNITLEVEL(ilev);
294 return (*idx > wrapidx);
295}
296
297/*
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

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

290 wrapidx = *idx;
291 *idx = vm_radix_trimkey(*idx, ilev);
292 *idx |= VM_RADIX_UNITLEVEL(ilev) - 1;
293 *idx -= VM_RADIX_UNITLEVEL(ilev);
294 return (*idx > wrapidx);
295}
296
297/*
298 * Internal helper for vm_radix_reclaim_allonodes().
298 * Internal helper for vm_radix_reclaim_allnodes().
299 * This function is recursive.
300 */
301static void
302vm_radix_reclaim_allnodes_int(struct vm_radix_node *rnode)
303{
304 int slot;
305
306 for (slot = 0; slot < VM_RADIX_COUNT && rnode->rn_count != 0; slot++) {

--- 443 unchanged lines hidden ---
299 * This function is recursive.
300 */
301static void
302vm_radix_reclaim_allnodes_int(struct vm_radix_node *rnode)
303{
304 int slot;
305
306 for (slot = 0; slot < VM_RADIX_COUNT && rnode->rn_count != 0; slot++) {

--- 443 unchanged lines hidden ---