Home
last modified time | relevance | path

Searched full:contexts (Results 1 – 25 of 655) sorted by relevance

12345678910>>...27

/linux-5.10/scripts/selinux/ !
Dinstall_policy.sh44 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-5.10/arch/microblaze/include/asm/ !
Dmmu_context_mm.h21 * 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.
57 * Bitmap of contexts in use.
70 * Since we don't have sufficient contexts to give one to every task
71 * that could be in the system, we need to be able to steal contexts.
/linux-5.10/arch/powerpc/mm/nohash/ !
Dmmu_context.c54 * The MPC8xx has only 16 contexts. We rotate through them on each task switch.
55 * A better way would be to keep track of tasks that own contexts, and implement
61 * The IBM4xx has 256 contexts, so we can just rotate through these as a way of
62 * "switching" contexts. If the TID of the TLB is zero, the PID/TID comparison
64 * shared among all contexts. -- Dan
66 * The IBM 47x core supports 16-bit PIDs, thus 65535 contexts. We should
122 * we cannot steal active contexts in steal_context_smp()
151 /* This will happen if you have more CPUs than available contexts, in steal_context_smp()
191 /* Flush the TLB for all contexts (not to be used on SMP) */ in steal_all_contexts()
252 pr_err("MMU: More active contexts than CPUs ! (%d vs %d)\n", in context_check_map()
[all …]
/linux-5.10/Documentation/powerpc/ !
Dcxl.rst89 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-5.10/drivers/infiniband/hw/hfi1/ !
Dnetdev_rx.c77 /* 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()
Dpio.c183 int count; /* count of contexts in the pool */
400 "Send context memory pool %d has %u contexts, but no blocks\n", in init_sc_pools_and_sizes()
409 "Send context memory pool %d has %u blocks, but zero contexts\n", in init_sc_pools_and_sizes()
467 * All send contexts have their credit sizes. Allocate credits in init_send_contexts()
573 * kernel contexts.
804 * For Ack contexts, set a threshold for half the credits. in sc_alloc()
805 * For User contexts use the given percentage. This has been in sc_alloc()
807 * For Kernel contexts, use the default MTU plus a header in sc_alloc()
833 /* User send contexts should not allow sending on VL15 */ in sc_alloc()
847 * User contexts do not get a shadow ring. in sc_alloc()
[all …]
Daspm.c137 /* 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 */
/linux-5.10/Documentation/ABI/testing/ !
Dsysfs-class-ocxl8 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
Dsysfs-class-cxl7 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-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ !
Dmain.c614 priv->contexts[i].ctxid = i; in iwl_init_context()
616 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
617 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
618 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
619 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
620 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
621 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
622 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
623 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
624 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context()
[all …]
/linux-5.10/drivers/misc/vmw_vmci/ !
Dvmci_host.c102 * 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 …]
Dvmci_context.c24 /* 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-5.10/include/linux/ !
Dasync.h50 * 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-5.10/arch/powerpc/platforms/cell/spufs/ !
Dgang.c37 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-5.10/drivers/gpu/drm/ !
Ddrm_context.c2 * Legacy: Generic DRM Contexts
127 * drm_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
322 * Reserve contexts.
345 if (copy_to_user(&res->contexts[i], &ctx, sizeof(ctx))) in drm_legacy_resctx()
383 DRM_DEBUG("Not enough free contexts.\n"); in drm_legacy_addctx()
/linux-5.10/net/6lowpan/ !
Ddebugfs.c247 struct dentry *contexts; in lowpan_dev_debugfs_init() local
253 contexts = debugfs_create_dir("contexts", ldev->iface_debugfs); in lowpan_dev_debugfs_init()
255 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx, in lowpan_dev_debugfs_init()
259 lowpan_dev_debugfs_ctx_init(dev, contexts, i); in lowpan_dev_debugfs_init()
/linux-5.10/arch/powerpc/mm/book3s32/ !
Dmmu_context.c29 * hardware supports 24-bit VSIDs, and thus >1 million contexts,
32 * that we can use a bitmap to indicate which contexts are in use.
43 * This function defines the mapping from contexts to VSIDs (virtual
/linux-5.10/drivers/gpu/drm/i915/gt/ !
Dintel_engine_types.h161 * @ccid: identifier for contexts submitted to this engine
217 * @inflight: the set of contexts submitted and acknowleged by HW
219 * The set of inflight contexts is managed by reading CS events
226 * @pending: the next set of contexts submitted to ELSP
228 * We store the array of contexts that we submit to HW (via ELSP) and
242 * We submit multiple contexts to the HW simultaneously and would
525 * @active: Number of contexts currently scheduled in.
/linux-5.10/kernel/dma/ !
Dremap.c20 * Cannot be used in non-sleeping contexts
36 * Cannot be used in non-sleeping contexts
/linux-5.10/drivers/scsi/cxlflash/ !
Docxl_hw.h39 struct idr idr; /* IDR to manage contexts */
40 int max_pasid; /* Maximum number of contexts */
/linux-5.10/drivers/gpu/drm/i915/selftests/ !
Di915_vma.c108 struct list_head *contexts) in create_vmas() argument
116 list_for_each_entry(ctx, contexts, link) { in create_vmas()
157 LIST_HEAD(contexts); in igt_vma_create()
182 list_move(&ctx->link, &contexts); in igt_vma_create()
185 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
190 "%s timed out: after %lu objects in %lu contexts\n", in igt_vma_create()
195 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
204 /* Final pass to lookup all created contexts */ in igt_vma_create()
205 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
207 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
/linux-5.10/include/misc/ !
Dcxl.h19 * 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.
/linux-5.10/tools/perf/Documentation/ !
Dtips.txt18 To show assembler sample contexts use perf record -b / perf script -F +brstackinsn --xed
38 To browse sample contexts use perf report --sample 10 and select in context menu
/linux-5.10/drivers/misc/sgi-gru/ !
Dgrutables.h57 * Each of the "contexts" is a chunk of memory that can be mmaped into user
70 * to manage user contexts and to perform functions such as TLB dropin and
304 unsigned short mt_ctxbitmap:16;/* bitmap of contexts using
414 assigning contexts */
425 contexts in use */
434 unsigned short gs_active_contexts; /* number of contexts
459 stealing contexts */
488 /* Number of bytes to save/restore when unloading/loading GRU contexts */
/linux-5.10/drivers/gpu/drm/i915/gem/ !
Di915_gem_pm.c22 * We have to flush all the executing contexts to main memory so in i915_gem_suspend()
56 * known way to disable logical contexts is through a GPU reset. in i915_gem_suspend_late()

12345678910>>...27