/linux-6.14.4/Documentation/userspace-api/ |
D | iommufd.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 19 At minimum iommufd provides universal support of managing I/O address spaces and 20 I/O page tables for all IOMMUs, with room in the design to add non-generic 31 -------------------- 35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap 41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an 44 - IOMMUFD_OBJ_HWPT_PAGING, representing an actual hardware I/O page table 48 feature flag. This can be either an UNMANAGED stage-1 domain for a device 49 running in the user space, or a nesting parent stage-2 domain for mappings 50 from guest-level physical addresses to host-level physical addresses. [all …]
|
/linux-6.14.4/Documentation/netlink/specs/ |
D | net_shaper.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 name: net-shaper 30 support for complex scheduling hierarchy, or for some shaping 32 @cap-get operation. 35 - 39 render-max: true 41 - name: unspec 43 - 46 - 51 - [all …]
|
/linux-6.14.4/include/linux/ |
D | kcsan.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * data structures to set up runtime. See kcsan-checks.h for explicit checks and 5 * modifiers. For more info please see Documentation/dev-tools/kcsan.rst. 13 #include <linux/kcsan-checks.h> 20 * task_struct, and interrupts access internal per-CPU storage. 30 * track of nesting. Both (a) and (b) are entirely independent of each 32 * vice-versa. 41 * To support these cases, we independently track the depth of nesting 48 * Access mask for all accesses if non-zero. 58 * barriers; only keep 1 to keep fast-path complexity manageable. [all …]
|
D | highmem-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Outside of CONFIG_HIGHMEM to support X86 32bit iomap_atomic() cruft. 17 DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx); in kmap_assert_nomap() 185 return page_address(&folio->page) + offset; in kmap_local_folio() 248 * kunmap_atomic - Unmap the virtual address mapped by kmap_atomic() - deprecated! 251 * Unmaps an address previously mapped by kmap_atomic() and re-enables 252 * pagefaults. Depending on PREEMP_RT configuration, re-enables also 256 * See kmap_local_page() for details on nesting. 270 * kunmap_local - Unmap a page mapped via kmap_local_page().
|
/linux-6.14.4/kernel/ |
D | context_tracking.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * Many thanks to Gilad Ben-Yossef, Paul McKenney, Ingo Molnar, Andrew Morton, 31 .nesting = 1, 41 /* Record the current task on exiting RCU-tasks (dyntick-idle entry). */ 45 WRITE_ONCE(current->rcu_tasks_idle_cpu, smp_processor_id()); in rcu_task_exit() 49 /* Record no current task on entering RCU-tasks (dyntick-idle exit). */ 53 WRITE_ONCE(current->rcu_tasks_idle_cpu, -1); in rcu_task_enter() 62 current->trc_reader_special.b.need_mb = true; in rcu_task_trace_heavyweight_enter() 71 current->trc_reader_special.b.need_mb = false; in rcu_task_trace_heavyweight_exit() 86 * CPUs seeing atomic_add_return() must see prior RCU read-side in ct_kernel_exit_state() [all …]
|
/linux-6.14.4/Documentation/core-api/ |
D | gfp_mask-from-fs-io.rst | 16 already held resources (e.g. locks - most commonly those used for the 25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory 38 .. kernel-doc:: include/linux/sched/mm.h 40 .. kernel-doc:: include/linux/sched/mm.h 44 any critical section with respect to the reclaim is started - e.g. 46 nesting would be possible via reclaim. The restore function should be 51 allows nesting so it is safe to call ``memalloc_noio_save`` or 62 In earlier kernels ``vmalloc`` didn't support GFP_NOFS semantic because there 69 violations then the recommended way around that (on pre-v5.17 kernels) is to
|
/linux-6.14.4/include/uapi/linux/ |
D | iommufd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. 23 * - ENOTTY: The IOCTL number itself is not supported at all 24 * - E2BIG: The IOCTL number is supported, but the provided structure has 25 * non-zero in a part the kernel does not understand. 26 * - EOPNOTSUPP: The IOCTL number is supported, and the structure is 28 * understand or support. 29 * - EINVAL: Everything about the IOCTL was understood, but a field is not 31 * - ENOENT: An ID or IOVA provided does not exist. 32 * - ENOMEM: Out of memory. [all …]
|
/linux-6.14.4/Documentation/virt/kvm/x86/ |
D | running-nested-guests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 can be KVM-based or a different hypervisor). The straightforward 12 .----------------. .----------------. 17 |----------------'--'----------------| 22 .------------------------------------------------------. 25 |------------------------------------------------------| 27 '------------------------------------------------------' 31 - L0 – level-0; the bare metal host, running KVM 33 - L1 – level-1 guest; a VM running on L0; also called the "guest 36 - L2 – level-2 guest; a VM running on L1, this is the "nested guest" [all …]
|
/linux-6.14.4/Documentation/bpf/ |
D | map_of_maps.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 9 - ``BPF_MAP_TYPE_ARRAY_OF_MAPS`` and ``BPF_MAP_TYPE_HASH_OF_MAPS`` were 13 purpose support for map in map storage. One level of nesting is supported, where 15 ``array_of_maps->sock_map``. 27 - Multi-level nesting is not supported. 28 - Any BPF map type can be used as an inner map, except for 30 - A BPF program cannot update or delete outer map entries. 32 For ``BPF_MAP_TYPE_ARRAY_OF_MAPS`` the key is an unsigned 32-bit integer index 38 the max_entries limit that you specify. Hash maps use pre-allocation of hash 40 pre-allocation when it is too memory expensive. [all …]
|
/linux-6.14.4/tools/testing/selftests/drivers/net/ |
D | shaper.py | 2 # SPDX-License-Identifier: GPL-2.0 10 def get_shapers(cfg, nl_shaper) -> None: 21 def get_caps(cfg, nl_shaper) -> None: 29 # Each device implementing shaper support must support some 33 def set_qshapers(cfg, nl_shaper) -> None: 41 if not 'support-bw-max' in caps or not 'support-metric-bps' in caps: 42 raise KsftSkipEx("device does not support queue scope shapers with bw_max and metric bps") 46 channels = netnl.channels_get({'header': {'dev-index': cfg.ifindex}}) 47 if channels['combined-count'] == 0: 49 cfg.nr_queues = channels['rx-count'] [all …]
|
/linux-6.14.4/Documentation/userspace-api/netlink/ |
D | netlink-raw.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 4 Netlink specification support for raw Netlink families 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>` 17 information. The raw netlink families also make use of type-specific 18 sub-messages. 21 ------- 29 .. code-block:: yaml 31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 33 name: rt-addr [all …]
|
D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 4 Netlink specification support for legacy Generic Netlink families 9 the ``genetlink-legacy`` protocol level. 15 ------- 29 -------------------- 31 New Netlink families should use ``multi-attr`` to define arrays. 35 For reference the ``multi-attr`` array may look like this:: 37 [ARRAY-ATTR] 41 [SOME-OTHER-ATTR] 42 [ARRAY-ATTR] [all …]
|
/linux-6.14.4/Documentation/networking/ |
D | openvswitch.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 flow-level packet processing on selected network devices. It can be 10 VLAN processing, network access control, flow-based network control, 26 packets of the same type entirely in-kernel). 30 ---------------------- 36 might even be desirable, someday, to drop support for parsing 41 To support this forward and backward compatibility, whenever the 45 kernel-provided version: 47 - If userspace's notion of the flow key for the packet matches the 50 - If the kernel's flow key includes more fields than the userspace [all …]
|
/linux-6.14.4/Documentation/locking/ |
D | locktypes.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 - Sleeping locks 16 - CPU local locks 17 - Spinning locks 20 for their nesting, including the rules for use under PREEMPT_RT. 27 -------------- 39 - mutex 40 - rt_mutex 41 - semaphore 42 - rw_semaphore [all …]
|
/linux-6.14.4/kernel/locking/ |
D | qspinlock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P. 6 * (C) Copyright 2013-2014,2018 Red Hat, Inc. 8 * (C) Copyright 2015 Hewlett-Packard Enterprise Development LP 33 * The basic principle of a queue-based spinlock can best be understood 34 * by studying a classic queue-based spinlock implementation called the 36 * Synchronization on Shared-Memory Multiprocessors by Mellor-Crummey and 47 * unlock the next pending (next->locked), we compress both these: {tail, 48 * next->locked} into a single u32 value. 52 * are at most 4 nesting levels, it can be encoded by a 2-bit number. Now [all …]
|
/linux-6.14.4/Documentation/networking/devlink/ |
D | devlink-health.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 * If problem needs vendor support, provide a way to gather all needed 49 auto-dump is set and there is no other dump which is already stored) 52 - Auto-recovery configuration 53 - Grace period vs. time passed since last recover 63 json-like format. The API allows the driver to add nested attributes such as 71 attributes, to avoid actual nesting use which cannot be divided between 85 .. list-table:: List of devlink health interfaces 88 * - Name 89 - Description [all …]
|
/linux-6.14.4/kernel/rcu/ |
D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RCU-related debugging configuration options 19 false-positive splats, we keep it default disabled but once all 63 Note that PREEMPT_COUNT must be enabled if the preempt-disabled 64 and bh-disabled checks are to take effect, and that PREEMPT_RCU 65 must be enabled for the RCU-nesting checks to take effect. 78 log of failure/close-call rcutorture reader segments with the 88 tristate "Scalability tests for read-side synchronization (RCU and others)" 94 useful comparing RCU with various read-side synchronization mechanisms. 140 bool "Provide RCU CPU-stall notifiers" [all …]
|
D | tasks.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Task-based RCU implementations. 24 * struct rcu_tasks_percpu - Per-CPU component of definition for a Tasks-RCU-like mechanism. 26 * @lock: Lock protecting per-CPU callback list. 29 * @urgent_gp: Number of additional non-lazy grace periods. 30 * @rtp_n_lock_retries: Rough lock-contention statistic. 58 * struct rcu_tasks - Definition for a Tasks-RCU-like mechanism. 61 * @tasks_gp_mutex: Mutex protecting grace period, needed during mid-boot dead zone. 62 * @gp_func: This flavor's grace-period-wait function. 64 * @gp_sleep: Per-grace-period sleep to prevent CPU-bound looping. [all …]
|
/linux-6.14.4/Documentation/RCU/Design/Data-Structures/ |
D | Data-Structures.rst | 15 Data-Structure Relationships 25 .. kernel-figure:: BigTreeClassicRCU.svg 34 which results in a three-level ``rcu_node`` tree. 38 The purpose of this combining tree is to allow per-CPU events 39 such as quiescent states, dyntick-idle transitions, 42 Quiescent states are recorded by the per-CPU ``rcu_data`` structures, 43 and other events are recorded by the leaf-level ``rcu_node`` 54 As can be seen from the diagram, on a 64-bit system 55 a two-level tree with 64 leaves can accommodate 1,024 CPUs, with a fanout 58 +-----------------------------------------------------------------------+ [all …]
|
/linux-6.14.4/arch/powerpc/include/asm/book3s/64/ |
D | kup.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 102 * save AMR -> stack; 105 * KUAP_BLOCKED -> AMR; 108 * save IAMR -> stack; 110 * KUEP_BLOCKED ->IAMR 118 * save AMR -> stack; 120 * KUAP_BLOCKED -> AMR; 212 * thread-specific and we inherit the address space and not thread 218 if (current->thread.regs) in current_thread_amr() 219 return current->thread.regs->amr; in current_thread_amr() [all …]
|
/linux-6.14.4/fs/xfs/ |
D | xfs_inode.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 111 return ip->i_prev_unlinked != 0; in xfs_inode_on_unlinked_list() 116 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork() 126 return &ip->i_df; in xfs_ifork_ptr() 130 return &ip->i_af; in xfs_ifork_ptr() 132 return ip->i_cowfp; in xfs_ifork_ptr() 141 return ip->i_forkoff << 3; in xfs_inode_fork_boff() 149 return XFS_LITINO(ip->i_mount); in xfs_inode_data_fork_size() 155 return XFS_LITINO(ip->i_mount) - xfs_inode_fork_boff(ip); in xfs_inode_attr_fork_size() [all …]
|
/linux-6.14.4/drivers/acpi/acpica/ |
D | dsinit.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: dsinit - Object initialization namespace walk 6 * Copyright (C) 2000 - 2023, Intel Corp. 29 * PARAMETERS: obj_handle - Node for the object 30 * level - Current nesting level 31 * context - Points to a init info struct 32 * return_value - Not used 62 if (node->owner_id != info->owner_id) { in acpi_ds_init_one_object() 66 info->object_count++; in acpi_ds_init_one_object() 81 info->op_region_count++; in acpi_ds_init_one_object() [all …]
|
D | utownerid.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utownerid - Support for Table/Method Owner IDs 19 * PARAMETERS: owner_id - Where the new owner ID is returned 114 * If this error happens, there may be very deep nesting of invoked in acpi_ut_allocate_owner_id() 130 * PARAMETERS: owner_id_ptr - Pointer to a previously allocated owner_ID 136 * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255 169 owner_id--; in acpi_ut_release_owner_id() 182 "Attempted release of non-allocated OwnerId: 0x%3.3X", in acpi_ut_release_owner_id()
|
D | nsinit.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nsinit - namespace initialization 6 * Copyright (C) 2000 - 2023, Intel Corp. 148 * This support is provided for Windows compatibility (Vista+) and in acpi_ns_initialize_devices() 151 info.evaluate_info->prefix_node = acpi_gbl_root_node; in acpi_ns_initialize_devices() 152 info.evaluate_info->relative_pathname = METHOD_NAME__INI; in acpi_ns_initialize_devices() 153 info.evaluate_info->parameters = NULL; in acpi_ns_initialize_devices() 154 info.evaluate_info->flags = ACPI_IGNORE_RETURN_VALUE; in acpi_ns_initialize_devices() 170 info.evaluate_info->prefix_node = handle; in acpi_ns_initialize_devices() 171 info.evaluate_info->relative_pathname = in acpi_ns_initialize_devices() [all …]
|
/linux-6.14.4/scripts/ |
D | unifdef.c | 2 * Copyright (c) 2002 - 2011 Tony Finch <[email protected]> 27 * unifdef - remove ifdef'ed lines 30 * It was rewritten to support ANSI C by Tony Finch. The original version 31 * of unifdef carried the 4-clause BSD copyright licence. None of its code 60 "@(#) $Version: unifdef-2.5 $\n" 99 IS_TRUE_PREFIX, /* first non-false #(el)if is true */ 100 IS_PASS_MIDDLE, /* first non-false #(el)if is unknown */ 122 STARTING_COMMENT, /* just after slash-backslash-newline */ 123 FINISHING_COMMENT, /* star-backslash-newline in a C comment */ 146 #define MAXDEPTH 64 /* maximum #if nesting */ [all …]
|