/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | atmel,sama5d2-classd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-classd.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nicolas Ferre <nicolas.ferre@microchip.com> 12 - Alexandre Belloni <alexandre.belloni@bootlin.com> 13 - Claudiu Beznea <claudiu.beznea@microchip.com> 21 const: atmel,sama5d2-classd 32 dma-names: 38 clock-names: [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "btrfs-tests.h" 14 #include "../disk-io.h" 35 ret = filemap_get_folios_contig(inode->i_mapping, &index, in process_page_range() 66 if (state->state & EXTENT_##name) \ 67 cur += scnprintf(dest + cur, STATE_FLAG_STR_LEN - cur, \ 96 node = rb_first(&tree->state); in dump_extent_io_tree() 103 test_msg(" start=%llu len=%llu flags=%s", state->start, in dump_extent_io_tree() 104 state->end + 1 - state->start, flags_str); in dump_extent_io_tree() 123 int ret = -EINVAL; in test_find_delalloc() [all …]
|
H A D | free-space-tests.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "btrfs-tests.h" 9 #include "../disk-io.h" 10 #include "../free-space-cache.h" 11 #include "../block-group.h" 41 return -1; in test_extents() 71 return -1; in test_extents() 76 return -1; in test_extents() 81 return -1; in test_extents() 111 return -1; in test_bitmaps() [all …]
|
/openbmc/linux/security/landlock/ |
H A D | ruleset.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Landlock LSM - Ruleset management 5 * Copyright © 2016-2020 Mickaël Salaün <mic@digikod.net> 6 * Copyright © 2018-2020 ANSSI 33 * struct landlock_layer - Access rights for a given layer 48 * struct landlock_rule - Access rights tied to an object 52 * @node: Node in the ruleset's red-black tree. 74 * struct landlock_hierarchy - Node in a ruleset hierarchy 90 * struct landlock_ruleset - Landlock ruleset 97 * @root: Root of a red-black tree containing &struct landlock_rule [all …]
|
/openbmc/linux/lib/ |
H A D | memcpy_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0 97 /* Verify argument side-effects aren't repeated. */ in memcpy_test() 104 compare("argument side-effects", dest, three); in memcpy_test() 171 /* Verify argument side-effects aren't repeated. */ in memmove_test() 178 compare("argument side-effects", dest, five); in memmove_test() 180 /* Verify overlapping overwrite is correct. */ in memmove_test() 183 compare("overlapping write", overlap, overlap_expected); in memmove_test() 185 /* Verify larger overlapping moves. */ in memmove_test() 188 * Test a backwards overlapping memmove first. 256 and 1024 are in memmove_test() 195 memchr(larger_array + 1, 0xaa, ARRAY_SIZE(larger_array) - 1)); in memmove_test() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 50 This option enables the use of hardware bit-reversal instructions on 93 bool "Access I/O in non-MMIO mode" 99 mechanism, the host-local I/O resource can be mapped into system 101 system can access the I/O devices with the mapped-logic PIO through 133 tristate "CRC-CCITT functions" [all …]
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | cpusets.rst | 11 - Portions Copyright (c) 2004-2006 Silicon Graphics, Inc. 12 - Modified by Paul Jackson <pj@sgi.com> 13 - Modified by Christoph Lameter <cl@linux.com> 14 - Modified by Paul Menage <menage@google.com> 15 - Modified by Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> 41 ---------------------- 45 an on-line node that contains memory. 54 Documentation/admin-guide/cgroup-v1/cgroups.rst. 73 ---------------------------- 77 non-uniform access times (NUMA) presents additional challenges for [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | block-range.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * struct block_range - non-overlapping parts of basic blocks 40 struct rb_node *n = rb_next(&br->node); in block_range__next() 53 return iter->start; in block_range_iter() 58 if (iter->start == iter->end) in block_range_iter__next() 61 iter->start = block_range__next(iter->start); in block_range_iter__next() 67 if (!iter->start || !iter->end) in block_range_iter__valid()
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_memory.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 #define EFI_CARVE_NO_OVERLAP -1 26 #define EFI_CARVE_LOOP_AGAIN -2 27 #define EFI_CARVE_OVERLAPS_NONRAM -3 37 * U-Boot services each EFI AllocatePool request as a separate 61 if (mema->desc.physical_start == memb->desc.physical_start) in efi_mem_cmp() 63 else if (mema->desc.physical_start < memb->desc.physical_start) in efi_mem_cmp() 66 return -1; in efi_mem_cmp() 71 return desc->physical_start + (desc->num_pages << EFI_PAGE_SHIFT); in desc_get_end() 87 struct efi_mem_desc *prev = &prevmem->desc; in efi_mem_sort() [all …]
|
/openbmc/linux/arch/arc/mm/ |
H A D | highmem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * for book-keeping 23 * fixmaps (compile time addr etc). Their book-keeping is done per cpu. 25 * Both these facts combined (preemption disabled and per-cpu allocation) 32 * - the kernel vaddr space from 0x7z to 0x8z (currently used by vmalloc/module) 33 * is now shared between vmalloc and kmap (non overlapping though) 35 * - Both fixmap/pkmap use a dedicated page table each, hooked up to swapper PGD 39 * - The fixed KMAP slots for kmap_local/atomic() require KM_MAX_IDX slots per 42 * - pkmap being preemptible, in theory could do with more than 256 concurrent
|
/openbmc/qemu/include/exec/ |
H A D | memattrs.h | 10 * See the COPYING file in the top-level directory. 21 * all as non-overlapping bitfields in a single struct to avoid 69 /* New-style MMIO accessors can indicate that the transaction failed. 71 * of some kind. The memory subsystem will bitwise-OR together results
|
/openbmc/qemu/docs/devel/ |
H A D | memory.rst | 8 - ordinary RAM 9 - memory-mapped I/O (MMIO) 10 - memory controllers that can dynamically reroute physical memory regions 15 - tracking RAM changes by the guest 16 - setting up coalesced memory for kvm 17 - setting up ioeventfd regions for kvm 28 ---------------- 33 - RAM: a RAM region is simply a range of host memory that can be made available 39 - MMIO: a range of guest memory that is implemented by host callbacks; 44 - ROM: a ROM memory region works like RAM for reads (directly accessing [all …]
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | perf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 :Date: 2019-03-06 16 ------------ 24 -------------- 39 ---------- 46 For a non-VHE host this attribute will exclude EL2 as we consider the 55 ---------------------------- 59 The KVM host may run at EL0 (userspace), EL1 (non-VHE kernel) and EL2 (VHE 60 kernel or non-VHE hypervisor). 64 Due to the overlapping exception levels between host and guests we cannot [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/klibc/ |
H A D | klibc.inc | 5 LICENSE = "BSD-3-Clause & GPL-2.0-only & MIT & Zlib" 7 DEPENDS = "linux-libc-headers perl-native" 9 SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/2.0/klibc-${PV}.tar.xz \ 11 file://klcc-consider-sysroot.patch \ 12 file://klcc-cross-accept-clang-options.patch \ 13 file://0001-Define-in_-structs-for-non-glibc-system-libs.patch \ 14 file://0001-include-linux-sysinfo.h-directly.patch \ 15 file://0001-mkfifo-Implement-mkfifo.patch \ 16 file://0001-always-use-bfd-linker.patch \ 17 file://0001-arm-Do-not-set-a-fallback-march-and-mtune.patch \ [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | vgic_init.c | 1 // SPDX-License-Identifier: GPL-2.0 72 return __vcpu_run(vcpu) ? -errno : 0; in run_vcpu() 102 close(v->gic_fd); in vm_gic_destroy() 103 kvm_vm_free(v->vm); in vm_gic_destroy() 138 * ARM_VGIC (GICv2 or GICv3) device gets created with an overlapping 151 rdist = VGIC_DEV_IS_V3(v->gic_dev_type) ? gic_v3_redist_region in subtest_dist_rdist() 153 dist = VGIC_DEV_IS_V3(v->gic_dev_type) ? gic_v3_dist_region in subtest_dist_rdist() 157 kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, dist.attr); in subtest_dist_rdist() 159 kvm_has_device_attr(v->gic_fd, KVM_DEV_ARM_VGIC_GRP_ADDR, rdist.attr); in subtest_dist_rdist() 161 /* check non existing attribute */ in subtest_dist_rdist() [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * aes-ce-core.S - AES in CBC/CTR/XTS mode using ARMv8 Crypto Extensions 12 .arch armv8-a 13 .fpu crypto-neon-fp-armv8 102 vld1.32 {q10-q11}, [ip]! 104 vld1.32 {q12-q13}, [ip]! 106 vld1.32 {q10-q11}, [ip]! 108 vld1.32 {q12-q13}, [ip]! 110 blo 0f @ AES-128: 10 rounds 111 vld1.32 {q10-q11}, [ip]! [all …]
|
/openbmc/qemu/util/ |
H A D | qdist.c | 2 * qdist.c - QEMU helpers for handling frequency distributions of data. 7 * See the COPYING file in the top-level directory. 21 dist->entries = g_new(struct qdist_entry, 1); in qdist_init() 22 dist->size = 1; in qdist_init() 23 dist->n = 0; in qdist_init() 28 g_free(dist->entries); in qdist_destroy() 36 return -1; in qdist_cmp_double() 46 return qdist_cmp_double(a->x, b->x); in qdist_cmp() 53 if (dist->n) { in qdist_add() 57 entry = bsearch(&e, dist->entries, dist->n, sizeof(e), qdist_cmp); in qdist_add() [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. 28 * The in-core btree key. Overlapping btrees actually store two keys 52 * This nonsense is to make -wlint happy. 81 #define XFS_BB_ALL_BITS ((1u << XFS_BB_NUM_BITS) - 1) 83 #define XFS_BB_ALL_BITS_CRC ((1u << XFS_BB_NUM_BITS_CRC) - 1) 89 XFS_STATS_INC_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat) 91 XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val) 100 * Decide if these two numeric btree key fields are contiguous, overlapping, 163 * Difference between key2 and key1 -- positive if key1 > key2, [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | compress.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * compress.c - NTFS kernel compressed attributes handling. 4 * Part of the Linux-NTFS project. 6 * Copyright (c) 2001-2004 Anton Altaparmakov 22 * ntfs_compression_constants - enum of constants used in the compression code 30 /* Compression sub-block constants. */ 45 * ntfs_compression_buffer - one buffer for the decompression engine 50 * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer 55 * allocate_compression_buffers - allocate the decompression buffers 59 * Return 0 on success or -ENOMEM if the allocations failed. [all …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | atmel-classd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include "atmel-classd.h" 40 .compatible = "atmel,sama5d2-classd", 49 struct device_node *np = dev->of_node; in atmel_classd_dt_init() 56 return ERR_PTR(-EINVAL); in atmel_classd_dt_init() 61 return ERR_PTR(-ENOMEM); in atmel_classd_dt_init() 63 ret = of_property_read_string(np, "atmel,pwm-type", &pwm_type_s); in atmel_classd_dt_init() 65 pdata->pwm_type = CLASSD_MR_PWMTYP_DIFF; in atmel_classd_dt_init() 67 pdata->pwm_type = CLASSD_MR_PWMTYP_SINGLE; in atmel_classd_dt_init() 70 "atmel,non-overlap-time", &pdata->non_overlap_time); in atmel_classd_dt_init() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_extent_busy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 36 new->agno = pag->pag_agno; in xfs_extent_busy_insert_list() 37 new->bno = bno; in xfs_extent_busy_insert_list() 38 new->length = len; in xfs_extent_busy_insert_list() 39 INIT_LIST_HEAD(&new->list); in xfs_extent_busy_insert_list() 40 new->flags = flags; in xfs_extent_busy_insert_list() 43 trace_xfs_extent_busy(pag->pag_mount, pag->pag_agno, bno, len); in xfs_extent_busy_insert_list() 45 spin_lock(&pag->pagb_lock); in xfs_extent_busy_insert_list() 46 rbp = &pag->pagb_tree.rb_node; in xfs_extent_busy_insert_list() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | autoprobe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 1992, 1998-2004 Linus Torvalds, Ingo Molnar 24 * probe_irq_on - begin an interrupt autodetect 46 raw_spin_lock_irq(&desc->lock); in probe_irq_on() 47 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on() 52 if (desc->irq_data.chip->irq_set_type) in probe_irq_on() 53 desc->irq_data.chip->irq_set_type(&desc->irq_data, in probe_irq_on() 57 raw_spin_unlock_irq(&desc->lock); in probe_irq_on() 69 raw_spin_lock_irq(&desc->lock); in probe_irq_on() 70 if (!desc->action && irq_settings_can_probe(desc)) { in probe_irq_on() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | gtp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 In 'drivers/net/gtp.c' you are finding a kernel-level implementation 18 tunneling User-IP payload between a mobile station (phone, modem) 29 technology-dependent protocol stack for transmitting the user IP 35 is translated into GTP *without breaking the end-to-end tunnel*. So 38 At some point the GTP packet ends up on the so-called GGSN (GSM/UMTS) 39 or P-GW (LTE), which terminates the tunnel, decapsulates the packet 42 theoretically some non-IP network like X.25). 58 It *only* implements the so-called 'user plane', carrying the User-IP 59 payload, called GTP-U. It does not implement the 'control plane', [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_exec.c | 1 // SPDX-License-Identifier: MIT 26 * userspace-managable portion of the VA space. It provides operations to map 52 * - unmap non-existent sparse mappings 53 * - unmap a sparse mapping and map a new sparse mapping overlapping the range 55 * - unmap a sparse mapping and map new memory backed mappings overlapping the 84 * be pending. Hence, EXEC jobs require to have the particular fences - of 85 * the corresponding VM_BIND jobs they depent on - attached to them. 92 struct nouveau_cli *cli = job->cli; in nouveau_exec_job_submit() 94 struct drm_exec *exec = &job->exec; in nouveau_exec_job_submit() 100 ret = nouveau_fence_create(&exec_job->fence, exec_job->chan); in nouveau_exec_job_submit() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_mlme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 61 #define WIFI_MP_CTX_ST 0x00040000 /* in continuous tx with single-tone */ 103 like ISR/Call-Back functions, the OID handlers, and even timer functions. 330 /* Number of non-HT AP/stations */ 351 /* Number of associated Non-ERP stations (i.e., stations using 802.11b 361 int olbc; /* Overlapping Legacy BSS Condition */ 366 /* Number of associated non-HT stations */ 372 /* Overlapping BSS information */ 413 adapter->mlmepriv.auto_scan_int_ms = ms; \ [all …]
|