Home
last modified time | relevance | path

Searched refs:contexts (Results 1 – 25 of 160) sorted by relevance

1234567

/linux/scripts/selinux/
A Dinstall_policy.sh43 mkdir -p /etc/selinux/dummy/contexts/files
46 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context
48 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF
55 touch /etc/selinux/dummy/contexts/virtual_domain_context
56 touch /etc/selinux/dummy/contexts/virtual_image_context
58 cp file_contexts /etc/selinux/dummy/contexts/files
59 cp dbus_contexts /etc/selinux/dummy/contexts
61 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts
76 cd /etc/selinux/dummy/contexts/files
/linux/Documentation/ABI/testing/
A Dsysfs-kernel-mm-damon47 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
52 'N-1' under the contexts/ directory.
54 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
60 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
109 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
114 named '0' to 'N-1' under the contexts/ directory.
116 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
145 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
152 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
158 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
[all …]
A 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
A 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.
236 contexts active on any one of the card AFUs. This may cause
239 contexts on the card AFUs.
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
A Dusage.rst50 # echo vaddr > kdamonds/0/contexts/0/operations
51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
64 │ │ │ contexts/nr_contexts
125 ``contexts`` 目录包含控制这个kdamond要执行的监测上下文的文件。
127 kdamonds/<N>/contexts/
134 contexts/<N>/
146 contexts/<N>/monitoring_attrs/
160 contexts/<N>/targets/
198 contexts/<N>/schemes/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
A Dusage.rst50 # echo vaddr > kdamonds/0/contexts/0/operations
51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets
64 │ │ │ contexts/nr_contexts
125 ``contexts`` 目錄包含控制這個kdamond要執行的監測上下文的文件。
127 kdamonds/<N>/contexts/
134 contexts/<N>/
146 contexts/<N>/monitoring_attrs/
160 contexts/<N>/targets/
198 contexts/<N>/schemes/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux/mm/damon/
A Dsysfs.c829 for (i = 0; i < contexts->nr; i++) { in damon_sysfs_contexts_rm_dirs()
833 contexts->nr = 0; in damon_sysfs_contexts_rm_dirs()
835 contexts->contexts_arr = NULL; in damon_sysfs_contexts_rm_dirs()
852 contexts->contexts_arr = contexts_arr; in damon_sysfs_contexts_add_dirs()
872 contexts->nr++; in damon_sysfs_contexts_add_dirs()
956 if (!contexts) in damon_sysfs_kdamond_add_dirs()
963 kobject_put(&contexts->kobj); in damon_sysfs_kdamond_add_dirs()
966 kdamond->contexts = contexts; in damon_sysfs_kdamond_add_dirs()
1309 if (kdamond->contexts->nr != 1) in damon_sysfs_commit_input()
1330 if (sysfs_kdamond->contexts->nr != 1) in damon_sysfs_commit_schemes_quota_goals()
[all …]
/linux/tools/testing/selftests/damon/
A D_damon_sysfs.py378 contexts = None variable in Kdamond
382 def __init__(self, contexts=[]): argument
383 self.contexts = contexts
397 if int(content) != len(self.contexts):
402 for context in self.contexts:
418 for context in self.contexts:
443 for context in self.contexts:
456 for context in self.contexts:
473 for context in self.contexts:
495 for context in self.contexts:
[all …]
A Ddamon_nr_regions.py23 contexts=[_damon_sysfs.DamonCtx(
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
90 contexts=[_damon_sysfs.DamonCtx(
109 attrs = kdamonds.kdamonds[0].contexts[0].monitoring_attrs
126 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
A Ddamos_apply_interval.py16 contexts=[_damon_sysfs.DamonCtx(
50 schemes = kdamonds.kdamonds[0].contexts[0].schemes
A Ddamos_tried_regions.py16 contexts=[_damon_sysfs.DamonCtx(
39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
A Dsysfs_update_schemes_tried_regions_wss_estimation.py14 contexts=[_damon_sysfs.DamonCtx(
38 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
A Ddamos_quota.py18 contexts=[_damon_sysfs.DamonCtx(
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Dmain.c608 priv->contexts[i].ctxid = i; in iwl_init_context()
610 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
611 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
621 priv->contexts[IWL_RXON_CTX_BSS].interface_modes = in iwl_init_context()
627 memcpy(priv->contexts[IWL_RXON_CTX_BSS].ac_to_queue, in iwl_init_context()
629 memcpy(priv->contexts[IWL_RXON_CTX_BSS].ac_to_fifo, in iwl_init_context()
633 priv->contexts[IWL_RXON_CTX_PAN].rxon_timing_cmd = in iwl_init_context()
635 priv->contexts[IWL_RXON_CTX_PAN].rxon_assoc_cmd = in iwl_init_context()
642 priv->contexts[IWL_RXON_CTX_PAN].interface_modes = in iwl_init_context()
648 memcpy(priv->contexts[IWL_RXON_CTX_PAN].ac_to_queue, in iwl_init_context()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_sysfs.c79 spin_lock(&i915->gem.contexts.lock); in i915_l3_read()
84 spin_unlock(&i915->gem.contexts.lock); in i915_l3_read()
112 spin_lock(&i915->gem.contexts.lock); in i915_l3_write()
125 list_for_each_entry(ctx, &i915->gem.contexts.list, link) in i915_l3_write()
128 spin_unlock(&i915->gem.contexts.lock); in i915_l3_write()
/linux/drivers/gpu/drm/tegra/
A Duapi.c55 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file()
61 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file()
135 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open()
170 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
176 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
200 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map()
281 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
/linux/arch/powerpc/platforms/cell/spufs/
A 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/Documentation/gpu/rfc/
A Di915_scheduler.rst26 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
/linux/drivers/gpu/drm/i915/pxp/
A Dintel_pxp.c496 spin_lock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
497 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in intel_pxp_invalidate()
509 spin_unlock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
535 spin_lock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
539 spin_unlock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
/linux/net/6lowpan/
A Ddebugfs.c248 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/Documentation/arch/powerpc/
A 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/drivers/media/platform/ti/omap3isp/
A Dispcsi2.c220 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[0]; in csi2_set_outaddr()
250 struct isp_csi2_ctx_cfg *ctx = &csi2->contexts[ctxnum]; in csi2_ctx_enable()
561 if (csi2->contexts[0].enabled || csi2->ctrl.if_enable) in csi2_configure()
599 csi2->contexts[0].format_id = csi2_ctx_map_format(csi2); in csi2_configure()
602 csi2->contexts[0].data_offset = 0; in csi2_configure()
604 csi2->contexts[0].data_offset = csi2->video_out.bpl_value; in csi2_configure()
613 csi2->contexts[0].eof_enabled = 1; in csi2_configure()
614 csi2->contexts[0].eol_enabled = 1; in csi2_configure()
623 csi2_ctx_config(isp, csi2, &csi2->contexts[0]); in csi2_configure()
785 csi2_isr_ctx(csi2, &csi2->contexts[0]); in omap3isp_csi2_isr()
/linux/drivers/staging/media/omap4iss/
A Diss_csi2.c254 struct iss_csi2_ctx_cfg *ctx = &csi2->contexts[0]; in csi2_set_outaddr()
283 struct iss_csi2_ctx_cfg *ctx = &csi2->contexts[ctxnum]; in csi2_ctx_enable()
538 if (csi2->contexts[0].enabled || csi2->ctrl.if_enable) in csi2_configure()
568 csi2->contexts[0].format_id = csi2_ctx_map_format(csi2); in csi2_configure()
571 csi2->contexts[0].data_offset = 0; in csi2_configure()
573 csi2->contexts[0].data_offset = csi2->video_out.bpl_value; in csi2_configure()
582 csi2->contexts[0].eof_enabled = 1; in csi2_configure()
583 csi2->contexts[0].eol_enabled = 1; in csi2_configure()
592 csi2_ctx_config(csi2, &csi2->contexts[0]); in csi2_configure()
780 csi2_isr_ctx(csi2, &csi2->contexts[0]); in omap4iss_csi2_isr()
/linux/drivers/gpu/drm/imagination/
A Dpvr_context.c362 list_add_tail(&ctx->file_link, &pvr_file->contexts); in pvr_context_create()
461 ctx = list_first_entry(&pvr_file->contexts, struct pvr_context, file_link); in pvr_destroy_contexts_for_file()
463 while (!list_entry_is_head(ctx, &pvr_file->contexts, file_link)) { in pvr_destroy_contexts_for_file()
474 ctx = list_first_entry(&pvr_file->contexts, struct pvr_context, file_link); in pvr_destroy_contexts_for_file()
/linux/drivers/gpu/drm/xe/
A DKconfig.profile18 contexts by guc scheduling.
24 contexts by guc scheduling.

Completed in 32 milliseconds

1234567