/linux-6.6.21/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-6.6.21/drivers/char/ipmi/ |
D | ipmi_dmi.c | 25 unsigned int space; /* addr space for si, intf# for ssif */ member 36 unsigned int space, in dmi_add_platform_ipmi() argument 71 p.space = space; in dmi_add_platform_ipmi() 82 info->space = space; in dmi_add_platform_ipmi() 100 int ipmi_dmi_get_slave_addr(enum si_type si_type, unsigned int space, in ipmi_dmi_get_slave_addr() argument 107 info->space == space && in ipmi_dmi_get_slave_addr() 129 int space = IPMI_IO_ADDR_SPACE; in dmi_decode_ipmi() local 149 space = 0; /* Match I2C interface 0. */ in dmi_decode_ipmi() 166 space = IPMI_MEM_ADDR_SPACE; in dmi_decode_ipmi() 210 dmi_add_platform_ipmi(base_addr, space, slave_addr, irq, in dmi_decode_ipmi()
|
/linux-6.6.21/Documentation/riscv/ |
D | vm-layout.rst | 26 occur.": that splits the virtual address space into 2 halves separated by a very 39 …0000000000000000 | 0 | 0000003fffffffff | 256 GB | user-space virtual memory, different … 47 … | Kernel-space virtual memory, shared between all processes: 53 ffffffc800000000 | -224 GB | ffffffd7ffffffff | 64 GB | vmalloc/ioremap space 75 …0000000000000000 | 0 | 00007fffffffffff | 128 TB | user-space virtual memory, different … 83 … | Kernel-space virtual memory, shared between all processes: 89 ffff8f8000000000 | -112.5 TB | ffffaf7fffffffff | 32 TB | vmalloc/ioremap space 111 …0000000000000000 | 0 | 00ffffffffffffff | 64 PB | user-space virtual memory, different … 119 … | Kernel-space virtual memory, shared between all processes: 125 ff20000000000000 | -56 PB | ff5fffffffffffff | 16 PB | vmalloc/ioremap space [all …]
|
/linux-6.6.21/Documentation/arch/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 …]
|
D | mm.rst | 13 from the top of the 64-bit address space. It's easier to understand the layout 17 64-bit address space (ffffffffffffffff). 19 Note that as we get closer to the top of the address space, the notation changes 24 It also shows it nicely how incredibly large 64-bit address space is. 32 …0000000000000000 | 0 | 00007fffffffffff | 128 TB | user-space virtual memory, different … 40 … | Kernel-space virtual memory, shared between all processes: 47 ffffc90000000000 | -55 TB | ffffe8ffffffffff | 32 TB | vmalloc/ioremap space (vmalloc_base) 63 ffffffef00000000 | -68 GB | fffffffeffffffff | 64 GB | EFI region mapping space 67 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 80 - With 56-bit addresses, user-space memory gets expanded by a factor of 512x, [all …]
|
/linux-6.6.21/arch/ia64/kernel/ |
D | acpi-ext.c | 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() 87 *length = space.length; in hp_crs_locate()
|
/linux-6.6.21/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 108 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 117 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space, 133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ argument 134 …cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~C… 169 #define cgs_read_ind_register(dev,space,index) \ argument 170 CGS_CALL(read_ind_register,dev,space,index) 171 #define cgs_write_ind_register(dev,space,index,value) \ argument 172 CGS_CALL(write_ind_register,dev,space,index,value)
|
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/fsl/ |
D | dcsr.txt | 17 debug blocks defined within this memory space. 25 The DCSR space exists in the memory-mapped bus. 44 range of the DCSR space. 57 This node represents the region of DCSR space allocated to the EPU 91 offset and length of the DCSR space registers of the device 107 This node represents the region of DCSR space allocated to the NPC 120 offset and length of the DCSR space registers of the device 122 The Nexus Port controller occupies two regions in the DCSR space 144 This node represents the region of DCSR space allocated to the NXC 157 offset and length of the DCSR space registers of the device [all …]
|
D | ecm.txt | 8 The LAW node represents the region of CCSR space where local access 10 of CCSR space that includes CCSRBAR, ALTCBAR, ALTCAR, BPTR, and some 24 physical address offset and length of the CCSR space 37 The E500 LAW node represents the region of CCSR space where ECM config 39 of CCSR space. 53 physical address offset and length of the CCSR space
|
D | mcm.txt | 8 The LAW node represents the region of CCSR space where local access 10 of CCSR space that includes CCSRBAR, ALTCBAR, ALTCAR, BPTR, and some 24 physical address offset and length of the CCSR space 37 The MPX LAW node represents the region of CCSR space where MCM config 39 of CCSR space. 53 physical address offset and length of the CCSR space
|
/linux-6.6.21/drivers/media/usb/go7007/ |
D | go7007-fw.c | 277 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument 281 if (space < cnt) in copy_packages() 365 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument 385 if (space - off < 32) { in gen_mjpeghdr_to_package() 632 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument 674 if (space - off < 32) { in gen_mpeg1hdr_to_package() 818 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument 842 if (space - off < 32) { in gen_mpeg4hdr_to_package() 885 if (space - off < 32) { in gen_mpeg4hdr_to_package() 920 __le16 *code, int space, int *framelen) in brctrl_to_package() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_vgpu.c | 143 struct drm_mm_node space[4]; member 183 vgt_deballoon_space(ggtt, &bl_info.space[i]); in intel_vgt_deballoon() 295 ret = vgt_balloon_space(ggtt, &bl_info.space[2], in intel_vgt_balloon() 303 ret = vgt_balloon_space(ggtt, &bl_info.space[3], in intel_vgt_balloon() 311 ret = vgt_balloon_space(ggtt, &bl_info.space[0], in intel_vgt_balloon() 319 ret = vgt_balloon_space(ggtt, &bl_info.space[1], in intel_vgt_balloon() 330 vgt_deballoon_space(ggtt, &bl_info.space[0]); in intel_vgt_balloon() 332 vgt_deballoon_space(ggtt, &bl_info.space[3]); in intel_vgt_balloon() 334 vgt_deballoon_space(ggtt, &bl_info.space[2]); in intel_vgt_balloon()
|
/linux-6.6.21/drivers/tty/ |
D | tty_buffer.c | 96 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local 98 return max(space, 0); in tty_buffer_space_avail() 309 size_t space = __tty_buffer_request_room(port, goal, need_flags); in __tty_insert_flip_string_flags() local 312 if (unlikely(space == 0)) in __tty_insert_flip_string_flags() 315 memcpy(char_buf_ptr(tb, tb->used), chars, space); in __tty_insert_flip_string_flags() 318 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in __tty_insert_flip_string_flags() 319 flags += space; in __tty_insert_flip_string_flags() 321 memset(flag_buf_ptr(tb, tb->used), flags[0], space); in __tty_insert_flip_string_flags() 327 tb->used += space; in __tty_insert_flip_string_flags() 328 copied += space; in __tty_insert_flip_string_flags() [all …]
|
/linux-6.6.21/arch/mips/mm/ |
D | tlb-funcs.S | 22 .space 64 28 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4
|
/linux-6.6.21/drivers/media/usb/dvb-usb/ |
D | af9005-remote.c | 76 u16 mark, space; in af9005_rc_decode() local 83 space = (u16) (data[2] << 8) + data[3]; in af9005_rc_decode() 84 if (space * 3 < mark) { in af9005_rc_decode() 102 space = (u16) (data[i + 2] << 8) + data[i + 3]; in af9005_rc_decode() 103 space >>= 1; in af9005_rc_decode() 104 if (mark * 2 > space) in af9005_rc_decode()
|
/linux-6.6.21/Documentation/arch/arm/ |
D | memory.rst | 14 space, and this must be shared between user space processes, the 18 certain regions of VM space for use for new facilities; therefore 19 this document may reserve more VM space over time. 56 fee00000 feffffff Mapping of PCI I/O space. This is a static 57 mapping within the vmalloc space. 59 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space. 74 space. 76 MODULES_VADDR MODULES_END-1 Kernel module space 85 00001000 TASK_SIZE-1 User space mappings 93 space are also caught via this mapping.
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_ring.c | 21 unsigned int space; in intel_ring_update_space() local 23 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 25 ring->space = space; in intel_ring_update_space() 26 return space; in intel_ring_update_space() 226 GEM_BUG_ON(ring->space < bytes); in wait_for_space() 267 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 290 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin() 296 ring->space -= need_wrap; in intel_ring_begin() 301 GEM_BUG_ON(ring->space < bytes); in intel_ring_begin() 306 ring->space -= bytes; in intel_ring_begin()
|
/linux-6.6.21/drivers/usb/host/ |
D | uhci-debug.c | 44 int len, int space) in uhci_show_td() argument 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 101 char *buf, int len, int space) in uhci_show_urbp() argument 142 out += sprintf(out, "%*s%d: ", space + 2, "", i); in uhci_show_urbp() 157 space, "", ninactive, nactive); in uhci_show_urbp() 166 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh() argument 182 space, "", qh, qtype, in uhci_show_qh() 188 space, "", qh->period, qh->phase, qh->load, in uhci_show_qh() 192 space, "", qh->period, qh->phase, qh->load); in uhci_show_qh() 197 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, ""); in uhci_show_qh() [all …]
|
/linux-6.6.21/arch/x86/events/intel/ |
D | bts.c | 377 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 388 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset() 389 pad = space; in bts_buffer_reset() 390 if (space > handle->size) { in bts_buffer_reset() 391 space = handle->size; in bts_buffer_reset() 392 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset() 394 if (space <= BTS_SAFETY_MARGIN) { in bts_buffer_reset() 409 if (next_space > space || !space) { in bts_buffer_reset() 417 space = next_space; in bts_buffer_reset() 433 if (space > wakeup) { in bts_buffer_reset() [all …]
|
/linux-6.6.21/drivers/pnp/ |
D | interface.c | 56 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument 60 "%i-bit address decoding\n", space, in pnp_print_port() 68 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument 73 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq() 101 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument 107 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma() 153 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument 159 space, (unsigned long long) mem->min, in pnp_print_mem() 189 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument 194 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option() [all …]
|
/linux-6.6.21/Documentation/mm/ |
D | active_mm.rst | 31 difference is that an anonymous address space doesn't care about the 33 anonymous address space we just leave the previous address space 36 The obvious use for a "anonymous address space" is any thread that 39 some amount of time they are not going to be interested in user space, 44 - "tsk->mm" points to the "real address space". For an anonymous process, 46 really doesn't _have_ a real address space at all. 48 - however, we obviously need to keep track of which address space we 50 which shows what the currently active address space is. 52 The rule is that for a process with a real address space (ie tsk->mm is 58 anonymous process gets scheduled away, the borrowed address space is [all …]
|
/linux-6.6.21/drivers/media/platform/amphion/ |
D | vpu_rpc.c | 59 u32 space = 0; in vpu_rpc_send_cmd_buf() local 67 space = vpu_rpc_check_buffer_space(desc, true); in vpu_rpc_send_cmd_buf() 68 if (space < (((cmd->hdr.num + 1) << 2) + 16)) in vpu_rpc_send_cmd_buf() 103 u32 space = 0; in vpu_rpc_check_msg() local 108 space = vpu_rpc_check_buffer_space(desc, 0); in vpu_rpc_check_msg() 109 space = (space >> 2); in vpu_rpc_check_msg() 111 if (space) { in vpu_rpc_check_msg() 114 if (msgnum <= space) in vpu_rpc_check_msg()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/crypto/ |
D | padlock-sha.c | 83 unsigned int space; in padlock_sha1_finup() local 95 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup() 96 if (space) { in padlock_sha1_finup() 97 if (count > space) { in padlock_sha1_finup() 98 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup() 102 count -= space; in padlock_sha1_finup() 103 in += space; in padlock_sha1_finup() 144 unsigned int space; in padlock_sha256_finup() local 156 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup() 157 if (space) { in padlock_sha256_finup() [all …]
|