Home
last modified time | relevance | path

Searched refs:schemes (Results 1 – 25 of 42) sorted by relevance

12

/linux/tools/testing/selftests/damon/
H A Ddamos_apply_interval.py19 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',
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
96 schemes=[_damon_sysfs.Damos(action='stat',
128 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Dsysfs.py153 def assert_schemes_committed(schemes, dump):
154 assert_true(len(schemes) == len(dump), 'len_schemes', dump)
155 for idx, scheme in enumerate(schemes):
200 assert_schemes_committed(ctx.schemes, dump['schemes'])
259 schemes=[_damon_sysfs.Damos()],
275 schemes=[_damon_sysfs.Damos(
346 schemes=[_damon_sysfs.Damos()],
139 assert_schemes_committed(schemes, dump) global() argument
H A D_damon_sysfs.py458 self.context.sysfs_dir(), 'schemes', '%d' % self.idx)
622 schemes = None
628 schemes=[], pause=False):
638 self.schemes = schemes
639 for idx, scheme in enumerate(self.schemes):
673 self.sysfs_dir(), 'schemes', 'nr_schemes')
677 if int(content) != len(self.schemes):
678 err = write_file(nr_schemes_file, '%d' % len(self.schemes))
681 for scheme in self.schemes
599 schemes = None global() variable in DamonCtx
604 __init__(self, ops='paddr', monitoring_attrs=DamonAttrs(), targets=[], schemes=[]) global() argument
[all...]
H A Ddamos_tried_regions.py19 schemes=[_damon_sysfs.Damos(action='stat',
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(
49 scheme = kdamonds.kdamonds[0].contexts[0].schemes[0]
H A Ddrgn_dump_damon_status.py194 def schemes_to_list(schemes):
197 'struct damos', schemes.address_of_(), 'list')]
204 ['schemes', schemes_to_list],
191 schemes_to_list(schemes) global() argument
H A Dsysfs_update_schemes_tried_regions_hang.py15 schemes=[_damon_sysfs.Damos(
H A Dsysfs_no_op_commit_break.py33 schemes=[_damon_sysfs.Damos(
H A Ddamos_quota_goal.py20 schemes=[_damon_sysfs.Damos(
/linux/mm/damon/
H A Dsysfs.c1377 struct damon_sysfs_schemes *schemes; in damon_sysfs_set_regions()
1436 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc();
1439 if (!schemes)
1441 err = kobject_init_and_add(&schemes->kobj, &damon_sysfs_schemes_ktype,
1442 &context->kobj, "schemes");
1444 kobject_put(&schemes->kobj); in damon_sysfs_upd_schemes_stats()
1447 context->schemes = schemes; in damon_sysfs_upd_schemes_stats()
1484 damon_sysfs_schemes_rm_dirs(context->schemes);
1485 kobject_put(&context->schemes
868 struct damon_sysfs_schemes *schemes; global() member
925 struct damon_sysfs_schemes *schemes = damon_sysfs_schemes_alloc(); damon_sysfs_context_set_schemes() local
[all...]
H A Dsysfs-schemes.c363 * schemes/stats directory
2674 * schemes directory in damos_sysfs_add_quota_score()
2682 void damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes *schemes) in damos_sysfs_add_quota_score()
2684 struct damon_sysfs_scheme **schemes_arr = schemes->schemes_arr; in damos_sysfs_add_quota_score()
2687 for (i = 0; i < schemes->nr; i++) { in damos_sysfs_add_quota_score()
2691 schemes->nr = 0; in damos_sysfs_add_quota_score()
2693 schemes->schemes_arr = NULL; in damos_sysfs_add_quota_score()
2696 static int damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes *schemes, in damos_sysfs_set_quota_scores()
2702 damon_sysfs_schemes_rm_dirs(schemes); in damos_sysfs_set_quota_scores()
2710 schemes in damos_sysfs_set_quota_scores()
2452 damon_sysfs_schemes_rm_dirs(struct damon_sysfs_schemes * schemes) damon_sysfs_schemes_rm_dirs() argument
2466 damon_sysfs_schemes_add_dirs(struct damon_sysfs_schemes * schemes,int nr_schemes) damon_sysfs_schemes_add_dirs() argument
2516 struct damon_sysfs_schemes *schemes = container_of(kobj, nr_schemes_show() local
2525 struct damon_sysfs_schemes *schemes; nr_schemes_store() local
[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.h22 /* Max priority score for DAMON-based operation schemes */
472 * schemes. Refer to damos_walk() for more details.
542 * To do the work only when needed, schemes can be activated for specific
543 * system situations using &wmarks. If all schemes that registered to the
850 * @schemes: Head of schemes (&damos) list. in damon_next_region()
906 struct list_head schemes;
981 list_for_each_entry(s, &(ctx)->schemes, list) in damon_max_nr_accesses()
984 list_for_each_entry_safe(s, next, &(ctx)->schemes, list) in damon_max_nr_accesses()
1054 struct damos **schemes, ssize_
845 struct list_head schemes; global() member
[all...]
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c230 struct keygen_scheme schemes[FM_KG_MAX_NUM_OF_SCHEMES]; member
423 if (!keygen->schemes[i].used) { in get_free_scheme_id()
445 return &keygen->schemes[scheme_id]; in get_scheme()
/linux/Documentation/arch/mips/
H A Dbooting.rst8 Both schemes are supported; CONFIG_BOOT_RAW=y and CONFIG_NO_EXCEPT_FILL=y,
/linux/Documentation/scheduler/
H A Dmembarrier.rst25 before returning to user-space. The schemes providing this barrier on the various
/linux/Documentation/translations/zh_TW/admin-guide/mm/damon/
H A Dstart.rst124 $ damo schemes -c test_scheme <pid of your workload>
/linux/Documentation/translations/zh_CN/admin-guide/mm/damon/
H A Dstart.rst124 $ damo schemes -c test_scheme <pid of your workload>
/linux/security/smack/
H A DKconfig13 of other mandatory security schemes.
/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
/linux/Documentation/devicetree/bindings/reset/
H A Dreset.txt17 are dictated by the binding of the reset provider, although common schemes
/linux/Documentation/infiniband/
H A Dtag_matching.rst25 Implementations frequently use different matching schemes for these two
/linux/fs/f2fs/
H A DKconfig25 the internal geometry or flash memory management schemes aka FTL, F2FS

12