/Linux-v6.1/drivers/char/tpm/ |
D | tpm2-space.c | 31 static void tpm2_flush_sessions(struct tpm_chip *chip, struct tpm_space *space) in tpm2_flush_sessions() argument 35 for (i = 0; i < ARRAY_SIZE(space->session_tbl); i++) { in tpm2_flush_sessions() 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 37 tpm2_flush_context(chip, space->session_tbl[i]); in tpm2_flush_sessions() 41 int tpm2_init_space(struct tpm_space *space, unsigned int buf_size) in tpm2_init_space() argument 43 space->context_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 44 if (!space->context_buf) in tpm2_init_space() 47 space->session_buf = kzalloc(buf_size, GFP_KERNEL); in tpm2_init_space() 48 if (space->session_buf == NULL) { in tpm2_init_space() 49 kfree(space->context_buf); in tpm2_init_space() [all …]
|
/Linux-v6.1/scripts/ |
D | tags.sh | 134 # - \s is not working with etags, use a space or [ \t] 139 '/^\(ENTRY\|_GLOBAL\)([[:space:]]*\([[:alnum:]_\\]*\)).*/\2/' 142 '/^SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/sys_\1/' 143 '/^BPF_CALL_[0-9]([[:space:]]*\([[:alnum:]_]*\).*/\1/' 144 '/^COMPAT_SYSCALL_DEFINE[0-9]([[:space:]]*\([[:alnum:]_]*\).*/compat_sys_\1/' 145 '/^TRACE_EVENT([[:space:]]*\([[:alnum:]_]*\).*/trace_\1/' 146 '/^TRACE_EVENT([[:space:]]*\([[:alnum:]_]*\).*/trace_\1_rcuidle/' 147 '/^DEFINE_EVENT([^,)]*,[[:space:]]*\([[:alnum:]_]*\).*/trace_\1/' 148 '/^DEFINE_EVENT([^,)]*,[[:space:]]*\([[:alnum:]_]*\).*/trace_\1_rcuidle/' 149 '/^DEFINE_INSN_CACHE_OPS([[:space:]]*\([[:alnum:]_]*\).*/get_\1_slot/' [all …]
|
/Linux-v6.1/arch/s390/kvm/ |
D | gaccess.h | 109 * Copies a simple value from kernel space to a guest vcpu's lowcore. 132 * write_guest_lc - copy data from kernel space to guest vcpu's lowcore 135 * @data: source address in kernel space 138 * Copy data from kernel space to guest vcpu's lowcore. The entire range must 158 * read_guest_lc - copy data from guest vcpu's lowcore to kernel space 161 * @data: destination address in kernel space 164 * Copy data from guest vcpu's lowcore to kernel space. The entire range must 210 * write_guest_with_key - copy data from kernel space to guest space 214 * @data: source address in kernel space 218 * Copy @len bytes from @data (kernel space) to @ga (guest address). [all …]
|
/Linux-v6.1/fs/btrfs/tests/ |
D | free-space-tests.c | 10 #include "../free-space-cache.h" 17 * entry and remove space from either end and the middle, and make sure we can 18 * remove space that covers adjacent extent entries. 40 test_err("full remove left some lingering space"); in test_extents() 70 test_err("still have space at the front"); in test_extents() 75 test_err("still have space in the middle"); in test_extents() 80 test_err("still have space at the end"); in test_extents() 110 test_err("left some space in bitmap"); in test_bitmaps() 136 test_err("couldn't add space that straddles two bitmaps %d", in test_bitmaps() 143 test_err("couldn't remove overlapping space %d", ret); in test_bitmaps() [all …]
|
/Linux-v6.1/tools/perf/trace/beauty/ |
D | usbdevfs_ioctl.sh | 10 …="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:]]*(… 11 egrep "$regex" ${header_dir}/usbdevice_fs.h | egrep -v 'USBDEVFS_\w+32[[:space:]]' | \ 17 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)[[:space:]]+_IO[WR]{0,2}\([[:space:]]*'U'[[:sp… 18 egrep $regex ${header_dir}/usbdevice_fs.h | egrep 'USBDEVFS_\w+32[[:space:]]' | \
|
D | vhost_virtio_ioctl.sh | 7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:spa… 14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:sp…
|
D | mount_flags.sh | 7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[:s… 11 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+\(1<<([[:digit:]]+…
|
D | rename_flags.sh | 10 …='^[[:space:]]*#[[:space:]]*define[[:space:]]+RENAME_([[:alnum:]_]+)[[:space:]]+\(1[[:space:]]*<<[…
|
/Linux-v6.1/fs/ubifs/ |
D | budget.c | 13 * space management. 15 * Factors such as compression, wasted space at the ends of LEBs, space in other 17 * impossible to accurately predict the amount of space needed. Consequently 26 * When pessimistic budget calculations say that there is no enough space, 62 * This function runs garbage collector to make some more free space. Returns 70 /* Make some free space by garbage-collecting dirty space */ in run_gc() 100 * make_free_space - make more free space on the file-system. 104 * is supposedly no free space. But in most cases there is some free space: 106 * needed, so shrinking the liability is one way to make free space - the 107 * cached data will take less space then it was budgeted for; [all …]
|
/Linux-v6.1/arch/arm/mach-mv78xx0/ |
D | mv78xx0.h | 16 * c0000000 PCIe Memory space 17 * f0800000 PCIe #0 I/O space 18 * f0900000 PCIe #1 I/O space 19 * f0a00000 PCIe #2 I/O space 20 * f0b00000 PCIe #3 I/O space 21 * f0c00000 PCIe #4 I/O space 22 * f0d00000 PCIe #5 I/O space 23 * f0e00000 PCIe #6 I/O space 24 * f0f00000 PCIe #7 I/O space 29 * fee00000 f0800000 64K PCIe #0 I/O space [all …]
|
/Linux-v6.1/tools/perf/trace/beauty/tracepoints/ |
D | x86_msr.sh | 17 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x000… 24 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00… 33 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc00…
|
/Linux-v6.1/include/linux/ |
D | rio_drv.h | 46 * rio_local_read_config_32 - Read 32 bits from local configuration space 48 * @offset: Offset into local configuration space 52 * device's configuration space. 61 * rio_local_write_config_32 - Write 32 bits to local configuration space 63 * @offset: Offset into local configuration space 67 * device's configuration space. 76 * rio_local_read_config_16 - Read 16 bits from local configuration space 78 * @offset: Offset into local configuration space 82 * device's configuration space. 91 * rio_local_write_config_16 - Write 16 bits to local configuration space [all …]
|
/Linux-v6.1/Documentation/x86/x86_64/ |
D | 5level-paging.rst | 10 space and 64 TiB of physical address space. We are already bumping into 17 It bumps the limits to 128 PiB of virtual address space and 4 PiB of 18 physical address space. This "ought to be enough for anybody" ©. 34 User-space and large virtual address space 36 On x86, 5-level paging enables 56-bit userspace virtual address space. 37 Not all user space is ready to handle wide addresses. It's known that 42 To mitigate this, we are not going to allocate virtual address space 45 But userspace can ask for allocation from full address space by 50 occupied, we look for unmapped area in *full* address space, rather than 58 to allocation from 47-bit address space. [all …]
|
/Linux-v6.1/Documentation/powerpc/ |
D | pci_iov_resource_on_powernv.rst | 57 - For DMA we then provide an entire address space for each PE that can 63 - For MSIs, we have two windows in the address space (one at the top of 64 the 32-bit space and one much higher) which, via a combination of the 75 from the CPU address space to the PCI address space. There is one M32 78 the CPU address space to the PCIe bus and must be naturally aligned 89 portion of address space from the CPU to PCIe 93 ignores that however and will forward in that space if we try). 96 maps each segment to a PE#. That allows portions of the MMIO space 102 onto a segment alignment/granularity so that the space behind a bridge 127 for large BARs in 64-bit space: [all …]
|
/Linux-v6.1/lib/ |
D | iomap_copy.c | 10 * __iowrite32_copy - copy data to MMIO space, in 32-bit units 11 * @to: destination, in MMIO space (must be 32-bit aligned) 15 * Copy data from kernel space to MMIO space, in units of 32 bits at a 33 * __ioread32_copy - copy data from MMIO space, in 32-bit units 35 * @from: source, in MMIO space (must be 32-bit aligned) 38 * Copy data from MMIO space to kernel space, in units of 32 bits at a 54 * __iowrite64_copy - copy data to MMIO space, in 64-bit or 32-bit units 55 * @to: destination, in MMIO space (must be 64-bit aligned) 59 * Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a
|
/Linux-v6.1/Documentation/PCI/ |
D | acpi-info.rst | 12 method for accessing PCI config space below it, the address space windows 33 reserving address space. The static tables are for things the OS needs to 45 describe all the address space they consume. This includes all the windows 53 space, since it is consumed by the host bridge. 58 spec defines Consumer/Producer only for the Extended Address Space 60 Address Space descriptors. Consequently, OSes have to assume all 63 Prior to the addition of Extended Address Space descriptors, the failure of 66 bridge registers (including ECAM space) in PNP0C02 catch-all devices [6]. 67 With the exception of ECAM, the bridge register space is device-specific 71 New architectures should be able to use "Consumer" Extended Address Space [all …]
|
/Linux-v6.1/fs/btrfs/ |
D | space-info.c | 5 #include "space-info.h" 8 #include "free-space-cache.h" 15 * HOW DOES SPACE RESERVATION WORK 23 * 1) space_info. This is the ultimate arbiter of how much space we can use. 27 * determining if there is space to make an allocation. There is a space_info 33 * much space is accounted for in space_info->bytes_may_use. 63 * enough space 74 * Flushes various things attempting to free up space. 77 * This is called by anything that either subtracts space from 81 * completed. If it can the space is added to space_info->bytes_may_use and [all …]
|
/Linux-v6.1/sound/core/ |
D | memory.c | 14 * copy_to_user_fromio - copy data from mmio-space to user-space 15 * @dst: the destination pointer on user-space 19 * Copies the data from mmio-space to user-space. 46 * copy_from_user_toio - copy data from user-space to mmio-space 47 * @dst: the destination pointer on mmio-space 48 * @src: the source pointer on user-space 51 * Copies the data from user-space to mmio-space.
|
/Linux-v6.1/arch/loongarch/include/asm/ |
D | uaccess.h | 28 * get_user: - Get a simple variable from user space. 30 * @ptr: Source address, in user space. 35 * This macro copies a single simple variable from user space to kernel 36 * space. It supports simple types like char and int, but not larger 55 * put_user: - Write a simple value into user space. 56 * @x: Value to copy to user space. 57 * @ptr: Destination address, in user space. 62 * This macro copies a single simple value from kernel space to user 63 * space. It supports simple types like char and int, but not larger 80 * __get_user: - Get a simple variable from user space, with less checking. [all …]
|
/Linux-v6.1/Documentation/mm/ |
D | active_mm.rst | 27 difference is that an anonymous address space doesn't care about the 29 anonymous address space we just leave the previous address space 32 The obvious use for a "anonymous address space" is any thread that 35 some amount of time they are not going to be interested in user space, 40 - "tsk->mm" points to the "real address space". For an anonymous process, 42 really doesn't _have_ a real address space at all. 44 - however, we obviously need to keep track of which address space we 46 which shows what the currently active address space is. 48 The rule is that for a process with a real address space (ie tsk->mm is 54 anonymous process gets scheduled away, the borrowed address space is [all …]
|
/Linux-v6.1/Documentation/virt/kvm/devices/ |
D | vm.rst | 63 Allows user space to retrieve machine and kvm specific cpu related information:: 75 :Returns: -EFAULT if the given address is not accessible from kernel space; 82 Allows user space to retrieve or request to change cpu related information for a vcpu:: 100 -EFAULT if the given address is not accessible from kernel space; 109 Allows user space to retrieve available cpu features. A feature is available if 120 :Returns: -EFAULT if the given address is not accessible from kernel space; 126 Allows user space to retrieve or change enabled cpu features for all VCPUs of a 133 :Returns: -EFAULT if the given address is not accessible from kernel space; 143 Allows user space to retrieve available cpu subfunctions without any filtering 176 :Returns: -EFAULT if the given address is not accessible from kernel space; [all …]
|
/Linux-v6.1/arch/ia64/kernel/ |
D | acpi-ext.c | 16 * Device CSRs that do not appear in PCI config space should be described 17 * via ACPI. This would normally be done with Address Space Descriptors 20 * describe the location and size of CSR space. 62 struct csr_space *space = data; in find_csr_space() local 71 space->base = addr.address.minimum; in find_csr_space() 72 space->length = addr.address.address_length; in find_csr_space() 80 struct csr_space space = { 0, 0 }; in hp_crs_locate() local 82 acpi_walk_resources(obj, METHOD_NAME__CRS, find_csr_space, &space); in hp_crs_locate() 83 if (!space.length) in hp_crs_locate() 86 *base = space.base; in hp_crs_locate() [all …]
|
/Linux-v6.1/drivers/comedi/ |
D | comedi_buf.c | 329 * comedi_buf_write_alloc() - Reserve buffer space for writing 331 * @nbytes: Maximum space to reserve in bytes. 333 * Reserve up to @nbytes bytes of space to be written in the COMEDI acquisition 335 * by the space available. 337 * Return: The amount of space reserved in bytes. 352 * before we write data to the write-alloc'ed buffer space in comedi_buf_write_alloc() 362 * and kernel space 415 * comedi_buf_write_free() - Free buffer space after it is written 417 * @nbytes: Maximum space to free in bytes. 419 * Free up to @nbytes bytes of space previously reserved for writing in the [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_flat_memory.c | 49 * This pointer space has the Shared(LDS) and Private(Scratch) memory 50 * mapped into this pointer space as apertures. 75 * HSA64 – 64b pointers and the default address space is ATC 76 * HSA32 – 32b pointers and the default address space is ATC 77 * GPUVM – 64b pointers and the default address space is GPUVM (driver 85 * (VA[63:47] == 0x1FFFF) and low area (VA[63:47 == 0) of the address space 87 * the middle of the 64b VA space. 89 * The GPU not only has access to all of the CPU accessible address space via 90 * ATC/IOMMU, but it also has access to the GPUVM address space. The “system 92 * spaces into a unified pointer space. The method we take for 64b mode is [all …]
|
/Linux-v6.1/drivers/rapidio/ |
D | rio-access.c | 3 * RapidIO configuration space access support 25 * @size: Size of configuration space read (8, 16, 32 bits) 27 * @len: Length of configuration space read (1, 2, 4 bytes) 30 * configuration space registers on the local device. 46 * @size: Size of configuration space write (8, 16, 32 bits) 48 * @len: Length of configuration space write (1, 2, 4 bytes) 51 * configuration space registers on the local device. 77 * @size: Size of configuration space read (8, 16, 32 bits) 79 * @len: Length of configuration space read (1, 2, 4 bytes) 82 * configuration space registers on the local device. [all …]
|