| /linux/Documentation/translations/zh_CN/admin-guide/mm/damon/ |
| H A D | usage.rst | 49 # echo 1 > kdamonds/nr_kdamonds && echo 1 > kdamonds/0/contexts/nr_contexts 50 # echo vaddr > kdamonds/0/contexts/0/operations 51 # echo 1 > kdamonds/0/contexts/0/targets/nr_targets 52 # echo $(pidof <workload>) > kdamonds/0/contexts/0/targets/0/pid_target 66 │ │ │ :ref:`contexts <sysfs_contexts_zh_CN>`/nr_contexts 136 在每个kdamond目录中,存在三个文件(``state`` 、 ``pid`` 和 ``refresh_ms`` )和一个目录( ``contexts`` )。 175 ``contexts`` 目录包含控制这个kdamond要执行的监测上下文的文件。 179 kdamonds/<N>/contexts/ 189 contexts/<N>/ 210 contexts/<N>/monitoring_attrs/ [all …]
|
| /linux/drivers/android/binder/ |
| H A D | context.rs | 20 contexts: KVVec::new(), 25 contexts: KVVec<Arc<Context>>, field 30 let mut ctxs = KVVec::with_capacity(lock.contexts.len(), GFP_KERNEL)?; in get_all_contexts() 31 for ctx in lock.contexts.iter() { in get_all_contexts() 68 CONTEXTS.lock().contexts.push(ctx.clone(), GFP_KERNEL)?; in new() 78 CONTEXTS.lock().contexts.retain(|c| !Arc::ptr_eq(c, self)); in deregister()
|
| /linux/tools/testing/selftests/damon/ |
| H A D | damon_nr_regions.py | 26 contexts=[_damon_sysfs.DamonCtx( 34 )] # contexts 52 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0] 94 contexts=[_damon_sysfs.DamonCtx( 101 )] # contexts 113 attrs = kdamonds.kdamonds[0].contexts[0].monitoring_attrs 131 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | _damon_sysfs.py | 789 return os.path.join(self.kdamond.sysfs_dir(), 'contexts', 839 contexts = None 843 def __init__(self, contexts=None, refresh_ms=None): 844 if contexts is None: 845 contexts = [] 846 self.contexts = contexts 848 for idx, context in enumerate(self.contexts): 857 'contexts', 'nr_contexts') 861 if int(content) != len(self.contexts) 664 contexts = None global() variable in Kdamond 668 __init__(self, contexts=[]) global() argument [all...] |
| H A D | sysfs.py | 227 for ctx in kd.contexts: 246 # resume contexts paused for safe state dumping 260 ctxs = kdamonds.kdamonds[0].contexts 261 dump = status['contexts'] 268 for ctx in kd.contexts: 278 contexts=[_damon_sysfs.DamonCtx( 305 contexts=[_damon_sysfs.DamonCtx( 376 kdamonds.kdamonds[0].contexts = [context] 385 kdamonds.kdamonds[0].contexts = [context] 401 contexts [all...] |
| H A D | damos_apply_interval.py | 19 contexts=[_damon_sysfs.DamonCtx( 37 )] # contexts 53 schemes = kdamonds.kdamonds[0].contexts[0].schemes
|
| H A D | damos_tried_regions.py | 19 contexts=[_damon_sysfs.DamonCtx( 24 )] # contexts 42 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | sysfs_update_schemes_tried_regions_wss_estimation.py | 17 contexts=[_damon_sysfs.DamonCtx( 24 )] # contexts 41 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
|
| H A D | damos_quota.py | 21 contexts=[_damon_sysfs.DamonCtx( 31 )] # contexts 52 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
|
| H A D | sysfs_update_schemes_tried_regions_hang.py | 15 contexts=[_damon_sysfs.DamonCtx( 21 )] # contexts
|
| /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_BS 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/Documentation/ABI/testing/ |
| 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/drivers/gpu/drm/tegra/ |
| H A D | uapi.c | 59 xa_for_each(&file->contexts, id, context) in tegra_drm_uapi_close_file() 65 xa_destroy(&file->contexts); in tegra_drm_find_client() 134 * OK, HW does not support contexts or contexts in tegra_drm_ioctl_channel_open() 142 err = xa_alloc(&fpriv->contexts, &args->context, context, XA_LIMIT(1, U32_MAX), in tegra_drm_ioctl_channel_open() 177 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 183 xa_erase(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_close() 206 context = xa_load(&fpriv->contexts, args->context); in tegra_drm_ioctl_channel_map() 297 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/gpu/drm/xe/ |
| H A D | xe_sriov_vf_ccs.c | 30 * VF KMD registers two special contexts/LRCAs. 223 &xe->sriov.vf.ccs.contexts[ctx_id]; in xe_sriov_vf_ccs_rebase() 249 * xe_sriov_vf_ccs_register_context - Register read/write contexts with guc. 250 * @xe: the &xe_device to register contexts on. 252 * This function registers read and write contexts with Guc. Re-registration 266 ctx = &xe->sriov.vf.ccs.contexts[ctx_id]; in xe_sriov_vf_ccs_register_context() 353 ctx = &xe->sriov.vf.ccs.contexts[ctx_id]; in xe_sriov_vf_ccs_init() 435 ctx = &xe->sriov.vf.ccs.contexts[ctx_id]; in xe_sriov_vf_ccs_attach_bo() 444 * Clean up any contexts already attached. Can't reuse in xe_sriov_vf_ccs_attach_bo() 445 * xe_sriov_vf_ccs_detach_bo() here as it requires both contexts in xe_sriov_vf_ccs_attach_bo() [all...] |
| H A D | xe_sriov_vf_ccs_types.h | 42 struct xe_sriov_vf_ccs_ctx contexts[XE_SRIOV_VF_CCS_CTX_COUNT]; member
|
| /linux/Documentation/ABI/removed/ |
| H A D | sysfs-selinux-user | 8 of security contexts that can be reached for a given SELinux 10 when various login-style programs requested contexts for
|
| /linux/net/6lowpan/ |
| H A D | debugfs.c | 242 struct dentry *contexts; in lowpan_dev_debugfs_802154_init() 248 contexts = debugfs_create_dir("contexts", ldev->iface_debugfs); in lowpan_dev_debugfs_init() local 250 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx, in lowpan_dev_debugfs_init() 254 lowpan_dev_debugfs_ctx_init(dev, contexts, i); in lowpan_dev_debugfs_init()
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_context.c | 345 list_add_tail(&ctx->file_link, &pvr_file->contexts); in pvr_context_create() 453 ctx = list_first_entry(&pvr_file->contexts, struct pvr_context, file_link); in pvr_destroy_contexts_for_file() 455 while (!list_entry_is_head(ctx, &pvr_file->contexts, file_link)) { in pvr_destroy_contexts_for_file() 466 ctx = list_first_entry(&pvr_file->contexts, struct pvr_context, file_link); in pvr_destroy_contexts_for_file()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_request.c | 285 struct i915_gem_context **contexts; member 367 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest() 479 t.contexts = kzalloc_objs(*t.contexts, t.ncontexts); in mock_breadcrumbs_smoketest() 480 if (!t.contexts) { in mock_breadcrumbs_smoketest() 486 t.contexts[n] = mock_context(t.engine->i915, "mock"); in mock_breadcrumbs_smoketest() 487 if (!t.contexts[n]) { in mock_breadcrumbs_smoketest() 533 if (!t.contexts[n]) in mock_breadcrumbs_smoketest() 535 mock_context_close(t.contexts[n]); in mock_breadcrumbs_smoketest() 537 kfree(t.contexts); in mock_breadcrumbs_smoketest() 1771 smoke[0].contexts = kzalloc_objs(*smoke[0].contexts, smoke[0].ncontexts); in live_breadcrumbs_smoketest() [all …]
|