| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-kernel-mm-damon | 54 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts 59 'N-1' under the contexts/ directory. 61 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations 67 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations 80 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/addr_unit 87 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us 94 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us 101 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us 108 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goa… 116 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/intrvals_goa… [all …]
|
| H A D | sysfs-class-ocxl | 8 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
|
| H A D | gpio-cdev | 25 Stops and free up the I/O contexts that was associated
|
| /linux/mm/damon/ |
| H A D | sysfs.c | 1102 static void damon_sysfs_contexts_rm_dirs(struct damon_sysfs_contexts *contexts) in damon_sysfs_contexts_rm_dirs() argument 1104 struct damon_sysfs_context **contexts_arr = contexts->contexts_arr; in damon_sysfs_contexts_rm_dirs() 1107 for (i = 0; i < contexts->nr; i++) { in damon_sysfs_contexts_rm_dirs() 1111 contexts->nr = 0; in damon_sysfs_contexts_rm_dirs() 1113 contexts->contexts_arr = NULL; in damon_sysfs_contexts_rm_dirs() 1116 static int damon_sysfs_contexts_add_dirs(struct damon_sysfs_contexts *contexts, in damon_sysfs_contexts_add_dirs() argument 1122 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs() 1130 contexts->contexts_arr = contexts_arr; in damon_sysfs_contexts_add_dirs() 1135 damon_sysfs_contexts_rm_dirs(contexts); in damon_sysfs_contexts_add_dirs() 1140 &damon_sysfs_context_ktype, &contexts->kobj, in damon_sysfs_contexts_add_dirs() [all …]
|
| /linux/tools/testing/selftests/damon/ |
| H A D | damon_nr_regions.py | 23 contexts=[_damon_sysfs.DamonCtx( 49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0] 91 contexts=[_damon_sysfs.DamonCtx( 110 attrs = kdamonds.kdamonds[0].contexts[0].monitoring_attrs 128 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | _damon_sysfs.py | 664 contexts = None variable in Kdamond 668 def __init__(self, contexts=[]): argument 669 self.contexts = contexts 670 for idx, context in enumerate(self.contexts): 683 if int(content) != len(self.contexts): 684 err = write_file(nr_contexts_file, '%d' % len(self.contexts)) 688 for context in self.contexts: 707 for context in self.contexts: 737 for context in self.contexts: 750 for context in self.contexts: [all …]
|
| H A D | sysfs.py | 195 ctxs = kdamonds.kdamonds[0].contexts 204 contexts=[_damon_sysfs.DamonCtx( 258 kdamonds.kdamonds[0].contexts = [context] 267 kdamonds.kdamonds[0].contexts = [context] 283 contexts=[_damon_sysfs.DamonCtx( 296 kdamonds.kdamonds[0].contexts[0].targets[1].obsolete = True 298 del kdamonds.kdamonds[0].contexts[0].targets[1]
|
| H A D | damos_apply_interval.py | 16 contexts=[_damon_sysfs.DamonCtx( 50 schemes = kdamonds.kdamonds[0].contexts[0].schemes
|
| H A D | damos_tried_regions.py | 16 contexts=[_damon_sysfs.DamonCtx( 39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | sysfs_update_schemes_tried_regions_wss_estimation.py | 14 contexts=[_damon_sysfs.DamonCtx( 38 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
|
| H A D | damos_quota.py | 18 contexts=[_damon_sysfs.DamonCtx( 49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | sysfs_update_schemes_tried_regions_hang.py | 12 contexts=[_damon_sysfs.DamonCtx(
|
| H A D | sysfs_no_op_commit_break.py | 32 contexts=[_damon_sysfs.DamonCtx(
|
| H A D | damos_quota_goal.py | 17 contexts=[_damon_sysfs.DamonCtx(
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | main.c | 609 priv->contexts[i].ctxid = i; in iwl_init_context() 611 priv->contexts[IWL_RXON_CTX_BSS].always_active = true; in iwl_init_context() 612 priv->contexts[IWL_RXON_CTX_BSS].is_active = true; in iwl_init_context() 613 priv->contexts[IWL_RXON_CTX_BSS].rxon_cmd = REPLY_RXON; in iwl_init_context() 614 priv->contexts[IWL_RXON_CTX_BSS].rxon_timing_cmd = REPLY_RXON_TIMING; in iwl_init_context() 615 priv->contexts[IWL_RXON_CTX_BSS].rxon_assoc_cmd = REPLY_RXON_ASSOC; in iwl_init_context() 616 priv->contexts[IWL_RXON_CTX_BSS].qos_cmd = REPLY_QOS_PARAM; in iwl_init_context() 617 priv->contexts[IWL_RXON_CTX_BSS].ap_sta_id = IWL_AP_ID; in iwl_init_context() 618 priv->contexts[IWL_RXON_CTX_BSS].wep_key_cmd = REPLY_WEPKEY; in iwl_init_context() 619 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; in iwl_init_context() [all …]
|
| H A D | rxon.c | 301 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()
|
| H A D | dev.h | 721 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX]; member 903 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \ 904 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \ 915 return iwl_is_associated_ctx(&priv->contexts[ctxid]); in iwl_is_associated()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 55 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file() 61 xa_destroy(&file->contexts); in tegra_drm_uapi_close_file() 138 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open() 173 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 179 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 203 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map() 284 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_unmap()
|
| H A D | uapi.h | 23 struct xarray contexts; member
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | gang.c | 38 WARN_ON(gang->contexts || !list_empty(&gang->list)); in destroy_spu_gang() 58 gang->contexts++; in spu_gang_add_ctx() 71 gang->contexts--; in spu_gang_remove_ctx()
|
| /linux/Documentation/gpu/rfc/ |
| H A D | i915_scheduler.rst | 26 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/android/binder/ |
| H A D | rust_binder_main.rs | 535 let contexts = context::get_all_contexts()?; in rust_binder_transactions_show_impl() localVariable 536 for ctx in contexts { in rust_binder_transactions_show_impl() 549 let contexts = context::get_all_contexts()?; in rust_binder_stats_show_impl() localVariable 550 for ctx in contexts { in rust_binder_stats_show_impl() 562 let contexts = context::get_all_contexts()?; in rust_binder_state_show_impl() localVariable 563 for ctx in contexts { in rust_binder_state_show_impl() 575 let contexts = context::get_all_contexts()?; in rust_binder_proc_show_impl() localVariable 576 for ctx in contexts { in rust_binder_proc_show_impl()
|
| /linux/net/6lowpan/ |
| H A D | debugfs.c | 248 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/drivers/media/platform/ti/omap3isp/ |
| H A D | ispcsi2.c | 220 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/Documentation/admin-guide/mm/damon/ |
| H A D | usage.rst | 44 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts 45 # echo vaddr > kdamonds/0/contexts/0/operations 46 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets 47 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target 63 │ │ │ :ref:`contexts <sysfs_contexts>`/nr_contexts 127 and one directory (``contexts``) exist. 172 ``contexts`` directory contains files for controlling the monitoring contexts 177 kdamonds/<N>/contexts/ 189 contexts/<N>/ 214 contexts/<N>/monitoring_attrs/ [all …]
|