Home
last modified time | relevance | path

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

/bootable/recovery/
Droots.c119 Volume* v = &device_volumes[i]; in load_volume_table() local
120 printf(" %d %s %s %s %s %lld\n", i, v->mount_point, v->fs_type, in load_volume_table()
121 v->device, v->device2, v->length); in load_volume_table()
129 Volume* v = device_volumes+i; in volume_for_path() local
130 int len = strlen(v->mount_point); in volume_for_path()
131 if (strncmp(path, v->mount_point, len) == 0 && in volume_for_path()
133 return v; in volume_for_path()
140 Volume* v = volume_for_path(path); in ensure_path_mounted() local
141 if (v == NULL) { in ensure_path_mounted()
145 if (strcmp(v->fs_type, "ramdisk") == 0) { in ensure_path_mounted()
[all …]
Dbootloader.c28 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v);
29 static int set_bootloader_message_mtd(const struct bootloader_message *in, const Volume* v);
30 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v);
31 static int set_bootloader_message_block(const struct bootloader_message *in, const Volume* v);
34 Volume* v = volume_for_path("/misc"); in get_bootloader_message() local
35 if (v == NULL) { in get_bootloader_message()
39 if (strcmp(v->fs_type, "mtd") == 0) { in get_bootloader_message()
40 return get_bootloader_message_mtd(out, v); in get_bootloader_message()
41 } else if (strcmp(v->fs_type, "emmc") == 0) { in get_bootloader_message()
42 return get_bootloader_message_block(out, v); in get_bootloader_message()
[all …]
/bootable/recovery/mtdutils/
Dmounts.c133 MountedVolume *v = in scan_mounted_volumes() local
135 v->device = strdup(device); in scan_mounted_volumes()
136 v->mount_point = strdup(mount_point); in scan_mounted_volumes()
137 v->filesystem = strdup(filesystem); in scan_mounted_volumes()
138 v->flags = strdup(flags); in scan_mounted_volumes()
169 MountedVolume *v = &g_mounts_state.volumes[i]; in find_mounted_volume_by_device() local
172 if (v->device != NULL) { in find_mounted_volume_by_device()
173 if (strcmp(v->device, device) == 0) { in find_mounted_volume_by_device()
174 return v; in find_mounted_volume_by_device()
188 MountedVolume *v = &g_mounts_state.volumes[i]; in find_mounted_volume_by_mount_point() local
[all …]
/bootable/recovery/edify/
Dexpr.c36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); in Evaluate() local
37 if (v == NULL) return NULL; in Evaluate()
38 if (v->type != VAL_STRING) { in Evaluate()
39 ErrorAbort(state, "expecting string, got value type %d", v->type); in Evaluate()
40 FreeValue(v); in Evaluate()
43 char* result = v->data; in Evaluate()
44 free(v); in Evaluate()
54 Value* v = malloc(sizeof(Value)); in StringValue() local
55 v->type = VAL_STRING; in StringValue()
56 v->size = strlen(str); in StringValue()
[all …]
Dexpr.h161 void FreeValue(Value* v);
/bootable/bootloader/legacy/arch_msm7k/
Dgpio.c128 unsigned v; in gpio_output_enable() local
132 v = readl(r->oe); in gpio_output_enable()
134 writel(v | b, r->oe); in gpio_output_enable()
136 writel(v & (~b), r->oe); in gpio_output_enable()
144 unsigned v; in gpio_write() local
148 v = readl(r->out); in gpio_write()
150 writel(v | b, r->out); in gpio_write()
152 writel(v & (~b), r->out); in gpio_write()
Duart.c35 #define uwr(v,a) writel(v, uart_base + (a)) argument
Dmddi.c239 mddi_video_stream *vs = &(mlist[n].u.v); in mddi_init()
/bootable/bootloader/legacy/libc/
Dmemset.c29 void *memset(void *_p, unsigned v, unsigned count) in memset() argument
32 while(count-- > 0) *p++ = v; in memset()
/bootable/recovery/updater/
Dinstall.c401 Value* v = malloc(sizeof(Value)); in PackageExtractFileFn() local
402 v->type = VAL_BLOB; in PackageExtractFileFn()
403 v->size = -1; in PackageExtractFileFn()
404 v->data = NULL; in PackageExtractFileFn()
415 v->size = mzGetZipEntryUncompLen(entry); in PackageExtractFileFn()
416 v->data = malloc(v->size); in PackageExtractFileFn()
417 if (v->data == NULL) { in PackageExtractFileFn()
419 name, (long)v->size, zip_path); in PackageExtractFileFn()
424 (unsigned char *)v->data); in PackageExtractFileFn()
429 free(v->data); in PackageExtractFileFn()
[all …]
/bootable/bootloader/legacy/include/msm7k/
Dmddi.h219 mddi_video_stream v; member