Lines Matching refs:pval

79 	struct table_value	*pval;	/* Pointer to real table value */
86 struct table_value *pval;
102 return (memcmp(((struct table_val_link *)no)->pval, key, 56));
130 struct table_value *pval;
134 pval = (struct table_value *)ch->valuestate;
137 pval = NULL;
139 //pval = (struct table_value *)&tc->ti.data;
143 *ptv = pval;
149 * Update pointers to real vaues after @pval change.
156 struct table_value *pval;
161 pval = da->pval;
162 ptv->pval = &pval[ptv->no.kidx];
163 ptv->no.name = (char *)&pval[ptv->no.kidx];
182 struct table_value *pval, *valuestate, *old_valuestate;
193 pval = (struct table_value *)ch->valuestate;
218 pval = (struct table_value *)ch->valuestate;
222 memcpy(valuestate, pval, sizeof(struct table_value) * tcfg->val_size);
238 da.pval = (struct table_value *)ch->valuestate;
249 * Drops reference for table value with index @kidx, stored in @pval and
253 unref_table_value(struct namedobj_instance *vi, struct table_value *pval,
258 KASSERT(pval[kidx].refcnt > 0, ("Refcount is 0 on kidx %d", kidx));
259 if (--pval[kidx].refcnt > 0)
337 struct table_value *pval;
347 get_value_ptrs(ch, ts->tc, ts->vshared, &pval, &vi);
355 unref_table_value(vi, pval, ptei->value);
422 struct table_value *pval;
445 get_value_ptrs(ch, tc, 1, &pval, &vi);
464 unref_table_value(vi, pval, ptei->value);
486 struct table_value tval, *pval;
493 get_value_ptrs(ch, ts->tc, ts->vshared, &pval, &vi);
515 ptv->pval->refcnt++;
564 KASSERT(pval == ch->valuestate, ("resize_storage() notify failure"));
575 ptv->pval->refcnt++;
596 ptv->no.name = (char *)&pval[vidx];
597 ptv->pval = &pval[vidx];
598 memcpy(ptv->pval, &tval, sizeof(struct table_value));
599 pval[vidx].refcnt = 1;
714 memcpy(v, ptv->pval, sizeof(*v));