/linux-6.14.4/arch/s390/boot/ |
D | physmem_info.c | 1 // SPDX-License-Identifier: GPL-2.0 35 return &physmem_info.online_extended[n - MEM_INLINED_ENTRIES]; in __get_physmem_range_ptr() 42 void add_physmem_online_range(u64 start, u64 end) in add_physmem_online_range() argument 47 range = __get_physmem_range_ptr(physmem_info.range_count - 1); in add_physmem_online_range() 48 if (range->end == start) { in add_physmem_online_range() 49 range->end = end; in add_physmem_online_range() 55 range->start = start; in add_physmem_online_range() 56 range->end = end; in add_physmem_online_range() 87 "+Q" (get_lowcore()->program_new_psw), in __diag260() 91 [psw_pgm] "a" (&get_lowcore()->program_new_psw) in __diag260() [all …]
|
D | kaslr.c | 1 // SPDX-License-Identifier: GPL-2.0 88 return -1; in get_random() 101 for (j = i - 1; j >= 0 && res[j].start > tmp.start; j--) in sort_reserved_ranges() 107 static unsigned long iterate_valid_positions(unsigned long size, unsigned long align, in iterate_valid_positions() argument 112 unsigned long start, end, tmp_end, range_pos, pos = 0; in iterate_valid_positions() local 117 align = max(align, 8UL); in iterate_valid_positions() 118 _min = round_up(_min, align); in iterate_valid_positions() 119 for_each_physmem_usable_range(i, &start, &end) { in iterate_valid_positions() 120 if (_min >= end) in iterate_valid_positions() 122 start = round_up(start, align); in iterate_valid_positions() [all …]
|
/linux-6.14.4/include/trace/events/ |
D | vmalloc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * alloc_vmap_area - called when a new vmap allocation occurs 14 * @align: a requested alignment 16 * @vend: a requested end range 25 TP_PROTO(unsigned long addr, unsigned long size, unsigned long align, 28 TP_ARGS(addr, size, align, vstart, vend, failed), 33 __field(unsigned long, align) 40 __entry->addr = addr; 41 __entry->size = size; 42 __entry->align = align; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mtd/partitions/ |
D | partition.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 Everything after 'partition-' will be used as the partition name to compare 26 - Rafał Miłecki <[email protected]> 37 read-only: 39 should only be mounted read-only. This is usually used for flash 40 partitions containing early-boot firmware images or data which should 49 slc-mode: 52 immune to paired-pages corruptions [all …]
|
/linux-6.14.4/mm/ |
D | memblock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 46 * * ``memory`` - describes the physical memory available to the 50 * * ``reserved`` - describes the regions that were allocated 51 * * ``physmem`` - describes the actual physical memory available during 81 * * memblock_phys_alloc*() - these functions return the **physical** 83 * * memblock_alloc*() - these functions return the **virtual** address 145 for (i = 0, rgn = &memblock_type->regions[0]; \ 146 i < memblock_type->cnt; \ 147 i++, rgn = &memblock_type->regions[i]) 174 return *size = min(*size, PHYS_ADDR_MAX - base); in memblock_cap_size() [all …]
|
D | sparse-vmemmap.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * architectures already map their physical space using 1-1 mappings 14 * for free if we use the same page size as the 1-1 mappings. In that 44 unsigned long align, in __earlyonly_bootmem_alloc() argument 47 return memmap_alloc(size, align, goal, node, false); in __earlyonly_bootmem_alloc() 94 return altmap->base_pfn + altmap->reserve + altmap->alloc in vmem_altmap_next_pfn() 95 + altmap->align; in vmem_altmap_next_pfn() 100 unsigned long allocated = altmap->alloc + altmap->align; in vmem_altmap_nr_free() 102 if (altmap->free > allocated) in vmem_altmap_nr_free() 103 return altmap->free - allocated; in vmem_altmap_nr_free() [all …]
|
D | vmalloc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * SMP-safe vmalloc/vfree/ioremap, Tigran Aivazian <[email protected]>, May 2000 51 #include "pgalloc-track.h" 54 static unsigned int __ro_after_init ioremap_max_page_shift = BITS_PER_LONG - 1; 94 static int vmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in vmap_pte_range() argument 106 return -ENOMEM; in vmap_pte_range() 117 size = arch_vmap_pte_range_map_size(addr, end, pfn, max_page_shift); in vmap_pte_range() 129 } while (pte += PFN_DOWN(size), addr += size, addr != end); in vmap_pte_range() 134 static int vmap_try_huge_pmd(pmd_t *pmd, unsigned long addr, unsigned long end, in vmap_try_huge_pmd() argument 144 if ((end - addr) != PMD_SIZE) in vmap_try_huge_pmd() [all …]
|
/linux-6.14.4/Documentation/networking/device_drivers/can/ctu/ |
D | fsm_txt_buffer_user.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 …mlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 5 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 8 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 11 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 14 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 17 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 20 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 23 …-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.03544z" fill="#28a4ff" fil… 26 …3374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.03544z" fill-rule="eve… [all …]
|
/linux-6.14.4/arch/m68k/sun3/ |
D | sun3dvma.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #define dvma_index(baddr) ((baddr - DVMA_START) >> DVMA_PAGE_SHIFT) 31 unsigned long end; member 82 if((hole->start == 0) && (hole->end == 0) && (hole->size == 0)) in print_holes() 85 pr_info("hole: start %08lx end %08lx size %08lx\n", in print_holes() 86 hole->start, hole->end, hole->size); in print_holes() 89 pr_info("end of hole listing...\n"); in print_holes() 109 if(hole->end == prev->start) { in refill() 110 hole->size += prev->size; in refill() 111 hole->end = prev->end; in refill() [all …]
|
/linux-6.14.4/drivers/pci/ |
D | setup-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * PCI-PCI bridges cleanup, sorted resource allocation. 39 resource_size_t end; member 50 list_del(&dev_res->list); in free_list() 56 * add_to_list() - Add a new resource tracker to the list 71 return -ENOMEM; in add_to_list() 73 tmp->res = res; in add_to_list() 74 tmp->dev = dev; in add_to_list() 75 tmp->start = res->start; in add_to_list() 76 tmp->end = res->end; in add_to_list() [all …]
|
/linux-6.14.4/include/linux/ |
D | memblock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 28 * enum memblock_flags - definition of memory region attributes 30 * @MEMBLOCK_HOTPLUG: memory region indicated in the firmware-provided memory 40 * via a driver, and never indicated in the firmware-provided memory map as 56 * struct memblock_region - represents a memory region 72 * struct memblock_type - collection of memory regions of certain type 88 * struct memblock - memblock allocator metadata 123 void memblock_trim_memory(phys_addr_t align); 165 * for_each_physmem_range - iterate through physmem areas not included in type. 169 * @p_end: ptr to phys_addr_t for end address of the range, can be %NULL [all …]
|
D | linkage.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 53 * untouched by the compiler by keeping them live until the end. 54 * The argument stack may be owned by the assembly-language 62 * end up needing stack temporaries for). 64 /* Assembly files may be compiled with -traditional .. */ 78 /* SYM_T_FUNC -- type used by assembler to mark functions */ 83 /* SYM_T_OBJECT -- type used by assembler to mark data */ 88 /* SYM_T_NONE -- type used by assembler to mark entries of unknown type */ 93 /* SYM_A_* -- align the symbol? */ 94 #define SYM_A_ALIGN ALIGN [all …]
|
/linux-6.14.4/arch/arm/mm/ |
D | proc-feroceon.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mm/proc-feroceon.S: MMU functions for Feroceon 5 * Heavily based on proc-arm926.S 15 #include <asm/pgtable-hwdef.h> 18 #include "proc-macros.S" 36 .align 3 53 movne r3, #((4 - 1) << 30) @ 4-way 55 moveq r3, #0 @ 1-way 94 .align 5 116 .align 5 [all …]
|
D | proc-arm1026.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mm/proc-arm1026.S: MMU functions for ARM1026EJ-S 7 * hacked for non-paged-MM by Hyok S. Choi, 2003. 10 * functions on the ARM1026EJ-S. 17 #include <asm/asm-offsets.h> 19 #include <asm/pgtable-hwdef.h> 22 #include "proc-macros.S" 84 .align 5 104 .align 5 112 .align 5 [all …]
|
/linux-6.14.4/arch/alpha/boot/ |
D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 .end __start 20 .align 5 27 .end wrent 29 .align 5 36 .end wrkgp 38 .align 5 86 .end switch_to_osf_pal 88 .align 3 95 .end tbi [all …]
|
/linux-6.14.4/drivers/media/platform/amphion/ |
D | vpu_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2020-2021 NXP 35 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_check_type() 36 if (!vpu_iface_check_format(inst, pfmt->pixfmt)) in vpu_helper_check_type() 38 if (pfmt->type == type) in vpu_helper_check_type() 49 if (!inst || !inst->formats) in vpu_helper_find_format() 55 for (pfmt = inst->formats; pfmt->pixfmt; pfmt++) { in vpu_helper_find_format() 56 if (pfmt->pixfmt == pixelfmt && (!type || type == pfmt->type)) in vpu_helper_find_format() 69 if (!fmt || !fmt->sibling) in vpu_helper_find_sibling() 72 sibling = vpu_helper_find_format(inst, type, fmt->sibling); in vpu_helper_find_sibling() [all …]
|
/linux-6.14.4/arch/microblaze/kernel/cpu/ |
D | cache.c | 4 * Copyright (C) 2007-2009 Michal Simek <[email protected]> 5 * Copyright (C) 2007-2009 PetaLogix 6 * Copyright (C) 2007-2009 John Williams <[email protected]> 89 * End address can be unaligned which is OK for C implementation. 90 * ASM implementation align it in ASM macros 92 #define CACHE_LOOP_LIMITS(start, end, cache_line_length, cache_size) \ argument 94 int align = ~(cache_line_length - 1); \ 95 if (start < UINT_MAX - cache_size) \ 96 end = min(start + cache_size, end); \ 97 start &= align; \ [all …]
|
/linux-6.14.4/drivers/android/ |
D | binder_alloc_selftest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * enum buf_end_align_type - Page alignment of a buffer 24 * end with regard to the end of the previous buffer. 28 * Symbol [ means the start of a buffer, ] means the end 33 * @SAME_PAGE_UNALIGNED: The end of this buffer is on 34 * the same page as the end of the previous buffer and 41 * @SAME_PAGE_ALIGNED: When the end of the previous buffer 42 * is not page aligned, the end of this buffer is on the 43 * same page as the end of the previous buffer and is page 45 * end of this buffer is aligned to the next page boundary. [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/selftests/ |
D | i915_random.c | 56 /* Fisher-Yates shuffle courtesy of Knuth */ in i915_prandom_shuffle() 57 while (--count) { in i915_prandom_shuffle() 93 u64 start, u64 end, in igt_random_offset() argument 94 u64 len, u64 align) in igt_random_offset() argument 98 BUG_ON(range_overflows(start, len, end)); in igt_random_offset() 99 BUG_ON(round_up(start, align) > round_down(end - len, align)); in igt_random_offset() 101 range = round_down(end - len, align) - round_up(start, align); in igt_random_offset() 108 return round_up(start, align); in igt_random_offset()
|
/linux-6.14.4/arch/alpha/lib/ |
D | callback_srm.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 .align 4 34 .align 4 50 .end srm_fixup 53 .align 3 55 lda $0,-1($31) 60 .align 4; .globl callback_##NAME; .ent callback_##NAME; callback_##NAME##: \ 61 ldgp $29,0($27); br $25,srm_dispatch; .word CODE, ARG_CNT; .end callback_##NAME 66 .align 3; .globl callback_##NAME; .ent callback_##NAME; callback_##NAME##: \ 67 lda $0,-1($31); ret; .end callback_##NAME [all …]
|
/linux-6.14.4/arch/alpha/kernel/ |
D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * switched into OSF/1 PAL-code, and loaded us at the correct address 8 * the kernel global pointer and jump to the kernel entry-point. 12 #include <asm/asm-offsets.h> 29 lda $30,0x4000 - SIZEOF_PT_REGS($8) 33 .end __start 36 .align 3 39 /* On entry here from SRM console, the HWPCB of the per-cpu 56 .end __smp_callin 65 .align 3 [all …]
|
D | pci_iommu.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/dma-map-ops.h> 15 #include <linux/iommu-helper.h> 44 return (paddr >> (PAGE_SHIFT-1)) | 1; in mk_iommu_pte() 61 unsigned long window_size, unsigned long align) in iommu_arena_new_node() argument 70 the size of the window. Retain the align parameter so that in iommu_arena_new_node() 71 particular systems can over-align the arena. */ in iommu_arena_new_node() 72 if (align < mem_size) in iommu_arena_new_node() 73 align = mem_size; in iommu_arena_new_node() 76 arena->ptes = memblock_alloc_or_panic(mem_size, align); in iommu_arena_new_node() [all …]
|
/linux-6.14.4/arch/arm/kernel/ |
D | vmlinux-xip.lds.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* No __ro_after_init data in the .rodata section - which will always be ro */ 57 _stext = .; /* Text and read-only data */ 63 . = ALIGN(4); 64 __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { 74 _etext = .; /* End of text and rodata section */ 102 . = ALIGN(SZ_128K); 104 _exiprom = .; /* End of XIP ROM area */ 109 __data_loc = ALIGN(4); /* location in file */ 112 #define LOAD_OFFSET (PAGE_OFFSET + TEXT_OFFSET - __data_loc) [all …]
|
/linux-6.14.4/drivers/nvdimm/ |
D | dimm_devs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 14 #include "nd-core.h" 29 if (!nvdimm->cmd_mask || in nvdimm_check_config_data() 30 !test_bit(ND_CMD_GET_CONFIG_DATA, &nvdimm->cmd_mask)) { in nvdimm_check_config_data() 31 if (test_bit(NDD_LABELING, &nvdimm->flags)) in nvdimm_check_config_data() 32 return -ENXIO; in nvdimm_check_config_data() 34 return -ENOTTY; in nvdimm_check_config_data() 45 return -EINVAL; in validate_dimm() 47 rc = nvdimm_check_config_data(ndd->dev); in validate_dimm() [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 1 // SPDX-License-Identifier: MIT 7 #include <linux/slab.h> /* fault-inject.h is not standalone! */ 9 #include <linux/fault-inject.h> 31 if (dma_map_sg_attrs(obj->base.dev->dev, in i915_gem_gtt_prepare_pages() 32 pages->sgl, pages->nents, in i915_gem_gtt_prepare_pages() 43 * try again - if there are no more pages to remove from in i915_gem_gtt_prepare_pages() 46 GEM_BUG_ON(obj->mm.pages == pages); in i915_gem_gtt_prepare_pages() 47 } while (i915_gem_shrink(NULL, to_i915(obj->base.dev), in i915_gem_gtt_prepare_pages() 48 obj->base.size >> PAGE_SHIFT, NULL, in i915_gem_gtt_prepare_pages() 52 return -ENOSPC; in i915_gem_gtt_prepare_pages() [all …]
|