/openbmc/openbmc-test-automation/ffdc/docs/ |
H A D | plugin.md | 1 ### Plugin subsection 3 Plugin feature for the log collector is to load a user python functions at 11 ### Understanding Plugin 13 The plugin works like any stand-alone piece of python script or library 16 The main components in plugin infrastructure are: 18 - plugin directory 19 - plugin directive in YAML 20 - plugin parser in the collector engine 22 ### Plugin Directory 38 ### Plugin Template Example [all …]
|
/openbmc/linux/sound/core/oss/ |
H A D | pcm_plugin.c | 49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc() argument 57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_alloc() 58 format = &plugin->src_format; in snd_pcm_plugin_alloc() 60 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 72 if (plugin->buf_frames < frames) { in snd_pcm_plugin_alloc() 73 kvfree(plugin->buf); in snd_pcm_plugin_alloc() 74 plugin->buf = kvzalloc(size, GFP_KERNEL); in snd_pcm_plugin_alloc() 75 plugin->buf_frames = frames; in snd_pcm_plugin_alloc() 77 if (!plugin->buf) { in snd_pcm_plugin_alloc() 78 plugin->buf_frames = 0; in snd_pcm_plugin_alloc() [all …]
|
H A D | io.c | 34 * Basic io plugin 37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, in io_playback_transfer() argument 42 if (snd_BUG_ON(!plugin)) in io_playback_transfer() 46 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) { in io_playback_transfer() 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() 50 void **bufs = (void**)plugin->extra_data; in io_playback_transfer() 59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer() 63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, in io_capture_transfer() argument 68 if (snd_BUG_ON(!plugin)) in io_capture_transfer() [all …]
|
H A D | rate.c | 32 * Basic rate conversion plugin 40 typedef void (*rate_f)(struct snd_pcm_plugin *plugin, 53 static void rate_init(struct snd_pcm_plugin *plugin) in rate_init() argument 56 struct rate_priv *data = (struct rate_priv *)plugin->extra_data; in rate_init() 58 for (channel = 0; channel < plugin->src_format.channels; channel++) { in rate_init() 64 static void resample_expand(struct snd_pcm_plugin *plugin, in resample_expand() argument 76 struct rate_priv *data = (struct rate_priv *)plugin->extra_data; in resample_expand() 79 for (channel = 0; channel < plugin->src_format.channels; channel++) { in resample_expand() 85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand() 123 static void resample_shrink(struct snd_pcm_plugin *plugin, in resample_shrink() argument [all …]
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/packagegroups/ |
H A D | packagegroup-xfce-extended.bb | 22 xfce4-cpufreq-plugin \ 23 xfce4-cpugraph-plugin \ 24 xfce4-datetime-plugin \ 25 xfce4-eyes-plugin \ 26 xfce4-clipman-plugin \ 27 xfce4-diskperf-plugin \ 28 xfce4-netload-plugin \ 29 xfce4-genmon-plugin \ 30 xfce4-xkb-plugin \ 31 xfce4-wavelan-plugin \ [all …]
|
H A D | packagegroup-xfce-base.bb | 20 xfce4-panel-plugin-actions \ 21 xfce4-panel-plugin-applicationsmenu \ 22 xfce4-panel-plugin-clock \ 23 xfce4-panel-plugin-directorymenu \ 24 xfce4-panel-plugin-launcher \ 25 xfce4-panel-plugin-pager \ 26 xfce4-panel-plugin-separator \ 27 xfce4-panel-plugin-showdesktop \ 28 xfce4-panel-plugin-systray \ 29 xfce4-panel-plugin-tasklist \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/strongswan/ |
H A D | strongswan_6.0.0.bb | 32 PACKAGECONFIG[aes] = "--enable-aes,--disable-aes,,${PN}-plugin-aes" 33 PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni" 36 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl,${PN}-plugin-curl" 37 PACKAGECONFIG[des] = "--enable-des,--disable-des,,${PN}-plugin-des" 38 PACKAGECONFIG[eap-identity] = "--enable-eap-identity,--disable-eap-identity,,${PN}-plugin-eap-ident… 39 PACKAGECONFIG[eap-mschapv2] = "--enable-eap-mschapv2,--disable-eap-mschapv2,,${PN}-plugin-eap-mscha… 40 PACKAGECONFIG[fips-prf] = "--enable-fips-prf,--disable-fips-prf,,${PN}-plugin-fips-prf" 41 PACKAGECONFIG[gmp] = "--enable-gmp,--disable-gmp,gmp,${PN}-plugin-gmp" 42 PACKAGECONFIG[hmac] = "--enable-hmac,--disable-hmac,,${PN}-plugin-hmac" 43 PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,openldap,${PN}-plugin-ldap" [all …]
|
/openbmc/linux/scripts/ |
H A D | Makefile.gcc-plugins | 3 gcc-plugin-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) += latent_entropy_plugin.so 4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \ 11 gcc-plugin-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) += structleak_plugin.so 12 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \ 14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \ 16 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL) \ 22 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \ 25 gcc-plugin-$(CONFIG_GCC_PLUGIN_STACKLEAK) += stackleak_plugin.so 26 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ 28 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \ [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/ |
H A D | nikto_2.1.6.bb | 44 install -m 0644 plugins/nikto_apache_expect_xss.plugin ${D}${sysconfdir}/nikto/plugins 45 install -m 0644 plugins/nikto_apacheusers.plugin ${D}${sysconfdir}/nikto/plugins 46 install -m 0644 plugins/nikto_auth.plugin ${D}${sysconfdir}/nikto/plugins 47 install -m 0644 plugins/nikto_cgi.plugin ${D}${sysconfdir}/nikto/plugins 48 install -m 0644 plugins/nikto_clientaccesspolicy.plugin ${D}${sysconfdir}/nikto/plugins 49 install -m 0644 plugins/nikto_content_search.plugin ${D}${sysconfdir}/nikto/plugins 50 install -m 0644 plugins/nikto_cookies.plugin ${D}${sysconfdir}/nikto/plugins 51 install -m 0644 plugins/nikto_core.plugin ${D}${sysconfdir}/nikto/plugins 52 install -m 0644 plugins/nikto_dictionary_attack.plugin ${D}${sysconfdir}/nikto/plugins 53 install -m 0644 plugins/nikto_dir_traversal.plugin ${D}${sysconfdir}/nikto/plugins [all …]
|
/openbmc/qemu/plugins/ |
H A D | core.c | 2 * QEMU Plugin Core code 20 #include "qemu/plugin.h" 31 #include "plugin.h" 40 struct qemu_plugin_state plugin; variable 47 id_p = g_hash_table_lookup(plugin.id_ht, &id); in plugin_id_to_ctx_locked() 50 error_report("plugin: invalid plugin id %" PRIu64, id); in plugin_id_to_ctx_locked() 66 run_on_cpu_data mask = RUN_ON_CPU_HOST_ULONG(*plugin.mask); in plugin_cpu_update__locked() 82 if (QLIST_EMPTY_RCU(&plugin.cb_lists[ev])) { in plugin_unregister_cb__locked() 83 clear_bit(ev, plugin.mask); in plugin_unregister_cb__locked() 84 g_hash_table_foreach(plugin.cpu_ht, plugin_cpu_update__locked, NULL); in plugin_unregister_cb__locked() [all …]
|
H A D | loader.c | 2 * QEMU Plugin Core Loader Code 6 * generated code is flushed when we remove a plugin so we cannot end 30 #include "qemu/plugin.h" 38 #include "plugin.h" 41 * For convenience we use a bitmap for plugin.mask, but really all we need is a 59 .name = "plugin", 70 extern struct qemu_plugin_state plugin; 77 inserted = qht_insert(&plugin.dyn_cb_arr_ht, arr, hash, NULL); in qemu_plugin_add_dyn_cb_arr() 103 printf("Plugin options\n"); in plugin_add() 104 printf(" file=<path/to/plugin.so>\n"); in plugin_add() [all …]
|
/openbmc/linux/Documentation/kbuild/ |
H A D | gcc-plugins.rst | 2 GCC plugin infrastructure 14 The GCC plugin infrastructure of the kernel supports building out-of-tree 16 Plugin source files have to be compilable by a C++ compiler. 18 Currently the GCC plugin infrastructure supports only some architectures. 27 .. [2] https://gcc.gnu.org/onlinedocs/gccint/Plugin-API.html#Plugin-API 49 GCC plugin), so the entire ecosystem can benefit from it. 51 Similarly, even if a feature provided by a GCC plugin does *not* exist 55 After a feature is available in upstream GCC, the plugin will be made 57 kernel-supported versions of GCC provide the feature, the plugin will 86 You must install the gcc plugin headers for your gcc version, [all …]
|
/openbmc/linux/scripts/gcc-plugins/ |
H A D | Makefile | 21 # If the plugin foo.so is compiled from foo.c and foo2.c, you can do: 27 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 [all …]
|
/openbmc/openpower-hw-diags/analyzer/plugins/ |
H A D | plugin.hpp | 15 // A plugin is special function called by the RAS data files specifically for 22 // Each plugin must be defined in a specific form. See PluginFunction below. 23 // Then the plugin must registered in the PluginMap using the PLUGIN_DEFINE or 27 // - The plugin instance for plugins that may be defined for a chip that has 35 // These are provided as know chip types for plugin definitions. 72 /** A nested map that contains the function for each chip type and plugin 78 * @brief Registers a plugin with the plugin map. 80 * @param i_type The chip type associated with the plugin. 81 * @param i_name The name of the plugin. 82 * @param i_plugin The plugin function. [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/connman/ |
H A D | connman.inc | 114 connman-plugin-loopback \ 115 connman-plugin-ethernet \ 116 ${@bb.utils.contains('PACKAGECONFIG', 'bluetooth','connman-plugin-bluetooth', '', d)} \ 117 ${@bb.utils.contains('PACKAGECONFIG', 'wifi','connman-plugin-wifi', '', d)} \ 118 ${@bb.utils.contains('PACKAGECONFIG', '3g','connman-plugin-ofono', '', d)} \ 125 PACKAGES_DYNAMIC += "^${PN}-plugin-.*" 143 plugin_name = d.expand('${PN}-plugin-%s') 145 '${PN} plugin for %s', extra_depends='', hook=hook, prepend=True ) 150 plugin_name = d.expand('${PN}-plugin-vpn-%s') 152 '${PN} VPN plugin for %s', extra_depends='', hook=hook, prepend=True ) [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | tcg-plugins.rst | 22 your plugin upstream so they can be updated if/when the API changes. 24 All plugins need to declare a symbol which exports the plugin API 29 The core code will refuse to load a plugin that doesn't export a 30 ``qemu_plugin_version`` symbol or if plugin version is outside of QEMU's 34 ``qemu_plugin_install`` method of a plugin will detail the minimum and 47 by the plugin. 49 Plugin life cycle 52 First the plugin is loaded and the public qemu_plugin_install function 53 is called. The plugin will then register callbacks for various plugin 58 When a registered event occurs the plugin callback is invoked. The [all …]
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 185 translation and execution and optionally callback into the plugin 206 -plugin contrib/plugins/libhowvec.so,inline=on,count=hint \ 207 -plugin contrib/plugins/libhotblocks.so 209 Arguments are plugin specific and can be used to modify their 210 behaviour. In this case the howvec plugin is being asked to use inline 223 -d plugin \ 224 -plugin contrib/plugins/libhowvec.so,inline=on,count=hint 241 Purely a test plugin for measuring the overhead of the plugins system 249 A very basic plugin which will measure execution in coarse terms as 253 $ qemu-aarch64 -plugin tests/plugin/libbb.so \ [all …]
|
/openbmc/bmcweb/ |
H A D | .gitignore | 66 # Mongo Explorer plugin 75 # mpeltonen/sbt-idea plugin 78 # JIRA plugin 79 atlassian-ide-plugin.xml 81 # Cursive Clojure plugin 84 # SonarLint plugin 87 # Crashlytics plugin (for Android Studio and IntelliJ) 107 # Sonarlint plugin 108 # https://plugins.jetbrains.com/plugin/7973-sonarlint 111 # SonarQube Plugin [all …]
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/netdata/netdata/ |
H A D | netdata.conf | 247 [plugin:proc:/proc/net/dev] 251 [plugin:proc] 290 [plugin:charts.d] 294 [plugin:apps] 298 [plugin:idlejitter] 301 [plugin:proc:/proc/interrupts] 305 [plugin:proc:/proc/sys/kernel/random/entropy_avail] 308 [plugin:proc:/proc/diskstats] 341 [plugin:proc:/proc/net/snmp] 358 [plugin:proc:/proc/net/netstat] [all …]
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/xfce4-power-manager/ |
H A D | xfce4-power-manager_4.20.0.bb | 27 PACKAGES += "xfce4-powermanager-plugin" 34 FILES:xfce4-powermanager-plugin = " \ 39 RDEPENDS:xfce4-powermanager-plugin = "${PN}" 42 # xfce4-brightness-plugin was replaced by xfce4-powermanager-plugin 43 RPROVIDES:xfce4-powermanager-plugin += "xfce4-brightness-plugin" 44 RREPLACES:xfce4-powermanager-plugin += "xfce4-brightness-plugin" 45 RCONFLICTS:xfce4-powermanager-plugin += "xfce4-brightness-plugin"
|
/openbmc/openbmc-test-automation/ffdc/ |
H A D | ffdc_collector.py | 39 - plugin: 40 - plugin_name: plugin.foo_func.foo_func_yaml 52 # To access the module plugin.<module name>.<function> 53 # Example: plugin.foo_func.foo_func_yaml() 55 plugin = __import__(plugin_module, globals(), locals(), [], 0) 57 print("PLUGIN: Module import failed: %s" % module) 60 print("PLUGIN: %s" % e) 64 This is for plugin functions returning data or responses to the caller 65 in YAML plugin setup. 69 - plugin: [all …]
|
/openbmc/qemu/tests/tcg/ |
H A D | Makefile.target | 156 # We need to ensure expand the run-plugin-TEST-with-PLUGIN 160 # add some special helpers the run-plugin- rules can use below. 166 $(eval run-plugin-$(t)-with-$(p): $t $p) \ 167 $(eval RUN_TESTS+=run-plugin-$(t)-with-$(p)))) 171 strip-plugin = $(wordlist 1, 1, $(subst -with-, ,$1)) 172 extract-plugin = $(wordlist 2, 2, $(subst -with-, ,$1)) 178 run-plugin-%-with-libmem.so: PLUGIN_ARGS=$(COMMA)inline=true 184 run-plugin-%: 186 -plugin $(PLUGIN_LIB)/$(call extract-plugin,$@)$(PLUGIN_ARGS) \ 187 -d plugin -D $*.pout \ [all …]
|
/openbmc/telemetry/ |
H A D | .gitignore | 54 # Mongo Explorer plugin 63 # mpeltonen/sbt-idea plugin 66 # JIRA plugin 67 atlassian-ide-plugin.xml 69 # Cursive Clojure plugin 72 # Crashlytics plugin (for Android Studio and IntelliJ) 92 # Sonarlint plugin 93 # https://plugins.jetbrains.com/plugin/7973-sonarlint 96 # SonarQube Plugin 97 # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin [all …]
|
/openbmc/openbmc/meta-openembedded/meta-xfce/recipes-xfce/xfce4-panel/files/ |
H A D | 0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch | 11 * desktop icon confuses when using showdesktop plugin 33 @@ -266,7 +266,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin) 34 g_signal_connect (G_OBJECT (plugin->button), "toggled", 35 G_CALLBACK (window_menu_plugin_menu), plugin); 37 - plugin->icon = gtk_image_new_from_icon_name ("user-desktop", GTK_ICON_SIZE_BUTTON); 38 + plugin->icon = gtk_image_new_from_icon_name (NULL, GTK_ICON_SIZE_BUTTON); 39 gtk_container_add (GTK_CONTAINER (plugin->button), plugin->icon); 40 gtk_widget_show (plugin->icon); 49 window_menu_plugin_set_icon (plugin, window); 57 icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (plugin));
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gedit/gedit/ |
H A D | 0001-fix-for-clang-18.patch | 5 ../plugins/quickhighlight/gedit-quick-highlight-plugin.c: In function ‘gedit_quick_highlight_plugin… 6 ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:47: error: implicit declaration of func… 8 96 | plugin->priv->style = gtk_source_style_copy (style); 11 ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:47: warning: nested extern declaration … 12 ../plugins/quickhighlight/gedit-quick-highlight-plugin.c:96:45: error: assignment to ‘GtkSourceStyl… 13 96 | plugin->priv->style = gtk_source_style_copy (style); 16 --- a/plugins/quickhighlight/gedit-quick-highlight-plugin.c 2024-02-20 08:11:47.925749255 +0100 17 +++ b/plugins/quickhighlight/gedit-quick-highlight-plugin.c 2024-02-20 08:12:16.218594067 +0100 26 plugin->priv->style = gtk_source_style_copy (style);
|