Searched refs:n_pending (Results 1 – 3 of 3) sorted by relevance
608 atomic_t n_pending; member624 atomic_dec(&state->n_pending); in adb_write_done()627 if (atomic_read(&state->n_pending) == 0) { in adb_write_done()682 atomic_set(&state->n_pending, 0); in adb_open()701 if (atomic_read(&state->n_pending) == 0 in adb_release()737 else if (atomic_read(&state->n_pending) == 0) in adb_read()798 atomic_inc(&state->n_pending); in adb_write()817 atomic_dec(&state->n_pending); in adb_write()831 atomic_dec(&state->n_pending); in adb_write()
1308 int n_pending; in snd_hdsp_midi_output_write() local1319 if (n_pending > 0) { in snd_hdsp_midi_output_write()1320 if (n_pending > (int)sizeof (buf)) in snd_hdsp_midi_output_write()1321 n_pending = sizeof (buf); in snd_hdsp_midi_output_write()1339 int n_pending; in snd_hdsp_midi_input_read() local1344 if (n_pending > 0) { in snd_hdsp_midi_input_read()1346 if (n_pending > (int)sizeof (buf)) in snd_hdsp_midi_input_read()1347 n_pending = sizeof (buf); in snd_hdsp_midi_input_read()1348 for (i = 0; i < n_pending; ++i) in snd_hdsp_midi_input_read()1350 if (n_pending) in snd_hdsp_midi_input_read()[all …]
1848 int n_pending; in snd_hdspm_midi_output_write() local1860 if (n_pending > 0) { in snd_hdspm_midi_output_write()1862 n_pending = sizeof (buf); in snd_hdspm_midi_output_write()1865 n_pending); in snd_hdspm_midi_output_write()1884 int n_pending; in snd_hdspm_midi_input_read() local1889 if (n_pending > 0) { in snd_hdspm_midi_input_read()1892 n_pending = sizeof (buf); in snd_hdspm_midi_input_read()1893 for (i = 0; i < n_pending; ++i) in snd_hdspm_midi_input_read()1896 if (n_pending) in snd_hdspm_midi_input_read()1898 n_pending); in snd_hdspm_midi_input_read()[all …]
Completed in 33 milliseconds