Home
last modified time | relevance | path

Searched full:goal (Results 1 – 25 of 188) sorted by relevance

12345678

/linux/tools/testing/selftests/damon/
H A Ddamos_quota_goal.py14 goal = _damon_sysfs.DamosQuotaGoal(
23 goals=[goal], reset_interval_ms=100),
39 goal.current_value = score_values_to_test.pop(0)
40 expect_increase = goal.current_value < goal.target_value
51 last_effective_bytes = goal.effective_bytes
61 goal.current_value, last_effective_bytes, goal.effective_bytes,
62 goal.effective_bytes / last_effective_bytes
65 if last_effective_bytes == goal
[all...]
H A Ddrgn_dump_damon_status.py33 def intervals_goal_to_dict(goal): argument
34 return to_dict(goal, [
93 def damos_quota_goal_to_dict(goal):
94 return to_dict(goal, [ argument
H A D_damon_sysfs.py133 goal_tuner = None # quota goal tuner
154 for idx, goal in enumerate(self.goals):
155 goal.idx = idx
156 goal.quota = self
197 for goal in self.goals:
198 err = goal.stage()
813 for goal in scheme.quota.goals:
819 goal.effective_bytes = int(content)
844 for goal in scheme.quota.goals:
845 err = goal
[all...]
/linux/fs/udf/
H A Dballoc.c225 uint32_t goal, int *err) in udf_bitmap_new_block() argument
240 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_bitmap_new_block()
241 goal = 0; in udf_bitmap_new_block()
244 block = goal + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_new_block()
564 uint32_t goal, int *err) in udf_table_new_block() argument
589 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_table_new_block()
590 goal = 0; in udf_table_new_block()
592 /* We search for the closest matching block to goal. If we find in udf_table_new_block()
605 if (goal >= eloc.logicalBlockNum) { in udf_table_new_block()
606 if (goal < eloc.logicalBlockNum + in udf_table_new_block()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_ima.c100 * - Goal: obtain a sample with the bpf_ima_inode_hash() helper in test_test_ima()
114 * - Goal: obtain samples with the bpf_ima_file_hash() helper in test_test_ima()
131 * - Goal: confirm that bpf_ima_inode_hash() returns a non-fresh digest in test_test_ima()
170 * - Goal: verify that bpf_ima_file_hash() returns a fresh digest in test_test_ima()
201 * - Goal: obtain a sample from the kernel_read_file hook in test_test_ima()
219 * - Goal: ensure that the kernel_read_file hook denies an operation in test_test_ima()
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c1691 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async()
1692 || tinfo->curr.width != tinfo->goal.width in ahd_send_async()
1693 || tinfo->curr.offset != tinfo->goal.offset in ahd_send_async()
1694 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async()
2391 unsigned int ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_period()
2394 unsigned long offset = tinfo->goal.offset; in ahd_linux_set_period()
2457 period = tinfo->goal.period; in ahd_linux_set_offset()
2458 ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_offset()
2479 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_dt()
2481 unsigned int period = tinfo->goal.period; in ahd_linux_set_dt()
[all …]
H A Daic7xxx_osm.c1618 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1619 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1620 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1621 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
2348 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period()
2350 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period()
2403 period = tinfo->goal.period; in ahc_linux_set_offset()
2404 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset()
2422 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt()
2424 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt()
[all …]
H A Daic7xxx_core.c1862 tinfo->goal.transport_version = 2; in ahc_handle_scsiint()
1863 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint()
2138 * channel, but reset our current and goal settings to async/narrow in ahc_alloc_tstate()
2148 memset(&tstate->transinfo[i].goal, 0, in ahc_alloc_tstate()
2149 sizeof(tstate->transinfo[i].goal)); in ahc_alloc_tstate()
2213 * Never allow a value higher than our current goal in ahc_devlimited_syncrate()
2225 transinfo = &tinfo->goal; in ahc_devlimited_syncrate()
2386 *offset = min(*offset, (u_int)tinfo->goal.offset); in ahc_validate_offset()
2414 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahc_validate_width()
2444 if (tinfo->curr.period != tinfo->goal.period in ahc_update_neg_request()
[all …]
H A Daic79xx.h574 SCB_AUTO_NEGOTIATE = 0x00040,/* Negotiate to achieve goal. */
731 #define AHD_TRANS_GOAL 0x04 /* Modify negotiation goal */
753 * Per-initiator current, goal and user transfer negotiation information. */
756 struct ahd_transinfo goal; member
1392 * even if our goal and current transport parameters are identical.
1395 AHD_NEG_TO_GOAL, /* Renegotiate only if goal and curr differ. */
1396 AHD_NEG_IF_NON_ASYNC, /* Renegotiate so long as goal is non-async. */
1397 AHD_NEG_ALWAYS /* Renegotiat even if goal is async. */
/linux/fs/hfs/
H A Dbitmap.c139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) in hfs_vbm_search_free() argument
151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free()
153 if (goal) in hfs_vbm_search_free()
154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); in hfs_vbm_search_free()
/linux/fs/xfs/
H A Dxfs_icache.c42 * The goal for walking incore inodes. These can correspond with incore inode
52 enum xfs_icwalk_goal goal, struct xfs_icwalk *icw);
54 enum xfs_icwalk_goal goal, struct xfs_icwalk *icw);
1698 * the goal.
1702 enum xfs_icwalk_goal goal, in xfs_icwalk_igrab() argument
1706 switch (goal) { in xfs_icwalk_igrab()
1722 enum xfs_icwalk_goal goal, in xfs_icwalk_process_inode() argument
1729 switch (goal) { in xfs_icwalk_process_inode()
1741 * For a given per-AG structure @pag and a goal, grab qualifying inodes and
1747 enum xfs_icwalk_goal goal, in xfs_icwalk_ag() argument
[all …]
/linux/arch/riscv/kernel/
H A Dmachine_kexec.c25 * provided us with an image to be loaded. Its goal is to validate
104 * below. Its goal is to prepare the rest of the system (the other
124 * and its goal is to shutdown non-crashing cpus and save registers.
/linux/net/netfilter/ipvs/
H A Dip_vs_lblc.c298 int goal; in ip_vs_lblc_check_expire() local
315 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()
316 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire()
317 goal = tbl->max_size/2; in ip_vs_lblc_check_expire()
329 goal--; in ip_vs_lblc_check_expire()
332 if (goal <= 0) in ip_vs_lblc_check_expire()
H A Dip_vs_lblcr.c462 int goal; in ip_vs_lblcr_check_expire() local
479 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()
480 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire()
481 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire()
493 goal--; in ip_vs_lblcr_check_expire()
496 if (goal <= 0) in ip_vs_lblcr_check_expire()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1352 struct sym_trans *goal) argument
1355 goal->width = 0;
1358 goal->iu = 0;
1359 goal->dt = 0;
1360 goal->qas = 0;
1361 goal->offset = 0;
1367 goal->dt = 1;
1369 if (goal->offset == 0)
1370 goal->dt = 0;
1372 goal->dt = 0;
[all …]
/linux/fs/ext4/
H A Dmballoc.c45 * near to the goal(block) value specified.
179 * fragment size > goal length. So before falling to the slower
180 * CR_GOAL_LEN_SLOW, in CR_BEST_AVAIL_LEN we proactively trim goal length and
208 * the group specified as the goal value in allocation context via
1038 * a larger normalized goal len request which can be trimmed to in ext4_mb_scan_groups_goal_fast()
1039 * a smaller goal len such that it can still satisfy original in ext4_mb_scan_groups_goal_fast()
1054 * order we have and proactively trim the goal request length to that order to
1074 * goal length. in ext4_mb_scan_groups_best_avail()
1092 * up the goal len to num_stripe_clusters in ext4_mb_scan_groups_best_avail()
1106 * Scale down goal len to make sure we find something in ext4_mb_scan_groups_best_avail()
[all …]
H A Dmballoc.h180 /* goal request (normalized ac_o_ex) */
190 * goal len can change in CR_BEST_AVAIL_LEN, so save the original len.
/linux/tools/lib/python/
H A Djobserver.py22 Here, the goal is different: This script aims to get the remaining number
29 The end goal here is to keep the total number of build tasks under the
/linux/block/
H A DKconfig.iosched17 goal.
/linux/drivers/platform/x86/amd/pmf/
H A DKconfig17 The goal is to enhance end user experience by making AMD PCs smarter,
/linux/tools/memory-model/Documentation/
H A Drecipes.txt209 but in the opposite order. The goal is to avoid the counter-intuitive
212 In the absence of any ordering, this goal may not be met, as can be seen
214 a number of ways of meeting this goal.
359 to the first. The goal is to avoid the counter-intuitive situation where
/linux/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c451 static bool reclaim_until(const char *memcg, long goal);
882 * Reclaim from @memcg until usage reaches @goal by writing to
886 * goal.
894 * the usage goal was satisfied.
896 static bool reclaim_until(const char *memcg, long goal) in reclaim_until() argument
906 if (current < goal || values_close(current, goal, 3)) in reclaim_until()
912 to_reclaim = current - goal; in reclaim_until()
/linux/Documentation/networking/
H A Dsctp.rst21 The initial project goal is to create an Linux kernel reference implementation
/linux/Documentation/block/
H A Dbfq-iosched.rst19 goal, for a given device, is to achieve the maximum-possible
213 achieve this goal is to give to the queues associated with these
229 merged. Differently from CFQ, BFQ achieves this goal with a more
456 DISABLE this mode if your only goal is to achieve a high throughput.
492 it with auto-tuning. An alternative way to achieve this goal is to
/linux/Documentation/security/tpm/
H A Dtpm_vtpm_proxy.rst14 The goal of this work is to provide TPM functionality to each Linux

12345678