/linux/drivers/char/tpm/ |
A D | tpm2-space.c | 36 if (space->session_tbl[i]) in tpm2_flush_sessions() 44 if (!space->context_buf) in tpm2_init_space() 67 kfree(space->context_buf); in tpm2_del_space() 68 kfree(space->session_buf); in tpm2_del_space() 170 if (space->context_tbl[i] && ~space->context_tbl[i]) in tpm2_flush_space() 231 if (i >= ARRAY_SIZE(space->context_tbl) || !space->context_tbl[i]) in tpm2_map_to_phandle() 306 if (!space) in tpm2_prepare_space() 499 if (!(space->context_tbl[i] && ~space->context_tbl[i])) in tpm2_save_space() 503 space->context_buf, space->buf_size, in tpm2_save_space() 520 space->session_buf, space->buf_size, in tpm2_save_space() [all …]
|
/linux/drivers/char/ipmi/ |
A 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/drivers/tty/ |
A D | tty_buffer.c | 95 return max(space, 0); in tty_buffer_space_avail() 329 tb->used += space; in tty_insert_flip_string_fixed_flag() 330 copied += space; in tty_insert_flip_string_fixed_flag() 331 chars += space; in tty_insert_flip_string_fixed_flag() 366 tb->used += space; in tty_insert_flip_string_flags() 367 copied += space; in tty_insert_flip_string_flags() 368 chars += space; in tty_insert_flip_string_flags() 369 flags += space; in tty_insert_flip_string_flags() 443 if (likely(space)) { in tty_prepare_flip_string() 449 tb->used += space; in tty_prepare_flip_string() [all …]
|
/linux/Documentation/x86/x86_64/ |
A 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 58 to allocation from 47-bit address space. 61 about large address space without manually tracking allocated virtual [all …]
|
A 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. 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, 122 ffffffef00000000 | -68 GB | fffffffeffffffff | 64 GB | EFI region mapping space 126 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 136 This causes hole between user space and kernel addresses if you interpret them [all …]
|
/linux/arch/ia64/kernel/ |
A 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/drivers/gpu/drm/amd/include/ |
A 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/Documentation/virt/kvm/devices/ |
A D | vm.rst | 75 :Returns: -EFAULT if the given address is not accessible from kernel space; 100 -EFAULT if the given address is not accessible from kernel space; 188 has not been disabled by user space (so the instruction to be queried is 212 Allows user space to set/get the TOD clock extension (u8) (superseded by 215 :Parameters: address of a buffer in user space to store the data (u8) to 225 :Parameters: address of a buffer in user space to store the data (u64) to 236 :Parameters: address of a buffer in user space to store the data 249 Allows user space to enable aes key wrapping, including generating a new 258 Allows user space to enable dea key wrapping, including generating a new 267 Allows user space to disable aes key wrapping, clearing the wrapping key. [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
A 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. 91 offset and length of the DCSR space registers of the device 120 offset and length of the DCSR space registers of the device 168 This node represents the region of DCSR space allocated to 202 This node represents the region of DCSR space allocated to 231 This node represents the region of DCSR space allocated to 259 This node represents the region of DCSR space allocated to 291 This node represents the region of DCSR space allocated to [all …]
|
A 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
|
/linux/drivers/media/usb/go7007/ |
A D | go7007-fw.c | 281 if (space < cnt) in copy_packages() 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() 1516 return config_package(go, code, space); in do_special() 1532 return final_package(go, code, space); in do_special() 1534 return audio_to_package(go, code, space); in do_special() [all …]
|
/linux/Documentation/vm/ |
A 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. 54 anonymous process gets scheduled away, the borrowed address space is 58 "mm_users" counter that is how many "real address space users" there are, [all …]
|
/linux/drivers/usb/host/ |
A D | uhci-debug.c | 44 int len, int space) in uhci_show_td() argument 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() 227 space, ""); in uhci_show_qh() 232 len - (out - buf), space + 2); in uhci_show_qh() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A 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/arch/x86/events/intel/ |
A D | bts.c | 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() 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() 434 space = wakeup; in bts_buffer_reset() 435 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset() 438 buf->end = head + space; in bts_buffer_reset() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_ring.c | 18 unsigned int space; in intel_ring_update_space() local 20 space = __intel_ring_space(ring->head, ring->emit, ring->size); in intel_ring_update_space() 22 ring->space = space; in intel_ring_update_space() 23 return space; in intel_ring_update_space() 223 GEM_BUG_ON(ring->space < bytes); in wait_for_space() 264 if (unlikely(total_bytes > ring->space)) { in intel_ring_begin() 287 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin() 293 ring->space -= need_wrap; in intel_ring_begin() 298 GEM_BUG_ON(ring->space < bytes); in intel_ring_begin() 302 ring->space -= bytes; in intel_ring_begin()
|
/linux/Documentation/arm/ |
A 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/drivers/pnp/ |
A 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() 159 space, (unsigned long long) mem->min, in pnp_print_mem() 194 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option() 197 pnp_print_mem(buffer, space, &option->u.mem); in pnp_print_option() 200 pnp_print_irq(buffer, space, &option->u.irq); in pnp_print_option() [all …]
|
/linux/lib/ |
A D | fault-inject.c | 23 int space; in setup_fault_attr() local 27 &interval, &probability, &space, ×) < 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() 129 atomic_sub(size, &attr->space); in should_fail() 212 debugfs_create_atomic_t("space", mode, dir, &attr->space); in fault_create_debugfs_attr()
|
/linux/Documentation/vm/damon/ |
A D | faq.rst | 7 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/drivers/media/usb/dvb-usb/ |
A 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/Documentation/powerpc/ |
A D | pci_iov_resource_on_powernv.rst | 75 from the CPU address space to the PCI address space. There is one M32 89 portion of address space from the CPU to PCIe 127 for large BARs in 64-bit space: 244 VF(n) BAR space 253 Figure 1.0 Direct map VF(n) BAR space 256 space doesn't need that much, as shown in Figure 1.1:: 263 VF(n) BAR space + extra 272 Figure 1.1 Map VF(n) BAR space + extra 295 amount of space required for the VF(n) BAR space, the VF BAR value is fixed 300 the space allocated by the core. [all …]
|
/linux/drivers/edac/ |
A D | i5400_edac.c | 961 int space, n; in calculate_dimm_size() local 965 space = PAGE_SIZE; in calculate_dimm_size() 987 space -= n; in calculate_dimm_size() 994 space -= n; in calculate_dimm_size() 1001 space -= n; in calculate_dimm_size() 1012 space -= n; in calculate_dimm_size() 1015 space = PAGE_SIZE; in calculate_dimm_size() 1020 space -= n; in calculate_dimm_size() 1024 space -= n; in calculate_dimm_size() 1027 space -= n; in calculate_dimm_size() [all …]
|
/linux/drivers/thunderbolt/ |
A D | ctl.c | 210 enum tb_cfg_space space, u32 offset, in check_config_address() argument 215 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address() 216 space, addr.space)) in check_config_address() 866 .space = space, in tb_cfg_read_raw() 937 .space = space, in tb_cfg_write_raw() 995 if (space == TB_CFG_PORT && in tb_cfg_get_error() 1013 space, offset, length, ctl->timeout_msec); in tb_cfg_read() 1021 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_read() 1025 route, space, offset); in tb_cfg_read() 1047 return tb_cfg_get_error(ctl, space, &res); in tb_cfg_write() [all …]
|
/linux/arch/mips/mm/ |
A D | tlb-funcs.S | 22 .space 64 28 .space FASTPATH_SIZE * 4 33 .space FASTPATH_SIZE * 4 38 .space FASTPATH_SIZE * 4
|