| /src/lib/libc/db/hash/ |
| hash.c | 101 HTAB *hashp; local 112 if (!(hashp = calloc(1, sizeof(HTAB)))) 114 hashp->fp = -1; 119 * field in the hashp structure needs to be accurate so that 122 hashp->flags = flags; 132 if ((hashp->fp = __dbopen(file, flags, mode, &statbuf)) == -1) 137 if (!(hashp = init_hash(hashp, file, info))) 142 hashp->hash = info->hash; 144 hashp->hash = __default_hash 249 HTAB *hashp; local 264 HTAB *hashp; local 451 HTAB *hashp; local 525 HTAB *hashp; local 538 HTAB *hashp; local 557 HTAB *hashp; local 728 HTAB *hashp; local [all...] |
| hash_buf.c | 88 #define MRU hashp->bufhead.next 89 #define LRU hashp->bufhead.prev 91 #define MRU_INSERT(B) BUF_INSERT((B), &hashp->bufhead) 105 HTAB *hashp, 126 segment_ndx = addr & (hashp->SGSIZE - 1); 129 segp = hashp->dir[addr >> hashp->SSHIFT]; 133 is_disk = is_disk_mask || !hashp->new_file; 137 bp = newbuf(hashp, addr, prev_bp); 139 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0) [all...] |
| hash_page.c | 87 _DIAGASSERT((size_t)HASH_BSIZE(hashp) >= temp); \ 88 ((uint16_t *)(void *)(P))[1] = (uint16_t)(HASH_BSIZE(hashp) - temp); \ 89 ((uint16_t *)(void *)(P))[2] = HASH_BSIZE(hashp); \ 134 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) 145 return (__big_delete(hashp, bufp)); 149 newoff = HASH_BSIZE(hashp); 176 hashp->NKEYS--; 187 __split_page(HTAB *hashp, uint32_t obucket, uint32_t nbucket) 198 copyto = HASH_BSIZE(hashp); 199 off = HASH_BSIZE(hashp); [all...] |
| hash_bigkey.c | 86 __big_insert(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) 125 bufp = __add_ovflpage(hashp, bufp); 192 bufp = __add_ovflpage(hashp, bufp); 219 __big_delete(HTAB *hashp, BUFHEAD *bufp) 245 rbufp = __get_buf(hashp, (uint32_t)pageno, rbufp, 0); 247 __free_ovflpage(hashp, last_bfp); 277 temp = HASH_BSIZE(hashp) - PAGE_META(n); 280 OFFSET(bp) = HASH_BSIZE(hashp); 284 __free_ovflpage(hashp, rbufp); 286 __free_ovflpage(hashp, last_bfp) [all...] |
| hash.h | 179 (B) + hashp->HDRPAGES + \ 180 ((B) ? hashp->SPARES[__log2((uint32_t)((B)+1))-1] : 0)
|
| /src/sys/fs/nfs/server/ |
| nfs_nfsdserv.c | 504 u_long *hashp; local 523 nfsvno_setpathbuf(&named, &bufp, &hashp); 524 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen); 990 u_long *hashp; local 1000 nfsvno_setpathbuf(&named, &bufp, &hashp); 1001 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen); 1160 u_long *hashp, cnflags; local 1211 nfsvno_setpathbuf(&named, &bufp, &hashp); 1212 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen); 1373 u_long *hashp; local 1459 u_long *hashp; local 1629 u_long *hashp; local 1730 u_long *hashp; local 1851 u_long *hashp; local 2594 u_long *hashp; local 3352 u_long *hashp; local [all...] |
| nfs_nfsdsubs.c | 1836 nfsrv_parsename(struct nfsrv_descript *nd, char *bufp, u_long *hashp, 1847 if (hashp != NULL) 1848 *hashp = 0; 2029 if (hashp != NULL) 2030 *hashp = hash;
|
| /src/sys/kern/ |
| vfs_vnode.c | 1411 struct hashhead *hashp; local 1416 hashp = &vcache_hashtab[hash & vcache_hashmask]; 1417 SLIST_FOREACH(vip, hashp, vi_hash) {
|