Home
last modified time | relevance | path

Searched full:schemes (Results 1 – 25 of 108) sorted by relevance

12345

/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon31 schemes stats files of the kdamond. Writing
145 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
150 of the context named '0' to 'N-1' under the schemes/ directory.
152 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
158 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
164 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
171 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
177 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
183 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
189 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
[all …]
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dusage.rst75 │ │ │ │ │ schemes/nr_schemes
138 ``targets``, 和 ``schemes``)。
198 contexts/<N>/schemes/
208 schemes/<N>/
226 schemes/<N>/access_pattern/
236 schemes/<N>/quotas/
255 schemes/<N>/watermarks/
273 schemes/<N>/stats/
284 schemes/<N>/tried_regions/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dusage.rst75 │ │ │ │ │ schemes/nr_schemes
138 ``targets``, 和 ``schemes``)。
198 contexts/<N>/schemes/
208 schemes/<N>/
226 schemes/<N>/access_pattern/
236 schemes/<N>/quotas/
255 schemes/<N>/watermarks/
273 schemes/<N>/stats/
284 schemes/<N>/tried_regions/
314 # echo 1 > kdamonds/0/contexts/0/schemes/nr_schemes
[all …]
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst80 │ │ │ │ │ :ref:`schemes <sysfs_schemes>`/nr_schemes
141 - ``commit_schemes_quota_goals``: Read the DAMON-based operation schemes'
183 and three directories (``monitoring_attrs``, ``targets``, and ``schemes``)
275 contexts/<N>/schemes/
278 The directory for DAMON-based Operation Schemes (:ref:`DAMOS
279 <damon_design_damos>`). Users can get and set the schemes by reading from and
288 schemes/<N>/
309 schemes/<N>/access_pattern/
324 schemes/<N>/quotas/
361 schemes/<N>/quotas/goals/
[all …]
/linux/tools/testing/selftests/damon/
H A D_damon_sysfs.py208 self.context.sysfs_dir(), 'schemes', '%d' % self.idx)
313 schemes = None variable in DamonCtx
318 schemes=[]): argument
328 self.schemes = schemes
329 for idx, scheme in enumerate(self.schemes):
361 self.sysfs_dir(), 'schemes', 'nr_schemes')
365 if int(content) != len(self.schemes):
366 err = write_file(nr_schemes_file, '%d' % len(self.schemes))
369 for scheme in self.schemes:
419 for scheme in context.schemes:
[all …]
H A Ddamos_apply_interval.py19 schemes=[
33 ] # schemes
50 schemes = kdamonds.kdamonds[0].contexts[0].schemes
51 nr_tried_stats = [s.stats.nr_tried for s in schemes]
H A Ddamon_nr_regions.py29 schemes=[_damon_sysfs.Damos(action='stat',
30 )] # schemes
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
95 schemes=[_damon_sysfs.Damos(action='stat',
96 )] # schemes
126 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Dsysfs_update_removed_scheme_dir.sh29 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
30 scheme_dir="$damon_sysfs/kdamonds/0/contexts/0/schemes/0"
38 echo 0 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
H A Ddamos_tried_regions.py19 schemes=[_damon_sysfs.Damos(action='stat',
20 )] # schemes
39 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Dsysfs_update_schemes_tried_regions_wss_estimation.py17 schemes=[_damon_sysfs.Damos(
20 nr_accesses=[5, 20], age=[2, 2**64 - 1]))] # schemes
38 kdamonds.kdamonds[0].contexts[0].schemes[0].tried_bytes)
H A Ddamos_quota.py21 schemes=[_damon_sysfs.Damos(
27 )] # schemes
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Ddebugfs_schemes.sh6 # Test schemes file
9 file="$DBGFS/schemes"
H A Dsysfs_update_schemes_tried_regions_hang.py15 schemes=[_damon_sysfs.Damos(
17 nr_accesses=[200, 200]))] # schemes
H A Ddamos_quota_goal.py20 schemes=[_damon_sysfs.Damos(
24 )] # schemes
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c15 /* Maximum number of KeyGen Schemes */
201 * schemes sharing between multiple ports is not
230 struct keygen_scheme schemes[FM_KG_MAX_NUM_OF_SCHEMES]; member
231 /* Array of schemes */
283 * Build Action Register value for port binding to schemes
361 * Write all Schemes Registers with specified values
416 * Return: 0 on success, -EINVAL when the are no available free schemes
423 if (!keygen->schemes[i].used) { in get_free_scheme_id()
445 return &keygen->schemes[scheme_id]; in get_scheme()
450 * Bind the port to schemes
[all …]
/linux/mm/damon/
H A Dsysfs.c637 struct damon_sysfs_schemes *schemes; member
694 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc(); in damon_sysfs_context_set_schemes() local
697 if (!schemes) in damon_sysfs_context_set_schemes()
699 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype, in damon_sysfs_context_set_schemes()
700 &context->kobj, "schemes"); in damon_sysfs_context_set_schemes()
702 kobject_put(&schemes->kobj); in damon_sysfs_context_set_schemes()
705 context->schemes = schemes; in damon_sysfs_context_set_schemes()
741 damon_sysfs_schemes_rm_dirs(context->schemes); in damon_sysfs_context_rm_dirs()
742 kobject_put(&context->schemes->kobj); in damon_sysfs_context_rm_dirs()
1013 * @DAMON_SYSFS_CMD_UPDATE_SCHEMES_TRIED_REGIONS: Update schemes tried
[all …]
H A Ddbgfs.c195 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument
200 kfree(schemes[i]); in free_schemes_arr()
201 kfree(schemes); in free_schemes_arr()
237 struct damos *scheme, **schemes; in str_to_schemes() local
243 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme), in str_to_schemes()
245 if (!schemes) in str_to_schemes()
288 schemes[*nr_schemes] = scheme; in str_to_schemes()
291 return schemes; in str_to_schemes()
293 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes()
302 struct damos **schemes; in dbgfs_schemes_write() local
[all …]
H A Dsysfs-schemes.c131 * of all schemes as 'idle' again, and register ->before_damos_apply()
227 * schemes/stats directory
1751 * schemes directory
1759 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes) in damon_sysfs_schemes_rm_dirs() argument
1761 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damon_sysfs_schemes_rm_dirs()
1764 for (i = 0; i < schemes->nr; i++) { in damon_sysfs_schemes_rm_dirs()
1768 schemes->nr = 0; in damon_sysfs_schemes_rm_dirs()
1770 schemes->schemes_arr = NULL; in damon_sysfs_schemes_rm_dirs()
1773 static int damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes *schemes, in damon_sysfs_schemes_add_dirs() argument
1779 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
[all …]
H A Dsysfs-common.h27 * schemes directory
37 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes);
/linux/include/linux/
H A Ddamon.h19 /* Max priority score for DAMON-based operation schemes */
391 * To do the work only when needed, schemes can be activated for specific
392 * system situations using &wmarks. If all schemes that registered to the
516 * @after_wmarks_check: Called after each schemes' watermarks check.
529 * operation schemes' watermarks check. If users need to make changes to the
612 * @schemes: Head of schemes (&damos) list.
643 struct list_head schemes; member
688 list_for_each_entry(s, &(ctx)->schemes, list)
691 list_for_each_entry_safe(s, next, &(ctx)->schemes, list)
759 struct damos **schemes, ssize_t nr_schemes);
/linux/tools/perf/pmu-events/arch/x86/amdzen2/
H A Dfloating-point.json71 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
77 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
83 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
89 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
/linux/tools/perf/pmu-events/arch/x86/amdzen3/
H A Dfloating-point.json70 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
76 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
82 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
88 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
/linux/Documentation/mm/damon/
H A Ddesign.rst14 specification and DAMON-based operation schemes are stored in a data structure
269 Operation Schemes
282 One straightforward approach for such schemes would be profile-guided
292 effective, and therefore widely be used. However, implementing such schemes
300 Schemes (DAMOS). It lets users specify their desired schemes at a high
368 The access pattern of the schemes' interest. The patterns are constructed with
484 is activated. If all schemes are deactivated by the watermarks, the monitoring
505 To let users optimize DAMOS schemes with such special knowledge, DAMOS provides
/linux/drivers/usb/musb/
H A DMakefile29 # possible I/O schemes will be enabled at a time ...
30 # PIO only, or DMA (several potential schemes).
/linux/tools/perf/pmu-events/arch/x86/amdzen1/
H A Dfloating-point.json172 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Scalar…
179 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of Ops th…
186 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Mo…
193 …g the effectiveness of the Move elimination and Scalar code optimization schemes. Number of SSE Mo…

12345