/freebsd/lib/libsys/ |
H A D | shm_open.2 | 34 .Nd "shared memory object operations" 62 shared memory object named 84 then a new shared memory object named 88 the shared memory object is created with mode 95 flags are specified and a shared memory object named 104 If an existing shared memory object is opened with 109 then the shared memory object will be truncated to a size of zero. 129 In this case, an anonymous, unnamed shared memory object is created. 136 the shared memory object will be garbage collected when the last reference to 137 the shared memory object is removed. [all …]
|
H A D | shmctl.2 | 31 .Nd shared memory control 43 on the shared memory segment identified by 45 .Bl -tag -width SHM_UNLOCKX 49 storing it in the memory pointed to by 86 .\" Locks the segment in memory. The calling process must have 89 .\" Unlocks the segment from memory. The calling process must 100 .Bd -literal 104 pid_t shm_lpid; /* process ID of last shared memory op */ 113 .Rv -std shmctl 119 .Bl -tag -width Er [all …]
|
H A D | shmget.2 | 31 .Nd obtain a shared memory identifier 44 returns the identifier of a newly created or previously existing shared 45 memory segment. 54 .Bl -bullet 76 .Bl -tag -width 0000 91 .\" XXX - we should also mention how uid, euid, and gid affect ownership 97 When creating a new shared memory segment, 106 returns the positive integer identifier of a shared memory segment. 107 Otherwise, -1 is returned and 115 .Bl -tag -width Er [all …]
|
H A D | shmat.2 | 32 .Nd attach or detach shared memory 47 attaches the shared memory segment identified by 56 .Bl -bullet 93 some pre-existing mappings, the 100 detaches the shared memory segment at the address specified by 106 returns the address where the segment is attached; otherwise, -1 111 .Rv -std shmdt 117 .Bl -tag -width Er 119 No shared memory segment was found corresponding to 131 or because pre-existing mappings are in the range and no [all …]
|
H A D | _umtx_op.2 | 49 .St -p1003.1-2001 57 All objects require ABI-mandated alignment, but this is not currently 61 .Bl -tag -width indent 63 Allow selection of the process-shared sleep queue for the thread sleep 66 The process-shared or process-private sleep queue is selected based on 67 the attributes of the memory mapping which contains the first byte of 70 Otherwise, if the flag is not specified, the process-private sleep queue 71 is selected regardless of the memory mapping attributes, as an optimization. 77 .Bl -hang -offset indent 79 .Bd -literal [all …]
|
/freebsd/share/man/man9/ |
H A D | shm_map.9 | 32 .Nd "map shared memory objects into the kernel's address space" 45 functions provide an API for mapping shared memory objects into the kernel. 46 Shared memory objects are created by 50 A shared memory object cannot be shrunk while it is mapped into the kernel. 53 Shared memory objects can still be grown while mapped into the kernel. 64 function locates the shared memory object associated with the open file 74 All pages for the range will be wired into memory upon successful return. 105 The following function accepts a file descriptor for a shared memory 110 .Bd -literal -offset indent 138 .Bl -tag -width Er [all …]
|
/freebsd/usr.bin/ipcs/ |
H A D | ipcs.1 | 49 .Bl -tag -width Ds 53 and shared memory segments. 64 and shared memory segments. 68 the size of a shared memory segment, 72 and shared memory segments. 74 Display information about active shared memory segments. 77 and shared memory segments. 81 of processes attached to a shared memory segment. 84 and shared memory segments. 90 or detach a shared memory segment. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am68-sk-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include "k3-j721s2.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 12 memory@80000000 { 13 device_type = "memory"; 14 bootph-all; 20 reserved_memory: reserved-memory { 21 #address-cells = <2>; [all …]
|
H A D | k3-j721e-som-p0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2019-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 10 #include "k3-j721e.dtsi" 13 memory@80000000 { 14 device_type = "memory"; 15 bootph-all; 21 reserved_memory: reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; [all …]
|
H A D | k3-j721s2-som-p0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 10 #include "k3-j721s2.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 memory@80000000 { 15 device_type = "memory"; 16 bootph-all; 22 /* Reserving memory regions still pending */ 23 reserved_memory: reserved-memory { [all …]
|
H A D | k3-am642-tqma64xxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 4 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, D-82229 Seefeld, Germany. 7 #include "k3-am642.dtsi" 16 memory@80000000 { 17 device_type = "memory"; 18 /* 1G RAM - default variant */ 23 reserved-memory { 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
H A D | k3-j721e-beagleboneai64.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * https://beagleboard.org/ai-64 4 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 5 * Copyright (C) 2022-2024 Jason Kridner, BeagleBoard.org Foundation 6 * Copyright (C) 2022-2024 Robert Nelson, BeagleBoard.org Foundation 9 /dts-v1/; 11 #include "k3-j721e.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> [all …]
|
H A D | k3-j784s4-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 /dts-v1/; 10 #include <dt-bindings/net/ti-dp83867.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "k3-j784s4.dtsi" 15 compatible = "ti,j784s4-evm", "ti,j784s4"; 19 stdout-path = "serial2:115200n8"; 34 memory@80000000 { 35 device_type = "memory"; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
H A D | xen,shared-memory.txt | 1 * Xen hypervisor reserved-memory binding 3 Expose one or more memory regions as reserved-memory to the guest 5 to be a shared memory area across multiple virtual machines for 8 For each of these pre-shared memory regions, a range is exposed under 9 the /reserved-memory node as a child node. Each range sub-node is named 10 xen-shmem@<address> and has the following properties: 12 - compatible: 13 compatible = "xen,shared-memory-v1" 15 - reg: 16 the base guest physical address and size of the shared memory region [all …]
|
H A D | shared-dma-pool.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/shared-dma-pool.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: /reserved-memory DMA pool 10 - devicetree-spec@vger.kernel.org 13 - $ref: reserved-memory.yaml 18 - const: shared-dma-pool 20 This indicates a region of memory meant to be used as a shared 25 - const: restricted-dma-pool [all …]
|
H A D | qcom,cmd-db.txt | 2 --------- 6 is stored in a shared memory region and is loaded by the remote processor. 9 controlling shared resources. Depending on the board configuration the shared 11 remote processor and made available in the shared memory. 13 The bindings for Command DB is specified in the reserved-memory section in 17 - compatible: 20 Definition: Should be "qcom,cmd-db" 22 - reg: 26 the Command DB in memory. 30 reserved-memory { [all …]
|
H A D | qcom,cmd-db.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/qcom,cmd-db.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 is stored in a shared memory region and is loaded by the remote processor. 15 controlling shared resources. Depending on the board configuration the shared 17 remote processor and made available in the shared memory. 20 - Bjorn Andersson <bjorn.andersson@linaro.org> 23 - $ref: reserved-memory.yaml 27 const: qcom,cmd-db [all …]
|
/freebsd/share/doc/papers/newvm/ |
H A D | 0.t | 30 A New Virtual Memory Implementation for Berkeley 42 With the cost per byte of memory approaching that of the cost per byte 44 machines, a new approach to the implementation of virtual memory is 46 maximum virtual memory that can be supported to the size of the swap 47 area, the system should support virtual memory up to the sum of the 48 sizes of physical memory plus swap space. For systems with a local swap 49 disk, but remote file systems, it may be useful to use some of the memory 55 into their address spaces, to map device memory into their address 56 spaces, and to share memory with other processes. The shared address 59 ``anonymous memory'' (that is, memory that is zero fill on demand, and [all …]
|
H A D | 1.t | 29 Motivations for a New Virtual Memory System 31 The virtual memory system distributed with Berkeley UNIX has served 38 be taken into account in a new virtual memory design. 40 Implementation of 4.3BSD virtual memory 43 have used the same virtual memory design. 53 Thus, the limit to available virtual memory is established by the 56 Memory pages are used in a sort of shell game to contain the 68 Design assumptions for 4.3BSD virtual memory 70 The design criteria for the current virtual memory implementation 72 At that time the cost of memory was about a thousand times greater per [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | shm.c | 2 * Copyright (c) 2000-2001, 2003, 2005 Proofpoint, Inc. and its suppliers. 11 SM_RCSID("@(#)$Id: shm.c,v 1.20 2013-11-22 20:51:43 ca Exp $") 23 ** SM_SHMSTART -- initialize shared memory segment. 26 ** key -- key for shared memory. 27 ** size -- size of segment. 28 ** shmflag -- initial flags. 29 ** shmid -- pointer to return id. 30 ** owner -- create segment. 33 ** pointer to shared memory segment, 37 ** attaches shared memory segment. [all …]
|
/freebsd/contrib/ntp/html/drivers/ |
H A D | oncore-shmem.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 7 <title>ONCORE - SHMEM</title> 12 <h3>Motorola ONCORE - The Shared Memory Interface</h3> 14 <!-- #BeginDate format:En2m -->21-Oct-2010 23:44<!-- #EndDate --> 20 …, etc.), a shared memory interface (SHMEM) has been added to the refclock_oncore driver on those o… 21 …/M12 manuals are available as a pdf documents at <a href="http://www.synergy-gps.com/Mot_Manuals.h… 22 …<p>This interface was written by Poul-Henning Kamp (phk@FreeBSD.org), and modified by Reg Clemens … 24 …<p>Although the Shared Memory Interface will be compiled into the Oncore driver on those systems w… 36 <p>would be acceptable. This file name will be used to access the Shared Memory.</p> [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | google,cros-ec-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/sound/google,cros-ec-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cheng-Yi Chiang <cychiang@chromium.org> 11 - Tzung-Bi Shih <tzungbi@kernel.org> 15 Embedded Controller (EC) and is controlled via a host-command 17 subnode of a cros-ec node. 18 (see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). 21 - $ref: dai-common.yaml# [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/ |
H A D | DynamicLoader.h | 1 //===-- DynamicLoader.h -----------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 17 #include "lldb/lldb-defines.h" 18 #include "lldb/lldb-forward.h" 19 #include "lldb/lldb-private-enumerations.h" 20 #include "lldb/lldb-types.h" 37 /// A plug-in interface definition class for dynamic loaders. 39 /// Dynamic loader plug-ins track image (shared library) loading and 43 /// Dynamic loader plug-ins can track the process by registering callbacks [all …]
|
/freebsd/sys/sys/ |
H A D | shm.h | 3 /*- 4 * SPDX-License-Identifier: BSD-4-Clause 52 #define SHM_RDONLY 010000 /* Attach read-only (else read-write) */ 90 pid_t shm_lpid; /* process ID of last shared memory op */ 105 pid_t shm_lpid; /* process ID of last shared memory op */ 115 * System 5 style catch-all structure for shared memory constants that 119 u_long shmmax; /* max shared memory segment size (bytes) */ 120 u_long shmmin; /* max shared memory segment size (bytes) */ 121 u_long shmmni; /* max number of shared memory identifiers */ 122 u_long shmseg; /* max shared memory segments per process */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | SimpleExecutorMemoryManager.cpp | 1 //===- SimpleExecuorMemoryManagare.cpp - Simple executor-side memory mgmt -===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h" 26 auto MB = sys::Memory::allocateMappedMemory( in allocate() 27 Size, nullptr, sys::Memory::MF_READ | sys::Memory::MF_WRITE, EC); in allocate() 38 std::vector<shared::WrapperFunctionCall> DeallocationActions; in finalize() 42 // NOTE: Finalizing nothing is currently a no-op. Should it be an error? in finalize() 68 AllocSize = I->second.Size; in finalize() 69 I->second.DeallocationActions = std::move(DeallocationActions); in finalize() [all …]
|