Home
last modified time | relevance | path

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

/external/qemu/
Dblockdev.c143 int bus_id, unit_id; in drive_init() local
173 unit_id = qemu_opt_get_number(opts, "unit", -1); in drive_init()
350 if (bus_id != 0 || unit_id != -1) { in drive_init()
357 unit_id = index; in drive_init()
360 unit_id = index % max_devs; in drive_init()
369 if (unit_id == -1) { in drive_init()
370 unit_id = 0; in drive_init()
371 while (drive_get(type, bus_id, unit_id) != NULL) { in drive_init()
372 unit_id++; in drive_init()
373 if (max_devs && unit_id >= max_devs) { in drive_init()
[all …]
Dvl-android.c738 int bus_id, unit_id; in drive_init() local
764 unit_id = -1; in drive_init()
791 unit_id = strtol(buf, NULL, 0); in drive_init()
792 if (unit_id < 0) { in drive_init()
969 if (bus_id != 0 || unit_id != -1) { in drive_init()
976 unit_id = index; in drive_init()
979 unit_id = index % max_devs; in drive_init()
988 if (unit_id == -1) { in drive_init()
989 unit_id = 0; in drive_init()
990 while (drive_get_index(type, bus_id, unit_id) != -1) { in drive_init()
[all …]
/external/chromium_org/tools/deep_memory_profiler/subcommands/
Dcat.py112 root['units'][unit.unit_id] = [unit.committed, unit.reserved]
117 root['units'][unit.unit_id] = [
141 breakdown[found.name]['units'].append(unit.unit_id)
148 unit_id = 0
150 unit_id += 1
154 yield UnhookedUnit(unit_id, pageframe.size, pageframe.size,
157 yield UnhookedUnit(unit_id,
164 yield MMapUnit(unit_id,
169 yield MMapUnit(unit_id,
/external/chromium_org/tools/deep_memory_profiler/lib/
Dsorter.py41 def __init__(self, unit_id, size): argument
42 self._unit_id = unit_id
46 def unit_id(self): member in Unit
56 def __init__(self, unit_id, committed, reserved, mmap, region, argument
58 super(VMUnit, self).__init__(unit_id, committed)
92 def __init__(self, unit_id, committed, reserved, region, bucket_set, argument
94 super(MMapUnit, self).__init__(unit_id, committed, reserved, True,
108 def __init__(self, unit_id, committed, reserved, region, argument
110 super(UnhookedUnit, self).__init__(unit_id, committed, reserved, False,
119 def __init__(self, unit_id, size, alloc_count, free_count, bucket): argument
[all …]
/external/chromium_org/tools/deep_memory_profiler/
Daccumulate.py66 for unit_id in matched_units:
67 subtotal += units_dict[world][unit_id]
87 for unit_id in subremainder_units:
88 subremainder_total += units_dict[world][unit_id]
232 for unit_id, sizes in snapshot['worlds'][world_name]['units'].iteritems():
233 world_units[int(unit_id)] = sizes[0]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c447 int unit_id = prog->SamplerUnits[s]; in brw_populate_sampler_prog_key_data() local
448 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id]; in brw_populate_sampler_prog_key_data()
453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id); in brw_populate_sampler_prog_key_data()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_wm.c447 int unit_id = prog->SamplerUnits[s]; in brw_populate_sampler_prog_key_data() local
448 const struct gl_texture_unit *unit = &ctx->Texture.Unit[unit_id]; in brw_populate_sampler_prog_key_data()
453 struct gl_sampler_object *sampler = _mesa_get_samplerobj(ctx, unit_id); in brw_populate_sampler_prog_key_data()
/external/qemu/hw/i386/
Dpc.c1253 int unit_id = 0; local
1255 while ((index = drive_get_index(IF_VIRTIO, 0, unit_id)) != -1) {
1257 unit_id++;