Print this page
8115 parallel zfs mount

*** 24,33 **** --- 24,34 ---- * Use is subject to license terms. */ /* * Copyright (c) 2014 by Delphix. All rights reserved. + * Copyright 2017 RackTop Systems. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */
*** 132,142 **** * true if one and only one bit is set in u. */ #define BIT_ONLYONESET(u) \ ((((u) == 0) ? 0 : ((u) & ((u) - 1)) == 0)) ! #if defined(_KERNEL) && !defined(_ASM) #include <sys/atomic.h> /* * return next available bit index from map with specified number of bits */ --- 133,143 ---- * true if one and only one bit is set in u. */ #define BIT_ONLYONESET(u) \ ((((u) == 0) ? 0 : ((u) & ((u) - 1)) == 0)) ! #if (defined(_KERNEL) || defined(_FAKE_KERNEL)) && !defined(_ASM) #include <sys/atomic.h> /* * return next available bit index from map with specified number of bits */
*** 186,196 **** * Extracts bits between index h (high, inclusive) and l (low, exclusive) from * u, which must be an unsigned integer. */ #define BITX(u, h, l) (((u) >> (l)) & ((1LU << ((h) - (l) + 1LU)) - 1LU)) ! #endif /* _KERNEL && !_ASM */ #ifdef __cplusplus } #endif --- 187,197 ---- * Extracts bits between index h (high, inclusive) and l (low, exclusive) from * u, which must be an unsigned integer. */ #define BITX(u, h, l) (((u) >> (l)) & ((1LU << ((h) - (l) + 1LU)) - 1LU)) ! #endif /* (_KERNEL || _FAKE_KERNEL) && !_ASM */ #ifdef __cplusplus } #endif