Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Dconfig_mbr.c71 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum, in mk_pri_pentry() argument
97 if (pinfo) { in mk_pri_pentry()
101 if (pinfo->len_kb != (uint32_t)-1) { in mk_pri_pentry()
103 len_lba = ((uint64_t)pinfo->len_kb * 1024); in mk_pri_pentry()
112 cfg_pentry(pentry, ((pinfo->flags & PART_ACTIVE_FLAG) ? in mk_pri_pentry()
114 pinfo->type, *lba, (uint32_t)len_lba); in mk_pri_pentry()
116 pinfo->start_lba = *lba; in mk_pri_pentry()
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry() argument
162 if (pinfo->len_kb != (uint32_t)-1) in mk_ext_pentry()
163 len = kb_to_lba(pinfo->len_kb, dinfo->sect_size); in mk_ext_pentry()
[all …]
Ddiskconfig.c100 struct part_info *pinfo = &dinfo->part_lst[dinfo->num_parts]; in load_partitions() local
106 pinfo->name = strdup(partnode->name); in load_partitions()
109 pinfo->flags |= PART_ACTIVE_FLAG; in load_partitions()
112 ALOGE("Partition type required: %s", pinfo->name); in load_partitions()
118 pinfo->type = PC_PART_TYPE_LINUX; in load_partitions()
120 pinfo->type = PC_PART_TYPE_FAT32; in load_partitions()
130 pinfo->len_kb = (uint32_t) len; in load_partitions()
132 pinfo->len_kb = 0; in load_partitions()
507 struct part_info *pinfo; in find_part() local
511 pinfo = &dinfo->part_lst[cnt]; in find_part()
[all …]
/system/core/toolbox/upstream-netbsd/bin/cp/
Dextern.h47 extern sig_atomic_t pinfo;
Dutils.c100 pinfo = 0; in progress()
243 if (pinfo) in copy_file()
263 if (pinfo) in copy_file()
Dcp.c92 sig_atomic_t pinfo; variable
102 pinfo++; in progress()
/system/vold/
DVolume.cpp624 struct part_info *pinfo = &dinfo.part_lst[0]; in initializeMbr() local
626 pinfo->name = strdup("android_sdcard"); in initializeMbr()
627 pinfo->flags |= PART_ACTIVE_FLAG; in initializeMbr()
628 pinfo->type = PC_PART_TYPE_FAT32; in initializeMbr()
629 pinfo->len_kb = -1; in initializeMbr()
639 free(pinfo->name); in initializeMbr()
/system/core/toolbox/upstream-netbsd/bin/rm/
Drm.c65 static sig_atomic_t pinfo; variable
272 } else if (vflag || pinfo) { in rm_tree()
273 pinfo = 0; in rm_tree()
624 pinfo++; in progress()
/system/core/adb/
Dadb.c1078 PROCESS_INFORMATION pinfo; in launch_server() local
1122 ZeroMemory( &pinfo, sizeof(pinfo) ); in launch_server()
1139 &pinfo ); in launch_server()
1149 CloseHandle( pinfo.hProcess ); in launch_server()
1150 CloseHandle( pinfo.hThread ); in launch_server()