Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 1546) sorted by relevance

12345678910>>...62

/linux-6.1.9/drivers/char/tpm/
Dtpm2-space.c31 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.1.9/drivers/char/ipmi/
Dipmi_dmi.c25 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.1.9/Documentation/x86/x86_64/
D5level-paging.rst10 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 …]
Dmm.rst13 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.1.9/arch/ia64/kernel/
Dacpi-ext.c62 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.1.9/drivers/tty/
Dtty_buffer.c96 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()
327 int space = __tty_buffer_request_room(port, goal, flags); in tty_insert_flip_string_fixed_flag() local
330 if (unlikely(space == 0)) in tty_insert_flip_string_fixed_flag()
332 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
334 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
335 tb->used += space; in tty_insert_flip_string_fixed_flag()
336 copied += space; in tty_insert_flip_string_fixed_flag()
337 chars += space; in tty_insert_flip_string_fixed_flag()
365 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_flags() local
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/include/
Dcgs_common.h108 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.1.9/Documentation/virt/kvm/devices/
Dvm.rst63 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.1.9/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt17 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 …]
Decm.txt8 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
Dmcm.txt8 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.1.9/drivers/media/usb/go7007/
Dgo7007-fw.c277 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.1.9/drivers/gpu/drm/i915/
Di915_vgpu.c143 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.1.9/Documentation/mm/
Dactive_mm.rst27 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-6.1.9/arch/mips/mm/
Dtlb-funcs.S22 .space 64
28 .space FASTPATH_SIZE * 4
33 .space FASTPATH_SIZE * 4
38 .space FASTPATH_SIZE * 4
/linux-6.1.9/drivers/media/usb/dvb-usb/
Daf9005-remote.c76 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.1.9/drivers/gpu/drm/i915/gt/
Dintel_ring.c20 unsigned int space; in intel_ring_update_space() local
22 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space()
24 ring->space = space; in intel_ring_update_space()
25 return space; in intel_ring_update_space()
225 GEM_BUG_ON(ring->space < bytes); in wait_for_space()
266 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin()
289 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin()
295 ring->space -= need_wrap; in intel_ring_begin()
300 GEM_BUG_ON(ring->space < bytes); in intel_ring_begin()
305 ring->space -= bytes; in intel_ring_begin()
/linux-6.1.9/Documentation/arm/
Dmemory.rst14 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.1.9/lib/
Dfault-inject.c23 int space; in setup_fault_attr() local
27 &interval, &probability, &space, &times) < 4) { in setup_fault_attr()
36 atomic_set(&attr->space, space); in setup_fault_attr()
49 atomic_read(&attr->space), in fail_dump()
128 if (atomic_read(&attr->space) > size) { in should_fail_ex()
129 atomic_sub(size, &attr->space); in should_fail_ex()
218 debugfs_create_atomic_t("space", mode, dir, &attr->space); in fault_create_debugfs_attr()
/linux-6.1.9/Documentation/mm/damon/
Dfaq.rst7 Why a new subsystem, instead of extending perf or other user space tools?
11 used online, any unnecessary overhead such as kernel - user space context
15 is implemented in the kernel space.
22 address space. 'perf mem' is similar, though it can use sampling to minimize
33 No. The core of the DAMON is address space independent. The address space
37 space with any access check technique.
40 implementations of the address space dependent functions for the virtual memory
/linux-6.1.9/drivers/usb/host/
Duhci-debug.c44 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.1.9/arch/x86/events/intel/
Dbts.c377 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.1.9/drivers/pnp/
Dinterface.c56 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.1.9/drivers/media/platform/amphion/
Dvpu_rpc.c61 u32 space = 0; in vpu_rpc_send_cmd_buf() local
69 space = vpu_rpc_check_buffer_space(desc, true); in vpu_rpc_send_cmd_buf()
70 if (space < (((cmd->hdr.num + 1) << 2) + 16)) in vpu_rpc_send_cmd_buf()
105 u32 space = 0; in vpu_rpc_check_msg() local
110 space = vpu_rpc_check_buffer_space(desc, 0); in vpu_rpc_check_msg()
111 space = (space >> 2); in vpu_rpc_check_msg()
113 if (space) { in vpu_rpc_check_msg()
116 if (msgnum <= space) in vpu_rpc_check_msg()
/linux-6.1.9/Documentation/powerpc/
Dpci_iov_resource_on_powernv.rst57 - 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 …]

12345678910>>...62