Home
last modified time | relevance | path

Searched refs:goal (Results 1 – 25 of 238) sorted by relevance

12345678910

/openbmc/phosphor-pid-control/experiments/
H A Ddrive.cpp52 bool valueClose(int64_t value, int64_t goal) in valueClose() argument
56 if (value < (goal + delta) && in valueClose()
57 value > (goal - delta)) in valueClose()
64 if (value < goal) in valueClose()
72 static void driveGoal(int64_t& seriesCnt, int64_t setPwm, int64_t goal, in driveGoal() argument
99 check = valueClose(avgn, goal); in driveGoal()
114 reading = !valueClose(together, goal); in driveGoal()
134 [[maybe_unused]] int64_t goal, in driveTime() argument
229 int64_t goal = 0.5 * average; in driveMain() local
231 std::cerr << "goal: " << goal << "\n"; in driveMain()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dreservations.c352 ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal) in ocfs2_find_resv_lhs() argument
367 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal) in ocfs2_find_resv_lhs()
371 if (resv->r_start > goal) { in ocfs2_find_resv_lhs()
457 unsigned int goal, unsigned int wanted) in __ocfs2_resv_find_window() argument
475 goal, wanted, RB_EMPTY_ROOT(root)); in __ocfs2_resv_find_window()
484 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
485 resmap->m_bitmap_len - goal, in __ocfs2_resv_find_window()
492 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window()
504 prev_resv = ocfs2_find_resv_lhs(resmap, goal); in __ocfs2_resv_find_window()
530 if (next_resv->r_start <= goal) { in __ocfs2_resv_find_window()
[all …]
/openbmc/linux/fs/ufs/
H A Dballoc.c341 u64 goal, unsigned count, int *err, in ufs_new_fragments() argument
352 (unsigned long long)goal, count); in ufs_new_fragments()
408 if (goal >= uspi->s_size) in ufs_new_fragments()
409 goal = 0; in ufs_new_fragments()
410 if (goal == 0) in ufs_new_fragments()
413 cgno = ufs_dtog(uspi, goal); in ufs_new_fragments()
419 result = ufs_alloc_fragments (inode, cgno, goal, count, err); in ufs_new_fragments()
464 result = ufs_alloc_fragments (inode, cgno, goal, request, err); in ufs_new_fragments()
584 u64 goal, unsigned count, int *err) in ufs_alloc_fragments() argument
594 inode->i_ino, cgno, (unsigned long long)goal, count); in ufs_alloc_fragments()
[all …]
H A Dinode.c262 u64 tmp, goal, lastfrag; in ufs_inode_getfrag() local
282 goal = 0; in ufs_inode_getfrag()
284 goal = ufs_data_ptr_to_cpu(sb, in ufs_inode_getfrag()
286 if (goal) in ufs_inode_getfrag()
287 goal += uspi->s_fpb; in ufs_inode_getfrag()
290 goal, nfrags, err, locked_page); in ufs_inode_getfrag()
341 u64 tmp = 0, goal; in ufs_inode_getblock() local
367 goal = tmp + uspi->s_fpb; in ufs_inode_getblock()
369 goal = bh->b_blocknr + uspi->s_fpb; in ufs_inode_getblock()
370 tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment), goal, in ufs_inode_getblock()
/openbmc/linux/fs/affs/
H A Dbitmap.c115 affs_alloc_block(struct inode *inode, u32 goal) in affs_alloc_block() argument
128 pr_debug("balloc(inode=%lu,goal=%u): ", inode->i_ino, goal); in affs_alloc_block()
136 if (!goal || goal > sbi->s_partition_size) { in affs_alloc_block()
137 if (goal) in affs_alloc_block()
138 affs_warning(sb, "affs_balloc", "invalid goal %d", goal); in affs_alloc_block()
141 goal = sbi->s_reserved; in affs_alloc_block()
144 blk = goal - sbi->s_reserved; in affs_alloc_block()
/openbmc/linux/fs/udf/
H A Dballoc.c241 uint32_t goal, int *err) in udf_bitmap_new_block() argument
256 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_bitmap_new_block()
257 goal = 0; in udf_bitmap_new_block()
260 block = goal + (sizeof(struct spaceBitmapDesc) << 3); in udf_bitmap_new_block()
576 uint32_t goal, int *err) in udf_table_new_block() argument
599 if (goal >= sbi->s_partmaps[partition].s_partition_len) in udf_table_new_block()
600 goal = 0; in udf_table_new_block()
615 if (goal >= eloc.logicalBlockNum) { in udf_table_new_block()
616 if (goal < eloc.logicalBlockNum + in udf_table_new_block()
620 nspread = goal - eloc.logicalBlockNum - in udf_table_new_block()
[all …]
/openbmc/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()
/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c1686 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async()
1687 || tinfo->curr.width != tinfo->goal.width in ahd_send_async()
1688 || tinfo->curr.offset != tinfo->goal.offset in ahd_send_async()
1689 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async()
2377 unsigned int ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_period()
2380 unsigned long offset = tinfo->goal.offset; in ahd_linux_set_period()
2443 period = tinfo->goal.period; in ahd_linux_set_offset()
2444 ppr_options = tinfo->goal.ppr_options; in ahd_linux_set_offset()
2465 unsigned int ppr_options = tinfo->goal.ppr_options in ahd_linux_set_dt()
2467 unsigned int period = tinfo->goal.period; in ahd_linux_set_dt()
[all …]
H A Daic7xxx_osm.c1610 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1611 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1612 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1613 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
2335 unsigned int ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_period()
2337 unsigned long offset = tinfo->goal.offset; in ahc_linux_set_period()
2390 period = tinfo->goal.period; in ahc_linux_set_offset()
2391 ppr_options = tinfo->goal.ppr_options; in ahc_linux_set_offset()
2409 unsigned int ppr_options = tinfo->goal.ppr_options in ahc_linux_set_dt()
2411 unsigned int period = tinfo->goal.period; in ahc_linux_set_dt()
[all …]
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_lblc.c299 int goal; in ip_vs_lblc_check_expire() local
316 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblc_check_expire()
317 if (goal > tbl->max_size/2) in ip_vs_lblc_check_expire()
318 goal = tbl->max_size/2; in ip_vs_lblc_check_expire()
330 goal--; in ip_vs_lblc_check_expire()
333 if (goal <= 0) in ip_vs_lblc_check_expire()
H A Dip_vs_lblcr.c463 int goal; in ip_vs_lblcr_check_expire() local
480 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; in ip_vs_lblcr_check_expire()
481 if (goal > tbl->max_size/2) in ip_vs_lblcr_check_expire()
482 goal = tbl->max_size/2; in ip_vs_lblcr_check_expire()
494 goal--; in ip_vs_lblcr_check_expire()
497 if (goal <= 0) in ip_vs_lblcr_check_expire()
/openbmc/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 …]
/openbmc/linux/fs/xfs/
H A Dxfs_icache.c48 enum xfs_icwalk_goal goal, struct xfs_icwalk *icw);
50 enum xfs_icwalk_goal goal, struct xfs_icwalk *icw);
1591 enum xfs_icwalk_goal goal, in xfs_icwalk_igrab() argument
1595 switch (goal) { in xfs_icwalk_igrab()
1611 enum xfs_icwalk_goal goal, in xfs_icwalk_process_inode() argument
1618 switch (goal) { in xfs_icwalk_process_inode()
1636 enum xfs_icwalk_goal goal, in xfs_icwalk_ag() argument
1649 if (goal == XFS_ICWALK_RECLAIM) in xfs_icwalk_ag()
1663 XFS_LOOKUP_BATCH, goal); in xfs_icwalk_ag()
1677 if (done || !xfs_icwalk_igrab(goal, ip, icw)) in xfs_icwalk_ag()
[all …]
/openbmc/linux/fs/ext2/
H A Dballoc.c297 search_reserve_window(struct rb_root *root, ext2_fsblk_t goal) in search_reserve_window() argument
308 if (goal < rsv->rsv_start) in search_reserve_window()
310 else if (goal > rsv->rsv_end) in search_reserve_window()
321 if (rsv->rsv_start > goal) { in search_reserve_window()
1208 ext2_fsblk_t ext2_new_blocks(struct inode *inode, ext2_fsblk_t goal, in ext2_new_blocks() argument
1246 ext2_debug("goal=%lu.\n", goal); in ext2_new_blocks()
1270 if (goal < le32_to_cpu(es->s_first_data_block) || in ext2_new_blocks()
1271 goal >= le32_to_cpu(es->s_blocks_count)) in ext2_new_blocks()
1272 goal = le32_to_cpu(es->s_first_data_block); in ext2_new_blocks()
1273 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / in ext2_new_blocks()
[all …]
/openbmc/qemu/tests/qtest/
H A Dmigration-helpers.c312 static bool check_migration_status(QTestState *who, const char *goal, in check_migration_status() argument
320 ready = strcmp(current_status, goal) == 0; in check_migration_status()
328 if (strcmp(goal, "completed") != 0) { in check_migration_status()
341 const char *goal, const char **ungoals) in wait_for_migration_status() argument
344 while (!check_migration_status(who, goal, ungoals)) { in wait_for_migration_status()
/openbmc/linux/fs/gfs2/
H A Drgrp.c235 u32 goal, u8 state) in gfs2_bitfit() argument
237 u32 spoint = (goal << 1) & ((8*sizeof(u64)) - 1); in gfs2_bitfit()
238 const __le64 *ptr = ((__le64 *)buf) + (goal >> 5); in gfs2_bitfit()
1152 u32 i, goal, count = 0; in count_unlinked() local
1155 goal = 0; in count_unlinked()
1158 while (goal < bi->bi_blocks) { in count_unlinked()
1159 goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, in count_unlinked()
1161 if (goal == BFITNOENT) in count_unlinked()
1164 goal++; in count_unlinked()
1566 u64 goal; in rg_mblk_search() local
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-navigation/geoclue/
H A Dgeoclue_2.7.2.bb3 The primary goal of the Geoclue project is to make creating location-aware applications \
4 as simple as possible, while the secondary goal is to ensure that no application \
/openbmc/linux/fs/hfsplus/
H A Dextents.c446 u32 start, len, goal; in hfsplus_file_extend() local
460 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend()
465 goal = hfsplus_ext_lastblock(hip->cached_extents); in hfsplus_file_extend()
469 start = hfsplus_block_allocate(sb, sbi->total_blocks, goal, &len); in hfsplus_file_extend()
471 start = hfsplus_block_allocate(sb, goal, 0, &len); in hfsplus_file_extend()
472 if (start >= goal) { in hfsplus_file_extend()
/openbmc/linux/Documentation/gpu/rfc/
H A Dxe.rst29 As for the power management area, the goal is to have a much-simplified support
147 With multiple drivers currently introducing support to VM_BIND, the goal is to
154 This task here has the goal of introducing a documentation of the basic rules.
178 The goal is to achieve a consensus ahead of Xe initial pull-request, ideally with
191 depending on the build target. The goal is to refactor both Xe and i915/display
206 The goal is to engage with the Community to understand if the best approach is to
219 dumped, avoiding a Xe only error_state solution. The goal is to use devcoredump
227 Later, when we are in-tree, the goal is to collaborate with devcoredump
/openbmc/linux/fs/ext4/
H A Dindirect.c254 ext4_fsblk_t goal; in ext4_find_goal() local
260 goal = ext4_find_near(inode, partial); in ext4_find_goal()
261 goal = goal & EXT4_MAX_BLOCK_FILE_PHYS; in ext4_find_goal()
262 return goal; in ext4_find_goal()
342 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, in ext4_alloc_branch()
343 ar->inode, ar->goal, in ext4_alloc_branch()
620 ar.goal = ext4_find_goal(inode, map->m_lblk, partial); in ext4_ind_map_blocks()
/openbmc/linux/mm/
H A Dsparse.c336 unsigned long goal, limit; in sparse_early_usemaps_alloc_pgdat_section() local
348 goal = pgdat_to_phys(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
349 limit = goal + (1UL << PA_SECTION_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
350 nid = early_pfn_to_nid(goal >> PAGE_SHIFT); in sparse_early_usemaps_alloc_pgdat_section()
352 usage = memblock_alloc_try_nid(size, SMP_CACHE_BYTES, goal, limit, nid); in sparse_early_usemaps_alloc_pgdat_section()
/openbmc/linux/Documentation/userspace-api/
H A Dsysfs-platform_profile.rst19 NOT a goal of this API to allow monitoring the resulting performance
26 laptop, etc. It is explicitly NOT a goal of this API to let userspace know
/openbmc/qemu/tests/tsan/
H A Dignore.tsan4 # The eventual goal would be to fix these warnings.
H A Dsuppressions.tsan2 # The goal would be to have here only items we do not
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/
H A Dttf-lohit_2.92.1.bb3 SUMMARY = "The project goal is to improve existing offerings of the fonts \

12345678910