Home
last modified time | relevance | path

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

12345678910>>...55

/Linux-v5.4/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) in tpm2_init_space() argument
43 space->context_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in tpm2_init_space()
44 if (!space->context_buf) in tpm2_init_space()
47 space->session_buf = kzalloc(PAGE_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-v5.4/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-v5.4/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-v5.4/drivers/tty/
Dtty_buffer.c93 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local
94 return max(space, 0); in tty_buffer_space_avail()
318 int space = __tty_buffer_request_room(port, goal, flags); in tty_insert_flip_string_fixed_flag() local
320 if (unlikely(space == 0)) in tty_insert_flip_string_fixed_flag()
322 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
324 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
325 tb->used += space; in tty_insert_flip_string_fixed_flag()
326 copied += space; in tty_insert_flip_string_fixed_flag()
327 chars += space; in tty_insert_flip_string_fixed_flag()
353 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_flags() local
[all …]
/Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/include/
Dcgs_common.h109 typedef uint32_t (*cgs_read_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space,
118 typedef void (*cgs_write_ind_register_t)(struct cgs_device *cgs_device, enum cgs_ind_reg space,
134 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \ argument
135 …cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~C…
170 #define cgs_read_ind_register(dev,space,index) \ argument
171 CGS_CALL(read_ind_register,dev,space,index)
172 #define cgs_write_ind_register(dev,space,index,value) \ argument
173 CGS_CALL(write_ind_register,dev,space,index,value)
/Linux-v5.4/arch/mips/sgi-ip22/
Dip22-mc.c55 struct mem space[2] = {{SGIMC_SEG0_BADDR, 0}, {SGIMC_SEG1_BADDR, 0}}; in probe_memory() local
90 for (j = 0; j < ARRAY_SIZE(space) && !found; j++) in probe_memory()
91 if (space[j].addr + space[j].size == bank[i].addr) { in probe_memory()
92 space[j].size += bank[i].size; in probe_memory()
102 for (i = 0; i < ARRAY_SIZE(space); i++) in probe_memory()
103 if (space[i].size) in probe_memory()
104 add_memory_region(space[i].addr, space[i].size, in probe_memory()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_vgpu.c115 struct drm_mm_node space[4]; member
152 vgt_deballoon_space(ggtt, &bl_info.space[i]); in intel_vgt_deballoon()
259 ret = vgt_balloon_space(ggtt, &bl_info.space[2], in intel_vgt_balloon()
267 ret = vgt_balloon_space(ggtt, &bl_info.space[3], in intel_vgt_balloon()
275 ret = vgt_balloon_space(ggtt, &bl_info.space[0], in intel_vgt_balloon()
283 ret = vgt_balloon_space(ggtt, &bl_info.space[1], in intel_vgt_balloon()
294 vgt_deballoon_space(ggtt, &bl_info.space[0]); in intel_vgt_balloon()
296 vgt_deballoon_space(ggtt, &bl_info.space[3]); in intel_vgt_balloon()
298 vgt_deballoon_space(ggtt, &bl_info.space[2]); in intel_vgt_balloon()
/Linux-v5.4/Documentation/virt/kvm/devices/
Dvm.txt49 Allows user space to retrieve machine and kvm specific cpu related information:
61 Returns: -EFAULT if the given address is not accessible from kernel space
67 Allows user space to retrieve or request to change cpu related information for a vcpu:
85 -EFAULT if the given address is not accessible from kernel space
91 Allows user space to retrieve available cpu features. A feature is available if
100 Returns: -EFAULT if the given address is not accessible from kernel space.
105 Allows user space to retrieve or change enabled cpu features for all VCPUs of a
111 Returns: -EFAULT if the given address is not accessible from kernel space.
118 Allows user space to retrieve available cpu subfunctions without any filtering
149 Returns: -EFAULT if the given address is not accessible from kernel space.
[all …]
/Linux-v5.4/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.
51 fee00000 feffffff Mapping of PCI I/O space. This is a static
52 mapping within the vmalloc space.
54 VMALLOC_START VMALLOC_END-1 vmalloc() / ioremap() space.
69 space.
71 MODULES_VADDR MODULES_END-1 Kernel module space
75 00001000 TASK_SIZE-1 User space mappings
83 space are also caught via this mapping.
/Linux-v5.4/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-v5.4/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-v5.4/arch/mips/mm/
Dtlb-funcs.S22 .space 64
28 .space FASTPATH_SIZE * 4
33 .space FASTPATH_SIZE * 4
38 .space FASTPATH_SIZE * 4
/Linux-v5.4/Documentation/vm/
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-v5.4/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-v5.4/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()
126 if (atomic_read(&attr->space) > size) { in should_fail()
127 atomic_sub(size, &attr->space); in should_fail()
210 debugfs_create_atomic_t("space", mode, dir, &attr->space); in fault_create_debugfs_attr()
/Linux-v5.4/fs/btrfs/
DMakefile10 export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \
13 uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \
14 block-rsv.o delalloc-space.o block-group.o
20 btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
23 tests/free-space-tree-tests.o tests/extent-map-tests.o
/Linux-v5.4/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-v5.4/arch/x86/events/intel/
Dbts.c365 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
376 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset()
377 pad = space; in bts_buffer_reset()
378 if (space > handle->size) { in bts_buffer_reset()
379 space = handle->size; in bts_buffer_reset()
380 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset()
382 if (space <= BTS_SAFETY_MARGIN) { in bts_buffer_reset()
397 if (next_space > space || !space) { in bts_buffer_reset()
405 space = next_space; in bts_buffer_reset()
421 if (space > wakeup) { in bts_buffer_reset()
[all …]
/Linux-v5.4/drivers/pnp/
Dinterface.c55 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument
59 "%i-bit address decoding\n", space, in pnp_print_port()
67 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument
72 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq()
100 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument
106 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma()
152 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument
158 space, (unsigned long long) mem->min, in pnp_print_mem()
188 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument
193 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option()
[all …]
/Linux-v5.4/drivers/thunderbolt/
Dctl.c198 enum tb_cfg_space space, u32 offset, in check_config_address() argument
203 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address()
204 space, addr.space)) in check_config_address()
813 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_read_raw() argument
821 .space = space, in tb_cfg_read_raw()
864 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
876 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_write_raw() argument
884 .space = space, in tb_cfg_write_raw()
929 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_write_raw()
933 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space, in tb_cfg_get_error() argument
[all …]
/Linux-v5.4/scripts/
Dget_abi.pl73 my $space;
103 $space = "";
143 $space = $new_tag . $sep . $1;
144 while ($space =~ s/\t+/' ' x (length($&) * 8 - length($`) % 8)/e) {}
145 $space =~ s/./ /g;
165 $space = $1;
166 while ($space =~ s/\t+/' ' x (length($&) * 8 - length($`) % 8)/e) {}
177 $space = "" if (!($content =~ s/^($space)//));

12345678910>>...55