Home
last modified time | relevance | path

Searched refs:rpmb_devname (Results 1 – 3 of 3) sorted by relevance

/system/core/trusty/storage/proxy/
Dproxy.c42 static const char* rpmb_devname; variable
251 rpmb_devname = strdup(optarg); in parse_args()
280 if (ss_data_root == NULL || trusty_devname == NULL || rpmb_devname == NULL) { in parse_args()
288 ALOGI("rpmb dev: %s\n", rpmb_devname); in parse_args()
326 rc = rpmb_open(rpmb_devname, dev_type); in main()
Drpmb.h25 int rpmb_open(const char* rpmb_devname, enum dev_type dev_type);
Drpmb.c594 int rpmb_open(const char* rpmb_devname, enum dev_type open_dev_type) { in rpmb_open() argument
599 rc = open(rpmb_devname, O_RDWR, 0); in rpmb_open()
601 … ALOGE("unable (%d) to open rpmb device '%s': %s\n", errno, rpmb_devname, strerror(errno)); in rpmb_open()
610 ALOGE("%s is not a sg device, or old sg driver\n", rpmb_devname); in rpmb_open()
627 strncpy(unaddr.sun_path, rpmb_devname, sizeof(unaddr.sun_path)-1); in rpmb_open()
630 … ALOGE("unable (%d) to connect to rpmb socket '%s': %s\n", errno, rpmb_devname, strerror(errno)); in rpmb_open()