• Home
  • Raw
  • Download

Lines Matching refs:user

322 	struct snd_seq_user_client *user;  in snd_seq_open()  local
343 user = &client->data.user; in snd_seq_open()
344 user->fifo = NULL; in snd_seq_open()
345 user->fifo_pool_size = 0; in snd_seq_open()
348 user->fifo_pool_size = SNDRV_SEQ_DEFAULT_CLIENT_EVENTS; in snd_seq_open()
349 user->fifo = snd_seq_fifo_new(user->fifo_pool_size); in snd_seq_open()
350 if (user->fifo == NULL) { in snd_seq_open()
366 user->file = file; in snd_seq_open()
382 if (client->data.user.fifo) in snd_seq_release()
383 snd_seq_fifo_delete(&client->data.user.fifo); in snd_seq_release()
417 if (!client->accept_input || (fifo = client->data.user.fifo) == NULL) in snd_seq_read()
628 if (dest->data.user.fifo) in snd_seq_deliver_single_event()
629 result = snd_seq_fifo_event_in(dest->data.user.fifo, event); in snd_seq_deliver_single_event()
1109 client->data.user.fifo) { in snd_seq_poll()
1112 if (snd_seq_fifo_poll_wait(client->data.user.fifo, file, wait)) in snd_seq_poll()
1896 info.input_pool = cptr->data.user.fifo_pool_size; in snd_seq_ioctl_get_client_pool()
1898 if (cptr->data.user.fifo) in snd_seq_ioctl_get_client_pool()
1899 info.input_free = snd_seq_unused_cells(cptr->data.user.fifo->pool); in snd_seq_ioctl_get_client_pool()
1938 if (client->type == USER_CLIENT && client->data.user.fifo != NULL && in snd_seq_ioctl_set_client_pool()
1941 info.input_pool != client->data.user.fifo_pool_size) { in snd_seq_ioctl_set_client_pool()
1943 rc = snd_seq_fifo_resize(client->data.user.fifo, info.input_pool); in snd_seq_ioctl_set_client_pool()
1946 client->data.user.fifo_pool_size = info.input_pool; in snd_seq_ioctl_set_client_pool()
1974 if (client->type == USER_CLIENT && client->data.user.fifo) in snd_seq_ioctl_remove_events()
1975 snd_seq_fifo_clear(client->data.user.fifo); in snd_seq_ioctl_remove_events()
2558 if (client->type == USER_CLIENT && client->data.user.fifo && in snd_seq_info_clients_read()
2559 client->data.user.fifo->pool) { in snd_seq_info_clients_read()
2561 snd_seq_info_pool(buffer, client->data.user.fifo->pool, " "); in snd_seq_info_clients_read()