|
|
| version 1.173, 2006/12/12 02:58:53 | version 1.174, 2007/02/07 02:51:56 |
|---|---|
| Line 2165 xfs_da_reada_buf( | Line 2165 xfs_da_reada_buf( |
| return rval; | return rval; |
| } | } |
| /* | |
| * Calculate the number of bits needed to hold i different values. | |
| */ | |
| uint | |
| xfs_da_log2_roundup(uint i) | |
| { | |
| uint rval; | |
| for (rval = 0; rval < NBBY * sizeof(i); rval++) { | |
| if ((1 << rval) >= i) | |
| break; | |
| } | |
| return(rval); | |
| } | |
| kmem_zone_t *xfs_da_state_zone; /* anchor for state struct zone */ | kmem_zone_t *xfs_da_state_zone; /* anchor for state struct zone */ |
| kmem_zone_t *xfs_dabuf_zone; /* dabuf zone */ | kmem_zone_t *xfs_dabuf_zone; /* dabuf zone */ |