/openbmc/linux/scripts/kconfig/ |
H A D | gconf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info> 51 GtkTreeStore *tree1, *tree2, *tree; variable 56 static struct menu *current; // current node for SINGLE view 57 static struct menu *browsed; // browsed node for SPLIT view 101 buf[strlen(buf) - 1] = '\0'; in dbg_sym_flags() 116 &style->bg[GTK_STATE_NORMAL], in replace_button_icon() 167 replace_button_icon(xml, main_wnd->window, style, in init_main_window() 169 replace_button_icon(xml, main_wnd->window, style, in init_main_window() 171 replace_button_icon(xml, main_wnd->window, style, in init_main_window() [all …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | gconf.c | 1 /* Hey EMACS -*- linux-c -*- */ 4 * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info> 57 GtkTreeStore *tree1, *tree2, *tree; variable 62 static struct menu *current; // current node for SINGLE view 63 static struct menu *browsed; // browsed node for SPLIT view 107 buf[strlen(buf) - 1] = '\0'; in dbg_sym_flags() 121 &style->bg[GTK_STATE_NORMAL], in replace_button_icon() 172 replace_button_icon(xml, main_wnd->window, style, in init_main_window() 174 replace_button_icon(xml, main_wnd->window, style, in init_main_window() 176 replace_button_icon(xml, main_wnd->window, style, in init_main_window() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # exported-sql-viewer.py: view data from sql database 4 # Copyright (c) 2014-2018, Intel Corporation. 7 # export-to-sqlite.py or the export-to-postgresql.py script. Refer to those 11 # call-graph can be displayed for the pt_example database like this: 13 # python tools/perf/scripts/python/exported-sql-viewer.py pt_example 18 # python tools/perf/scripts/python/exported-sql-viewer.py "hostname=myhost username=myuser password… 20 # The result is a GUI window with a tree representing a context-sensitive 21 # call-graph. Expanding a couple of levels of the tree and adjusting column 26 # v- ls [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | sharedsubtree.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 4) Use-case 19 ----------- 27 It provides the necessary building blocks for features like per-user-namespace 31 ----------- 49 mount --make-shared /mnt 51 Note: mount(8) command now supports the --make-shared flag, 57 # mount --bind /mnt /tmp 94 # mount --make-shared /mnt 97 # mount --bind /mnt /tmp [all …]
|
/openbmc/linux/security/apparmor/include/ |
H A D | policy_ns.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2017 Canonical Ltd. 22 /* struct aa_ns_acct - accounting of profiles in namespace 35 /* struct aa_ns - namespace for a set of profiles 44 * @level: level of ns within the tree hierarchy 82 #define ns_unconfined(NS) (&(NS)->unconfined->label) 84 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns); 93 struct aa_ns *__aa_lookupn_ns(struct aa_ns *view, const char *hname, size_t n); 94 struct aa_ns *aa_lookupn_ns(struct aa_ns *view, const char *name, size_t n); [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | policy_ns.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2017 Canonical Ltd. 30 const char *aa_hidden_ns_name = "---"; 33 * aa_ns_visible - test if @view is visible from @curr 35 * @view: namespace to test if visible from @curr (NOT NULL) 36 * @subns: whether view of a subns is allowed 38 * Returns: true if @view is visible from @curr else false 40 bool aa_ns_visible(struct aa_ns *curr, struct aa_ns *view, bool subns) in aa_ns_visible() argument 42 if (curr == view) in aa_ns_visible() [all …]
|
H A D | label.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * code - will take a ref count on a label if it needs the label 29 * profiles - each profile is a label 30 * secids - a pinned secid will keep a refcount of the label it is 32 * objects - inode, files, sockets, ... 45 /* p->label will not updated any more as p is dead */ in free_proxy() 46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy() 48 RCU_INIT_POINTER(proxy->label, (struct aa_label *)PROXY_POISON); in free_proxy() 66 kref_init(&new->count); in aa_alloc_proxy() 67 rcu_assign_pointer(new->label, aa_get_label(label)); in aa_alloc_proxy() [all …]
|
/openbmc/linux/Documentation/process/ |
H A D | 7.AdvancedTopics.rst | 12 ------------------------- 32 https://git-scm.com/ 34 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html 40 available to others. A git-using developer should be able to obtain a copy 42 the tree, use branches, etc. An understanding of git's tools for the 45 remote branches, the index, fast-forward merges, pushes and pulls, detached 54 server with git-daemon is relatively straightforward if you have a system 65 Publicly-available branches should be created with care; merge in patches 66 from development branches when they are in complete form and ready to go - 82 turning a tested (hopefully) kernel tree into an untested one. But, beyond [all …]
|
/openbmc/linux/Documentation/driver-api/driver-model/ |
H A D | overview.rst | 16 bus-specific drivers for bridges and devices by consolidating a set of data 19 Traditional driver models implemented some sort of tree-like structure 33 on an x86-compatible system can work within this paradigm. Of course, 43 and sometimes by the device-specific drivers. 79 By virtue of having a complete hierarchical view of all the devices in the 80 system, exporting a complete hierarchical view to userspace becomes relatively 93 The auto-mounting of sysfs is typically accomplished by an entry similar to 98 or something similar in the /lib/init/fstab file on Debian-based systems:: 104 # mount -t sysfs sysfs /sys 106 Whenever a device is inserted into the tree, a directory is created for it. [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.nios2 | 1 Nios II is a 32-bit embedded-processor architecture designed 8 http://rocketboards.org/foswiki/view/Documentation/NiosIILinuxUserManual 10 The Nios II port of u-boot is controlled by device tree. Please check 11 out doc/README.fdt-control. 13 To add a new board/configuration (eg, mysystem) to u-boot, you will need 16 1. The device tree source which describes the hardware, dts file. 25 The device tree source must be generated from your qsys/sopc design 30 $ java -jar sopc2dts.jar --force-altr -i mysystem.sopcinfo -o mysystem.dts 35 1. Add "stdout-path=..." property with your serial path to the chosen 38 stdout-path = &uart_0; [all …]
|
/openbmc/linux/scripts/tracing/ |
H A D | draw_functrace.py | 2 # SPDX-License-Identifier: GPL-2.0-only 9 The resulted trace is processed into a tree to produce a more human 10 view of the call stack by drawing textual but hierarchical tree of 15 # mount -t tracefs nodev /sys/kernel/tracing 28 """ This class provides a tree representation of the functions 46 into the tree at the appropriate place. 59 tree = self 60 while tree != CallTree.ROOT and tree._func != func: 61 tree = tree._parent 62 if tree == CallTree.ROOT: [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 26 #include <linux/dma-fence-array.h> 54 if (kref_read(&vma->vm->ref)) in assert_vma_held_evict() 55 assert_object_held_shared(vma->obj); in assert_vma_held_evict() 78 if (!vma->node.stack) { in vma_print_allocator() 79 drm_dbg(vma->obj->base.dev, in vma_print_allocator() 81 vma->node.start, vma->node.size, reason); in vma_print_allocator() 85 stack_depot_snprint(vma->node.stack, buf, sizeof(buf), 0); in vma_print_allocator() 86 drm_dbg(vma->obj->base.dev, in vma_print_allocator() 88 vma->node.start, vma->node.size, reason, buf); in vma_print_allocator() 109 return -ENOENT; in __i915_vma_active() [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | openbmc_test_tools.md | 8 $ ipmitool -V 16 [README](https://github.com/open-power/HTX) 21 [README](https://github.com/openbmc/phosphor-logging/blob/master/README.md#remote-logging-via-rsysl… 25 Pre-requisite: A Power Linux system is required. 27 - Obtain the SEL (System Error Log) parser tools: 29 - Go to https://openpower.xyz/job/openpower/job/openpower-op-build/ 30 - Click the link for the BMC system of interest (e.g. witherspoon) 31 - Click the "host_fw_debug.tar" link in order to download the tar file. 32 - On your Power Linux system, untar the file with the following command: 35 $ tar -xvf host_fw_debug.tar [all …]
|
/openbmc/linux/scripts/gcc-plugins/ |
H A D | sancov_plugin.c | 2 * Copyright 2011-2016 by Emese Revfy <re.emese@gmail.com> 6 * https://github.com/ephox-gcc-plugins/sancov 9 * It supports all gcc versions with plugin support (from gcc-4.5 on). 13 * https://gcc.gnu.org/viewcvs/gcc?limit_changes=0&view=revision&revision=231296 22 #include "gcc-common.h" 26 tree sancov_fndecl; 63 #include "gcc-generate-gimple-pass.h" 67 tree leaf_attr, nothrow_attr; in sancov_start_unit() 68 tree BT_FN_VOID = build_function_type_list(void_type_node, NULL_TREE); in sancov_start_unit() 90 const char * const plugin_name = plugin_info->base_name; in plugin_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gpuva_mgr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 * The GPU VA manager internally uses a rb-tree to manage the 62 * &drm_gpuva entries from within dma-fence signalling critical sections it is 63 * enough to pre-allocate the &drm_gpuva structures. 76 * implement Vulkan 'Sparse Memory Bindings' - drivers UAPIs often refer to this 98 * update the &drm_gpuva_manager's view of things accordingly. 114 * created such that those mappings are split up and re-mapped partically. 125 * dma-fence signalling critical path. 127 * To update the &drm_gpuva_manager's view of the GPU VA space 136 * by drm_gpuva_sm_map() - it doesn't cover any arbitrary combinations of these. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | secure.txt | 15 can be supported by prefixing the property name with "secure-". So for 16 instance "secure-foo" would override "foo". For property names with 18 "vendor,secure-foo". If there is no "secure-" property then the Secure 20 non-prefixed property. However, only the properties listed below may 21 validly have "secure-" versions; this list will be enlarged on a 22 case-by-case basis. 24 Defining the bindings in this way means that a device tree which has 25 been annotated to indicate the presence of Secure-only devices can 26 still be processed unmodified by existing Non-secure software (and in 31 describe the view of Secure world using the standard bindings. These [all …]
|
/openbmc/qemu/docs/devel/ |
H A D | tracing.rst | 19 $ qemu --trace "memory_region_ops_*" ... 25 ``./configure --enable-trace-backends=BACKENDS`` was not explicitly specified. 27 Multiple patterns can be specified by repeating the ``--trace`` option:: 29 $ qemu --trace "kvm_*" --trace "virtio_*" ... 32 file to avoid long command-line options:: 36 $ qemu --trace events=/tmp/events ... 41 Sub-directory setup 42 ------------------- 44 Each directory in the source tree can declare a set of trace events in a local 45 "trace-events" file. All directories which contain "trace-events" files must be [all …]
|
/openbmc/linux/Documentation/riscv/ |
H A D | patch-acceptance.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 -------- 8 The RISC-V instruction set architecture is developed in the open: 9 in-progress drafts are available for all to review and to experiment 11 during the development process - sometimes in ways that are 13 challenge for RISC-V Linux maintenance. Linux maintainers disapprove 14 of churn, and the Linux development process prefers well-reviewed and 16 principles to the RISC-V-related code that will be accepted for 20 --------- 22 RISC-V has a patchwork instance, where the status of patches can be checked: [all …]
|
/openbmc/openbmc/poky/documentation/kernel-dev/ |
H A D | concepts-appx.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 24 up-to-date Yocto Linux kernel possible, while still ensuring that the 31 mix of important new mainline developments, non-mainline developments 38 :ref:`overview-manual/development-environment:yocto project source repositories` 44 - *linux-yocto-4.1:* The stable Yocto Project kernel to use with 48 - *linux-yocto-4.4:* The stable Yocto Project kernel to use with 52 - *linux-yocto-4.6:* A temporary kernel that is not tied to any 55 - *linux-yocto-4.8:* The stable yocto Project kernel to use with 58 - *linux-yocto-4.9:* The stable Yocto Project kernel to use with 62 - *linux-yocto-4.10:* The default stable Yocto Project kernel to [all …]
|
/openbmc/linux/Documentation/powerpc/ |
H A D | associativity.rst | 9 are represented as being members of a sub-grouping domain. This performance 11 From the platform view, these groups are also referred to as domains. 17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property". 18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1. 20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used. 23 ------ 27 ------ 28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity 29 device tree properties are used to determine the NUMA distance between resource groups/domains. 34 The “ibm,associativity-reference-points” property contains a list of one or more numbers [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | api.py | 6 # SPDX-License-Identifier: GPL-2.0-only 26 from django.views.generic import View 49 class XhrBuildRequest(View): 140 class XhrProjectUpdate(View): 183 class XhrSetDefaultImageUrl(View): 239 # recipes-*/*/*.bb 240 recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb')) 243 recipe_path = recipe[recipe.rfind('recipes-'):] 265 class XhrLayer(View): 397 layer_data = json.loads(request.body.decode('utf-8')) [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | scsi_fc_transport.rst | 1 .. SPDX-License-Identifier: GPL-2.0 40 -------- 44 Virtualization (NPIV) mechanism, a point-to-point connection to a Fabric 48 unique view of the fabric based on fabric zoning and array lun-masking 49 (just like a normal non-NPIV adapter). Using the Virtual Fabric (VF) 53 own unique view of endpoints and configuration parameters. NPIV may be 57 The FC transport is now recognizing a new object - a vport. A vport is 58 an entity that has a world-wide unique World Wide Port Name (wwpn) and 62 distinct N_Port_ID and view of fabric endpoints and storage entities. 65 Linux device tree, and instruct the fc_host's driver to instantiate the [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-cheza-r1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Cheza board device tree source 8 /dts-v1/; 10 #include "sdm845-cheza.dtsi" 14 compatible = "google,cheza-rev1", "qcom,sdm845"; 17 * FIXED REGULATORS (not in sdm845-cheza.dtsi) - parents above children 24 * view they are the same. 27 pp3500_a_vbob: pp3500-a-vbob-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_bob"; [all …]
|
H A D | sdm845-cheza-r2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Cheza board device tree source 8 /dts-v1/; 10 #include "sdm845-cheza.dtsi" 14 compatible = "google,cheza-rev2", "qcom,sdm845"; 17 * FIXED REGULATORS (not in sdm845-cheza.dtsi) - parents above children 24 * view they are the same. 27 pp3500_a_vbob: pp3500-a-vbob-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_bob"; [all …]
|
/openbmc/linux/Documentation/networking/mac80211_hwsim/ |
H A D | mac80211_hwsim.rst | 3 .. SPDX-License-Identifier: GPL-2.0 7 mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211 24 the normal case of using real WLAN hardware. From the mac80211 view 60 care of WPA2-PSK authentication. In addition, hostapd is also 75 wpa_supplicant -Dnl80211 -iwlan1 -c wpa_supplicant.conf 80 (http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=tree;f=mac80211_hwsim/tests)
|