Searched refs:buff_mgr (Results 1 – 1 of 1) sorted by relevance
94 if (buff_num >= buff_mgr->temp_buff_nr) in set_usbh_temp_buff_busy()119 if (buff_num >= buff_mgr->temp_buff_nr) in set_usbh_temp_buff_free()349 buff_mgr->buff_array[i].used_time = buff_mgr->buff_array[i].used_time >> 1; in select_invalid_usbh_temp_buff()385 if ((dev_id == buff_mgr->buff_array[i].dev_id) && buff_mgr->buff_array[i].is_valid) in select_best_buffer()388 if (buff_mgr->buff_array[i].start_lba <= lba && buff_mgr->buff_array[i].end_lba >= lba) in select_best_buffer()520 if ((dev_id == buff_mgr->buff_array[i].dev_id) && buff_mgr->buff_array[i].is_valid) in write_usbh_temp_buff()528 … buff_start = (lba - buff_mgr->buff_array[i].start_lba) * (buff_mgr->buff_array[i].sector_size); in write_usbh_temp_buff()1031 memset((void *)buff_mgr->buff_array[i].buff, 0, buff_mgr->temp_buff_len); in init_usbh_buff_manager()1032 buff_mgr->buff_array[i].buff_len = buff_mgr->temp_buff_len; in init_usbh_buff_manager()1033 buff_mgr->buff_array[i].num = i; in init_usbh_buff_manager()[all …]
Completed in 14 milliseconds