Searched defs:nodepath (Results 1 - 3 of 3) sorted by relevance

/system/vold/
H A DDirectVolume.cpp145 char nodepath[255]; local
147 snprintf(nodepath,
148 sizeof(nodepath), "/dev/block/vold/%d:%d",
150 if (createDeviceNode(nodepath, major, minor)) {
151 SLOGE("Error making device node '%s' (%s)", nodepath,
H A DVolume.cpp376 char nodepath[256]; local
395 snprintf(nodepath,
396 sizeof(nodepath), "/dev/block/vold/%d:%d",
398 if (createDeviceNode(nodepath, new_major, new_minor)) {
399 SLOGE("Error making device node '%s' (%s)", nodepath,
403 // Todo: Either create sys filename from nodepath, or pass in bogus path so
405 updateDeviceInfo(nodepath, new_major, new_minor);
H A DVolumeManager.cpp1576 char nodepath[255]; local
1577 int written = snprintf(nodepath,
1578 sizeof(nodepath), "/dev/block/vold/%d:%d",
1581 if ((written < 0) || (size_t(written) >= sizeof(nodepath))) {
1582 SLOGE("shareVolume failed: couldn't construct nodepath");
1591 if (write(fd, nodepath, strlen(nodepath)) < 0) {

Completed in 56 milliseconds