Searched refs:name_key (Results 1 - 4 of 4) sorted by last modified time
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_device_tbl.c | 114 assert(map->name_key != NULL); 117 if (strcmp(map->name_key, name) == 0 && 149 if ((map->name_key = malloc(name_len)) == NULL) { 161 free(map->name_key); 168 strlcpy(map->name_key, name, name_len); 188 if ((entry->name = strdup(map->name_key)) == NULL) { 288 if (strcmp(map->name_key, dev_p->dd_name) == 0 && 319 if (strcmp(map->name_key, dev_name) == 0) 537 free(n1->name_key);
|
H A D | hostres_diskstorage_tbl.c | 294 if (strncmp(map->name_key, found->dev_name, 302 if (strlen(map->name_key) > strlen(found->dev_name) && 303 !isdigit(map->name_key[strlen(found->dev_name)])) 354 if (sscanf(map->name_key, "md%d", &unit) != 1)
|
H A D | hostres_processor_tbl.c | 175 if (strcmp(map->name_key, name) == 0) 229 if (strncmp(map->name_key, "cpu", strlen("cpu")) == 0 && 231 if (sscanf(map->name_key,"cpu%d", &cpu_no) != 1) { 234 map->name_key);
|
H A D | hostres_snmp.h | 107 * device_map_entry::name_key fields below, according to MIB 150 /* map key is the pair (name_key, location_key) */ 151 u_char *name_key; /* copy of device name */ member in struct:device_map_entry
|
Completed in 65 milliseconds