Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_partition_tbl.c153 partition_entry_create(int32_t ds_index, const char *chunk_name) in partition_entry_create() argument
160 assert(chunk_name != NULL); in partition_entry_create()
161 if (chunk_name == NULL || chunk_name[0] == '\0') in partition_entry_create()
166 if (strcmp(map->id, chunk_name) == 0) in partition_entry_create()
184 id_len = strlen(chunk_name) + 1; in partition_entry_create()
195 strlcpy(map->id, chunk_name, id_len); in partition_entry_create()
202 chunk_name, map->index); in partition_entry_create()
206 chunk_name, map->index); in partition_entry_create()
230 id_len = strlen(_PATH_DEV) + strlen(chunk_name) + 1; in partition_entry_create()
241 snprintf(entry->label, id_len, "%s%s", _PATH_DEV, chunk_name); in partition_entry_create()
[all …]