Home
last modified time | relevance | path

Searched refs:sflist (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/sound/synth/emux/
A Dsoundfont.c194 if (! remove_info(sflist, sflist->currsf, bank, instr)) in snd_soundfont_load()
227 if (sflist->open_client >= 0 || sflist->currsf) { in open_patch()
341 sflist->zone_locked = sflist->zone_counter; in set_zone_counter()
374 sflist->sample_locked = sflist->sample_counter; in set_sample_counter()
746 (sflist->callback.private_data, sp, sflist->memhdr, in load_data()
1149 memset(sflist->presets, 0, sizeof(sflist->presets)); in rebuild_presets()
1349 memset(sflist->presets, 0, sizeof(sflist->presets)); in snd_sf_init()
1400 sflist = kzalloc(sizeof(*sflist), GFP_KERNEL); in snd_sf_new()
1467 memset(sflist->presets, 0, sizeof(sflist->presets)); in snd_soundfont_remove_unlocked()
1491 sflist->zone_counter = sflist->zone_locked; in snd_soundfont_remove_unlocked()
[all …]
A Demux_proc.c40 if (emu->sflist) { in snd_emux_proc_info_read()
41 mutex_lock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
42 snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size); in snd_emux_proc_info_read()
43 snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter); in snd_emux_proc_info_read()
44 snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter); in snd_emux_proc_info_read()
45 snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked); in snd_emux_proc_info_read()
46 snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked); in snd_emux_proc_info_read()
47 mutex_unlock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
A Demux_hwdep.c29 return snd_soundfont_load_guspatch(emu->sflist, arg, in snd_emux_hwdep_load_patch()
35 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
90 snd_soundfont_remove_samples(emu->sflist); in snd_emux_hwdep_ioctl()
93 snd_soundfont_remove_unlocked(emu->sflist); in snd_emux_hwdep_ioctl()
A Demux.c103 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
104 if (emu->sflist == NULL) in snd_emux_register()
141 snd_sf_free(emu->sflist); in snd_emux_free()
A Demux_oss.c178 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss()
208 rc = snd_soundfont_load_guspatch(emu->sflist, buf, count, in snd_emux_load_patch_seq_oss()
218 rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
252 snd_soundfont_remove_samples(emu->sflist); in snd_emux_ioctl_seq_oss()
341 snd_soundfont_remove_unlocked(emu->sflist); in emuspec_control()
A Demux_synth.c906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/linux-6.3-rc2/include/sound/
A Dsoundfont.h89 int snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data,
91 int snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data,
93 int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
97 void snd_sf_free(struct snd_sf_list *sflist);
99 int snd_soundfont_remove_samples(struct snd_sf_list *sflist);
100 int snd_soundfont_remove_unlocked(struct snd_sf_list *sflist);
102 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
A Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/linux-6.3-rc2/arch/sparc/kernel/
A Dstarfire.c45 static struct starfire_irqinfo *sflist = NULL; variable
73 p->next = sflist; in starfire_hookup()
74 sflist = p; in starfire_hookup()
85 for (p = sflist; p != NULL; p = p->next) in starfire_translate()
/linux-6.3-rc2/include/linux/
A Digmp.h55 struct ip_sf_socklist __rcu *sflist; member
/linux-6.3-rc2/net/ipv4/
A Digmp.c2210 iml->sflist = NULL; in __ip_mc_join_group()
2238 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2248 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2344 if (pmc->sflist) { in ip_mc_source()
2357 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2414 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2511 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2522 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2568 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2619 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all …]
/linux-6.3-rc2/include/net/
A Dif_inet6.h102 struct ip6_sf_socklist __rcu *sflist; member
/linux-6.3-rc2/net/ipv6/
A Dmcast.c214 RCU_INIT_POINTER(mc_lst->sflist, NULL); in __ipv6_sock_mc_join()
398 if (rcu_access_pointer(pmc->sflist)) { in ip6_mc_source()
410 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_source()
464 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_source()
562 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfilter()
571 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_msfilter()
610 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfget()
647 psl = rcu_dereference(mc->sflist); in inet6_mc_check()
2595 psl = sock_dereference(iml->sflist, sk); in ip6_mc_leave_src()
2606 RCU_INIT_POINTER(iml->sflist, NULL); in ip6_mc_leave_src()

Completed in 32 milliseconds