Home
last modified time | relevance | path

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

12345

/kernel/linux/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
/kernel/linux/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 …]
Drxon.c306 priv->contexts[IWL_RXON_CTX_BSS].vif && in iwl_send_rxon_timing()
307 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { in iwl_send_rxon_timing()
309 priv->contexts[IWL_RXON_CTX_BSS].timing.beacon_interval; in iwl_send_rxon_timing()
313 priv->contexts[IWL_RXON_CTX_PAN].vif && in iwl_send_rxon_timing()
314 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && in iwl_send_rxon_timing()
318 priv->contexts[IWL_RXON_CTX_PAN].timing.beacon_interval; in iwl_send_rxon_timing()
392 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_set_tx_power()
528 ctx_bss = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_set_pan_params()
529 ctx_pan = &priv->contexts[IWL_RXON_CTX_PAN]; in iwlagn_set_pan_params()
896 struct iwl_rxon_context *ctx = &priv->contexts[ctxid]; in iwl_print_rx_config_cmd()
Ddev.h722 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX]; member
904 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \
905 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \
916 return iwl_is_associated_ctx(&priv->contexts[ctxid]); in iwl_is_associated()
Dmac80211.c344 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) in iwlagn_mac_set_rekey_data()
364 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_suspend()
428 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_resume()
527 if (resume_data.valid && priv->contexts[IWL_RXON_CTX_BSS].vif) { in iwlagn_mac_resume()
949 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_channel_switch()
1023 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_chswitch_done()
/kernel/linux/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()
/kernel/linux/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.
Dgpio-cdev24 Stops and free up the I/O contexts that was associated
/kernel/linux/linux-5.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()
/kernel/linux/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 …]
/kernel/linux/linux-5.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()
Diss_csi2.h139 struct iss_csi2_ctx_cfg contexts[ISS_CSI2_MAX_CTX_NUM + 1]; member
/kernel/linux/linux-5.10/drivers/media/platform/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()
Dispcsi2.h137 struct isp_csi2_ctx_cfg contexts[ISP_CSI2_MAX_CTX_NUM + 1]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddrm.c37 struct idr contexts; member
93 idr_init_base(&fpriv->contexts, 1); in tegra_drm_open()
431 err = idr_alloc(&fpriv->contexts, context, 1, 0, GFP_KERNEL); in tegra_client_open()
486 context = idr_find(&fpriv->contexts, args->context); in tegra_close_channel()
492 idr_remove(&fpriv->contexts, context->id); in tegra_close_channel()
511 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt()
540 context = idr_find(&fpriv->contexts, args->context); in tegra_submit()
565 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt_base()
791 idr_for_each(&fpriv->contexts, tegra_drm_context_cleanup, NULL); in tegra_drm_postclose()
794 idr_destroy(&fpriv->contexts); in tegra_drm_postclose()
/kernel/linux/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()
195 list_for_each_entry_safe(ctx, cn, &contexts, link) { 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()
Di915_request.c272 struct i915_gem_context **contexts; member
343 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
455 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
456 if (!t.contexts) { in mock_breadcrumbs_smoketest()
462 t.contexts[n] = mock_context(t.engine->i915, "mock"); in mock_breadcrumbs_smoketest()
463 if (!t.contexts[n]) { in mock_breadcrumbs_smoketest()
500 if (!t.contexts[n]) in mock_breadcrumbs_smoketest()
502 mock_context_close(t.contexts[n]); in mock_breadcrumbs_smoketest()
504 kfree(t.contexts); in mock_breadcrumbs_smoketest()
1384 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
[all …]
Di915_mock_selftests.h35 selftest(contexts, i915_gem_context_mock_selftests)
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sysfs.c181 spin_lock(&i915->gem.contexts.lock); in i915_l3_read()
186 spin_unlock(&i915->gem.contexts.lock); in i915_l3_read()
214 spin_lock(&i915->gem.contexts.lock); in i915_l3_write()
227 list_for_each_entry(ctx, &i915->gem.contexts.list, link) in i915_l3_write()
230 spin_unlock(&i915->gem.contexts.lock); in i915_l3_write()
Di915_debugfs.c305 spin_lock(&i915->gem.contexts.lock); in print_context_stats()
306 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in print_context_stats()
313 spin_unlock(&i915->gem.contexts.lock); in print_context_stats()
352 spin_lock(&i915->gem.contexts.lock); in print_context_stats()
356 spin_unlock(&i915->gem.contexts.lock); in print_context_stats()
1067 spin_lock(&i915->gem.contexts.lock); in i915_context_status()
1068 list_for_each_entry_safe(ctx, cn, &i915->gem.contexts.list, link) { in i915_context_status()
1075 spin_unlock(&i915->gem.contexts.lock); in i915_context_status()
1111 spin_lock(&i915->gem.contexts.lock); in i915_context_status()
1115 spin_unlock(&i915->gem.contexts.lock); in i915_context_status()
/kernel/linux/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
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/
DKconfig27 NPA Aura/Pool contexts.
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.c340 spin_lock(&ctx->i915->gem.contexts.lock); in i915_gem_context_free()
342 spin_unlock(&ctx->i915->gem.contexts.lock); in i915_gem_context_free()
380 struct i915_gem_contexts *gc = &ctx->i915->gem.contexts; in i915_gem_context_release()
853 contexts_flush_free(&i915->gem.contexts); in i915_gem_create_context()
906 init_contexts(&i915->gem.contexts); in i915_gem_init__contexts()
914 flush_work(&i915->gem.contexts.free_work); in i915_gem_driver_release__contexts()
943 spin_lock(&i915->gem.contexts.lock); in gem_context_register()
944 list_add_tail(&ctx->link, &i915->gem.contexts.list); in gem_context_register()
945 spin_unlock(&i915->gem.contexts.lock); in gem_context_register()
1004 contexts_flush_free(&i915->gem.contexts); in i915_gem_context_close()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.c77 init_contexts(&i915->gem.contexts); in mock_init_contexts()

12345