Lines Matching refs:uf
210 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_release() local
214 if (uf->flist) { in rtas_flash_release()
222 if (uf->status != FLASH_AUTH) in rtas_flash_release()
223 uf->status = flash_list_valid(uf->flist); in rtas_flash_release()
225 if (uf->status == FLASH_IMG_READY) in rtas_flash_release()
226 rtas_firmware_flash_list = uf->flist; in rtas_flash_release()
228 free_flash_list(uf->flist); in rtas_flash_release()
230 uf->flist = NULL; in rtas_flash_release()
275 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_msg() local
281 status = uf->status; in rtas_flash_read_msg()
292 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_num() local
297 status = uf->status; in rtas_flash_read_num()
313 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_write() local
320 if (uf->status == FLASH_AUTH || count == 0) in rtas_flash_write()
327 if (uf->flist == NULL) { in rtas_flash_write()
328 uf->flist = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write()
329 if (!uf->flist) in rtas_flash_write()
333 fl = uf->flist; in rtas_flash_write()