Home
last modified time | relevance | path

Searched refs:plugin (Results 1 – 25 of 105) sorted by relevance

12345

/linux-6.3-rc2/sound/core/oss/
A Dpcm_plugin.c117 frames = plugin->dst_frames(plugin, frames); in snd_pcm_plug_alloc()
120 plugin = plugin->next; in snd_pcm_plug_alloc()
129 frames = plugin->src_frames(plugin, frames); in snd_pcm_plug_alloc()
132 plugin = plugin->prev; in snd_pcm_plug_alloc()
164 plugin = kzalloc(sizeof(*plugin) + extra, GFP_KERNEL); in snd_pcm_plugin_build()
193 if (! plugin) in snd_pcm_plugin_free()
196 plugin->private_free(plugin); in snd_pcm_plugin_free()
216 frames = plugin->dst_frames(plugin, frames); in calc_dst_frames()
235 frames = plugin->src_frames(plugin, frames); in calc_src_frames()
612 frames1 = plugin->dst_frames(plugin, frames); in snd_pcm_plug_write_transfer()
[all …]
A Dio.c42 if (snd_BUG_ON(!plugin)) in io_playback_transfer()
50 void **bufs = (void**)plugin->extra_data; in io_playback_transfer()
68 if (snd_BUG_ON(!plugin)) in io_capture_transfer()
76 void **bufs = (void**)plugin->extra_data; in io_capture_transfer()
114 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_io() local
127 &plugin); in snd_pcm_plugin_build_io()
130 plugin->access = params_access(params); in snd_pcm_plugin_build_io()
132 plugin->transfer = io_playback_transfer; in snd_pcm_plugin_build_io()
134 plugin->client_channels = io_src_channels; in snd_pcm_plugin_build_io()
136 plugin->transfer = io_capture_transfer; in snd_pcm_plugin_build_io()
[all …]
A Drate.c188 if (snd_BUG_ON(!plugin)) in rate_src_frames()
193 if (plugin->src_format.rate < plugin->dst_format.rate) { in rate_src_frames()
221 if (snd_BUG_ON(!plugin)) in rate_dst_frames()
226 if (plugin->src_format.rate < plugin->dst_format.rate) { in rate_dst_frames()
287 if (snd_BUG_ON(!plugin)) in rate_action()
292 rate_init(plugin); in rate_action()
307 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_rate() local
328 &plugin); in snd_pcm_plugin_build_rate()
340 rate_init(plugin); in snd_pcm_plugin_build_rate()
345 plugin->action = rate_action; in snd_pcm_plugin_build_rate()
[all …]
A Dcopy.c27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, in copy_transfer() argument
35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer()
39 nchannels = plugin->src_format.channels; in copy_transfer()
49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer()
54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer()
67 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_copy() local
86 0, &plugin); in snd_pcm_plugin_build_copy()
89 plugin->transfer = copy_transfer; in snd_pcm_plugin_build_copy()
90 *r_plugin = plugin; in snd_pcm_plugin_build_copy()
A Dmulaw.c141 typedef void (*mulaw_f)(struct snd_pcm_plugin *plugin,
168 static void mulaw_decode(struct snd_pcm_plugin *plugin, in mulaw_decode() argument
175 int nchannels = plugin->src_format.channels; in mulaw_decode()
214 static void mulaw_encode(struct snd_pcm_plugin *plugin, in mulaw_encode() argument
221 int nchannels = plugin->src_format.channels; in mulaw_encode()
274 data = (struct mulaw_priv *)plugin->extra_data; in mulaw_transfer()
307 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_mulaw() local
337 sizeof(struct mulaw_priv), &plugin); in snd_pcm_plugin_build_mulaw()
340 data = (struct mulaw_priv *)plugin->extra_data; in snd_pcm_plugin_build_mulaw()
343 plugin->transfer = mulaw_transfer; in snd_pcm_plugin_build_mulaw()
[all …]
A Dlinear.c55 static void convert(struct snd_pcm_plugin *plugin, in convert() argument
60 struct linear_priv *data = (struct linear_priv *)plugin->extra_data; in convert()
62 int nchannels = plugin->src_format.channels; in convert()
88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, in linear_transfer() argument
93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer()
112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
156 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_linear() local
172 sizeof(struct linear_priv), &plugin); in snd_pcm_plugin_build_linear()
175 data = (struct linear_priv *)plugin->extra_data; in snd_pcm_plugin_build_linear()
177 plugin->transfer = linear_transfer; in snd_pcm_plugin_build_linear()
[all …]
A Droute.c47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, in route_transfer() argument
56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer()
63 nsrcs = plugin->src_format.channels; in route_transfer()
64 ndsts = plugin->dst_format.channels; in route_transfer()
66 format = plugin->dst_format.format; in route_transfer()
92 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_route() local
104 src_format, dst_format, 0, &plugin); in snd_pcm_plugin_build_route()
108 plugin->transfer = route_transfer; in snd_pcm_plugin_build_route()
109 *r_plugin = plugin; in snd_pcm_plugin_build_route()
A Dpcm_plugin.h47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames);
48 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames);
49 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin,
52 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin,
56 int (*action)(struct snd_pcm_plugin *plugin,
63 void (*private_free)(struct snd_pcm_plugin *plugin);
76 int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin);
116 int snd_pcm_plugin_append(struct snd_pcm_plugin *plugin);
129 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin,
/linux-6.3-rc2/scripts/
A DMakefile.gcc-plugins4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \
12 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \
14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \
22 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \
26 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
28 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
30 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
47 …trip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y))
55 gcc-plugin-external-$(CONFIG_GCC_PLUGIN_SANCOV) \
57 gcc-plugin-external-$(CONFIG_GCC_PLUGIN_RANDSTRUCT) \
[all …]
/linux-6.3-rc2/scripts/gcc-plugins/
A DMakefile27 GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
39 plugin-single := $(foreach m, $(GCC_PLUGIN), $(if $($(m:%.so=%-objs)),,$(m)))
40 plugin-multi := $(filter-out $(plugin-single), $(GCC_PLUGIN))
41 plugin-objs := $(sort $(foreach m, $(plugin-multi), $($(m:%.so=%-objs))))
43 targets += $(plugin-single) $(plugin-multi) $(plugin-objs)
46 plugin-single := $(addprefix $(obj)/, $(plugin-single))
47 plugin-multi := $(addprefix $(obj)/, $(plugin-multi))
48 plugin-objs := $(addprefix $(obj)/, $(plugin-objs))
53 $(plugin-single): $(obj)/%.so: $(src)/%.c FORCE
60 $(plugin-multi): FORCE
[all …]
A DKconfig12 depends on $(success,test -e $(shell,$(CC) -print-file-name=plugin)/include/plugin-version.h)
27 This plugin inserts a __sanitizer_cov_trace_pc() call at the start of
28 basic blocks. It supports all gcc versions with plugin support (from
45 This plugin was ported from grsecurity/PaX. More information at:
/linux-6.3-rc2/Documentation/kbuild/
A Dgcc-plugins.rst2 GCC plugin infrastructure
49 GCC plugin), so the entire ecosystem can benefit from it.
89 apt-get install gcc-10-plugin-dev
93 dnf install gcc-plugin-devel libmpc-devel
99 Enable the GCC plugin infrastructure and some plugin(s) you want to use
108 gcc -print-file-name=plugin
111 The word "plugin" means they are not detected::
113 plugin
117 /usr/lib/gcc/x86_64-redhat-linux/12/plugin
124 the cyclomatic complexity GCC plugin.
[all …]
/linux-6.3-rc2/fs/ocfs2/
A Dstackglue.c167 if (!ocfs2_stack_lookup(plugin->sp_name)) { in ocfs2_stack_glue_register()
168 plugin->sp_count = 0; in ocfs2_stack_glue_register()
172 plugin->sp_name); in ocfs2_stack_glue_register()
176 plugin->sp_name); in ocfs2_stack_glue_register()
190 p = ocfs2_stack_lookup(plugin->sp_name); in ocfs2_stack_glue_unregister()
192 BUG_ON(p != plugin); in ocfs2_stack_glue_unregister()
193 BUG_ON(plugin == active_stack); in ocfs2_stack_glue_unregister()
194 BUG_ON(plugin->sp_count != 0); in ocfs2_stack_glue_unregister()
195 list_del_init(&plugin->sp_list); in ocfs2_stack_glue_unregister()
197 plugin->sp_name); in ocfs2_stack_glue_unregister()
[all …]
A Dstackglue.h288 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin);
289 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);
/linux-6.3-rc2/tools/testing/selftests/tc-testing/plugin-lib/
A DREADME-PLUGINS6 plugin-lib/
9 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py
10 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py
11 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py
22 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-ocfs235 A cluster plugin is required to use ocfs2 in a cluster.
40 * 'user' - A plugin supporting userspace cluster software
54 cluster plugin is currently in use by the filesystem.
55 The active plugin will appear in the loaded_cluster_plugins
56 file as well. Only one plugin can be used at a time.
58 Reading from this file returns the name of the active plugin
61 This file is read-only. Which plugin is active depends on
77 plugin is active. All other cluster stacks use the 'user'
78 cluster plugin.
/linux-6.3-rc2/tools/testing/selftests/tc-testing/creating-plugins/
A DAddingPlugins.txt8 A new plugin should be written in python as a class that inherits from TdcPlugin.
9 There are some examples in plugin-lib.
11 The plugin can be used to add functionality to the test framework,
49 defined in the test case, but if the plugin is being used to run extra
72 executed. The plugin can adjust the command, based on the stage of
100 The check_args method is so that the plugin can do validation on
104 eg: raise Exception('plugin xxx, arg -y is wrong, fix it')
/linux-6.3-rc2/drivers/target/
A DKconfig22 Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered
28 Say Y here to enable the TCM/FILEIO subsystem plugin for buffered
35 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered
42 Say Y here to enable the TCM/USER subsystem plugin for a userspace
/linux-6.3-rc2/tools/testing/selftests/tc-testing/
A DREADME53 execution by root uid has been moved into a plugin (see PLUGIN
61 by the plugin.
175 There is now a plugin architecture, and some of the functionality that
178 The plugins are in the directory plugin-lib. The are executed from
179 directory plugins. Put symbolic links from plugins to plugin-lib,
181 necessary if a test case being run requires a specific plugin to work.
223 To write a plugin, you need to inherit from TdcPlugin in
224 TdcPlugin.py. To use the plugin, you have to put the
225 implementation file in plugin-lib, and add a symbolic link to it from
227 appropriate times. There are a few examples in the plugin-lib
[all …]
A DTODO.txt16 - A better implementation of the "hooks". Currently, every plugin
18 changed so that plugin __init__ methods will register functions to
19 be run in the various predefined times. Then if a plugin does not
/linux-6.3-rc2/Documentation/sound/designs/
A Djack-injection.rst8 Here jack injection means users could inject plugin or plugout events
13 in this case, we could inject plugin or plugout events to an audio
28 change the state by hardware events anymore, we could inject plugin or
154 write-only, inject plugin or plugout
156 - to inject plugin:
/linux-6.3-rc2/security/
A DKconfig.hardening12 flaws, this plugin is available to identify and zero-initialize
15 This plugin was originally ported from grsecurity/PaX. More
156 structleak plugin finds a variable it thinks needs to be
158 by the plugin, this can produce false positive warnings.
181 This plugin was ported from grsecurity/PaX. More information at:
191 stackleak plugin finds a function it thinks needs to be
201 The STACKLEAK gcc plugin instruments the kernel code for tracking
326 One difference between the Clang and GCC plugin
328 plugin treats them as fully separate variables,
351 Use GCC plugin to randomize structure layout.
[all …]
/linux-6.3-rc2/drivers/of/unittest-data/
A Doverlay_base.dtso3 /plugin/;
A Doverlay_2.dtso3 /plugin/;
A Doverlay_3.dtso3 /plugin/;

Completed in 38 milliseconds

12345