| /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() 605 if (goal >= eloc.logicalBlockNum) { in udf_table_new_block() 606 if (goal < eloc.logicalBlockNum + in udf_table_new_block() 610 nspread = goal - eloc.logicalBlockNum - in udf_table_new_block() [all …]
|
| /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/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() 2148 memset(&tstate->transinfo[i].goal, 0, in ahc_alloc_tstate() 2149 sizeof(tstate->transinfo[i].goal)); in ahc_alloc_tstate() 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() 2445 || tinfo->curr.width != tinfo->goal.width in ahc_update_neg_request() 2446 || tinfo->curr.offset != tinfo->goal.offset in ahc_update_neg_request() [all …]
|
| H A D | aic79xx_core.c | 3140 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree() 3141 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree() 3623 memset(&tstate->transinfo[i].goal, 0, in ahd_alloc_tstate() 3624 sizeof(tstate->transinfo[i].goal)); in ahd_alloc_tstate() 3691 transinfo = &tinfo->goal; in ahd_devlimited_syncrate() 3773 *offset = min(*offset, (u_int)tinfo->goal.offset); in ahd_validate_offset() 3801 *bus_width = min((u_int)tinfo->goal.width, *bus_width); in ahd_validate_width() 3831 if (tinfo->curr.period != tinfo->goal.period in ahd_update_neg_request() 3832 || tinfo->curr.width != tinfo->goal.width in ahd_update_neg_request() 3833 || tinfo->curr.offset != tinfo->goal.offset in ahd_update_neg_request() [all …]
|
| /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 | ialloc.c | 936 __u32 goal, uid_t *owner, __u32 i_flags, in __ext4_new_inode() argument 1017 if (!goal) in __ext4_new_inode() 1018 goal = sbi->s_inode_goal; in __ext4_new_inode() 1020 if (goal && goal <= le32_to_cpu(sbi->s_es->s_inodes_count)) { in __ext4_new_inode() 1021 group = (goal - 1) / EXT4_INODES_PER_GROUP(sb); in __ext4_new_inode() 1022 ino = (goal - 1) % EXT4_INODES_PER_GROUP(sb); in __ext4_new_inode()
|
| H A D | migrate.c | 419 __u32 goal, tmp_csum_seed; in ext4_ext_migrate() local 458 goal = ((((u32)inode->i_ino - 1) / EXT4_INODES_PER_GROUP(inode->i_sb)) * in ext4_ext_migrate() 463 S_IFREG, NULL, goal, owner, 0); in ext4_ext_migrate()
|
| H A D | balloc.c | 741 ext4_fsblk_t goal, unsigned int flags, in ext4_new_meta_blocks() argument 750 ar.goal = goal; in ext4_new_meta_blocks()
|
| /linux/net/dccp/ |
| H A D | proto.c | |
| /linux/block/ |
| H A D | Kconfig.iosched | 17 goal.
|
| /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. in reclaim_until() argument 894 * the usage goal was satisfied. in reclaim_until() 896 static bool reclaim_until(const char *memcg, long goal) in reclaim_until() 906 if (current < goal || values_close(current, goal, 3)) in reclaim_until() 912 to_reclaim = current - goal;
|
| /linux/Documentation/networking/ |
| H A D | sctp.rst | 21 The initial project goal is to create an Linux kernel reference implementation
|
| /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/fs/ufs/ |
| H A D | ufs.h | 88 u64 ufs_new_fragments(struct inode *, void *, u64 fragment, u64 goal,
|
| /linux/net/rds/ |
| H A D | ib_frmr.c | 362 unsigned long *unpinned, unsigned int goal) in rds_ib_unreg_frmr() argument 386 if (freed < goal || frmr->fr_state == FRMR_IS_STALE) { in rds_ib_unreg_frmr()
|
| /linux/Documentation/fault-injection/ |
| H A D | provoke-crashes.rst | 26 goal of being just large enough to exhaust the kernel stack. The
|
| /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
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1122 goal = channels->tx_count; in ibmveth_set_channels() local 1129 return netif_set_real_num_tx_queues(netdev, goal); in ibmveth_set_channels() 1137 for (i = old; i < goal; i++) { in ibmveth_set_channels() 1148 goal = old; in ibmveth_set_channels() 1152 rc = netif_set_real_num_tx_queues(netdev, goal); in ibmveth_set_channels() 1156 goal = old; in ibmveth_set_channels() 1160 for (i = old; i > goal; i--) { in ibmveth_set_channels()
|