Searched refs:device_handle (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/ext2ed/ |
D | disk.c | 48 if (device_handle==NULL) { /* Check that a device is indeed open */ in low_read() 60 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { /* Seek to the required offset */ in low_read() 66 if ( (fread (buffer,1,length,device_handle))==-1) { /* And do the actual reading */ in low_read() 99 if (device_handle==NULL) { in low_write() 116 if ( (fseek (device_handle,offset,SEEK_SET))==-1) { in low_write() 122 if ( (fwrite (buffer,1,length,device_handle))==-1) { in low_write() 198 if (device_handle==NULL) { in load_type_data() 221 if (device_handle==NULL) { in write_type_data()
|
D | general_com.c | 171 if (device_handle!=NULL) in set_device() 172 fclose (device_handle); in set_device() 174 if ( (device_handle=fopen (new_device,"rb"))==NULL) { in set_device() 188 fclose (device_handle); in set_device() 189 device_handle=NULL; /* Notice that our device is still not set up */ in set_device() 208 if (device_handle==NULL) { in set_offset() 262 if ( (fseek (device_handle,new_offset,SEEK_SET))==-1) { in set_offset() 366 if (device_handle==NULL) { in set() 621 if (device_handle==NULL) in show() 777 if (device_handle==NULL) { in remember() [all …]
|
D | init.c | 40 if (device_handle!=NULL) in prepare_to_close() 41 fclose (device_handle); in prepare_to_close() 60 device_handle=NULL; /* Notice that our device is still not set up */ in init()
|
D | main.c | 71 FILE *device_handle=NULL; /* This is passed to the fopen / fread ... commands */ variable
|
D | ext2ed.h | 204 extern FILE *device_handle;
|
/external/libmtp/src/ |
D | libusb-glue.c | 1581 usb_dev_handle *device_handle; in init_ptp_usb() local 1598 device_handle = usb_open(dev); in init_ptp_usb() 1599 if (!device_handle) { in init_ptp_usb() 1604 ptp_usb->handle = device_handle; in init_ptp_usb() 1612 if (usb_detach_kernel_driver_np(device_handle, (int) ptp_usb->interface)) { in init_ptp_usb() 1620 if (usb_set_configuration(device_handle, dev->config->bConfigurationValue)) { in init_ptp_usb() 1625 if (usb_claim_interface(device_handle, (int) ptp_usb->interface)) { in init_ptp_usb()
|