Home
last modified time | relevance | path

Searched refs:file_ptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/scripts/
Drecordmcount.c52 static void *file_ptr; /* current file pointer location */ variable
99 file_ptr = file_map + offset; in ulseek()
102 file_ptr += offset; in ulseek()
105 file_ptr = file_map + (sb.st_size - offset); in ulseek()
108 if (file_ptr < file_map) { in ulseek()
112 return file_ptr - file_map; in ulseek()
134 if (file_ptr + count >= file_end) { in uwrite()
135 off_t aoffset = (file_ptr + count) - file_end; in uwrite()
145 if (file_ptr < file_end) { in uwrite()
146 cnt = file_end - file_ptr; in uwrite()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/
Dhalmac_api_88xx.c378 u8 *file_ptr; in halmac_download_firmware_88xx() local
561 file_ptr = hamacl_fw + HALMAC_FWHDR_SIZE_88XX; in halmac_download_firmware_88xx()
565 if (halmac_dlfw_to_mem_88xx(halmac_adapter, file_ptr, temp, in halmac_download_firmware_88xx()
570 file_ptr = hamacl_fw + HALMAC_FWHDR_SIZE_88XX + dmem_pkt_size; in halmac_download_firmware_88xx()
574 if (halmac_dlfw_to_mem_88xx(halmac_adapter, file_ptr, temp, in halmac_download_firmware_88xx()
580 file_ptr = hamacl_fw + HALMAC_FWHDR_SIZE_88XX + dmem_pkt_size + in halmac_download_firmware_88xx()
585 if (halmac_dlfw_to_mem_88xx(halmac_adapter, file_ptr, dest, in halmac_download_firmware_88xx()
633 u8 *file_ptr; in halmac_free_download_firmware_88xx() local
694 file_ptr = hamacl_fw + HALMAC_FWHDR_SIZE_88XX + dmem_pkt_size + in halmac_free_download_firmware_88xx()
699 status = halmac_dlfw_to_mem_88xx(halmac_adapter, file_ptr, dest, in halmac_free_download_firmware_88xx()