HomeSort by relevance Sort by last modified time
    Searched refs:mtd_device (Results 1 - 7 of 7) sorted by null

  /external/vboot_reference/cgpt/
cgpt_nor.h 12 // Obtain the MTD size from its sysfs node. |mtd_device| should point to
14 int GetMtdSize(const char *mtd_device, uint64_t *size);
cgpt_wrapper.c 68 const char *mtd_device) {
88 if (GetMtdSize(mtd_device, &drive_size) != 0) {
89 Error("Cannot get the size of %s.\n", mtd_device);
110 if (strcmp(my_argv[i], mtd_device) == 0) {
163 const char *mtd_device = find_mtd_device(argc, argv); local
164 if (mtd_device) {
165 return wrap_cgpt(argc, argv, mtd_device);
cgpt_nor.c 29 int GetMtdSize(const char *mtd_device, uint64_t *size) {
30 mtd_device = strrchr(mtd_device, '/');
31 if (mtd_device == NULL) {
36 if (asprintf(&sysfs_name, "/sys/class/mtd%s/size", mtd_device) == -1) {
  /system/sepolicy/prebuilts/api/27.0/private/
file_contexts 100 /dev/mtd(/.*)? u:object_r:mtd_device:s0
  /system/sepolicy/prebuilts/api/26.0/private/
file_contexts 100 /dev/mtd(/.*)? u:object_r:mtd_device:s0
  /system/sepolicy/prebuilts/api/28.0/private/
file_contexts 107 /dev/mtd(/.*)? u:object_r:mtd_device:s0
  /system/sepolicy/private/
file_contexts 107 /dev/mtd(/.*)? u:object_r:mtd_device:s0

Completed in 150 milliseconds