Home
last modified time | relevance | path

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

/linux-6.1.9/sound/synth/emux/
Dsoundfont.c24 static int open_patch(struct snd_sf_list *sflist, const char __user *data,
26 static struct snd_soundfont *newsf(struct snd_sf_list *sflist, int type, char *name);
28 static int close_patch(struct snd_sf_list *sflist);
29 static int probe_data(struct snd_sf_list *sflist, int sample_id);
30 static void set_zone_counter(struct snd_sf_list *sflist,
32 static struct snd_sf_zone *sf_zone_new(struct snd_sf_list *sflist,
34 static void set_sample_counter(struct snd_sf_list *sflist,
36 static struct snd_sf_sample *sf_sample_new(struct snd_sf_list *sflist,
38 static void sf_sample_delete(struct snd_sf_list *sflist,
40 static int load_map(struct snd_sf_list *sflist, const void __user *data, int count);
[all …]
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()
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()
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()
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()
Demux_synth.c906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/linux-6.1.9/include/sound/
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,
Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/linux-6.1.9/arch/sparc/kernel/
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.1.9/include/linux/
Digmp.h54 struct ip_sf_socklist __rcu *sflist; member
/linux-6.1.9/net/ipv4/
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.1.9/include/net/
Dif_inet6.h102 struct ip6_sf_socklist __rcu *sflist; member
/linux-6.1.9/net/ipv6/
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()