/openbmc/linux/tools/testing/radix-tree/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/radix-tree.h> 15 void __gang_check(unsigned long middle, long down, long up, int chunk, int hop) in __gang_check() argument 22 for (idx = -down; idx < up; idx++) in __gang_check() 25 item_check_absent(&tree, middle - down - 1); in __gang_check() 26 for (idx = -down; idx < up; idx++) in __gang_check() 28 item_check_absent(&tree, middle + up); in __gang_check() 31 item_gang_check_present(&tree, middle - down, up + down, in __gang_check() 33 item_full_scan(&tree, middle - down, down + up, chunk); in __gang_check() 50 unsigned long start; in __big_gang_check() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/ |
H A D | influxdb | 4 # Required-Start: $all 5 # Required-Stop: $remote_fs $syslog 6 # Default-Start: 2 3 4 5 7 # Default-Stop: 0 1 6 8 # Short-Description: Start the InfluxDB process 10 set -x 13 # Command-line options that can be set in /etc/default/influxdb. These will override 36 if [ ! -x $DAEMON ]; then 47 if [ ! -d "$PIDDIR" ]; then 48 mkdir -p $PIDDIR [all …]
|
/openbmc/linux/arch/powerpc/mm/kasan/ |
H A D | init_book3s_64.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * KASAN for 64-bit Book3S powerpc 5 * Copyright 2019-2022, Daniel Axtens, IBM Corporation. 10 * like the device-tree parser, so it uses this in conjunction with a hook in 24 static void __init kasan_init_phys_region(void *start, void *end) in kasan_init_phys_region() argument 29 if (start >= end) in kasan_init_phys_region() 32 k_start = ALIGN_DOWN((unsigned long)kasan_mem_to_shadow(start), PAGE_SIZE); in kasan_init_phys_region() 35 va = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_phys_region() 50 * This takes us up to where we start at c00e... in kasan_init() 55 phys_addr_t start, end; in kasan_init() local [all …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | gpio-cfg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * S3C Platform - GPIO pin configuration 13 * changing the pull-{up,down} configurations. 27 /* forward declaration if gpio-core.h hasn't been included */ 41 * per-bank configuration information that other systems such as the 73 * s3c_gpio_cfgpin() - Change the GPIO function of a pin. 85 * If a bank of GPIOs all needs to be set to special-function 2, then 88 * for (gpio = start; gpio < end; gpio++) 98 * s3c_gpio_cfgpin_range() - Change the GPIO function for configuring pin range 99 * @start: The pin number to start at [all …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_unicode.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2002 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 17 #define free_UCSname(COMP) kfree((COMP)->name) 24 wchar_t *anchor = ucs1; /* save the start of result string */ in UniStrcpy() 40 while (n-- && *ucs2) /* Copy the strings */ in UniStrncpy_le() 44 while (n--) /* Pad with nulls */ in UniStrncpy_le() 50 * UniStrncmp_le: Compare length limited string - native to little-endian 57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 61 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() [all …]
|
/openbmc/openbmc/poky/documentation/toaster-manual/ |
H A D | setup-and-use.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 6 Setting Up and Using Toaster 12 Once you have set up the Yocto Project and installed the Toaster system 13 dependencies as described in the ":ref:`toaster-manual/start:Preparing to Use 14 Toaster`" chapter, you are ready to start 24 $ source oe-init-build-env 26 Next, from the :term:`Build Directory` (e.g. ``poky/build``), start Toaster 29 $ source toaster start 33 ":ref:`toaster-manual/setup-and-use:using the toaster web interface`". 47 $ source toaster start webport=8400 [all …]
|
H A D | intro.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 11 and start builds on multiple remote build servers. 19 - *Configure and Run Builds:* You can use the Toaster web interface to 20 configure and start your builds. Builds started using the Toaster web 27 - Browse layers listed in the various 28 :ref:`layer sources <toaster-manual/reference:layer source>` 32 - Browse images, recipes, and machines provided by those layers. 34 - Import your own layers for building. 36 - Add and remove layers from your configuration. 38 - Set configuration variables. [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | physmem.c | 3 * Use of this source code is governed by a BSD-style license that can be 42 uint64_t pwt:1; /* page-level writethrough */ 43 uint64_t pcd:1; /* page-level cache disable */ 49 uint64_t pat:1; /* page-attribute table */ 73 /* Set up a handy pointer to the appropriate PDE. */ in x86_phys_map_page() 77 pde->p = 1; in x86_phys_map_page() 78 pde->rw = 1; in x86_phys_map_page() 79 pde->us = 1; in x86_phys_map_page() 80 pde->ps = 1; in x86_phys_map_page() 81 pde->base = phys >> 21; in x86_phys_map_page() [all …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | daemon.sh | 3 # SPDX-License-Identifier: GPL-2.0 12 local up=$6 45 if [ "${up}" != "${line_up}" ]; then 46 echo "FAILED: wrong up" 60 local up=$8 107 if [ "${up}" != "${line_up}" ]; then 108 echo "FAILED: wrong up" 118 line=`perf daemon --config ${config} -x: | head -1` 123 trap - SIGINT SIGTERM 126 perf daemon stop --config ${config} [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-daemon.txt | 1 perf-daemon(1) 6 ---- 7 perf-daemon - Run record sessions on background 11 -------- 15 'perf daemon start' [<options>] 22 ----------- 31 1 916507 ... perf daemon start 32 …916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switc… 33 …916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --swit… 38 to produce data periodically, like with --switch-output configuration [all …]
|
/openbmc/u-boot/tools/binman/etype/ |
H A D | x86_start16_tpl.py | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Entry-type module for the 16-bit x86 start-up code for U-Boot TPL 12 """x86 16-bit start-up code for TPL 15 - filename: Filename of tpl/u-boot-x86-16bit-tpl.bin (default 16 'tpl/u-boot-x86-16bit-tpl.bin') 18 x86 CPUs start up in 16-bit mode, even if they are 64-bit CPUs. This code 21 for changing to 32-bit mode and starting TPL, which in turn jumps to SPL. 30 return 'tpl/u-boot-x86-16bit-tpl.bin'
|
H A D | x86_start16_spl.py | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Entry-type module for the 16-bit x86 start-up code for U-Boot SPL 12 """x86 16-bit start-up code for SPL 15 - filename: Filename of spl/u-boot-x86-16bit-spl.bin (default 16 'spl/u-boot-x86-16bit-spl.bin') 18 x86 CPUs start up in 16-bit mode, even if they are 64-bit CPUs. This code 21 for changing to 32-bit mode and starting SPL, which in turn changes to 22 64-bit mode and jumps to U-Boot (for 64-bit U-Boot). 24 For 32-bit U-Boot, the 'x86_start16' entry type is used instead. 30 return 'spl/u-boot-x86-16bit-spl.bin'
|
H A D | x86_start16.py | 1 # SPDX-License-Identifier: GPL-2.0+ 5 # Entry-type module for the 16-bit x86 start-up code for U-Boot 12 """x86 16-bit start-up code for U-Boot 15 - filename: Filename of u-boot-x86-16bit.bin (default 16 'u-boot-x86-16bit.bin') 18 x86 CPUs start up in 16-bit mode, even if they are 32-bit CPUs. This code 21 for changing to 32-bit mode and jumping to U-Boot's entry point, which 22 requires 32-bit mode (for 32-bit U-Boot). 24 For 64-bit U-Boot, the 'x86_start16_spl' entry type is used instead. 30 return 'u-boot-x86-16bit.bin'
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-malta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org) 18 #include <asm/mips-cps.h> 19 #include <asm/mips-boards/generic.h> 20 #include <asm/mips-boards/bonito64.h> 21 #include <asm/mips-boards/msc01_pci.h> 30 .start = 0x00000000UL, 36 .name = "GT-64120 PCI MEM", 41 .name = "GT-64120 PCI I/O", 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | numa.c | 2 * arch/sh/mm/numa.c - Multiple node support for SH machines 22 * in node 0, and other memory blocks in to node 1 and up, ordered by 23 * latency. Each node's pgdat is node-local at the beginning of the node, 26 void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) in setup_bootmem_node() argument 33 start_pfn = PFN_DOWN(start); in setup_bootmem_node() 36 pmb_bolt_mapping((unsigned long)__va(start), start, end - start, in setup_bootmem_node() 39 memblock_add(start, end - start); in setup_bootmem_node() 43 /* Node-local pgdat */ in setup_bootmem_node() 51 NODE_DATA(nid)->node_start_pfn = start_pfn; in setup_bootmem_node() 52 NODE_DATA(nid)->node_spanned_pages = end_pfn - start_pfn; in setup_bootmem_node() [all …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_ioc3.c | 1 // SPDX-License-Identifier: GPL-2.0 26 return readb(p->membase + (offset ^ 3)); in ioc3_serial_in() 31 writeb(value, p->membase + (offset ^ 3)); in ioc3_serial_out() 37 struct uart_8250_port up; in serial8250_ioc3_probe() local 44 return -ENODEV; in serial8250_ioc3_probe() 46 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in serial8250_ioc3_probe() 48 return -ENOMEM; in serial8250_ioc3_probe() 50 membase = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in serial8250_ioc3_probe() 52 return -ENOMEM; in serial8250_ioc3_probe() 56 irq = 0; /* no interrupt -> use polling */ in serial8250_ioc3_probe() [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | uclass.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 13 #include <dm/uclass-id.h> 18 * struct uclass - a U-Boot drive class, collecting together similar drivers 24 * There may be drivers for on-chip SoC GPIO banks, I2C GPIO expanders and 51 * struct uclass_driver - Driver for the uclass 66 * @init: Called to set up the uclass 68 * @priv_auto_alloc_size: If non-zero this is the size of the private data 69 * to be allocated in the uclass's ->priv pointer. If zero, then the uclass 73 * value is non-zero. 75 * owned by the uclass as 'dev->uclass_platdata'. If the value is non-zero, [all …]
|
/openbmc/linux/mm/ |
H A D | msync.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1994-1999 Linus Torvalds 19 * MS_SYNC syncs the entire file - including mappings. 21 * MS_ASYNC does not start I/O (it used to, up to 2.5.67). 22 * Nor does it marks the relevant pages dirty (it used to up to 2.6.17). 27 * Or the application may run fadvise(FADV_DONTNEED) against the fd to start 32 SYSCALL_DEFINE3(msync, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument 35 struct mm_struct *mm = current->mm; in SYSCALL_DEFINE3() 38 int error = -EINVAL; in SYSCALL_DEFINE3() 40 start = untagged_addr(start); in SYSCALL_DEFINE3() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | netfs_library.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Overview. 10 - Per-inode context. 11 - Inode context helper functions. 12 - Buffered read helpers. 13 - Read helper functions. 14 - Read helper structures. 15 - Read helper operations. 16 - Read helper procedure. 17 - Read helper cache API. [all …]
|
/openbmc/linux/arch/x86/mm/ |
H A D | init.c | 27 #include <asm/text-patching.h> 43 * WC and WT fall back to UC-. pat_init() updates these values to support 45 * for the details. Note, __early_ioremap() used during early boot-time 82 * Check that the write-protect PAT entry is set for write-protect. 83 * To do this without making assumptions how PAT has been set up (Xen has 169 * the 0-ISA_END_ADDRESS range and secondly for the initial PMD_SIZE mapping. 206 unsigned long start; member 216 * up after us can get the correct flags. Invoked on the boot CPU. 251 /* Except when with PTI where the kernel is mostly non-Global: */ in probe_page_size_mask() 294 * This can't be cr4_set_bits_and_update_boot() -- the in setup_pcid() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_page_dirty.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2019-2023 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 32 * VMW_BO_DIRTY_PAGETABLE - Scan the pagetable for hardware dirty bits 33 * VMW_BO_DIRTY_MKWRITE - Write-protect page table entries and record write- 53 * struct vmw_bo_dirty - Dirty information for buffer objects 54 * @start: First currently dirty bit 65 unsigned long start; member 75 * vmw_bo_dirty_scan_pagetable - Perform a pagetable scan for dirty bits 80 * dirty-tracking method. [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | hbitmap.h | 9 * later. See the COPYING file in the top-level directory. 16 #include "host-utils.h" 23 /* For 32-bit, the largest that fits in a 4 GiB address space. 24 * For 64-bit, the number of sectors in 1 PiB. Good luck, in 29 /* We need to place a sentinel in level 0 to speed up iteration. Thus, 42 /* Entry offset into the last-level array of longs. */ 45 /* The currently-active path in the tree. Each item of cur[i] stores 110 * @start: First bit to set (0-based). 115 void hbitmap_set(HBitmap *hb, uint64_t start, uint64_t count); 120 * @start: First bit to reset (0-based). [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | time.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 uint start, now, tmp; in __udelay() local 43 usec = usec - tmp; in __udelay() 45 /* Set up TIMER 3 as timebase clock */ in __udelay() 46 timerp->tmr = DTIM_DTMR_RST_RST; in __udelay() 47 timerp->tcn = 0; in __udelay() 49 timerp->tmr = in __udelay() 53 start = now = timerp->tcn; in __udelay() 54 while (now < start + tmp) in __udelay() 55 now = timerp->tcn; in __udelay() [all …]
|
/openbmc/linux/arch/arm64/lib/ |
H A D | delay.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 cycles_t start = get_cycles(); in __delay() local 31 u64 end = start + cycles; in __delay() 34 * Start with WFIT. If an interrupt makes us resume in __delay() 38 while ((get_cycles() - start) < cycles) in __delay() 44 while ((get_cycles() - start + timer_evt_period) < cycles) in __delay() 48 while ((get_cycles() - start) < cycles) in __delay() 61 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay() 67 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | file_load_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Based on kexec-tools' kexec-ppc64.c, kexec-elf-rel-ppc64.c, fs2dt.c. 28 #include <asm/crashdump-ppc64.h> 35 u64 *buf; /* data buffer for usable-memory property */ 40 /* usable memory ranges to look up */ 51 * get_exclude_memory_ranges - Get exclude memory ranges. This list includes 52 * regions like opal/rtas, tce-table, initrd, 54 * setting up kexec load segments. 100 * get_usable_memory_ranges - Get usable memory ranges. This list includes 101 * regions like crashkernel, opal/rtas & tce-table, [all …]
|