Home
last modified time | relevance | path

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

1234

/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon31 schemes stats files of the kdamond. Writing
196 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
201 of the context named '0' to 'N-1' under the schemes/ directory.
203 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
209 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/target_nid
215 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/apply_interval_us
222 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
228 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
234 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
240 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/…
[all …]
/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/tools/testing/selftests/damon/
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]
96 schemes=[_damon_sysfs.Damos(action='stat',
97 )] # schemes
128 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Dsysfs.py139 def assert_schemes_committed(schemes, dump): argument
140 assert_true(len(schemes) == len(dump), 'len_schemes', dump)
141 for idx, scheme in enumerate(schemes):
186 assert_schemes_committed(ctx.schemes, dump['schemes'])
206 schemes=[_damon_sysfs.Damos()],
222 schemes=[_damon_sysfs.Damos(
290 schemes=[_damon_sysfs.Damos()],
H A D_damon_sysfs.py435 self.context.sysfs_dir(), 'schemes', '%d' % self.idx)
599 schemes = None variable in DamonCtx
604 schemes=[]): argument
614 self.schemes = schemes
615 for idx, scheme in enumerate(self.schemes):
647 self.sysfs_dir(), 'schemes', 'nr_schemes')
651 if int(content) != len(self.schemes):
652 err = write_file(nr_schemes_file, '%d' % len(self.schemes))
655 for scheme in self.schemes:
708 for scheme in context.schemes:
[all …]
H A Dsysfs_update_removed_scheme_dir.sh27 echo 1 > "$damon_sysfs/kdamonds/0/contexts/0/schemes/nr_schemes"
28 scheme_dir="$damon_sysfs/kdamonds/0/contexts/0/schemes/0"
36 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 Dsysfs_update_schemes_tried_regions_hang.py15 schemes=[_damon_sysfs.Damos(
17 nr_accesses=[200, 200]))] # schemes
H A Ddrgn_dump_damon_status.py191 def schemes_to_list(schemes): argument
194 'struct damos', schemes.address_of_(), 'list')]
201 ['schemes', schemes_to_list],
H A Ddamos_quota_goal.py20 schemes=[_damon_sysfs.Damos(
24 )] # schemes
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst75 │ │ │ │ │ :ref:`schemes <sysfs_schemes>`/nr_schemes
144 - ``commit_schemes_quota_goals``: Read the DAMON-based operation schemes'
194 and ``schemes``) exist.
319 contexts/<N>/schemes/
322 The directory for DAMON-based Operation Schemes (:ref:`DAMOS
323 <damon_design_damos>`). Users can get and set the schemes by reading from and
332 schemes/<N>/
354 schemes/<N>/access_pattern/
369 schemes/<N>/quotas/
406 schemes/<N>/quotas/goals/
[all …]
/linux/mm/damon/
H A Dsysfs.c868 struct damon_sysfs_schemes *schemes; member
926 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc(); in damon_sysfs_context_set_schemes() local
929 if (!schemes) in damon_sysfs_context_set_schemes()
931 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype, in damon_sysfs_context_set_schemes()
932 &context->kobj, "schemes"); in damon_sysfs_context_set_schemes()
934 kobject_put(&schemes->kobj); in damon_sysfs_context_set_schemes()
937 context->schemes = schemes; in damon_sysfs_context_set_schemes()
973 damon_sysfs_schemes_rm_dirs(context->schemes); in damon_sysfs_context_rm_dirs()
974 kobject_put(&context->schemes->kobj); in damon_sysfs_context_rm_dirs()
1279 * @DAMON_SYSFS_CMD_UPDATE_SCHEMES_TRIED_REGIONS: Update schemes tried
[all …]
H A Dsysfs-common.h27 * schemes directory
37 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes);
H A Dsysfs-schemes.c196 * schemes/stats directory
2324 * schemes directory
2332 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes) in damon_sysfs_schemes_rm_dirs() argument
2334 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damon_sysfs_schemes_rm_dirs()
2337 for (i = 0; i < schemes->nr; i++) { in damon_sysfs_schemes_rm_dirs()
2341 schemes->nr = 0; in damon_sysfs_schemes_rm_dirs()
2343 schemes->schemes_arr = NULL; in damon_sysfs_schemes_rm_dirs()
2346 static int damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes *schemes, in damon_sysfs_schemes_add_dirs() argument
2352 damon_sysfs_schemes_rm_dirs(schemes); in damon_sysfs_schemes_add_dirs()
2360 schemes->schemes_arr = schemes_arr; in damon_sysfs_schemes_add_dirs()
[all …]
H A Dcore.c426 list_add_tail(&s->list, &ctx->schemes); in damon_add_scheme()
552 INIT_LIST_HEAD(&ctx->schemes); in damon_new_ctx()
747 * damon_set_schemes() - Set data access monitoring based operation schemes.
749 * @schemes: array of the schemes
750 * @nr_schemes: number of entries in @schemes
755 void damon_set_schemes(struct damon_ctx *ctx, struct damos **schemes, in damon_set_schemes() argument
764 damon_add_scheme(ctx, schemes[i]); in damon_set_schemes()
1251 * schemes and targets should be updated first, since in damon_commit_ctx()
1253 * next_apply_sis of schemes, and in damon_commit_ctx()
1823 /* if all schemes completed, signal completion to walker */ in damos_walk_complete()
[all …]
/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/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/include/linux/
H A Ddamon.h19 /* Max priority score for DAMON-based operation schemes */
438 * schemes. Refer to damos_walk() for more details.
507 * To do the work only when needed, schemes can be activated for specific
508 * system situations using &wmarks. If all schemes that registered to the
774 * @schemes: Head of schemes (&damos) list.
818 struct list_head schemes; member
863 list_for_each_entry(s, &(ctx)->schemes, list)
866 list_for_each_entry_safe(s, next, &(ctx)->schemes, list)
941 struct damos **schemes, ssize_t nr_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…
/linux/Documentation/mm/damon/
H A Ddesign.rst14 specification and DAMON-based operation schemes are stored in a data structure
390 Operation Schemes
403 One straightforward approach for such schemes would be profile-guided
413 effective, and therefore widely be used. However, implementing such schemes
421 Schemes (DAMOS). It lets users specify their desired schemes at a high
489 The access pattern of the schemes' interest. The patterns are constructed with
619 is activated. If all schemes are deactivated by the watermarks, the monitoring
640 To let users optimize DAMOS schemes with such special knowledge, DAMOS provides
/linux/Documentation/admin-guide/LSM/
H A DSmack.rst348 Computer systems employ a variety of schemes to constrain how information is
349 shared among the people and services using the machine. Some of these schemes
351 access to pieces of data. These schemes are called discretionary access
353 of the user. Other schemes do not leave the decision regarding what a user or
354 program can access up to users or programs. These schemes are called mandatory
502 be "born" highly classified. To accommodate such schemes Smack includes a
552 schemes and concepts from other systems. Most often, the other systems are
655 of systems that use compatible labeling schemes, and the DOI specified on the

1234