Home
last modified time | relevance | path

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

123456

/linux-5.19.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.19.10/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon37 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
42 'N-1' under the contexts/ directory.
44 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
50 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
63 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
70 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
77 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
84 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min
92 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
99 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
[all …]
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.
236 contexts active on any one of the card AFUs. This may cause
239 contexts on the card AFUs.
Dsysfs-fs-erofs15 readahead on atomic contexts only.
Dgpio-cdev24 Stops and free up the I/O contexts that was associated
/linux-5.19.10/Documentation/translations/zh_CN/admin-guide/mm/damon/
Dusage.rst49 # echo 1 > kdamonds/nr && echo 1 > kdamonds/0/contexts/nr
50 # echo vaddr > kdamonds/0/contexts/0/operations
51 # echo 1 > kdamonds/0/contexts/0/targets/nr
52 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid
64 │ │ │ contexts/nr_contexts
109 在每个kdamond目录中,存在两个文件(``state`` 和 ``pid`` )和一个目录( ``contexts`` )。
118 ``contexts`` 目录包含控制这个kdamond要执行的监测上下文的文件。
120 kdamonds/<N>/contexts/
127 contexts/<N>/
139 contexts/<N>/monitoring_attrs/
[all …]
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/dvm/
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()
612 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
613 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
614 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
615 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
616 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
617 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
618 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context()
[all …]
Drxon.c301 priv->contexts[IWL_RXON_CTX_BSS].vif && in iwl_send_rxon_timing()
302 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { in iwl_send_rxon_timing()
304 priv->contexts[IWL_RXON_CTX_BSS].timing.beacon_interval; in iwl_send_rxon_timing()
308 priv->contexts[IWL_RXON_CTX_PAN].vif && in iwl_send_rxon_timing()
309 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && in iwl_send_rxon_timing()
313 priv->contexts[IWL_RXON_CTX_PAN].timing.beacon_interval; in iwl_send_rxon_timing()
387 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power()
523 ctx_bss = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_set_pan_params()
524 ctx_pan = &priv->contexts[IWL_RXON_CTX_PAN]; in iwlagn_set_pan_params()
891 struct iwl_rxon_context *ctx = &priv->contexts[ctxid]; in iwl_print_rx_config_cmd()
Ddev.h717 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX]; member
899 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \
900 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \
911 return iwl_is_associated_ctx(&priv->contexts[ctxid]); in iwl_is_associated()
/linux-5.19.10/drivers/gpu/drm/tegra/
Duapi.c52 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file()
58 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file()
105 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open()
137 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
143 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
166 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map()
242 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
Duapi.h23 struct xarray contexts; member
/linux-5.19.10/drivers/gpu/drm/i915/pxp/
Dintel_pxp.c260 spin_lock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
261 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in intel_pxp_invalidate()
273 spin_unlock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
299 spin_lock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
303 spin_unlock_irq(&i915->gem.contexts.lock); in intel_pxp_invalidate()
/linux-5.19.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.19.10/drivers/gpu/drm/i915/
Di915_sysfs.c80 spin_lock(&i915->gem.contexts.lock); in i915_l3_read()
85 spin_unlock(&i915->gem.contexts.lock); in i915_l3_read()
113 spin_lock(&i915->gem.contexts.lock); in i915_l3_write()
126 list_for_each_entry(ctx, &i915->gem.contexts.list, link) in i915_l3_write()
129 spin_unlock(&i915->gem.contexts.lock); in i915_l3_write()
/linux-5.19.10/Documentation/gpu/rfc/
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-5.19.10/mm/damon/
Dsysfs.c1893 static void damon_sysfs_contexts_rm_dirs(struct damon_sysfs_contexts *contexts) in damon_sysfs_contexts_rm_dirs() argument
1895 struct damon_sysfs_context **contexts_arr = contexts->contexts_arr; in damon_sysfs_contexts_rm_dirs()
1898 for (i = 0; i < contexts->nr; i++) { in damon_sysfs_contexts_rm_dirs()
1902 contexts->nr = 0; in damon_sysfs_contexts_rm_dirs()
1904 contexts->contexts_arr = NULL; in damon_sysfs_contexts_rm_dirs()
1907 static int damon_sysfs_contexts_add_dirs(struct damon_sysfs_contexts *contexts, in damon_sysfs_contexts_add_dirs() argument
1913 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs()
1921 contexts->contexts_arr = contexts_arr; in damon_sysfs_contexts_add_dirs()
1926 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs()
1931 &damon_sysfs_context_ktype, &contexts->kobj, in damon_sysfs_contexts_add_dirs()
[all …]
/linux-5.19.10/net/6lowpan/
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-5.19.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.19.10/drivers/staging/media/omap4iss/
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-5.19.10/drivers/media/platform/ti/omap3isp/
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()
597 csi2->contexts[0].format_id = csi2_ctx_map_format(csi2); in csi2_configure()
600 csi2->contexts[0].data_offset = 0; in csi2_configure()
602 csi2->contexts[0].data_offset = csi2->video_out.bpl_value; in csi2_configure()
611 csi2->contexts[0].eof_enabled = 1; in csi2_configure()
612 csi2->contexts[0].eol_enabled = 1; in csi2_configure()
621 csi2_ctx_config(isp, csi2, &csi2->contexts[0]); in csi2_configure()
783 csi2_isr_ctx(csi2, &csi2->contexts[0]); in omap3isp_csi2_isr()
/linux-5.19.10/Documentation/admin-guide/mm/damon/
Dusage.rst53 # echo 1 > kdamonds/nr && echo 1 > kdamonds/0/contexts/nr
54 # echo vaddr > kdamonds/0/contexts/0/operations
55 # echo 1 > kdamonds/0/contexts/0/targets/nr
56 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid
70 │ │ │ contexts/nr_contexts
120 (``contexts``) exist.
132 ``contexts`` directory contains files for controlling the monitoring contexts
135 kdamonds/<N>/contexts/
144 contexts/<N>/
169 contexts/<N>/monitoring_attrs/
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/selftests/
Di915_vma.c109 struct list_head *contexts) in create_vmas() argument
117 list_for_each_entry(ctx, contexts, link) { in create_vmas()
158 LIST_HEAD(contexts); in igt_vma_create()
183 list_move(&ctx->link, &contexts); in igt_vma_create()
186 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
196 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
206 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
208 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
Di915_request.c284 struct i915_gem_context **contexts; member
355 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
467 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
468 if (!t.contexts) { in mock_breadcrumbs_smoketest()
474 t.contexts[n] = mock_context(t.engine->i915, "mock"); in mock_breadcrumbs_smoketest()
475 if (!t.contexts[n]) { in mock_breadcrumbs_smoketest()
512 if (!t.contexts[n]) in mock_breadcrumbs_smoketest()
514 mock_context_close(t.contexts[n]); in mock_breadcrumbs_smoketest()
516 kfree(t.contexts); in mock_breadcrumbs_smoketest()
1713 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
[all …]
/linux-5.19.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

123456