Lines Matching refs:path
157 char path[PATH_MAX] = { 0 }; in mmc_rpmb_fd() local
162 snprintf(path, sizeof(path), "/dev/mmcblk%urpmb", dev_id); in mmc_rpmb_fd()
164 snprintf(path, sizeof(path), "/dev/mmcblk%urpmb", dev_id); in mmc_rpmb_fd()
166 fd = open(path, O_RDWR); in mmc_rpmb_fd()
168 EMSG("Could not open %s (%s)", path, strerror(errno)); in mmc_rpmb_fd()
184 char path[PATH_MAX] = { 0 }; in mmc_fd() local
188 snprintf(path, sizeof(path), "/dev/block/mmcblk%u", dev_id); in mmc_fd()
190 snprintf(path, sizeof(path), "/dev/mmcblk%u", dev_id); in mmc_fd()
192 fd = open(path, O_RDONLY); in mmc_fd()
194 EMSG("Could not open %s (%s)", path, strerror(errno)); in mmc_fd()
208 char path[48] = { 0 }; in read_cid() local
214 snprintf(path, sizeof(path), in read_cid()
216 fd = open(path, O_RDONLY); in read_cid()
218 EMSG("Could not open %s (%s)", path, strerror(errno)); in read_cid()