/Linux-v5.15/scripts/selinux/ |
D | install_policy.sh | 44 mkdir -p /etc/selinux/dummy/contexts/files 47 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context 49 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF 56 touch /etc/selinux/dummy/contexts/virtual_domain_context 57 touch /etc/selinux/dummy/contexts/virtual_image_context 59 cp file_contexts /etc/selinux/dummy/contexts/files 60 cp dbus_contexts /etc/selinux/dummy/contexts 62 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts 77 cd /etc/selinux/dummy/contexts/files
|
/Linux-v5.15/Documentation/gpu/rfc/ |
D | i915_scheduler.rst | 26 which configures a slot with N contexts 94 contexts in parallel with the GuC the context must be explicitly registered with 95 N contexts and all N contexts must be submitted in a single command to the GuC. 96 The GuC interfaces do not support dynamically changing between N contexts as the 105 * A 'set_parallel' extension to configure contexts for parallel 115 submission interface currently only supports submitting multiple contexts to 125 A 'set_parallel' extension to configure contexts for parallel submission 128 It is a setup step that must be called before using any of the contexts. See 143 Contexts that have been configured with the 'set_parallel' extension can only
|
D | i915_parallel_execbuf.h | 14 * in parallel. Multiple hardware contexts are created internally in the i915 23 * a virtual engine). Also we only allow contexts of same engine class and these 24 * contexts must be in logically contiguous order. Examples of the placement 27 * contexts between each set of BBs. Flags may be added in the future to change 89 * @width: number of contexts per parallel engine
|
/Linux-v5.15/arch/microblaze/include/asm/ |
D | mmu_context_mm.h | 21 * This function defines the mapping from contexts to VSIDs (virtual 30 MicroBlaze has 256 contexts, so we can just rotate through these 31 as a way of "switching" contexts. If the TID of the TLB is zero, 33 to represent all kernel pages as shared among all contexts. 53 * Bitmap of contexts in use. 66 * Since we don't have sufficient contexts to give one to every task 67 * that could be in the system, we need to be able to steal contexts.
|
/Linux-v5.15/arch/powerpc/mm/nohash/ |
D | mmu_context.c | 46 * The MPC8xx has only 16 contexts. We rotate through them on each task switch. 47 * A better way would be to keep track of tasks that own contexts, and implement 53 * The IBM4xx has 256 contexts, so we can just rotate through these as a way of 54 * "switching" contexts. If the TID of the TLB is zero, the PID/TID comparison 56 * shared among all contexts. -- Dan 58 * The IBM 47x core supports 16-bit PIDs, thus 65535 contexts. We should 109 * we cannot steal active contexts in steal_context_smp() 137 /* This will happen if you have more CPUs than available contexts, in steal_context_smp() 168 /* Flush the TLB for all contexts (not to be used on SMP) */ in steal_all_contexts() 261 /* No more free contexts, let's try to steal one */ in switch_mmu_context() [all …]
|
/Linux-v5.15/Documentation/powerpc/ |
D | cxl.rst | 89 When using AFU directed mode, up to 16K simultaneous contexts can 141 context. Master contexts have access to the full MMIO space an 142 AFU provides. Slave contexts have access to only the per process 148 that the AFU provides (like master contexts in AFU directed). 170 An AFU directed mode AFU can have many contexts, the device can be 173 When all available contexts are allocated the open call will fail 178 the number of contexts that can be created, and therefore 182 contexts can be allocated. If 4 IRQs are needed per context, 183 then only 2037/4 = 509 contexts can be allocated. 256 In AFU directed mode, master contexts are allowed to map all of [all …]
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | netdev_rx.c | 77 /* Netdev contexts are always NO_RDMA_RTAIL */ in hfi1_netdev_allocate_ctxt() 144 * hfi1_num_netdev_contexts - Count of netdev recv contexts to use. 145 * @dd: device on which to allocate netdev contexts 146 * @available_contexts: count of available receive contexts 147 * @cpu_mask: mask of possible cpus to include for contexts 150 * contexts for netdev recv context usage up to the maximum of 153 * a memory allocation error occurs or when there are no available contexts. 165 /* Always give user contexts priority over netdev contexts */ in hfi1_num_netdev_contexts() 167 dd_dev_info(dd, "No receive contexts available for netdevs.\n"); in hfi1_num_netdev_contexts()
|
D | pio.c | 141 int count; /* count of contexts in the pool */ 358 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes() 367 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes() 425 * All send contexts have their credit sizes. Allocate credits in init_send_contexts() 531 * kernel contexts. 762 * For Ack contexts, set a threshold for half the credits. in sc_alloc() 763 * For User contexts use the given percentage. This has been in sc_alloc() 765 * For Kernel contexts, use the default MTU plus a header in sc_alloc() 791 /* User send contexts should not allow sending on VL15 */ in sc_alloc() 805 * User contexts do not get a shadow ring. in sc_alloc() [all …]
|
D | aspm.c | 137 /* PSM contexts are open */ in __aspm_ctx_disable() 182 * Disable interrupt processing for verbs contexts when PSM or VNIC contexts 206 /* Re-enable interrupt processing for verbs contexts */
|
D | pio.h | 132 * Since the mapping now allows for non-uniform send contexts per vl, the 133 * number of send contexts for a vl is either the vl_scontexts[vl] or 144 * For the case where n > nactual, the send contexts are assigned 190 /* Initial number of send contexts per VL */ 196 * @ksc - array of kernel send contexts for this vl
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-class-ocxl | 8 What: /sys/class/ocxl/<afu name>/contexts 12 Number of contexts for the AFU, in the format <n>/<max> 16 n number of currently active contexts, for debug 17 max maximum number of contexts supported by the AFU
|
D | sysfs-class-cxl | 7 Slave contexts (eg. /sys/class/cxl/afu0.0s): 63 provided that no user contexts are attached. 92 contexts active on the AFU. 152 Master contexts (eg. /sys/class/cxl/afu0.0m) 159 by userspace. This includes all slave contexts space also. 232 contexts active on any one of the card AFUs. This may cause 235 contexts on the card AFUs.
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | uapi.c | 56 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file() 62 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file() 109 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open() 141 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 147 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 169 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map() 260 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | main.c | 613 priv->contexts[i].ctxid = i; in iwl_init_context() 615 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context() 616 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context() 617 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context() 618 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context() 619 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context() 620 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context() 621 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context() 622 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context() 623 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context() [all …]
|
/Linux-v5.15/drivers/misc/vmw_vmci/ |
D | vmci_host.c | 102 * are VMX'en with active VMCI contexts using the host device. 147 * The number of active contexts is used to track whether any in vmci_host_close() 362 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_send_datagram() 418 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_receive_datagram() 449 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_alloc_queuepair() 518 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setva() 566 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_queuepair_setpf() 637 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_qp_detach() 664 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_add_notify() 687 vmci_ioctl_err("only valid for contexts\n"); in vmci_host_do_ctx_remove_notify() [all …]
|
D | vmci_context.c | 24 /* Use a wide upper bound for the maximum contexts. */ 28 * List of current VMCI contexts. Contexts can be added by 41 /* Used by contexts that did not set up notify flag pointers */ 163 /* We reserve the lowest 16 ids for fixed contexts. */ in vmci_ctx_create() 199 * Fire notification for all contexts interested in given cid. 211 * scanning through all contexts. in ctx_fire_notification() 218 * Scan all contexts to find who is interested in being in ctx_fire_notification() 227 * contexts, if the two contexts are allowed to in ctx_fire_notification() 432 * Fire event to all contexts interested in knowing this in ctx_free_ctx() 595 * Add remote_cid to list of contexts current contexts wants [all …]
|
/Linux-v5.15/include/linux/ |
D | async.h | 50 * Note: This function may be called from atomic or non-atomic contexts. 66 * Note: This function may be called from atomic or non-atomic contexts. 85 * Note: This function may be called from atomic or non-atomic contexts. 106 * Note: This function may be called from atomic or non-atomic contexts.
|
/Linux-v5.15/arch/powerpc/platforms/cell/spufs/ |
D | gang.c | 37 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang() 57 gang->contexts++; in spu_gang_add_ctx() 70 gang->contexts--; in spu_gang_remove_ctx()
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_context.c | 2 * Legacy: Generic DRM Contexts 127 * drm_legacy_ctxbitmap_flush() - Flush all contexts owned by a file 129 * @file: Open file to flush contexts for 131 * This iterates over all contexts on @dev and drops them if they're owned by 132 * @file. Note that after this call returns, new contexts might be added if 323 * Reserve contexts. 346 if (copy_to_user(&res->contexts[i], &ctx, sizeof(ctx))) in drm_legacy_resctx() 384 DRM_DEBUG("Not enough free contexts.\n"); in drm_legacy_addctx()
|
/Linux-v5.15/net/6lowpan/ |
D | debugfs.c | 248 struct dentry *contexts; in lowpan_dev_debugfs_init() local 254 contexts = debugfs_create_dir("contexts", ldev->iface_debugfs); in lowpan_dev_debugfs_init() 256 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx, in lowpan_dev_debugfs_init() 260 lowpan_dev_debugfs_ctx_init(dev, contexts, i); in lowpan_dev_debugfs_init()
|
/Linux-v5.15/include/net/netns/ |
D | mctp.h | 16 * This list is updated from non-atomic contexts (under bind_lock), 22 /* tag allocations. This list is read and updated from atomic contexts,
|
/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_engine_types.h | 147 * @ccid: identifier for contexts submitted to this engine 199 * @inflight: the set of contexts submitted and acknowleged by HW 201 * The set of inflight contexts is managed by reading CS events 208 * @pending: the next set of contexts submitted to ELSP 210 * We store the array of contexts that we submit to HW (via ELSP) and 475 * @active: Number of contexts currently scheduled in.
|
/Linux-v5.15/kernel/dma/ |
D | remap.c | 20 * Cannot be used in non-sleeping contexts 36 * Cannot be used in non-sleeping contexts
|
/Linux-v5.15/drivers/scsi/cxlflash/ |
D | ocxl_hw.h | 39 struct idr idr; /* IDR to manage contexts */ 40 int max_pasid; /* Maximum number of contexts */
|
/Linux-v5.15/include/misc/ |
D | cxl.h | 19 * This API enables control over AFU and contexts which can't be part of the 49 * Additional kernel contexts may be inited using cxl_dev_context_init(). 60 * hardware to lose track of all contexts. It's upto the caller of 61 * cxl_afu_reset() to restart these contexts.
|