Lines Matching defs:chunk_name
159 partition_entry_create(int32_t ds_index, const char *chunk_name)
166 assert(chunk_name != NULL);
167 if (chunk_name == NULL || chunk_name[0] == '\0')
172 if (strcmp(map->id, chunk_name) == 0)
190 id_len = strlen(chunk_name) + 1;
201 strlcpy(map->id, chunk_name, id_len);
208 chunk_name, map->index);
212 chunk_name, map->index);
236 id_len = strlen(_PATH_DEV) + strlen(chunk_name) + 1;
247 snprintf(entry->label, id_len, "%s%s", _PATH_DEV, chunk_name);
312 handle_chunk(int32_t ds_index, const char *chunk_name, off_t chunk_size)
317 assert(chunk_name != NULL);
318 assert(chunk_name[0] != '\0');
319 if (chunk_name == NULL || chunk_name == '\0')
322 HRDBG("ANALYZE chunk %s", chunk_name);
324 if ((entry = partition_entry_find_by_name(chunk_name)) == NULL)
326 chunk_name)) == NULL)