Lines Matching refs:device_handle
171 if (device_handle!=NULL)
172 fclose (device_handle);
174 if ( (device_handle=fopen (new_device,"rb"))==NULL) {
188 fclose (device_handle);
189 device_handle=NULL; /* Notice that our device is still not set up */
208 if (device_handle==NULL) {
262 if ( (fseek (device_handle,new_offset,SEEK_SET))==-1) {
366 if (device_handle==NULL) {
621 if (device_handle==NULL)
777 if (device_handle==NULL) {
815 if (device_handle==NULL) {
858 if (device_handle==NULL) {
877 fclose (device_handle);
878 device_handle=fp;write_access=1;
887 if (device_handle==NULL) {
897 fclose (device_handle);
898 device_handle=fp;write_access=0;