Lines Matching refs:hash

31  * scripts this module presents the information as a nested hash data structure.
172 * corresponding perl hash. All such conversion functions are in the following
438 * The following struct => hash functions are all only present on the sparc
609 * structure to find the appropriate function. We use a perl hash to manage the
628 /* Create new hash */
683 * This module converts the flat list returned by kstat_read() into a perl hash
689 * Given module, instance and name keys return a pointer to the hash tied to
690 * the bottommost hash. If the hash already exists, we just return a pointer
691 * to it, otherwise we create the hash and any others also required above it in
694 * called when the bottommost hash is accessed. If the is_new parameter is
706 HV *hash;
716 hash = (HV *)SvRV(self);
720 SvREADONLY_off(hash);
721 entry = hv_fetch(hash, key[k], strlen(key[k]), TRUE);
736 SvREADONLY_on(hash);
737 hash = newhash;
742 SvREADONLY_on(hash);
743 hash = (HV *)SvRV(*entry);
748 /* Create and bless a hash for the tie, if necessary */
759 hv_magic(hash, (GV *)tieref, 'P');
760 SvREADONLY_on(hash);
762 /* Otherwise, just find the existing tied hash */
766 mg = mg_find((SV *)hash, 'P');
777 * This is an iterator function used to traverse the hash hierarchy and apply
849 * that the kstat chain has been updated. This removes any hash tree entries
918 /* If the module:instance:name hash is empty prune it */
926 /* If the module:instance hash is empty prune it */
940 * hash.
1053 * Read kstats and copy into the supplied perl hash structure. If refresh is
1130 # name::instance::module hash structure, but doesn't actually read the
1174 /* Create a blessed hash ref */
1190 /* Scan the kstat chain, building hash entries for the kstats */
1212 /* Create a 3-layer hash hierarchy - module.instance.name */
1230 # Update the perl hash structure so that it is in line with the kernel kstats
1331 /* Find the tied hash associated with the kstat entry */
1378 * hash tree structure.
1423 # kstats hash structure. These are blessed into a package that isn't
1459 # Save the passed value into the kstat hash. Read the appropriate kstat first,
1524 # Return hash iterator next value. Read the kstats if necessary.
1542 # Delete the specified hash entry.
1561 # Clear the entire hash. This will stop any update() calls rereading this