/linux/sound/core/oss/ |
A D | pcm_plugin.c | 114 frames = plugin->dst_frames(plugin, frames); in snd_pcm_plug_alloc() 117 plugin = plugin->next; in snd_pcm_plug_alloc() 126 frames = plugin->src_frames(plugin, frames); in snd_pcm_plug_alloc() 129 plugin = plugin->prev; in snd_pcm_plug_alloc() 161 plugin = kzalloc(sizeof(*plugin) + extra, GFP_KERNEL); in snd_pcm_plugin_build() 190 if (! plugin) in snd_pcm_plugin_free() 193 plugin->private_free(plugin); in snd_pcm_plugin_free() 213 frames = plugin->dst_frames(plugin, frames); in calc_dst_frames() 232 frames = plugin->src_frames(plugin, frames); in calc_src_frames() 609 frames1 = plugin->dst_frames(plugin, frames); in snd_pcm_plug_write_transfer() [all …]
|
A D | io.c | 42 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 D | rate.c | 188 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 D | mulaw.c | 141 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 D | copy.c | 27 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 D | linear.c | 55 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 D | route.c | 47 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 D | pcm_plugin.h | 47 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/scripts/ |
A D | Makefile.gcc-plugins | 4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \ 11 gcc-plugin-$(CONFIG_GCC_PLUGIN_SANCOV) += sancov_plugin.so 14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \ 16 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \ 24 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \ 28 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_RANDSTRUCT) \ 34 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ 36 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ 38 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ 53 …trip $(addprefix -fplugin=$(objtree)/scripts/gcc-plugins/, $(gcc-plugin-y)) $(gcc-plugin-cflags-y)) [all …]
|
/linux/tools/lib/traceevent/ |
A D | event-plugin.c | 31 char *plugin; member 164 char *plugin; in update_option() local 169 if (!plugin) in update_option() 174 if (!plugin) in update_option() 185 if (strcmp(op->plugin, plugin) != 0) in update_option() 208 free(plugin); in update_option() 287 if (plugin && strcmp(plugin, op_plugin) != 0) in find_registered_option() 335 if ((!plugin || !op->plugin) && plugin != op->plugin) in tep_plugin_add_option() 337 if (plugin && strcmp(plugin, op->plugin) != 0) in tep_plugin_add_option() 355 plugin = op->plugin; in tep_plugin_add_option() [all …]
|
/linux/scripts/gcc-plugins/ |
A D | Makefile | 22 GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) 33 plugin-single := $(foreach m, $(GCC_PLUGIN), $(if $($(m:%.so=%-objs)),,$(m))) 34 plugin-multi := $(filter-out $(plugin-single), $(GCC_PLUGIN)) 35 plugin-objs := $(sort $(foreach m, $(plugin-multi), $($(m:%.so=%-objs)))) 37 targets += $(plugin-single) $(plugin-multi) $(plugin-objs) 40 plugin-single := $(addprefix $(obj)/, $(plugin-single)) 41 plugin-multi := $(addprefix $(obj)/, $(plugin-multi)) 42 plugin-objs := $(addprefix $(obj)/, $(plugin-objs)) 47 $(plugin-single): $(obj)/%.so: $(src)/%.c FORCE 54 $(plugin-multi): FORCE [all …]
|
A D | Kconfig | 12 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: 72 This plugin was ported from grsecurity/PaX. More information at:
|
/linux/Documentation/kbuild/ |
A D | gcc-plugins.rst | 2 GCC plugin infrastructure 14 The GCC plugin infrastructure of the kernel supports building out-of-tree 18 Currently the GCC plugin infrastructure supports only some architectures. 49 GCC plugin), so the entire ecosystem can benefit from it. 86 You must install the gcc plugin headers for your gcc version, 89 apt-get install gcc-10-plugin-dev 93 dnf install gcc-plugin-devel 95 Enable the GCC plugin infrastructure and some plugin(s) you want to use 102 To compile the minimum tool set including the plugin(s):: 107 the cyclomatic complexity GCC plugin. [all …]
|
/linux/fs/ocfs2/ |
A D | stackglue.c | 167 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 D | stackglue.h | 288 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin); 289 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-ocfs2 | 35 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/tools/testing/selftests/tc-testing/plugin-lib/ |
A D | README-PLUGINS | 6 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/tools/lib/traceevent/Documentation/ |
A D | libtraceevent-plugins.txt | 26 The _tep_load_plugins()_ function loads all plugins, located in the plugin 28 The plugin directories are : 32 - System's plugin directory, defined at the library compile time. It 36 - User's plugin directory, located at _~/.local/lib/traceevent/plugins_ 44 the system's plugin directory. 56 and calls user specified _load_plugin()_ hook for each plugin file. Only files 84 pritnf("Found libtraceevent plugin %s/%s\n", path, name);
|
A D | libtraceevent-set_flag.txt | 31 _TEP_DISABLE_SYS_PLUGINS_ - disable plugins, located in system's plugin 36 - in system's plugin directory 40 Note: plugin related flags must me set before calling _tep_load_plugins()_ API.
|
/linux/tools/testing/selftests/tc-testing/creating-plugins/ |
A D | AddingPlugins.txt | 8 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/drivers/target/ |
A D | Kconfig | 22 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/tools/testing/selftests/tc-testing/ |
A D | README | 53 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 D | TODO.txt | 16 - 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/Documentation/sound/designs/ |
A D | jack-injection.rst | 8 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/scripts/dummy-tools/ |
A D | gcc | 98 if arg_contain -print-file-name=plugin "$@"; then 102 touch $plugin_dir/include/plugin-version.h
|