| /linux/tools/testing/selftests/damon/ |
| H A D | damos_quota_goal.py | 14 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 D | drgn_dump_damon_status.py | 33 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.py | 133 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 D | balloc.c | 225 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 D | test_ima.c | 100 * - 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 D | aic79xx_osm.c | 1691 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 D | aic7xxx_osm.c | 1618 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 D | aic7xxx_core.c | 1862 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 D | aic79xx.h | 574 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 D | bitmap.c | 139 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 D | xfs_icache.c | 42 * 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 D | machine_kexec.c | 25 * 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 D | ip_vs_lblc.c | 298 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 D | ip_vs_lblcr.c | 462 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 D | sym_hipd.c | 1352 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 D | mballoc.c | 45 * 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 D | mballoc.h | 180 /* 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 D | jobserver.py | 22 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 D | Kconfig.iosched | 17 goal.
|
| /linux/drivers/platform/x86/amd/pmf/ |
| H A D | Kconfig | 17 The goal is to enhance end user experience by making AMD PCs smarter,
|
| /linux/tools/memory-model/Documentation/ |
| H A D | recipes.txt | 209 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 D | test_memcontrol.c | 451 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 D | sctp.rst | 21 The initial project goal is to create an Linux kernel reference implementation
|
| /linux/Documentation/block/ |
| H A D | bfq-iosched.rst | 19 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 D | tpm_vtpm_proxy.rst | 14 The goal of this work is to provide TPM functionality to each Linux
|