Home
last modified time | relevance | path

Searched refs:pinfo (Results 1 – 5 of 5) 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/liblog/
Dlog_is_loggable.c50 const prop_info *pinfo; member
57 return cache->pinfo in check_cache()
58 && __system_property_serial(cache->pinfo) != cache->serial; in check_cache()
68 if (!cache->pinfo) { in refresh_cache()
69 cache->pinfo = __system_property_find(key); in refresh_cache()
70 if (!cache->pinfo) { in refresh_cache()
74 cache->serial = __system_property_serial(cache->pinfo); in refresh_cache()
75 __system_property_read(cache->pinfo, 0, buf); in refresh_cache()
153 tag_cache[i].pinfo = NULL; in __android_log_level()
171 temp_cache.pinfo = NULL; in __android_log_level()
[all …]
/system/vold/
DDisk.cpp413 struct part_info *pinfo = &dinfo.part_lst[0]; in partitionPublic() local
415 pinfo->name = strdup("android_sdcard"); in partitionPublic()
416 pinfo->flags |= PART_ACTIVE_FLAG; in partitionPublic()
417 pinfo->type = PC_PART_TYPE_FAT32; in partitionPublic()
418 pinfo->len_kb = -1; in partitionPublic()
427 free(pinfo->name); in partitionPublic()
/system/core/adb/
Dadb.cpp716 PROCESS_INFORMATION pinfo; in launch_server() local
717 ZeroMemory(&pinfo, sizeof(pinfo)); in launch_server()
731 &pinfo )) { in launch_server()
737 unique_handle process_handle(pinfo.hProcess); in launch_server()
738 pinfo.hProcess = NULL; in launch_server()
741 CloseHandle(pinfo.hThread); in launch_server()
742 pinfo.hThread = NULL; in launch_server()
824 pinfo.dwProcessId); in launch_server()