/openbmc/linux/drivers/hid/ |
H A D | hid-cougar.c | 78 struct cougar_shared *shared; member 121 struct cougar_shared *shared; in cougar_get_shared_data() local 124 list_for_each_entry(shared, &cougar_udev_list, list) { in cougar_get_shared_data() 125 if (hid_compare_device_paths(hdev, shared->dev, '/')) { in cougar_get_shared_data() 126 kref_get(&shared->kref); in cougar_get_shared_data() 127 return shared; in cougar_get_shared_data() 135 struct cougar_shared *shared = container_of(kref, in cougar_release_shared_data() local 139 list_del(&shared->list); in cougar_release_shared_data() 142 kfree(shared); in cougar_release_shared_data() 149 if (cougar->shared) { in cougar_remove_shared_data() [all …]
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_malone.h | 10 void vpu_malone_init_rpc(struct vpu_shared_addr *shared, 12 void vpu_malone_set_log_buf(struct vpu_shared_addr *shared, 14 void vpu_malone_set_system_cfg(struct vpu_shared_addr *shared, 16 u32 vpu_malone_get_version(struct vpu_shared_addr *shared); 17 int vpu_malone_get_stream_buffer_size(struct vpu_shared_addr *shared); 18 int vpu_malone_config_stream_buffer(struct vpu_shared_addr *shared, 20 int vpu_malone_get_stream_buffer_desc(struct vpu_shared_addr *shared, 23 int vpu_malone_update_stream_buffer(struct vpu_shared_addr *shared, 25 int vpu_malone_set_decode_params(struct vpu_shared_addr *shared, 31 int vpu_malone_add_scode(struct vpu_shared_addr *shared, [all …]
|
H A D | vpu_windsor.h | 10 void vpu_windsor_init_rpc(struct vpu_shared_addr *shared, 12 void vpu_windsor_set_log_buf(struct vpu_shared_addr *shared, struct vpu_buffer *log); 13 void vpu_windsor_set_system_cfg(struct vpu_shared_addr *shared, 15 int vpu_windsor_get_stream_buffer_size(struct vpu_shared_addr *shared); 19 int vpu_windsor_config_memory_resource(struct vpu_shared_addr *shared, 22 int vpu_windsor_config_stream_buffer(struct vpu_shared_addr *shared, 24 int vpu_windsor_update_stream_buffer(struct vpu_shared_addr *shared, 26 int vpu_windsor_get_stream_buffer_desc(struct vpu_shared_addr *shared, 28 u32 vpu_windsor_get_version(struct vpu_shared_addr *shared); 29 int vpu_windsor_set_encode_params(struct vpu_shared_addr *shared, [all …]
|
H A D | vpu_windsor.c | 509 static struct vpu_enc_yuv_desc *get_yuv_desc(struct vpu_shared_addr *shared, in get_yuv_desc() argument 512 struct vpu_enc_host_ctrls *hcs = shared->priv; in get_yuv_desc() 517 static struct vpu_enc_mem_pool *get_mem_pool(struct vpu_shared_addr *shared, in get_mem_pool() argument 520 struct vpu_enc_host_ctrls *hcs = shared->priv; in get_mem_pool() 525 static struct vpu_rpc_buffer_desc *get_stream_buf_desc(struct vpu_shared_addr *shared, in get_stream_buf_desc() argument 528 struct vpu_enc_host_ctrls *hcs = shared->priv; in get_stream_buf_desc() 533 static struct vpu_enc_expert_mode_param *get_expert_param(struct vpu_shared_addr *shared, in get_expert_param() argument 536 struct vpu_enc_host_ctrls *hcs = shared->priv; in get_expert_param() 541 static struct vpu_enc_param *get_enc_param(struct vpu_shared_addr *shared, u32 instance) in get_enc_param() argument 543 struct vpu_enc_host_ctrls *hcs = shared->priv; in get_enc_param() [all …]
|
H A D | vpu_rpc.h | 52 void (*init_rpc)(struct vpu_shared_addr *shared, 54 void (*set_log_buf)(struct vpu_shared_addr *shared, 56 void (*set_system_cfg)(struct vpu_shared_addr *shared, 58 void (*set_stream_cfg)(struct vpu_shared_addr *shared, u32 index); 59 u32 (*get_version)(struct vpu_shared_addr *shared); 60 u32 (*get_max_instance_count)(struct vpu_shared_addr *shared); 61 int (*get_stream_buffer_size)(struct vpu_shared_addr *shared); 62 int (*send_cmd_buf)(struct vpu_shared_addr *shared, 64 int (*receive_msg_buf)(struct vpu_shared_addr *shared, 69 int (*input_frame)(struct vpu_shared_addr *shared, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | nvidia,tegra186-hsp.yaml | 21 The features that HSP supported are shared mailboxes, shared 29 For shared mailboxes, the first cell composed of two fields: 31 A bit mask of flags that further specifies the type of shared 33 specified then, 32-bit shared mailbox is used. 36 TEGRA_HSP_MBOX_TYPE_SM for shared mailboxes. 41 For shared mailboxes, the second cell is composed of two fields: 43 A bit mask of flags that further specify how the shared mailbox 52 The index of the shared mailbox to use. The number of available 83 # shared interrupts are optional 89 - pattern: "^shared[0-7]$" [all …]
|
/openbmc/linux/include/linux/ |
H A D | tee_drv.h | 23 #define TEE_SHM_DYNAMIC BIT(0) /* Dynamic shared memory registered */ 37 * @list_shm: List of shared memory object owned by this context 42 * shared memory release. 48 * @cap_memref_null: flag indicating if the TEE Client support shared 91 * @shm_register: register shared memory buffer in TEE 92 * @shm_unregister: unregister shared memory buffer in TEE 136 * @pool: Shared memory pool, NULL if not used 187 * struct tee_shm - shared memory object 189 * @paddr: physical address of the shared memory 190 * @kaddr: virtual address of the shared memory [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | sharedsubtree.rst | 4 Shared Subtrees 24 that got mounted recently. Shared subtree semantics provide the necessary 33 Shared subtree provides four different flavors of mounts; struct vfsmount to be 36 a. shared mount 42 2a) A shared mount can be replicated to as many mountpoints and all the 47 Let's say /mnt has a mount that is shared:: 49 mount --make-shared /mnt 51 Note: mount(8) command now supports the --make-shared flag, 86 2b) A slave mount is like a shared mount except that mount and umount events 89 All slave mounts have a master mount which is a shared. [all …]
|
/openbmc/linux/mm/ |
H A D | interval_tree.c | 23 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, 24 unsigned long, shared.rb_subtree_last, 38 if (!prev->shared.rb.rb_right) { in vma_interval_tree_insert_after() 40 link = &prev->shared.rb.rb_right; in vma_interval_tree_insert_after() 42 parent = rb_entry(prev->shared.rb.rb_right, in vma_interval_tree_insert_after() 43 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after() 44 if (parent->shared.rb_subtree_last < last) in vma_interval_tree_insert_after() 45 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after() 46 while (parent->shared.rb.rb_left) { in vma_interval_tree_insert_after() 47 parent = rb_entry(parent->shared.rb.rb_left, in vma_interval_tree_insert_after() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hdf5/files/ |
H A D | 0002-Remove-suffix-shared-from-shared-library-name.patch | 4 Subject: [PATCH 2/2] Remove suffix `-shared' from shared library name 19 -set (HDF5_LIBSH_TARGET "${HDF5_LIB_CORENAME}-shared") 20 -set (HDF5_TEST_LIBSH_TARGET "${HDF5_TEST_LIB_CORENAME}-shared") 21 -set (HDF5_CPP_LIBSH_TARGET "${HDF5_CPP_LIB_CORENAME}-shared") 22 -set (HDF5_HL_LIBSH_TARGET "${HDF5_HL_LIB_CORENAME}-shared") 23 -set (HDF5_HL_CPP_LIBSH_TARGET "${HDF5_HL_CPP_LIB_CORENAME}-shared") 24 -set (HDF5_TOOLS_LIBSH_TARGET "${HDF5_TOOLS_LIB_CORENAME}-shared") 25 -set (HDF5_UTILS_LIBSH_TARGET "${HDF5_UTILS_LIB_CORENAME}-shared") 26 -set (HDF5_F90_LIBSH_TARGET "${HDF5_F90_LIB_CORENAME}-shared") 27 -set (HDF5_F90_C_LIBSH_TARGET "${HDF5_F90_C_LIB_CORENAME}-shared") [all …]
|
/openbmc/linux/drivers/tee/ |
H A D | tee_shm.c | 128 * tee_shm_alloc_user_buf() - Allocate shared memory for user space 129 * @ctx: Context that allocates the shared memory 130 * @size: Requested size of shared memory 132 * Memory allocated as user space shared memory is automatically freed when 173 * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer 174 * @ctx: Context that allocates the shared memory 175 * @size: Requested size of shared memory 193 * tee_shm_alloc_priv_buf() - Allocate shared memory for a privately shared 195 * @ctx: Context that allocates the shared memory 196 * @size: Requested size of shared memory [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-stats.c | 185 static int dm_stat_in_flight(struct dm_stat_shared *shared) in dm_stat_in_flight() argument 187 return atomic_read(&shared->in_flight[READ]) + in dm_stat_in_flight() 188 atomic_read(&shared->in_flight[WRITE]); in dm_stat_in_flight() 216 struct dm_stat_shared *shared; in dm_stats_cleanup() local 222 shared = &s->stat_shared[ni]; in dm_stats_cleanup() 223 if (WARN_ON(dm_stat_in_flight(shared))) { in dm_stats_cleanup() 230 atomic_read(&shared->in_flight[READ]), in dm_stats_cleanup() 231 atomic_read(&shared->in_flight[WRITE])); in dm_stats_cleanup() 522 static void dm_stat_round(struct dm_stat *s, struct dm_stat_shared *shared, in dm_stat_round() argument 536 difference = now - shared->stamp; in dm_stat_round() [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/shared-mime-info/ |
H A D | shared-mime-info_2.4.bb | 1 SUMMARY = "Shared MIME type database and specification" 2 DESCRIPTION = "The shared-mime-info package contains the core database of common types." 3 HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info" 9 DEPENDS = "libxml2 glib-2.0 shared-mime-info-native xmlto-native" 11 SRC_URI = "git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;branch=master \ 23 FILES:${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc ${datadir}/gettext/its" 27 PACKAGES =+ "shared-mime-info-data" 28 FILES:shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml" 29 RDEPENDS:shared-mime-info-data = "shared-mime-info"
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | e500_mmu.c | 71 esel += gtlb0_set_base(vcpu_e500, vcpu->arch.shared->mas2); in get_tlb_esel() 134 tlbsel = (vcpu->arch.shared->mas4 >> 28) & 0x1; in kvmppc_e500_deliver_tlb_miss() 136 tsized = (vcpu->arch.shared->mas4 >> 7) & 0x1f; in kvmppc_e500_deliver_tlb_miss() 138 vcpu->arch.shared->mas0 = MAS0_TLBSEL(tlbsel) | MAS0_ESEL(victim) in kvmppc_e500_deliver_tlb_miss() 140 vcpu->arch.shared->mas1 = MAS1_VALID | (as ? MAS1_TS : 0) in kvmppc_e500_deliver_tlb_miss() 143 vcpu->arch.shared->mas2 = (eaddr & MAS2_EPN) in kvmppc_e500_deliver_tlb_miss() 144 | (vcpu->arch.shared->mas4 & MAS2_ATTRIB_MASK); in kvmppc_e500_deliver_tlb_miss() 145 vcpu->arch.shared->mas7_3 &= MAS3_U0 | MAS3_U1 | MAS3_U2 | MAS3_U3; in kvmppc_e500_deliver_tlb_miss() 146 vcpu->arch.shared->mas6 = (vcpu->arch.shared->mas6 & MAS6_SPID1) in kvmppc_e500_deliver_tlb_miss() 332 vcpu->arch.shared->mas0 &= ~MAS0_NV(~0); in kvmppc_e500_emul_tlbre() [all …]
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | numa_memory_policy.rst | 100 * VMA policies are shared between all tasks that share a 122 Shared Policy 123 Conceptually, shared policies apply to "memory objects" mapped 124 shared into one or more tasks' distinct address spaces. An 125 application installs shared policies the same way as VMA 127 virtual addresses that map the shared object. However, unlike 129 range of a task's address space, shared policies apply 130 directly to the shared object. Thus, all tasks that attach to 132 shared object, by any task, will obey the shared policy. 134 As of 2.6.22, only shared memory segments, created by shmget() or [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0021-shared-Do-not-use-malloc_info-on-musl.patch | 4 Subject: [PATCH 21/22] shared: Do not use malloc_info on musl 9 src/shared/bus-util.c | 5 +++-- 10 src/shared/common-signal.c | 4 ++-- 13 diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c 15 --- a/src/shared/bus-util.c 16 +++ b/src/shared/bus-util.c 36 diff --git a/src/shared/common-signal.c b/src/shared/common-signal.c 38 --- a/src/shared/common-signal.c 39 +++ b/src/shared/common-signal.c
|
H A D | 0014-Handle-missing-gshadow.patch | 14 src/shared/user-record-nss.c | 20 ++++++++++++++++++++ 15 src/shared/user-record-nss.h | 4 ++++ 16 src/shared/userdb.c | 7 ++++++- 19 diff --git a/src/shared/user-record-nss.c b/src/shared/user-record-nss.c 21 --- a/src/shared/user-record-nss.c 22 +++ b/src/shared/user-record-nss.c 124 diff --git a/src/shared/user-record-nss.h b/src/shared/user-record-nss.h 126 --- a/src/shared/user-record-nss.h 127 +++ b/src/shared/user-record-nss.h 140 diff --git a/src/shared/userdb.c b/src/shared/userdb.c [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0023-shared-Do-not-use-malloc_info-on-musl.patch | 4 Subject: [PATCH 23/27] shared: Do not use malloc_info on musl 9 src/shared/bus-util.c | 5 +++-- 10 src/shared/common-signal.c | 4 ++-- 13 diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c 15 --- a/src/shared/bus-util.c 16 +++ b/src/shared/bus-util.c 36 diff --git a/src/shared/common-signal.c b/src/shared/common-signal.c 38 --- a/src/shared/common-signal.c 39 +++ b/src/shared/common-signal.c
|
H A D | 0016-Handle-missing-gshadow.patch | 14 src/shared/user-record-nss.c | 20 ++++++++++++++++++++ 15 src/shared/user-record-nss.h | 4 ++++ 16 src/shared/userdb.c | 7 ++++++- 19 diff --git a/src/shared/user-record-nss.c b/src/shared/user-record-nss.c 21 --- a/src/shared/user-record-nss.c 22 +++ b/src/shared/user-record-nss.c 123 diff --git a/src/shared/user-record-nss.h b/src/shared/user-record-nss.h 125 --- a/src/shared/user-record-nss.h 126 +++ b/src/shared/user-record-nss.h 139 diff --git a/src/shared/userdb.c b/src/shared/userdb.c [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | pxa3xx-gcu.c | 88 struct pxa3xx_gcu_shared *shared; member 118 struct pxa3xx_gcu_shared *shared = priv->shared; \ 132 shared->hw_running ? "running" : " idle", \ 153 memset(priv->shared, 0, SHARED_SIZE); in pxa3xx_gcu_reset() 154 priv->shared->buffer_phys = priv->shared_phys; in pxa3xx_gcu_reset() 155 priv->shared->magic = PXA3XX_GCU_SHARED_MAGIC; in pxa3xx_gcu_reset() 171 struct pxa3xx_gcu_shared *sh = priv->shared; in dump_whole_state() 207 struct pxa3xx_gcu_shared *shared = priv->shared; in run_ready() local 214 shared->buffer[num++] = 0x05000000; in run_ready() 217 shared->buffer[num++] = 0x00000001; in run_ready() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | tee.h | 49 #define TEE_GEN_CAP_REG_MEM (1 << 2)/* Supports registering shared memory */ 91 * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument 92 * @size: [in/out] Size of shared memory to allocate 94 * @id: [out] Identifier of the shared memory 107 * TEE_IOC_SHM_ALLOC - allocate shared memory 109 * Allocates shared memory between the user space process and secure OS. 113 * The returned file descriptor is used to map the shared memory into user 114 * space. The shared memory is freed when the descriptor is closed and the 146 * These defines shared memory reference parameters (struct 188 * @a: if a memref, offset into the shared memory object, else a value parameter [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | xen-front-pgdir-shbuf.c | 4 * Xen frontend/backend page directory based shared buffer 25 * This structure represents the structure of a shared page 26 * that contains grant references to the pages of the shared 37 * Shared buffer ops which are differently implemented 70 * \param buf shared buffer which page directory is of interest. 85 * Map granted references of the shared buffer. 87 * Depending on the shared buffer mode of allocation 89 * shared by the frontend itself) or map the provided granted 92 * \param buf shared buffer which grants to be mapped. 106 * Unmap granted references of the shared buffer. [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_uc.c | 31 * AP and the IPA microcontroller. Each side writes data to the shared area 33 * to the interrupt. Some information found in the shared area is currently 34 * unused. All remaining space in the shared area is reserved, and must not 43 * struct ipa_uc_mem_area - AP/microcontroller shared memory area 64 * A shared memory area at the base of IPA resident memory is used for 129 struct ipa_uc_mem_area *shared = ipa_uc_shared(ipa); in ipa_uc_event_handler() local 132 if (shared->event == IPA_UC_EVENT_ERROR) in ipa_uc_event_handler() 134 else if (shared->event != IPA_UC_EVENT_LOG_INFO) in ipa_uc_event_handler() 136 shared->event); in ipa_uc_event_handler() 143 struct ipa_uc_mem_area *shared = ipa_uc_shared(ipa); in ipa_uc_response_hdlr() local [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ |
H A D | makefile-fix-parallel.patch | 13 Fatal error: can't create shared/hosts_access.o: No such file or directory 29 shared/%.o: %.c 30 + [ -d shared ] || mkdir -p shared 34 @@ -730,6 +731,8 @@ SHLIB_OBJ= $(addprefix shared/, $(LIB_OBJ)); 47 - @if [ ! -d shared ]; then mkdir shared; fi 48 + @[ -d shared ] || mkdir -p shared
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | unshare.rst | 37 outside the confinement of all-or-nothing shared resources of legacy 44 shared at the time of their creation. unshare() was conceptualized by 48 shared resources without creating a new process. unshare() is a natural 57 resources is not possible. Since namespaces are shared by default 60 from default shared namespace. The following lists two use-cases 74 of shared-tree feature in the Linux kernel, even regular Linux systems 85 decide what needs to be shared at the time of creating the process 111 be shared, similar flags in unshare(int flags) should specify 135 context that are currently being shared with other processes. Part 136 of execution context, such as the namespace, is shared by default [all …]
|