Lines Matching refs:list
38 struct list_head list; /* list of all ioctls */ member
87 list_add_tail(&ctl->list, &card->ctl_files); in snd_ctl_open()
110 list_del(&cread->list); in snd_ctl_empty_read_queue()
128 list_del(&ctl->list); in snd_ctl_release()
131 list_for_each_entry(control, &card->controls, list) in snd_ctl_release()
159 list_for_each_entry(ctl, &card->ctl_files, list) { in snd_ctl_notify()
163 list_for_each_entry(ev, &ctl->events, list) { in snd_ctl_notify()
173 list_add_tail(&ev->list, &ctl->events); in snd_ctl_notify()
297 list_for_each_entry(kctl, &card->controls, list) { in snd_ctl_remove_numid_conflict()
367 list_add_tail(&kcontrol->list, &card->controls); in snd_ctl_add()
434 list_add_tail(&kcontrol->list, &card->controls); in snd_ctl_replace()
468 list_del(&kcontrol->list); in snd_ctl_remove()
644 list_for_each_entry(kctl, &card->controls, list) { in snd_ctl_find_numid()
675 list_for_each_entry(kctl, &card->controls, list) { in snd_ctl_find_id()
724 struct snd_ctl_elem_list list; in snd_ctl_elem_list() local
729 if (copy_from_user(&list, _list, sizeof(list))) in snd_ctl_elem_list()
731 offset = list.offset; in snd_ctl_elem_list()
732 space = list.space; in snd_ctl_elem_list()
742 list.count = card->controls_count; in snd_ctl_elem_list()
753 list.used = 0; in snd_ctl_elem_list()
761 list.used++; in snd_ctl_elem_list()
767 if (list.used > 0 && in snd_ctl_elem_list()
768 copy_to_user(list.pids, dst, in snd_ctl_elem_list()
769 list.used * sizeof(struct snd_ctl_elem_id))) { in snd_ctl_elem_list()
776 list.count = card->controls_count; in snd_ctl_elem_list()
779 if (copy_to_user(_list, &list, sizeof(list))) in snd_ctl_elem_list()
1430 list_for_each_entry(p, &snd_control_ioctls, list) { in snd_ctl_ioctl()
1482 list_del(&kev->list); in snd_ctl_read()
1530 list_add_tail(&pn->list, lists); in _snd_ctl_register_ioctl()
1562 list_for_each_entry(p, lists, list) { in _snd_ctl_unregister_ioctl()
1564 list_del(&p->list); in _snd_ctl_unregister_ioctl()
1662 list_for_each_entry(ctl, &card->ctl_files, list) { in snd_ctl_dev_disconnect()