Lines Matching refs:writeable
86 int writeable; member
325 int fd, attempts, writeable = 1; in usb_device_open() local
336 writeable = 1; in usb_device_open()
341 writeable = (access(dev_name, R_OK | W_OK) == 0); in usb_device_open()
350 if (writeable) { in usb_device_open()
355 D("usb_device_open open returned %d writeable %d errno %d\n", fd, writeable, errno); in usb_device_open()
360 result->writeable = writeable; in usb_device_open()
388 device->writeable = 1; in usb_device_new()
401 if (device->writeable) in usb_device_reopen_writeable()
408 device->writeable = 1; in usb_device_reopen_writeable()
584 return device->writeable; in usb_device_is_writeable()