| /Linux-v5.15/Documentation/devicetree/bindings/mfd/ | 
| D | axp20x.txt | 91 LDO2		: LDO		: ldo24in-supply	: shared supply93 LDO4		: LDO		: ldo24in-supply	: shared supply
 107 ALDO1		: LDO		: aldoin-supply		: shared supply
 108 ALDO2		: LDO		: aldoin-supply		: shared supply
 109 ALDO3		: LDO		: aldoin-supply		: shared supply
 110 DLDO1		: LDO		: dldoin-supply		: shared supply
 111 DLDO2		: LDO		: dldoin-supply		: shared supply
 112 DLDO3		: LDO		: dldoin-supply		: shared supply
 113 DLDO4		: LDO		: dldoin-supply		: shared supply
 114 ELDO1		: LDO		: eldoin-supply		: shared supply
 [all …]
 
 | 
| /Linux-v5.15/include/linux/ | 
| D | tee_drv.h | 40  * @list_shm:	List of shared memory object owned by this context45  *              shared memory release.
 51  * @cap_memref_null: flag indicating if the TEE Client support shared
 94  * @shm_register:	register shared memory buffer in TEE
 95  * @shm_unregister:	unregister shared memory buffer in TEE
 139  * @pool:	Shared memory pool, NULL if not used
 190  * struct tee_shm - shared memory object
 192  * @paddr:	physical address of the shared memory
 193  * @kaddr:	virtual address of the shared memory
 194  * @size:	size of shared memory
 [all …]
 
 | 
| /Linux-v5.15/drivers/hid/ | 
| D | hid-cougar.c | 78 	struct cougar_shared *shared;  member121 	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 …]
 
 | 
| /Linux-v5.15/Documentation/filesystems/ | 
| D | sharedsubtree.rst | 4 Shared Subtrees24 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 …]
 
 | 
| /Linux-v5.15/mm/ | 
| 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 …]
 
 | 
| /Linux-v5.15/drivers/dma-buf/ | 
| D | dma-resv.c | 45  * The reservation object provides a mechanism to manage shared and48  * write operations) or N shared fences (read operations).  The RCU
 67 	list = kmalloc(struct_size(list, shared, shared_max), GFP_KERNEL);  in dma_resv_list_alloc()
 71 	list->shared_max = (ksize(list) - offsetof(typeof(*list), shared)) /  in dma_resv_list_alloc()
 72 		sizeof(*list->shared);  in dma_resv_list_alloc()
 91 		dma_fence_put(rcu_dereference_protected(list->shared[i], true));  in dma_resv_list_free()
 134  * dma_resv_reserve_shared - Reserve space to add shared fences to
 174 		fence = rcu_dereference_protected(old->shared[i],  in dma_resv_reserve_shared()
 177 			RCU_INIT_POINTER(new->shared[--k], fence);  in dma_resv_reserve_shared()
 179 			RCU_INIT_POINTER(new->shared[j++], fence);  in dma_resv_reserve_shared()
 [all …]
 
 | 
| /Linux-v5.15/drivers/md/ | 
| D | dm-stats.c | 185 static int dm_stat_in_flight(struct dm_stat_shared *shared)  in dm_stat_in_flight()  argument187 	return atomic_read(&shared->in_flight[READ]) +  in dm_stat_in_flight()
 188 	       atomic_read(&shared->in_flight[WRITE]);  in dm_stat_in_flight()
 210 	struct dm_stat_shared *shared;  in dm_stats_cleanup()  local
 216 			shared = &s->stat_shared[ni];  in dm_stats_cleanup()
 217 			if (WARN_ON(dm_stat_in_flight(shared))) {  in dm_stats_cleanup()
 224 				       atomic_read(&shared->in_flight[READ]),  in dm_stats_cleanup()
 225 				       atomic_read(&shared->in_flight[WRITE]));  in dm_stats_cleanup()
 483 static void dm_stat_round(struct dm_stat *s, struct dm_stat_shared *shared,  in dm_stat_round()  argument
 497 	difference = now - shared->stamp;  in dm_stat_round()
 [all …]
 
 | 
| /Linux-v5.15/arch/powerpc/kvm/ | 
| 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 …]
 
 | 
| D | e500mc.c | 130 	mtspr(SPRN_GSPRG0, (unsigned long)vcpu->arch.shared->sprg0);  in kvmppc_core_vcpu_load_e500mc()131 	mtspr(SPRN_GSPRG1, (unsigned long)vcpu->arch.shared->sprg1);  in kvmppc_core_vcpu_load_e500mc()
 132 	mtspr(SPRN_GSPRG2, (unsigned long)vcpu->arch.shared->sprg2);  in kvmppc_core_vcpu_load_e500mc()
 133 	mtspr(SPRN_GSPRG3, (unsigned long)vcpu->arch.shared->sprg3);  in kvmppc_core_vcpu_load_e500mc()
 135 	mtspr(SPRN_GSRR0, vcpu->arch.shared->srr0);  in kvmppc_core_vcpu_load_e500mc()
 136 	mtspr(SPRN_GSRR1, vcpu->arch.shared->srr1);  in kvmppc_core_vcpu_load_e500mc()
 139 	mtspr(SPRN_GDEAR, vcpu->arch.shared->dar);  in kvmppc_core_vcpu_load_e500mc()
 140 	mtspr(SPRN_GESR, vcpu->arch.shared->esr);  in kvmppc_core_vcpu_load_e500mc()
 154 	vcpu->arch.shared->sprg0 = mfspr(SPRN_GSPRG0);  in kvmppc_core_vcpu_put_e500mc()
 155 	vcpu->arch.shared->sprg1 = mfspr(SPRN_GSPRG1);  in kvmppc_core_vcpu_put_e500mc()
 [all …]
 
 | 
| /Linux-v5.15/Documentation/admin-guide/mm/ | 
| D | numa_memory_policy.rst | 102 	* VMA policies are shared between all tasks that share a124 Shared Policy
 125 	Conceptually, shared policies apply to "memory objects" mapped
 126 	shared into one or more tasks' distinct address spaces.  An
 127 	application installs shared policies the same way as VMA
 129 	virtual addresses that map the shared object.  However, unlike
 131 	range of a task's address space, shared policies apply
 132 	directly to the shared object.  Thus, all tasks that attach to
 134 	shared object, by any task, will obey the shared policy.
 136 	As of 2.6.22, only shared memory segments, created by shmget() or
 [all …]
 
 | 
| /Linux-v5.15/drivers/video/fbdev/ | 
| D | pxa3xx-gcu.c | 88 	struct pxa3xx_gcu_shared *shared;  member118 		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 …]
 
 | 
| /Linux-v5.15/drivers/xen/ | 
| D | xen-front-pgdir-shbuf.c | 4  * Xen frontend/backend page directory based shared buffer34  * This structure represents the structure of a shared page
 35  * that contains grant references to the pages of the shared
 45  * Shared buffer ops which are differently implemented
 78  * \param buf shared buffer which page directory is of interest.
 93  * Map granted references of the shared buffer.
 95  * Depending on the shared buffer mode of allocation
 97  * shared by the frontend itself) or map the provided granted
 100  * \param buf shared buffer which grants to be maped.
 114  * Unmap granted references of the shared buffer.
 [all …]
 
 | 
| /Linux-v5.15/include/uapi/linux/ | 
| D | tee.h | 45 /* Flags relating to shared memory */47 #define TEE_IOCTL_SHM_DMA_BUF	0x2	/* dma-buf handle on shared memory */
 53 #define TEE_GEN_CAP_REG_MEM	(1 << 2)/* Supports registering shared memory */
 95  * struct tee_ioctl_shm_alloc_data - Shared memory allocate argument
 96  * @size:	[in/out] Size of shared memory to allocate
 98  * @id:		[out] Identifier of the shared memory
 111  * TEE_IOC_SHM_ALLOC - allocate shared memory
 113  * Allocates shared memory between the user space process and secure OS.
 117  * The returned file descriptor is used to map the shared memory into user
 118  * space. The shared memory is freed when the descriptor is closed and the
 [all …]
 
 | 
| /Linux-v5.15/drivers/net/ipa/ | 
| D | ipa_uc.c | 30  * AP and the IPA microcontroller.  Each side writes data to the shared area32  * to the interrupt.  Some information found in the shared area is currently
 33  * unused.  All remaining space in the shared area is reserved, and must not
 42  * struct ipa_uc_mem_area - AP/microcontroller shared memory area
 63  * A shared memory area at the base of IPA resident memory is used for
 128 	struct ipa_uc_mem_area *shared = ipa_uc_shared(ipa);  in ipa_uc_event_handler()  local
 131 	if (shared->event == IPA_UC_EVENT_ERROR)  in ipa_uc_event_handler()
 133 	else if (shared->event != IPA_UC_EVENT_LOG_INFO)  in ipa_uc_event_handler()
 135 			shared->event);  in ipa_uc_event_handler()
 142 	struct ipa_uc_mem_area *shared = ipa_uc_shared(ipa);  in ipa_uc_response_hdlr()  local
 [all …]
 
 | 
| /Linux-v5.15/drivers/soc/qcom/ | 
| D | Kconfig | 24 	  Command DB queries shared memory by key string for shared system25 	  resources. Platform drivers that require to set state of a shared
 27 	  SoC specific identifier and information for the shared resources.
 104 	  and exposing regions of shared memory with remote processors for the
 117 	  internal bus to transmit state requests for shared resources. A set
 140 	tristate "Qualcomm Shared Memory Manager (SMEM)"
 144 	  Say y here to enable support for the Qualcomm Shared Memory Manager.
 145 	  The driver provides an interface to items in a heap shared among all
 167 	tristate "Qualcomm Shared Memory Point to Point support"
 173 	  Say yes here to support the Qualcomm Shared Memory Point to Point
 [all …]
 
 | 
| /Linux-v5.15/Documentation/userspace-api/ | 
| D | unshare.rst | 37 outside the confinement of all-or-nothing shared resources of legacy44 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 …]
 
 | 
| /Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ | 
| D | pcie.c | 262 	struct brcmf_pcie_shared_info shared;  member287  * struct brcmf_pcie_dhi_ringinfo - dongle/host interface shared ring info
 670 	struct brcmf_pcie_shared_info *shared;  in brcmf_pcie_send_mb_data()  local
 676 	shared = &devinfo->shared;  in brcmf_pcie_send_mb_data()
 677 	addr = shared->htod_mb_data_addr;  in brcmf_pcie_send_mb_data()
 707 	struct brcmf_pcie_shared_info *shared;  in brcmf_pcie_handle_mb_data()  local
 711 	shared = &devinfo->shared;  in brcmf_pcie_handle_mb_data()
 712 	addr = shared->dtoh_mb_data_addr;  in brcmf_pcie_handle_mb_data()
 742 	struct brcmf_pcie_shared_info *shared;  in brcmf_pcie_bus_console_init()  local
 746 	shared = &devinfo->shared;  in brcmf_pcie_bus_console_init()
 [all …]
 
 | 
| /Linux-v5.15/drivers/reset/ | 
| D | core.c | 34  * @shared: Is this a shared (1), or an exclusive (0) reset_control?38  *                   only used for shared resets, which means that the value
 47 	bool shared;  member
 225 		if (rstc->shared) {  in reset_control_array_rearm()
 237 		if (rstc && rstc->shared)  in reset_control_array_rearm()
 317  * On a shared reset line the actual reset pulse is only triggered once for the
 320  * Consumers must not use reset_control_(de)assert on shared reset lines when
 342 	if (rstc->shared) {  in reset_control_reset()
 354 	if (rstc->shared && ret)  in reset_control_reset()
 386  * reset_control_rearm - allow shared reset line to be re-triggered"
 [all …]
 
 | 
| /Linux-v5.15/arch/arm64/boot/dts/ti/ | 
| D | k3-j721e-som-p0.dtsi | 30 			compatible = "shared-dma-pool";36 			compatible = "shared-dma-pool";
 42 			compatible = "shared-dma-pool";
 48 			compatible = "shared-dma-pool";
 54 			compatible = "shared-dma-pool";
 60 			compatible = "shared-dma-pool";
 66 			compatible = "shared-dma-pool";
 72 			compatible = "shared-dma-pool";
 78 			compatible = "shared-dma-pool";
 84 			compatible = "shared-dma-pool";
 [all …]
 
 | 
| /Linux-v5.15/drivers/tee/ | 
| D | tee_shm.c | 91 	/* Refuse sharing shared memory provided by application */  in tee_shm_op_mmap()197  * tee_shm_alloc_kernel_buf() - Allocate shared memory for kernel buffer
 198  * @ctx:	Context that allocates the shared memory
 199  * @size:	Requested size of shared memory
 341  * @shm:	Shared memory handle
 342  * @returns user space file descriptor to shared memory
 359  * tee_shm_free() - Free shared memory
 360  * @shm:	Handle to shared memory to free
 380  * @shm:	Shared memory handle
 402  * @shm:	Shared memory handle
 [all …]
 
 | 
| /Linux-v5.15/drivers/infiniband/hw/vmw_pvrdma/ | 
| D | pvrdma_srq.c | 56  * pvrdma_query_srq - query shared receive queue57  * @ibsrq: the shared receive queue to query
 79 			 "could not query shared receive queue, error: %d\n",  in pvrdma_query_srq()
 92  * pvrdma_create_srq - create shared receive queue
 93  * @ibsrq: the IB shared receive queue
 94  * @init_attr: shared receive queue attributes
 116 			 "no shared receive queue support for kernel client\n");  in pvrdma_create_srq()
 122 			 "shared receive queue type %d not supported\n",  in pvrdma_create_srq()
 130 			 "shared receive queue size invalid\n");  in pvrdma_create_srq()
 142 		"create shared receive queue from user space\n");  in pvrdma_create_srq()
 [all …]
 
 | 
| /Linux-v5.15/drivers/net/wireless/ralink/rt2x00/ | 
| D | rt2500usb.h | 380  * SEC_CSR0: Shared key 0, word 0381  * SEC_CSR1: Shared key 0, word 1
 382  * SEC_CSR2: Shared key 0, word 2
 383  * SEC_CSR3: Shared key 0, word 3
 384  * SEC_CSR4: Shared key 0, word 4
 385  * SEC_CSR5: Shared key 0, word 5
 386  * SEC_CSR6: Shared key 0, word 6
 387  * SEC_CSR7: Shared key 0, word 7
 399  * SEC_CSR8: Shared key 1, word 0
 400  * SEC_CSR9: Shared key 1, word 1
 [all …]
 
 | 
| /Linux-v5.15/drivers/tee/optee/ | 
| D | optee_smc.h | 114  * a3	Cache settings, not used if physical pointer is in a predefined shared153  * Get Shared Memory Config
 155  * Returns the Secure/Non-secure shared memory config.
 207 /* Secure world has reserved shared memory for normal world to use */
 209 /* Secure world can communicate via previously unregistered shared memory */
 213  * Secure world supports commands "register/unregister shared memory",
 219 /* Secure world supports Shared Memory with a NULL reference */
 234  * Disable and empties cache of shared memory objects
 236  * Secure world can cache frequently used shared memory objects, for
 238  * function returns one shared memory reference to free. To disable the
 [all …]
 
 | 
| /Linux-v5.15/drivers/mtd/lpddr/ | 
| D | lpddr_cmds.c | 38 	struct flchip_shared *shared;  in lpddr_cmdset()  local68 	shared = kmalloc_array(lpddr->numchips, sizeof(struct flchip_shared),  in lpddr_cmdset()
 70 	if (!shared) {  in lpddr_cmdset()
 78 		shared[i].writing = shared[i].erasing = NULL;  in lpddr_cmdset()
 79 		mutex_init(&shared[i].lock);  in lpddr_cmdset()
 84 			chip->priv = &shared[i];  in lpddr_cmdset()
 214 		 * - any write operation must own shared->writing.  in get_chip()
 216 		 * - any erase operation must own _both_ shared->writing and  in get_chip()
 217 		 *   shared->erasing.  in get_chip()
 221 		 * The 'shared' struct can be read and/or written only when  in get_chip()
 [all …]
 
 | 
| /Linux-v5.15/drivers/gpu/drm/i915/gem/ | 
| D | i915_gem_wait.c | 44 		struct dma_fence **shared;  in i915_gem_object_wait_reservation()  local48 		ret = dma_resv_get_fences(resv, &excl, &count, &shared);  in i915_gem_object_wait_reservation()
 53 			timeout = i915_gem_object_wait_fence(shared[i],  in i915_gem_object_wait_reservation()
 58 			dma_fence_put(shared[i]);  in i915_gem_object_wait_reservation()
 62 			dma_fence_put(shared[i]);  in i915_gem_object_wait_reservation()
 63 		kfree(shared);  in i915_gem_object_wait_reservation()
 66 		 * If both shared fences and an exclusive fence exist,  in i915_gem_object_wait_reservation()
 67 		 * then by construction the shared fences must be later  in i915_gem_object_wait_reservation()
 69 		 * all the shared fences, we know that the exclusive fence  in i915_gem_object_wait_reservation()
 70 		 * must all be signaled. If all the shared fences are  in i915_gem_object_wait_reservation()
 [all …]
 
 |