Lines Matching defs:pdi
687 dt_pfdict_t *pdi;
689 if ((pdi = malloc(sizeof (dt_pfdict_t))) == NULL ||
690 (pdi->pdi_buckets = malloc(sizeof (dt_pfconv_t *) * n)) == NULL) {
691 free(pdi);
695 dtp->dt_pfdict = pdi;
696 bzero(pdi->pdi_buckets, sizeof (dt_pfconv_t *) * n);
697 pdi->pdi_nbuckets = n;
711 pfc->pfc_next = pdi->pdi_buckets[h];
712 pdi->pdi_buckets[h] = pfc;
760 dt_pfdict_t *pdi = dtp->dt_pfdict;
764 if (pdi == NULL)
767 for (i = 0; i < pdi->pdi_nbuckets; i++) {
768 for (pfc = pdi->pdi_buckets[i]; pfc != NULL; pfc = nfc) {
774 free(pdi->pdi_buckets);
775 free(pdi);
782 dt_pfdict_t *pdi = dtp->dt_pfdict;
783 uint_t h = dt_strtab_hash(name, NULL) % pdi->pdi_nbuckets;
786 for (pfc = pdi->pdi_buckets[h]; pfc != NULL; pfc = pfc->pfc_next) {