Lines Matching defs:list

844 		list_add(&tseq->list, tlist);
900 * Parse device list
947 list_add(&sdev->list, &dev_list->list);
956 * list.
962 * find a referenced device, we move it from the machine device list to the
963 * component device list. Component devices will not be exposed to applications
964 * by the original API to list devices for backward compatibility. So sound
975 verb = list_entry(pos, struct use_case_verb, list);
977 /* search in the component device list */
979 dev = list_entry(posdev, struct use_case_device, list);
984 /* search the machine device list */
986 dev = list_entry(posdev, struct use_case_device, list);
989 * machine device list to the component device
990 * list.
992 list_del(&dev->list);
993 list_add_tail(&dev->list,
1086 list_add_tail(&curr->list, base);
1227 list_del(&curr->list);
1249 list_add_tail(&curr->list, base);
1390 INIT_LIST_HEAD(&modifier->dev_list.list);
1392 list_add_tail(&modifier->list, &verb->modifier_list);
1420 " device list");
1430 " device list");
1535 INIT_LIST_HEAD(&device->dev_list.list);
1537 list_add_tail(&device->list, &verb->device_list);
1565 " device list");
1575 " device list");
1636 struct list_head *list)
1672 list_for_each(pos, list) {
1673 dev = list_entry(pos, struct ucm_dev_name, list);
1695 list_add_tail(&dev->list, list);
1772 device = list_entry(pos, struct use_case_device, list);
1776 if (list_empty(&device->dev_list.list)) {
1779 uc_error("error: incompatible device list type ('%s', '%s')",
1798 device = list_entry(pos, struct use_case_device, list);
1799 list_for_each(pos2, &device->dev_list.list) {
1800 dlist = list_entry(pos2, struct dev_list_node, list);
1818 dev = list_entry(pos, struct ucm_dev_name, list);
1828 dev = list_entry(pos, struct ucm_dev_name, list);
1978 list_add_tail(&verb->list, &uc_mgr->verb_list);
2294 uc_error("FixedBoot list is not empty");
2314 uc_error("Boot list is not empty");
2334 uc_error("Default list is not empty");
2535 /* clear the list, keep the only one CTL device */
2892 const char **list, *d_name;
2947 list = calloc(1, (cards + cnt) * 2 * sizeof(char *));
2948 if (list == NULL) {
2975 list[j] = strdup(fn + 1);
2976 if (list[j] == NULL) {
2981 list[j + 1] = s;
3020 err = parse_string(c, (char **)&list[j+1]);
3027 list[j] = strdup(d_name);
3028 if (list[j] == NULL) {
3032 if (strcmp(dfl, list[j]) == 0) {
3034 const char *save1 = list[j];
3035 const char *save2 = list[j + 1];
3036 memmove(list + 2, list, j * sizeof(char *));
3037 list[0] = save1;
3038 list[1] = save2;
3050 free((void *)list[i * 2]);
3051 free((void *)list[i * 2 + 1]);
3053 free(list);
3057 *_list = list;