Lines Matching defs:list
310 /* Get the info structure for a device. If not available in global list */
330 if (strcmp (info->devname, devname) == 0) /* Already in list ? */
479 hp_device_list_add (HpDeviceList * list, HpDevice dev)
485 while (*list)
486 list = &(*list)->next;
488 *list = new;
495 hp_device_list_remove (HpDeviceList * list, HpDevice dev)
499 while (*list && (*list)->dev != dev)
500 list = &(*list)->next;
502 if (!*list)
505 old = *list;
506 *list = (*list)->next;
512 hp_handle_list_add (HpDeviceList * list, HpHandle h)
514 return hp_device_list_add(list, (HpDevice)h);
518 hp_handle_list_remove (HpDeviceList * list, HpHandle h)
520 return hp_device_list_remove(list, (HpDevice)h);