diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2019-02-12 04:33:05 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2019-02-12 04:33:05 +0000 |
commit | 6929b7d1abfaea09036fc719b9778b4d0930ac8d (patch) | |
tree | ae26e79e8b435f9fcd49d334e660213ca7eac1fb /sys/vm/uma_int.h | |
parent | 7bc2a58ea65b17d2db4be731ad8dbfa79be68e6d (diff) |
Notes
Diffstat (limited to 'sys/vm/uma_int.h')
-rw-r--r-- | sys/vm/uma_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h index 557becfcca7b1..0cf965d05336e 100644 --- a/sys/vm/uma_int.h +++ b/sys/vm/uma_int.h @@ -179,8 +179,8 @@ SLIST_HEAD(slabhead, uma_slab); struct uma_hash { struct slabhead *uh_slab_hash; /* Hash table for slabs */ - int uh_hashsize; /* Current size of the hash table */ - int uh_hashmask; /* Mask used during hashing */ + u_int uh_hashsize; /* Current size of the hash table */ + u_int uh_hashmask; /* Mask used during hashing */ }; /* @@ -453,7 +453,7 @@ static __inline uma_slab_t hash_sfind(struct uma_hash *hash, uint8_t *data) { uma_slab_t slab; - int hval; + u_int hval; hval = UMA_HASH(hash, data); |