sflist             45 arch/sparc/kernel/starfire.c static struct starfire_irqinfo *sflist = NULL;
sflist             73 arch/sparc/kernel/starfire.c 	p->next = sflist;
sflist             74 arch/sparc/kernel/starfire.c 	sflist = p;
sflist             85 arch/sparc/kernel/starfire.c 	for (p = sflist; p != NULL; p = p->next)
sflist             57 include/linux/igmp.h 	struct ip_sf_socklist __rcu	*sflist;
sflist             95 include/net/if_inet6.h 	struct ip6_sf_socklist	*sflist;
sflist             97 include/sound/emux_synth.h 	struct snd_sf_list *sflist;	/* root of SoundFont list */
sflist             89 include/sound/soundfont.h int snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data,
sflist             91 include/sound/soundfont.h int snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data,
sflist             93 include/sound/soundfont.h int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
sflist             97 include/sound/soundfont.h void snd_sf_free(struct snd_sf_list *sflist);
sflist             99 include/sound/soundfont.h int snd_soundfont_remove_samples(struct snd_sf_list *sflist);
sflist            100 include/sound/soundfont.h int snd_soundfont_remove_unlocked(struct snd_sf_list *sflist);
sflist            102 include/sound/soundfont.h int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
sflist           2197 net/ipv4/igmp.c 	iml->sflist = NULL;
sflist           2225 net/ipv4/igmp.c 	struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist);
sflist           2235 net/ipv4/igmp.c 	RCU_INIT_POINTER(iml->sflist, NULL);
sflist           2331 net/ipv4/igmp.c 	if (pmc->sflist) {
sflist           2344 net/ipv4/igmp.c 	psl = rtnl_dereference(pmc->sflist);
sflist           2400 net/ipv4/igmp.c 		rcu_assign_pointer(pmc->sflist, newpsl);
sflist           2492 net/ipv4/igmp.c 	psl = rtnl_dereference(pmc->sflist);
sflist           2502 net/ipv4/igmp.c 	rcu_assign_pointer(pmc->sflist, newpsl);
sflist           2547 net/ipv4/igmp.c 	psl = rtnl_dereference(pmc->sflist);
sflist           2598 net/ipv4/igmp.c 	psl = rtnl_dereference(pmc->sflist);
sflist           2647 net/ipv4/igmp.c 	psl = rcu_dereference(pmc->sflist);
sflist            183 net/ipv6/mcast.c 	mc_lst->sflist = NULL;
sflist            368 net/ipv6/mcast.c 	if (pmc->sflist) {
sflist            383 net/ipv6/mcast.c 	psl = pmc->sflist;
sflist            435 net/ipv6/mcast.c 		pmc->sflist = psl = newpsl;
sflist            530 net/ipv6/mcast.c 	psl = pmc->sflist;
sflist            537 net/ipv6/mcast.c 	pmc->sflist = newpsl;
sflist            588 net/ipv6/mcast.c 	psl = pmc->sflist;
sflist            638 net/ipv6/mcast.c 	psl = mc->sflist;
sflist           2439 net/ipv6/mcast.c 	if (!iml->sflist) {
sflist           2444 net/ipv6/mcast.c 				iml->sflist->sl_count, iml->sflist->sl_addr, 0);
sflist           2445 net/ipv6/mcast.c 		sock_kfree_s(sk, iml->sflist, IP6_SFLSIZE(iml->sflist->sl_max));
sflist           2446 net/ipv6/mcast.c 		iml->sflist = NULL;
sflist            103 sound/synth/emux/emux.c 	emu->sflist = snd_sf_new(&sf_cb, emu->memhdr);
sflist            104 sound/synth/emux/emux.c 	if (emu->sflist == NULL)
sflist            145 sound/synth/emux/emux.c 	snd_sf_free(emu->sflist);
sflist             29 sound/synth/emux/emux_hwdep.c 		return snd_soundfont_load_guspatch(emu->sflist, arg,
sflist             35 sound/synth/emux/emux_hwdep.c 		err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID);
sflist             90 sound/synth/emux/emux_hwdep.c 		snd_soundfont_remove_samples(emu->sflist);
sflist             93 sound/synth/emux/emux_hwdep.c 		snd_soundfont_remove_unlocked(emu->sflist);
sflist            178 sound/synth/emux/emux_oss.c 	snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port));
sflist            208 sound/synth/emux/emux_oss.c 		rc = snd_soundfont_load_guspatch(emu->sflist, buf, count,
sflist            218 sound/synth/emux/emux_oss.c 			rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port));
sflist            252 sound/synth/emux/emux_oss.c 		snd_soundfont_remove_samples(emu->sflist);
sflist            341 sound/synth/emux/emux_oss.c 		snd_soundfont_remove_unlocked(emu->sflist);
sflist             40 sound/synth/emux/emux_proc.c 	if (emu->sflist) {
sflist             41 sound/synth/emux/emux_proc.c 		mutex_lock(&emu->sflist->presets_mutex);
sflist             42 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size);
sflist             43 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter);
sflist             44 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter);
sflist             45 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked);
sflist             46 sound/synth/emux/emux_proc.c 		snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked);
sflist             47 sound/synth/emux/emux_proc.c 		mutex_unlock(&emu->sflist->presets_mutex);
sflist            906 sound/synth/emux/emux_synth.c 	return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank,
sflist             24 sound/synth/emux/soundfont.c static int open_patch(struct snd_sf_list *sflist, const char __user *data,
sflist             26 sound/synth/emux/soundfont.c static struct snd_soundfont *newsf(struct snd_sf_list *sflist, int type, char *name);
sflist             28 sound/synth/emux/soundfont.c static int close_patch(struct snd_sf_list *sflist);
sflist             29 sound/synth/emux/soundfont.c static int probe_data(struct snd_sf_list *sflist, int sample_id);
sflist             30 sound/synth/emux/soundfont.c static void set_zone_counter(struct snd_sf_list *sflist,
sflist             32 sound/synth/emux/soundfont.c static struct snd_sf_zone *sf_zone_new(struct snd_sf_list *sflist,
sflist             34 sound/synth/emux/soundfont.c static void set_sample_counter(struct snd_sf_list *sflist,
sflist             36 sound/synth/emux/soundfont.c static struct snd_sf_sample *sf_sample_new(struct snd_sf_list *sflist,
sflist             38 sound/synth/emux/soundfont.c static void sf_sample_delete(struct snd_sf_list *sflist,
sflist             40 sound/synth/emux/soundfont.c static int load_map(struct snd_sf_list *sflist, const void __user *data, int count);
sflist             41 sound/synth/emux/soundfont.c static int load_info(struct snd_sf_list *sflist, const void __user *data, long count);
sflist             42 sound/synth/emux/soundfont.c static int remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf,
sflist             49 sound/synth/emux/soundfont.c static int load_data(struct snd_sf_list *sflist, const void __user *data, long count);
sflist             50 sound/synth/emux/soundfont.c static void rebuild_presets(struct snd_sf_list *sflist);
sflist             51 sound/synth/emux/soundfont.c static void add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur);
sflist             52 sound/synth/emux/soundfont.c static void delete_preset(struct snd_sf_list *sflist, struct snd_sf_zone *zp);
sflist             53 sound/synth/emux/soundfont.c static struct snd_sf_zone *search_first_zone(struct snd_sf_list *sflist,
sflist             55 sound/synth/emux/soundfont.c static int search_zones(struct snd_sf_list *sflist, int *notep, int vel,
sflist             59 sound/synth/emux/soundfont.c static void snd_sf_init(struct snd_sf_list *sflist);
sflist             60 sound/synth/emux/soundfont.c static void snd_sf_clear(struct snd_sf_list *sflist);
sflist             66 sound/synth/emux/soundfont.c lock_preset(struct snd_sf_list *sflist)
sflist             69 sound/synth/emux/soundfont.c 	mutex_lock(&sflist->presets_mutex);
sflist             70 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist             71 sound/synth/emux/soundfont.c 	sflist->presets_locked = 1;
sflist             72 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist             80 sound/synth/emux/soundfont.c unlock_preset(struct snd_sf_list *sflist)
sflist             83 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist             84 sound/synth/emux/soundfont.c 	sflist->presets_locked = 0;
sflist             85 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist             86 sound/synth/emux/soundfont.c 	mutex_unlock(&sflist->presets_mutex);
sflist             94 sound/synth/emux/soundfont.c snd_soundfont_close_check(struct snd_sf_list *sflist, int client)
sflist             97 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist             98 sound/synth/emux/soundfont.c 	if (sflist->open_client == client)  {
sflist             99 sound/synth/emux/soundfont.c 		spin_unlock_irqrestore(&sflist->lock, flags);
sflist            100 sound/synth/emux/soundfont.c 		return close_patch(sflist);
sflist            102 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist            116 sound/synth/emux/soundfont.c snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data,
sflist            149 sound/synth/emux/soundfont.c 		lock_preset(sflist);
sflist            150 sound/synth/emux/soundfont.c 		rc = open_patch(sflist, data, count, client);
sflist            151 sound/synth/emux/soundfont.c 		unlock_preset(sflist);
sflist            156 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist            157 sound/synth/emux/soundfont.c 	if (sflist->open_client != client) {
sflist            158 sound/synth/emux/soundfont.c 		spin_unlock_irqrestore(&sflist->lock, flags);
sflist            161 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist            163 sound/synth/emux/soundfont.c 	lock_preset(sflist);
sflist            167 sound/synth/emux/soundfont.c 		rc = load_info(sflist, data, count);
sflist            170 sound/synth/emux/soundfont.c 		rc = load_data(sflist, data, count);
sflist            173 sound/synth/emux/soundfont.c 		rc = close_patch(sflist);
sflist            179 sound/synth/emux/soundfont.c 		rc = load_map(sflist, data, count);
sflist            182 sound/synth/emux/soundfont.c 		rc = probe_data(sflist, patch.optarg);
sflist            186 sound/synth/emux/soundfont.c 		if (!sflist->currsf) {
sflist            194 sound/synth/emux/soundfont.c 			if (! remove_info(sflist, sflist->currsf, bank, instr))
sflist            201 sound/synth/emux/soundfont.c 	unlock_preset(sflist);
sflist            219 sound/synth/emux/soundfont.c open_patch(struct snd_sf_list *sflist, const char __user *data,
sflist            226 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist            227 sound/synth/emux/soundfont.c 	if (sflist->open_client >= 0 || sflist->currsf) {
sflist            228 sound/synth/emux/soundfont.c 		spin_unlock_irqrestore(&sflist->lock, flags);
sflist            231 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist            238 sound/synth/emux/soundfont.c 		sf = newsf(sflist, parm.type, NULL);
sflist            240 sound/synth/emux/soundfont.c 		sf = newsf(sflist, parm.type, parm.name);
sflist            245 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist            246 sound/synth/emux/soundfont.c 	sflist->open_client = client;
sflist            247 sound/synth/emux/soundfont.c 	sflist->currsf = sf;
sflist            248 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist            257 sound/synth/emux/soundfont.c newsf(struct snd_sf_list *sflist, int type, char *name)
sflist            263 sound/synth/emux/soundfont.c 		for (sf = sflist->fonts; sf; sf = sf->next) {
sflist            274 sound/synth/emux/soundfont.c 	sf->id = sflist->fonts_size;
sflist            275 sound/synth/emux/soundfont.c 	sflist->fonts_size++;
sflist            278 sound/synth/emux/soundfont.c 	sf->next = sflist->fonts;
sflist            279 sound/synth/emux/soundfont.c 	sflist->fonts = sf;
sflist            304 sound/synth/emux/soundfont.c close_patch(struct snd_sf_list *sflist)
sflist            308 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist            309 sound/synth/emux/soundfont.c 	sflist->currsf = NULL;
sflist            310 sound/synth/emux/soundfont.c 	sflist->open_client = -1;
sflist            311 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist            313 sound/synth/emux/soundfont.c 	rebuild_presets(sflist);
sflist            321 sound/synth/emux/soundfont.c probe_data(struct snd_sf_list *sflist, int sample_id)
sflist            324 sound/synth/emux/soundfont.c 	if (sflist->currsf) {
sflist            326 sound/synth/emux/soundfont.c 		if (find_sample(sflist->currsf, sample_id))
sflist            336 sound/synth/emux/soundfont.c set_zone_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf,
sflist            339 sound/synth/emux/soundfont.c 	zp->counter = sflist->zone_counter++;
sflist            341 sound/synth/emux/soundfont.c 		sflist->zone_locked = sflist->zone_counter;
sflist            348 sound/synth/emux/soundfont.c sf_zone_new(struct snd_sf_list *sflist, struct snd_soundfont *sf)
sflist            359 sound/synth/emux/soundfont.c 	set_zone_counter(sflist, sf, zp);
sflist            368 sound/synth/emux/soundfont.c set_sample_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf,
sflist            371 sound/synth/emux/soundfont.c 	sp->counter = sflist->sample_counter++;
sflist            373 sound/synth/emux/soundfont.c 		sflist->sample_locked = sflist->sample_counter;
sflist            380 sound/synth/emux/soundfont.c sf_sample_new(struct snd_sf_list *sflist, struct snd_soundfont *sf)
sflist            390 sound/synth/emux/soundfont.c 	set_sample_counter(sflist, sf, sp);
sflist            399 sound/synth/emux/soundfont.c sf_sample_delete(struct snd_sf_list *sflist, struct snd_soundfont *sf,
sflist            412 sound/synth/emux/soundfont.c load_map(struct snd_sf_list *sflist, const void __user *data, int count)
sflist            427 sound/synth/emux/soundfont.c 	sf = newsf(sflist, SNDRV_SFNT_PAT_TYPE_MAP|SNDRV_SFNT_PAT_SHARED, NULL);
sflist            448 sound/synth/emux/soundfont.c 			set_zone_counter(sflist, sf, zp);
sflist            454 sound/synth/emux/soundfont.c 	if ((zp = sf_zone_new(sflist, sf)) == NULL)
sflist            469 sound/synth/emux/soundfont.c 	add_preset(sflist, zp);
sflist            477 sound/synth/emux/soundfont.c remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf,
sflist            499 sound/synth/emux/soundfont.c 		rebuild_presets(sflist);
sflist            509 sound/synth/emux/soundfont.c load_info(struct snd_sf_list *sflist, const void __user *data, long count)
sflist            517 sound/synth/emux/soundfont.c 	if ((sf = sflist->currsf) == NULL)
sflist            559 sound/synth/emux/soundfont.c 		remove_info(sflist, sf, hdr.bank, hdr.instr);
sflist            582 sound/synth/emux/soundfont.c 		if ((zone = sf_zone_new(sflist, sf)) == NULL) {
sflist            695 sound/synth/emux/soundfont.c load_data(struct snd_sf_list *sflist, const void __user *data, long count)
sflist            703 sound/synth/emux/soundfont.c 	if ((sf = sflist->currsf) == NULL)
sflist            726 sound/synth/emux/soundfont.c 	if ((sp = sf_sample_new(sflist, sf)) == NULL)
sflist            739 sound/synth/emux/soundfont.c 		rc = sflist->callback.sample_new
sflist            740 sound/synth/emux/soundfont.c 			(sflist->callback.private_data, sp, sflist->memhdr,
sflist            743 sound/synth/emux/soundfont.c 			sf_sample_delete(sflist, sf, sp);
sflist            746 sound/synth/emux/soundfont.c 		sflist->mem_used += sp->v.truesize;
sflist            938 sound/synth/emux/soundfont.c load_guspatch(struct snd_sf_list *sflist, const char __user *data,
sflist            958 sound/synth/emux/soundfont.c 	sf = newsf(sflist, SNDRV_SFNT_PAT_TYPE_GUS|SNDRV_SFNT_PAT_SHARED, NULL);
sflist            961 sound/synth/emux/soundfont.c 	if ((smp = sf_sample_new(sflist, sf)) == NULL)
sflist            963 sound/synth/emux/soundfont.c 	sample_id = sflist->sample_counter;
sflist            999 sound/synth/emux/soundfont.c 	if ((zone = sf_zone_new(sflist, sf)) == NULL) {
sflist           1000 sound/synth/emux/soundfont.c 		sf_sample_delete(sflist, sf, smp);
sflist           1007 sound/synth/emux/soundfont.c 	if (sflist->callback.sample_new) {
sflist           1008 sound/synth/emux/soundfont.c 		rc = sflist->callback.sample_new
sflist           1009 sound/synth/emux/soundfont.c 			(sflist->callback.private_data, smp, sflist->memhdr,
sflist           1012 sound/synth/emux/soundfont.c 			sf_sample_delete(sflist, sf, smp);
sflist           1020 sound/synth/emux/soundfont.c 	sflist->mem_used += smp->v.truesize;
sflist           1109 sound/synth/emux/soundfont.c 	add_preset(sflist, zone);
sflist           1116 sound/synth/emux/soundfont.c snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data,
sflist           1120 sound/synth/emux/soundfont.c 	lock_preset(sflist);
sflist           1121 sound/synth/emux/soundfont.c 	rc = load_guspatch(sflist, data, count, client);
sflist           1122 sound/synth/emux/soundfont.c 	unlock_preset(sflist);
sflist           1135 sound/synth/emux/soundfont.c rebuild_presets(struct snd_sf_list *sflist)
sflist           1141 sound/synth/emux/soundfont.c 	memset(sflist->presets, 0, sizeof(sflist->presets));
sflist           1144 sound/synth/emux/soundfont.c 	for (sf = sflist->fonts; sf; sf = sf->next) {
sflist           1153 sound/synth/emux/soundfont.c 			add_preset(sflist, cur);
sflist           1163 sound/synth/emux/soundfont.c add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur)
sflist           1168 sound/synth/emux/soundfont.c 	zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low);
sflist           1179 sound/synth/emux/soundfont.c 		delete_preset(sflist, zone);
sflist           1187 sound/synth/emux/soundfont.c 	cur->next_instr = sflist->presets[index]; /* preset table link */
sflist           1188 sound/synth/emux/soundfont.c 	sflist->presets[index] = cur;
sflist           1195 sound/synth/emux/soundfont.c delete_preset(struct snd_sf_list *sflist, struct snd_sf_zone *zp)
sflist           1202 sound/synth/emux/soundfont.c 	for (p = sflist->presets[index]; p; p = p->next_instr) {
sflist           1221 sound/synth/emux/soundfont.c snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
sflist           1233 sound/synth/emux/soundfont.c 	spin_lock_irqsave(&sflist->lock, flags);
sflist           1234 sound/synth/emux/soundfont.c 	if (sflist->presets_locked) {
sflist           1235 sound/synth/emux/soundfont.c 		spin_unlock_irqrestore(&sflist->lock, flags);
sflist           1238 sound/synth/emux/soundfont.c 	nvoices = search_zones(sflist, notep, vel, preset, bank,
sflist           1242 sound/synth/emux/soundfont.c 			nvoices = search_zones(sflist, notep, vel,
sflist           1246 sound/synth/emux/soundfont.c 	spin_unlock_irqrestore(&sflist->lock, flags);
sflist           1255 sound/synth/emux/soundfont.c search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key)
sflist           1262 sound/synth/emux/soundfont.c 	for (zp = sflist->presets[index]; zp; zp = zp->next_instr) {
sflist           1274 sound/synth/emux/soundfont.c search_zones(struct snd_sf_list *sflist, int *notep, int vel,
sflist           1281 sound/synth/emux/soundfont.c 	zp = search_first_zone(sflist, bank, preset, *notep);
sflist           1296 sound/synth/emux/soundfont.c 				nvoices = search_zones(sflist, &key, vel,
sflist           1336 sound/synth/emux/soundfont.c snd_sf_init(struct snd_sf_list *sflist)
sflist           1338 sound/synth/emux/soundfont.c 	memset(sflist->presets, 0, sizeof(sflist->presets));
sflist           1340 sound/synth/emux/soundfont.c 	sflist->mem_used = 0;
sflist           1341 sound/synth/emux/soundfont.c 	sflist->currsf = NULL;
sflist           1342 sound/synth/emux/soundfont.c 	sflist->open_client = -1;
sflist           1343 sound/synth/emux/soundfont.c 	sflist->fonts = NULL;
sflist           1344 sound/synth/emux/soundfont.c 	sflist->fonts_size = 0;
sflist           1345 sound/synth/emux/soundfont.c 	sflist->zone_counter = 0;
sflist           1346 sound/synth/emux/soundfont.c 	sflist->sample_counter = 0;
sflist           1347 sound/synth/emux/soundfont.c 	sflist->zone_locked = 0;
sflist           1348 sound/synth/emux/soundfont.c 	sflist->sample_locked = 0;
sflist           1355 sound/synth/emux/soundfont.c snd_sf_clear(struct snd_sf_list *sflist)
sflist           1361 sound/synth/emux/soundfont.c 	for (sf = sflist->fonts; sf; sf = nextsf) {
sflist           1369 sound/synth/emux/soundfont.c 			if (sflist->callback.sample_free)
sflist           1370 sound/synth/emux/soundfont.c 				sflist->callback.sample_free(sflist->callback.private_data,
sflist           1371 sound/synth/emux/soundfont.c 							     sp, sflist->memhdr);
sflist           1377 sound/synth/emux/soundfont.c 	snd_sf_init(sflist);
sflist           1387 sound/synth/emux/soundfont.c 	struct snd_sf_list *sflist;
sflist           1389 sound/synth/emux/soundfont.c 	if ((sflist = kzalloc(sizeof(*sflist), GFP_KERNEL)) == NULL)
sflist           1392 sound/synth/emux/soundfont.c 	mutex_init(&sflist->presets_mutex);
sflist           1393 sound/synth/emux/soundfont.c 	spin_lock_init(&sflist->lock);
sflist           1394 sound/synth/emux/soundfont.c 	sflist->memhdr = hdr;
sflist           1397 sound/synth/emux/soundfont.c 		sflist->callback = *callback;
sflist           1399 sound/synth/emux/soundfont.c 	snd_sf_init(sflist);
sflist           1400 sound/synth/emux/soundfont.c 	return sflist;
sflist           1408 sound/synth/emux/soundfont.c snd_sf_free(struct snd_sf_list *sflist)
sflist           1410 sound/synth/emux/soundfont.c 	if (sflist == NULL)
sflist           1413 sound/synth/emux/soundfont.c 	lock_preset(sflist);
sflist           1414 sound/synth/emux/soundfont.c 	if (sflist->callback.sample_reset)
sflist           1415 sound/synth/emux/soundfont.c 		sflist->callback.sample_reset(sflist->callback.private_data);
sflist           1416 sound/synth/emux/soundfont.c 	snd_sf_clear(sflist);
sflist           1417 sound/synth/emux/soundfont.c 	unlock_preset(sflist);
sflist           1419 sound/synth/emux/soundfont.c 	kfree(sflist);
sflist           1427 sound/synth/emux/soundfont.c snd_soundfont_remove_samples(struct snd_sf_list *sflist)
sflist           1429 sound/synth/emux/soundfont.c 	lock_preset(sflist);
sflist           1430 sound/synth/emux/soundfont.c 	if (sflist->callback.sample_reset)
sflist           1431 sound/synth/emux/soundfont.c 		sflist->callback.sample_reset(sflist->callback.private_data);
sflist           1432 sound/synth/emux/soundfont.c 	snd_sf_clear(sflist);
sflist           1433 sound/synth/emux/soundfont.c 	unlock_preset(sflist);
sflist           1443 sound/synth/emux/soundfont.c snd_soundfont_remove_unlocked(struct snd_sf_list *sflist)
sflist           1449 sound/synth/emux/soundfont.c 	lock_preset(sflist);
sflist           1451 sound/synth/emux/soundfont.c 	if (sflist->callback.sample_reset)
sflist           1452 sound/synth/emux/soundfont.c 		sflist->callback.sample_reset(sflist->callback.private_data);
sflist           1455 sound/synth/emux/soundfont.c 	memset(sflist->presets, 0, sizeof(sflist->presets));
sflist           1457 sound/synth/emux/soundfont.c 	for (sf = sflist->fonts; sf; sf = sf->next) {
sflist           1459 sound/synth/emux/soundfont.c 			if (zp->counter < sflist->zone_locked)
sflist           1467 sound/synth/emux/soundfont.c 			if (sp->counter < sflist->sample_locked)
sflist           1471 sound/synth/emux/soundfont.c 			sflist->mem_used -= sp->v.truesize;
sflist           1472 sound/synth/emux/soundfont.c 			if (sflist->callback.sample_free)
sflist           1473 sound/synth/emux/soundfont.c 				sflist->callback.sample_free(sflist->callback.private_data,
sflist           1474 sound/synth/emux/soundfont.c 							     sp, sflist->memhdr);
sflist           1479 sound/synth/emux/soundfont.c 	sflist->zone_counter = sflist->zone_locked;
sflist           1480 sound/synth/emux/soundfont.c 	sflist->sample_counter = sflist->sample_locked;
sflist           1482 sound/synth/emux/soundfont.c 	rebuild_presets(sflist);
sflist           1484 sound/synth/emux/soundfont.c 	unlock_preset(sflist);