Searched refs:limit_write_sem (Results 1 – 1 of 1) sorted by relevance
139 struct semaphore limit_write_sem; member180 sema_init(&file_data->limit_write_sem, MAX_URBS_IN_FLIGHT); in usbtmc_open()1099 up(&file_data->limit_write_sem); in usbtmc_write_bulk_cb()1127 file_data->limit_write_sem.count); in usbtmc_generic_write()1154 if (down_trylock(&file_data->limit_write_sem)) { in usbtmc_generic_write()1159 retval = down_timeout(&file_data->limit_write_sem, in usbtmc_generic_write()1171 up(&file_data->limit_write_sem); in usbtmc_generic_write()1179 up(&file_data->limit_write_sem); in usbtmc_generic_write()1191 up(&file_data->limit_write_sem); in usbtmc_generic_write()1216 up(&file_data->limit_write_sem); in usbtmc_generic_write()[all …]