Lines Matching refs:list
72 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, struct file_operati… in __sound_insert_unit() argument
78 while (*list && (*list)->unit_minor<n) in __sound_insert_unit()
79 list=&((*list)->next); in __sound_insert_unit()
84 if(*list==NULL || (*list)->unit_minor>n) in __sound_insert_unit()
86 list=&((*list)->next); in __sound_insert_unit()
94 while (*list) { in __sound_insert_unit()
95 if ((*list)->unit_minor==n) in __sound_insert_unit()
97 if ((*list)->unit_minor>n) in __sound_insert_unit()
99 list=&((*list)->next); in __sound_insert_unit()
114 s->next=*list; in __sound_insert_unit()
115 *list=s; in __sound_insert_unit()
126 static void __sound_remove_unit(struct sound_unit **list, int unit) in __sound_remove_unit() argument
128 while(*list) in __sound_remove_unit()
130 struct sound_unit *p=*list; in __sound_remove_unit()
133 *list=p->next; in __sound_remove_unit()
139 list=&(p->next); in __sound_remove_unit()
157 static int sound_insert_unit(struct sound_unit **list, struct file_operations *fops, int index, int… in sound_insert_unit() argument
167 r=__sound_insert_unit(s,list,fops,index,low,top); in sound_insert_unit()
192 static void sound_remove_unit(struct sound_unit **list, int unit) in sound_remove_unit() argument
195 __sound_remove_unit(list, unit); in sound_remove_unit()