HomeSort by: relevance | last modified time | path
    Searched refs:area_count (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/external/gpl2/lvm2/dist/lib/striped/
striped.c 34 return (seg->area_count == 1) ? "linear" : seg->segtype->name;
41 if (seg->area_count == 1)
44 log_print(" Stripes\t\t%u", seg->area_count);
54 for (s = 0; s < seg->area_count; s++) {
62 static int _striped_text_import_area_count(struct config_node *sn, uint32_t *area_count)
64 if (!get_config_uint32(sn, "stripe_count", area_count)) {
78 if ((seg->area_count != 1) &&
91 seg->area_len /= seg->area_count;
99 outf(f, "stripe_count = %u%s", seg->area_count,
100 (seg->area_count == 1) ? "\t# linear" : "")
    [all...]
  /src/external/gpl2/lvm2/dist/lib/mirror/
mirrored.c 60 log_print(" Mirrors\t\t%u", seg->area_count);
74 for (s = 1; s < seg->area_count; s++)
79 static int _mirrored_text_import_area_count(struct config_node *sn, uint32_t *area_count)
81 if (!get_config_uint32(sn, "mirror_count", area_count)) {
152 outf(f, "mirror_count = %u", seg->area_count);
245 struct dm_tree_node *node, uint32_t area_count, uint32_t region_size)
282 return dm_tree_node_add_mirror_target_log(node, region_size, clustered, log_dlid, area_count, log_flags);
292 uint32_t area_count = seg->area_count; local
307 if (seg->area_count == 1
    [all...]
  /src/external/gpl2/lvm2/dist/lib/metadata/
lv_manip.c 175 uint32_t area_count,
182 uint32_t areas_sz = area_count * sizeof(*seg->areas);
203 seg->area_count = area_count;
367 memcpy(newareas, seg->areas, seg->area_count * sizeof(*seg->areas));
370 seg->area_count = new_area_count;
384 if (reduction % seg->area_count) {
387 reduction, seg->area_count);
390 area_reduction = (reduction / seg->area_count);
394 for (s = 0; s < seg->area_count; s++
512 uint32_t area_count; \/* Number of parallel areas *\/ member in struct:alloc_handle
547 uint32_t s, area_count; local
    [all...]
mirror.c 89 mirrors = seg->area_count;
91 for (s = 0; s < seg->area_count; s++) {
170 if (mimage >= mirrored_seg->area_count) {
179 for (i = mimage + 1; i < mirrored_seg->area_count; i++)
434 for (s = 0; s < seg->area_count; s++) {
477 * seg->area_count - 1.
501 uint32_t old_area_count = mirrored_seg->area_count;
502 uint32_t new_area_count = mirrored_seg->area_count;
522 for (s = 0; s < mirrored_seg->area_count &&
540 for (m = new_area_count; m < mirrored_seg->area_count; m++)
    [all...]
merge.c 82 seg->area_count : 1;
134 for (s = 0; s < seg->area_count; s++) {
206 for (s = 0; s < seg->area_count; s++) {
277 seg->area_count, seg->area_len,
292 area_offset /= seg->area_count;
303 for (s = 0; s < seg->area_count; s++) {
lv_alloc.h 27 uint32_t area_count,
segtype.h 71 uint32_t *area_count);
metadata.c 373 for (s = 0; s < lvseg->area_count; s++) {
1026 for (s = 0; s < seg->area_count; s++) {
1942 for (s = 0; s < lvseg->area_count; ++s) {
2017 for (s = 0; s < lvseg->area_count; ++s) {
2066 if (seg && seg->area_count && seg_type(seg, 0) == AREA_PV)
  /src/external/gpl2/lvm2/dist/include/
lv_alloc.h 27 uint32_t area_count,
segtype.h 71 uint32_t *area_count);
libdevmapper.h 434 unsigned area_count,
  /src/external/gpl2/lvm2/dist/tools/
vgsplit.c 70 for (s = 0; s < seg->area_count; s++) {
179 for (s = 0; s < seg->area_count; s++)
185 if ((seg_in && seg_in < seg->area_count) ||
193 if (seg_in == seg->area_count && log_in) {
vgreduce.c 190 for (s = 0; s < seg->area_count; s++) {
275 mimages = mirrored_seg->area_count;
278 for (s = 0; s < mirrored_seg->area_count; s++) {
309 if ((mimages != mirrored_seg->area_count) || remove_log){
lvresize.c 430 str = seg->area_count;
497 seg_stripes = seg->area_count;
reporter.c 86 .area_count = 0,
lvconvert.c 409 for (s = 0; s < lvseg->area_count; s++)
689 if (seg_is_striped(seg) && seg->area_count > 1) {
  /src/external/gpl2/lvm2/dist/lib/format_text/
import_vsn1.c 296 uint32_t area_count = 0u; local
336 !segtype->ops->text_import_area_count(sn_child, &area_count))
340 extent_count, 0, 0, NULL, area_count,
385 if (!seg->area_count) {
390 for (cv = cn->v, s = 0; cv && s < seg->area_count; s++, cv = cv->next) {
430 if (cv || (s < seg->area_count)) {
export.c 532 for (s = 0; s < seg->area_count; s++) {
540 (s == seg->area_count - 1) ? "" : ",");
546 (s == seg->area_count - 1) ? "" : ",");
  /src/external/gpl2/lvm2/dist/lib/format1/
import-extents.c 241 static int _check_stripe(struct lv_map *lvm, uint32_t area_count,
250 for (st = 0; st < area_count; st++)
306 for (st = 0; st < seg->area_count; st++)
import-export.c 377 dm_list_item(lv->segments.n, struct lv_segment)->area_count;
399 for (s = 0; s < seg->area_count; s++) {
414 for (pe = 0; pe < (seg->len / seg->area_count); pe++) {
417 ped->le_num = (seg->le / seg->area_count) + pe +
418 s * (lv->le_count / seg->area_count);
  /src/external/gpl2/lvm2/dist/lib/report/
columns.h 120 FIELD(SEGS, seg, NUM, "#Str", area_count, 4, uint32, "stripes", "Number of stripes or mirror legs.")
report.c 90 for (s = 0; s < seg->area_count; s++) {
134 if ((s != seg->area_count - 1) &&
459 if (seg->area_count == 1) {
  /src/external/gpl2/lvm2/dist/libdm/
libdm-deptree.c 77 unsigned area_count; /* Linear + Striped + Mirrored + Crypt */ member in struct:load_segment
1472 EMIT_PARAMS(pos, "%u %u ", seg->area_count, seg->stripe_size);
1713 seg->area_count = 0;
1856 unsigned area_count,
1888 seg->mirror_area_count = area_count;
1918 seg->area_count++;
  /src/external/gpl2/lvm2/dist/lib/activate/
dev_manager.c 752 for (s = 0; s < seg->area_count; s++)
974 for (s = 0; s < seg->area_count; s++)
1065 if (max_stripe_size < seg->stripe_size * seg->area_count)
1066 max_stripe_size = seg->stripe_size * seg->area_count;
activate.c 88 for (s = 0; s < seg->area_count; s++) {
533 if (dm_list_size(&lv->segments) == 1 && first_seg(lv)->area_count == 1) {
776 for (s = 0; s < seg->area_count; s++) {

Completed in 59 milliseconds

1 2