Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c615 priv->contexts[i].ctxid = i; in iwl_init_context()
617 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
618 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
619 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
620 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
621 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
622 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
623 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
624 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
625 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.h727 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX]; member
910 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \
911 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \
922 return iwl_is_associated_ctx(&priv->contexts[ctxid]); in iwl_is_associated()
Dmac80211.c343 if (priv->contexts[IWL_RXON_CTX_BSS].vif != vif) in iwlagn_mac_set_rekey_data()
363 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_suspend()
427 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_resume()
526 if (resume_data.valid && priv->contexts[IWL_RXON_CTX_BSS].vif) { in iwlagn_mac_resume()
948 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwlagn_mac_channel_switch()
1022 struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; in iwl_chswitch_done()
/Linux-v5.4/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>
14 n: number of currently active contexts, for debug
15 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.
87 contexts active on the AFU.
147 Master contexts (eg. /sys/class/cxl/afu0.0m)
154 by userspace. This includes all slave contexts space also.
226 contexts active on any one of the card AFUs. This may cause
229 contexts on the card AFUs.
Dgpio-cdev23 Stops and free up the I/O contexts that was associated
/Linux-v5.4/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-v5.4/drivers/gpu/drm/i915/selftests/
Di915_request.c264 struct i915_gem_context **contexts; member
336 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
453 t.contexts = in mock_breadcrumbs_smoketest()
454 kmalloc_array(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
455 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()
501 if (!t.contexts[n]) in mock_breadcrumbs_smoketest()
503 mock_context_close(t.contexts[n]); in mock_breadcrumbs_smoketest()
506 kfree(t.contexts); in mock_breadcrumbs_smoketest()
[all …]
Di915_vma.c107 struct list_head *contexts) in create_vmas() argument
115 list_for_each_entry(ctx, contexts, link) { in create_vmas()
154 LIST_HEAD(contexts); in igt_vma_create()
179 list_move(&ctx->link, &contexts); in igt_vma_create()
182 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
192 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
202 err = create_vmas(i915, &objects, &contexts); in igt_vma_create()
204 list_for_each_entry_safe(ctx, cn, &contexts, link) { in igt_vma_create()
Di915_mock_selftests.h27 selftest(contexts, i915_gem_context_mock_selftests)
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_context.c174 lockdep_assert_held(&i915->contexts.mutex); in new_hw_id()
189 return ida_simple_get(&i915->contexts.hw_ida, 0, max, gfp); in new_hw_id()
198 lockdep_assert_held(&i915->contexts.mutex); in steal_hw_id()
201 &i915->contexts.hw_id_list, hw_id_link) { in steal_hw_id()
217 list_splice_tail(&pinned, &i915->contexts.hw_id_list); in steal_hw_id()
225 lockdep_assert_held(&i915->contexts.mutex); in assign_hw_id()
253 mutex_lock(&i915->contexts.mutex); in release_hw_id()
255 ida_simple_remove(&i915->contexts.hw_ida, ctx->hw_id); in release_hw_id()
258 mutex_unlock(&i915->contexts.mutex); in release_hw_id()
338 struct llist_node *freed = llist_del_all(&i915->contexts.free_list); in contexts_free()
[all …]
/Linux-v5.4/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-v5.4/Documentation/powerpc/
Dcxl.rst89 When using AFU directed mode, up to 16K simultaneous contexts can
140 context. Master contexts have access to the full MMIO space an
141 AFU provides. Slave contexts have access to only the per process
147 that the AFU provides (like master contexts in AFU directed).
169 An AFU directed mode AFU can have many contexts, the device can be
172 When all available contexts are allocated the open call will fail
177 the number of contexts that can be created, and therefore
181 contexts can be allocated. If 4 IRQs are needed per context,
182 then only 2037/4 = 509 contexts can be allocated.
255 In AFU directed mode, master contexts are allowed to map all of
[all …]
/Linux-v5.4/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
/Linux-v5.4/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
/Linux-v5.4/drivers/gpu/drm/tegra/
Ddrm.c41 struct idr contexts; member
259 idr_init(&fpriv->contexts); in tegra_drm_open()
595 err = idr_alloc(&fpriv->contexts, context, 1, 0, GFP_KERNEL); in tegra_client_open()
650 context = idr_find(&fpriv->contexts, args->context); in tegra_close_channel()
656 idr_remove(&fpriv->contexts, context->id); in tegra_close_channel()
675 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt()
704 context = idr_find(&fpriv->contexts, args->context); in tegra_submit()
729 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt_base()
955 idr_for_each(&fpriv->contexts, tegra_drm_context_cleanup, NULL); in tegra_drm_postclose()
958 idr_destroy(&fpriv->contexts); in tegra_drm_postclose()
/Linux-v5.4/Documentation/devicetree/bindings/interrupt-controller/
Dsifive,plic-1.0.0.txt7 hart contexts in the system, via the external interrupt source in each hart.
37 - interrupts-extended : Specifies which contexts are connected to the PLIC,
/Linux-v5.4/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-v5.4/drivers/gpu/drm/i915/gt/
Dselftest_lrc.c1420 struct i915_gem_context **contexts; member
1430 return smoke->contexts[i915_prandom_u32_max_state(smoke->ncontext, in smoke_context()
1604 smoke.contexts = kmalloc_array(smoke.ncontext, in live_preempt_smoke()
1605 sizeof(*smoke.contexts), in live_preempt_smoke()
1607 if (!smoke.contexts) in live_preempt_smoke()
1636 smoke.contexts[n] = kernel_context(smoke.i915); in live_preempt_smoke()
1637 if (!smoke.contexts[n]) in live_preempt_smoke()
1656 if (!smoke.contexts[n]) in live_preempt_smoke()
1658 kernel_context_close(smoke.contexts[n]); in live_preempt_smoke()
1666 kfree(smoke.contexts); in live_preempt_smoke()
/Linux-v5.4/Documentation/leds/
Dleds-lp3944.rst43 The chip is used mainly in embedded contexts, so this driver expects it is
/Linux-v5.4/drivers/misc/ocxl/
Dsysfs.c58 __ATTR_RO(contexts),

12345