Home
last modified time | relevance | path

Searched refs:location_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_device_tbl.c104 size_t location_len; in device_entry_create() local
153 location_len = strlen(location) + 1; in device_entry_create()
154 if (location_len > DEV_LOC_MLEN) in device_entry_create()
155 location_len = DEV_LOC_MLEN; in device_entry_create()
157 if ((map->location_key = malloc(location_len )) == NULL) { in device_entry_create()
167 strlcpy(map->location_key, location, location_len); in device_entry_create()
/freebsd/sys/dev/iicbus/pwm/
H A Dadt746x.c351 int i, id_len, len = 0, location_len, prev_len = 0; in adt746x_fill_fan_prop() local
358 location_len = OF_getprop_alloc(child, "hwctrl-location", (void **)&location); in adt746x_fill_fan_prop()
360 if (location_len == -1 || id_len == -1) { in adt746x_fill_fan_prop()