Searched refs:hcp (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/cmd/sendmail/db/hash/ |
H A D | hash.c | 100 HASH_CURSOR *hcp; local 123 hcp = (HASH_CURSOR *)dbc->internal; 124 GET_META(dbp, hcp, ret); 133 if (hcp->hdr->magic == DB_HASHMAGIC) { 138 hcp->hdr->version < 5 ? __ham_func4 : __ham_func5; 140 hcp->hdr->h_charkey) { 145 if (F_ISSET(hcp->hdr, DB_HASH_DUP)) 154 ((ret = lock_put(dbenv->lk_info, hcp->hlock)) != 0 || 156 &dbc->lock_dbt, DB_LOCK_WRITE, &hcp->hlock)) != 0)) { 165 F_SET(hcp->hdr, DB_HASH_DUP); [all …]
|
H A D | hash_dup.c | 99 HASH_CURSOR *hcp; local 106 hcp = (HASH_CURSOR *)dbc->internal; 107 if (flags == DB_CURRENT && hcp->dpgno == PGNO_INVALID) 108 del_len = hcp->dup_len; 123 hk = H_PAIRDATA(hcp->pagep, hcp->bndx); 124 new_size = DUP_SIZE(nval->size) - del_len + LEN_HKEYDATA(hcp->pagep, 125 hcp->hdr->pagesize, H_DATAINDEX(hcp->bndx)); 133 (HPAGE_PTYPE(hk) == H_OFFPAGE || ISBIG(hcp, new_size) || 134 DUP_SIZE(nval->size) - del_len > P_FREESPACE(hcp->pagep))) { 139 hk = H_PAIRDATA(hcp->pagep, hcp->bndx); [all …]
|
H A D | hash_page.c | 95 HASH_CURSOR *hcp; local 100 hcp = (HASH_CURSOR *)dbc->internal; 102 if (F_ISSET(hcp, H_DELETED)) 104 F_CLR(hcp, H_OK | H_NOMORE); 111 if (hcp->seek_size && hcp->seek_found_page == PGNO_INVALID 112 && hcp->seek_size < P_FREESPACE(hcp->pagep)) 113 hcp->seek_found_page = hcp->pgno; 116 if (F_ISSET(hcp, H_ISDUP) && hcp->dpgno == PGNO_INVALID) 122 memcpy(&hcp->dup_len, 123 HKEYDATA_DATA(H_PAIRDATA(hcp->pagep, hcp->bndx)) + [all …]
|
H A D | hash_rec.c | 85 HASH_CURSOR *hcp; local 92 hcp = NULL; 95 hcp = (HASH_CURSOR *)dbc->internal; 112 GET_META(file_dbp, hcp, ret); 148 (void) __ham_reputpair(pagep, hcp->hdr->pagesize, 171 RELEASE_META(file_dbp, hcp); 194 HASH_CURSOR *hcp; local 200 hcp = NULL; 203 hcp = (HASH_CURSOR *)dbc->internal; 355 RELEASE_META(file_dbp, hcp); [all …]
|
/titanic_44/usr/src/cmd/sendmail/db/db/ |
H A D | db_pr.c | 270 HASH_CURSOR *hcp; local 277 hcp = (HASH_CURSOR *)dbc->internal; 283 if (hcp->hdr == NULL) { 285 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &hcp->hdr)) != 0) 291 fprintf(fp, "\tmagic %#lx\n", (u_long)hcp->hdr->magic); 292 fprintf(fp, "\tversion %lu\n", (u_long)hcp->hdr->version); 293 fprintf(fp, "\tpagesize %lu\n", (u_long)hcp->hdr->pagesize); 294 fprintf(fp, "\tovfl_point %lu\n", (u_long)hcp->hdr->ovfl_point); 295 fprintf(fp, "\tlast_freed %lu\n", (u_long)hcp->hdr->last_freed); 296 fprintf(fp, "\tmax_bucket %lu\n", (u_long)hcp->hdr->max_bucket); [all …]
|
/titanic_44/usr/src/lib/libilb/common/ |
H A D | ilb_hc.c | 104 ilb_get_hc_info(ilb_handle_t h, const char *name, ilb_hc_info_t *hcp) in ilb_get_hc_info() argument 110 if (h == ILB_INVALID_HANDLE || name == NULL || hcp == NULL) in ilb_get_hc_info() 131 (void) memcpy(hcp, &rbuf->ic_data, sizeof (*hcp)); in ilb_get_hc_info()
|
/titanic_44/usr/src/cmd/svc/milestone/ |
H A D | net-physical | 469 hcp="`/sbin/devprop xpv-hcp`" 470 case "$hcp" in
|