Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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.15/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c613 priv->contexts[i].ctxid = i; in iwl_init_context()
615 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context()
616 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context()
617 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context()
618 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context()
619 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context()
620 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context()
621 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context()
622 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context()
623 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()
/Linux-v5.15/drivers/gpu/drm/tegra/
Duapi.c56 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file()
62 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file()
109 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open()
141 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
147 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close()
169 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map()
260 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
Duapi.h23 struct xarray contexts; member
/Linux-v5.15/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.15/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
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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.15/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.15/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()
/Linux-v5.15/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.c273 struct i915_gem_context **contexts; member
344 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
456 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
457 if (!t.contexts) { in mock_breadcrumbs_smoketest()
463 t.contexts[n] = mock_context(t.engine->i915, "mock"); in mock_breadcrumbs_smoketest()
464 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()
505 kfree(t.contexts); in mock_breadcrumbs_smoketest()
1585 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
[all …]
/Linux-v5.15/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.15/drivers/net/ethernet/marvell/octeontx2/
DKconfig29 NPA Aura/Pool contexts.
/Linux-v5.15/Documentation/leds/
Dleds-lp3944.rst43 The chip is used mainly in embedded contexts, so this driver expects it is
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.c73 init_contexts(&i915->gem.contexts); in mock_init_contexts()

12345