Searched refs:rpmb_devname (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/core/trusty/storage/proxy/ |
H A D | proxy.c | 40 static const char* rpmb_devname; variable 229 rpmb_devname = strdup(optarg); in parse_args() 246 if (ss_data_root == NULL || trusty_devname == NULL || rpmb_devname == NULL) { in parse_args() 254 ALOGI("rpmb dev: %s\n", rpmb_devname); in parse_args() 271 rc = rpmb_open(rpmb_devname, dev_type); in main()
|
H A D | rpmb.c | 576 int rpmb_open(const char* rpmb_devname, enum dev_type open_dev_type) { in rpmb_open() argument 581 rc = open(rpmb_devname, O_RDWR, 0); in rpmb_open() 583 … ALOGE("unable (%d) to open rpmb device '%s': %s\n", errno, rpmb_devname, strerror(errno)); in rpmb_open() 592 ALOGE("%s is not a sg device, or old sg driver\n", rpmb_devname); in rpmb_open() 609 strncpy(unaddr.sun_path, rpmb_devname, sizeof(unaddr.sun_path)-1); in rpmb_open() 612 … ALOGE("unable (%d) to connect to rpmb socket '%s': %s\n", errno, rpmb_devname, strerror(errno)); in rpmb_open()
|
H A D | rpmb.h | 23 int rpmb_open(const char* rpmb_devname, enum dev_type dev_type);
|