Lines Matching refs:key
608 * together to form a composite key. We can then use the data in the kstat
610 * lookup, where the key is "module:name" and the value is a pointer to the
653 char key[KSTAT_STRLEN * 2];
659 for (f = module, t = key; *f != '\0'; f++, t++) {
673 if ((entry = hv_fetch(raw_kstat_lookup, key, strlen(key), FALSE)) == 0)
703 char *key[3]; /* 3 part key: module, instance, name */
711 key[0] = module;
712 key[1] = str_inst;
713 key[2] = name;
721 entry = hv_fetch(hash, key[k], strlen(key[k]), TRUE);
861 char *module, *instance, *name, *key;
906 key = HePV(entry3, klen);
907 hv_delete(hash3, key, klen, G_DISCARD);
921 key = HePV(entry2, klen);
922 hv_delete(hash2, key, klen, G_DISCARD);
929 key = HePV(entry1, klen);
930 hv_delete(hash1, key, klen, G_DISCARD);
938 * Named kstats are returned as a list of key/values. This function converts
1353 /* Save the key on the add list, if required */
1436 FETCH(self, key)
1438 SV* key;
1445 k = SvPV(key, klen);
1465 STORE(self, key, value)
1467 SV* key;
1474 k = SvPV(key, klen);
1485 # Check for the existence of the passed key. Read the kstat first if necessary
1489 EXISTS(self, key)
1491 SV* key;
1496 k = SvPV(key, PL_na);
1500 RETVAL = hv_exists_ent((HV *)self, key, 0);
1546 DELETE(self, key)
1548 SV *key;
1551 RETVAL = hv_delete_ent((HV *)self, key, 0, 0);