B_GET_PATH_FOR_DEVICE
if (ioctl(deviceFD, B_GET_PATH_FOR_DEVICE, deviceName,
if (ioctl(fd, B_GET_PATH_FOR_DEVICE, path) != 0) {
if (ioctl(fd, B_GET_PATH_FOR_DEVICE, path) == 0)
IOCTL_INFO_ENTRY(B_GET_PATH_FOR_DEVICE),
if (ioctl(dev, B_GET_PATH_FOR_DEVICE, path, sizeof(path)) < 0) {
case B_GET_PATH_FOR_DEVICE:
if (ioctl(fd, B_GET_PATH_FOR_DEVICE, buffer, bufferSize) < 0)