Searched refs:hashp (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/lib/libc/db/hash/ |
| H A D | hash.c | 131 if (!(hashp = init_hash(hashp, file, info))) in __hash_open() 170 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open() 295 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash() 302 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 393 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 403 if (__buf_free(hashp, 1, hashp->save_file)) in hdestroy() 409 free(hashp->dir[--hashp->nsegs]); in hdestroy() 462 if (hashp->fp != -1 && _fsync(hashp->fp) != 0) in hash_sync() 826 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table() 832 hashp->LOW_MASK = hashp->HIGH_MASK; in __expand_table() [all …]
|
| H A D | hash_page.c | 171 hashp->NKEYS--; in __delpair() 453 hashp->NKEYS++; in __addel() 455 (hashp->NKEYS / (hashp->MAX_BUCKET + 1) > hashp->FFACTOR)) in __addel() 523 fd = hashp->fp; in __get_page() 579 if ((hashp->fp == -1) && open_temp(hashp)) in __put_page() 581 fd = hashp->fp; in __put_page() 626 hashp->nmaps++; in __ibitmap() 670 first_page = hashp->LAST_FREED >>(hashp->BSHIFT + BYTE_SHIFT); in overflow_page() 695 hashp->LAST_FREED = hashp->SPARES[splitnum]; in overflow_page() 708 hashp->SPARES[splitnum] = hashp->SPARES[splitnum-1]; in overflow_page() [all …]
|
| H A D | hash_bigkey.c | 261 hashp->NKEYS--; in __big_delete() 409 hashp->cbucket++; in __big_return() 410 hashp->cndx = 1; in __big_return() 412 hashp->cpage = __get_buf(hashp, in __big_return() 416 hashp->cndx = 1; in __big_return() 459 if (hashp->tmp_buf) in collect_data() 464 hashp->cndx = 1; in collect_data() 467 hashp->cbucket++; in collect_data() 469 hashp->cpage = in collect_data() 471 if (!hashp->cpage) in collect_data() [all …]
|
| H A D | hash_buf.c | 86 #define MRU hashp->bufhead.next 124 segp = hashp->dir[addr >> hashp->SSHIFT]; in __get_buf() 180 hashp->nbufs++; in newbuf() 190 if (hashp->nbufs || (bp->flags & BUF_PIN) || bp == hashp->cpage) { in newbuf() 198 if (hashp->nbufs) in newbuf() 199 hashp->nbufs--; in newbuf() 228 segp = hashp->dir[bp->addr >> hashp->SSHIFT]; in newbuf() 233 if (hashp->new_file && in newbuf() 301 bfp = &(hashp->bufhead); in __buf_init() 302 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init() [all …]
|
| H A D | hash.h | 171 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0)
|
| /freebsd-14.2/sys/fs/nfsserver/ |
| H A D | nfs_nfsdserv.c | 596 u_long *hashp; in nfsrvd_lookup() local 1159 u_long *hashp; in nfsrvd_create() local 1329 u_long *hashp, cnflags; in nfsrvd_mknod() local 1543 u_long *hashp; in nfsrvd_remove() local 1629 u_long *hashp; in nfsrvd_rename() local 1798 u_long *hashp; in nfsrvd_link() local 1905 u_long *hashp; in nfsrvd_symlink() local 2026 u_long *hashp; in nfsrvd_mkdir() local 2838 u_long *hashp; in nfsrvd_open() local 3706 u_long *hashp; in nfsrvd_secinfo() local [all …]
|
| H A D | nfs_nfsdsubs.c | 1880 nfsrv_parsename(struct nfsrv_descript *nd, char *bufp, u_long *hashp, in nfsrv_parsename() argument 1891 if (hashp != NULL) in nfsrv_parsename() 1892 *hashp = 0; in nfsrv_parsename() 2074 if (hashp != NULL) in nfsrv_parsename() 2075 *hashp = hash; in nfsrv_parsename()
|
| H A D | nfs_nfsdport.c | 4296 u_long *hashp; in nfsrv_dscreate() local 4303 nfsvno_setpathbuf(&named, &bufp, &hashp); in nfsrv_dscreate() 4679 u_long *hashp; in nfsrv_dsremove() local 4689 nfsvno_setpathbuf(&named, &bufp, &hashp); in nfsrv_dsremove() 6453 u_long *hashp; in nfsrv_pnfslookupds() local 6462 nfsvno_setpathbuf(&named, &bufp, &hashp); in nfsrv_pnfslookupds()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | dsl_bookmark.c | 43 char *hashp; in dsl_bookmark_hold_ds() local 47 hashp = strchr(fullname, '#'); in dsl_bookmark_hold_ds() 48 if (hashp == NULL) in dsl_bookmark_hold_ds() 51 *shortnamep = hashp + 1; in dsl_bookmark_hold_ds() 54 (void) strlcpy(buf, fullname, hashp - fullname + 1); in dsl_bookmark_hold_ds()
|
| H A D | zfs_ioctl.c | 966 char *hashp = strchr(name, '#'); in zfs_secpolicy_bookmark() local 968 if (hashp == NULL) { in zfs_secpolicy_bookmark() 972 *hashp = '\0'; in zfs_secpolicy_bookmark() 975 *hashp = '#'; in zfs_secpolicy_bookmark() 992 char *hashp = strchr(name, '#'); in zfs_secpolicy_destroy_bookmarks() local 995 if (hashp == NULL) { in zfs_secpolicy_destroy_bookmarks() 1000 *hashp = '\0'; in zfs_secpolicy_destroy_bookmarks() 1003 *hashp = '#'; in zfs_secpolicy_destroy_bookmarks()
|