Home
last modified time | relevance | path

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

/system/vold/
DDirectVolume.cpp102 char nodepath[255]; in handleBlockEvent() local
104 snprintf(nodepath, in handleBlockEvent()
105 sizeof(nodepath), "/dev/block/vold/%d:%d", in handleBlockEvent()
107 if (createDeviceNode(nodepath, major, minor)) { in handleBlockEvent()
108 SLOGE("Error making device node '%s' (%s)", nodepath, in handleBlockEvent()
DVolume.cpp350 char nodepath[256]; in mountVol() local
369 snprintf(nodepath, in mountVol()
370 sizeof(nodepath), "/dev/block/vold/%d:%d", in mountVol()
372 if (createDeviceNode(nodepath, new_major, new_minor)) { in mountVol()
373 SLOGE("Error making device node '%s' (%s)", nodepath, in mountVol()
379 updateDeviceInfo(nodepath, new_major, new_minor); in mountVol()
DVolumeManager.cpp1292 char nodepath[255]; in shareVolume() local
1293 int written = snprintf(nodepath, in shareVolume()
1294 sizeof(nodepath), "/dev/block/vold/%d:%d", in shareVolume()
1297 if ((written < 0) || (size_t(written) >= sizeof(nodepath))) { in shareVolume()
1307 if (write(fd, nodepath, strlen(nodepath)) < 0) { in shareVolume()