/openbmc/linux/arch/powerpc/include/asm/ |
H A D | opal.h | 30 int64_t opal_invalid_call(void); 31 int64_t opal_npu_map_lpar(uint64_t phb_id, uint64_t bdf, uint64_t lparid, 33 int64_t opal_npu_spa_setup(uint64_t phb_id, uint32_t bdfn, 35 int64_t opal_npu_spa_clear_cache(uint64_t phb_id, uint32_t bdfn, 37 int64_t opal_npu_tl_set(uint64_t phb_id, uint32_t bdfn, long cap, 40 int64_t opal_console_write(int64_t term_number, __be64 *length, 42 int64_t opal_console_read(int64_t term_number, __be64 *length, 44 int64_t opal_console_write_buffer_space(int64_t term_number, 46 int64_t opal_console_flush(int64_t term_number); 47 int64_t opal_rtc_read(__be32 *year_month_day, [all …]
|
H A D | asm-prototypes.h | 34 int64_t __opal_call(int64_t a0, int64_t a1, int64_t a2, int64_t a3, 35 int64_t a4, int64_t a5, int64_t a6, int64_t a7, 36 int64_t opcode, uint64_t msr);
|
/openbmc/qemu/include/sysemu/ |
H A D | block-backend-io.h | 37 BlockAIOCB *blk_aio_pwrite_zeroes(BlockBackend *blk, int64_t offset, 38 int64_t bytes, BdrvRequestFlags flags, 41 BlockAIOCB *blk_aio_preadv(BlockBackend *blk, int64_t offset, 44 BlockAIOCB *blk_aio_pwritev(BlockBackend *blk, int64_t offset, 49 BlockAIOCB *blk_aio_zone_report(BlockBackend *blk, int64_t offset, 54 int64_t offset, int64_t len, 56 BlockAIOCB *blk_aio_zone_append(BlockBackend *blk, int64_t *offset, 59 BlockAIOCB *blk_aio_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes, 80 int64_t coroutine_fn blk_co_getlength(BlockBackend *blk); 81 int64_t co_wrapper_mixed blk_getlength(BlockBackend *blk); [all …]
|
H A D | cpu-timers.h | 47 int64_t icount_get_raw(void); 50 int64_t icount_get(void); 57 int64_t icount_to_ns(int64_t icount); 69 int64_t icount_round(int64_t count); 89 int64_t cpu_get_ticks(void); 95 int64_t cpu_get_clock(void); 100 int64_t cpus_get_virtual_clock(void); 101 void cpus_set_virtual_clock(int64_t new_time); 102 int64_t cpus_get_elapsed_ticks(void);
|
/openbmc/qemu/include/block/ |
H A D | block-io.h | 45 bdrv_pwrite_zeroes(BdrvChild *child, int64_t offset, int64_t bytes, 51 bdrv_pread(BdrvChild *child, int64_t offset, int64_t bytes, void *buf, 55 bdrv_pwrite(BdrvChild *child, int64_t offset,int64_t bytes, 59 bdrv_pwrite_sync(BdrvChild *child, int64_t offset, int64_t bytes, 63 bdrv_co_pwrite_sync(BdrvChild *child, int64_t offset, int64_t bytes, 73 bdrv_co_pwrite_zeroes(BdrvChild *child, int64_t offset, int64_t bytes, 77 bdrv_co_truncate(BdrvChild *child, int64_t offset, bool exact, 80 int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_nb_sectors(BlockDriverState *bs); 81 int64_t coroutine_mixed_fn bdrv_nb_sectors(BlockDriverState *bs); 83 int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_getlength(BlockDriverState *bs); [all …]
|
H A D | block_int-io.h | 39 int64_t offset, int64_t bytes, QEMUIOVector *qiov, size_t qiov_offset); 41 BlockDriverState *bs, bool want_zero, int64_t offset, int64_t bytes, 42 int64_t *pnum, int64_t *map, BlockDriverState **file); 44 int64_t offset, int64_t bytes); 48 int64_t offset, int64_t bytes, QEMUIOVector *qiov, 51 int64_t offset, int64_t bytes, 54 int64_t offset, int64_t bytes, QEMUIOVector *qiov, 57 int64_t offset, int64_t bytes, 61 int64_t offset, int64_t bytes, void *buf, BdrvRequestFlags flags) in bdrv_co_pread() 71 int64_t offset, int64_t bytes, const void *buf, BdrvRequestFlags flags) in bdrv_co_pwrite() [all …]
|
H A D | dirty-bitmap.h | 55 int64_t bdrv_dirty_bitmap_size(const BdrvDirtyBitmap *bitmap); 57 int64_t offset, int64_t bytes); 59 int64_t offset, int64_t bytes); 90 bool bdrv_dirty_bitmap_get(BdrvDirtyBitmap *bitmap, int64_t offset); 95 bool bdrv_dirty_bitmap_get_locked(BdrvDirtyBitmap *bitmap, int64_t offset); 97 int64_t offset, int64_t bytes); 99 int64_t offset, int64_t bytes); 100 int64_t bdrv_dirty_iter_next(BdrvDirtyBitmapIter *iter); 101 void bdrv_set_dirty_iter(BdrvDirtyBitmapIter *hbi, int64_t offset); 102 int64_t bdrv_get_dirty_count(BdrvDirtyBitmap *bitmap); [all …]
|
H A D | block_int-common.h | 78 int64_t offset; 79 int64_t bytes; 83 int64_t overlap_offset; 84 int64_t overlap_bytes; 499 int64_t offset, int64_t bytes, QEMUIOVector *qiov, 503 int64_t offset, int64_t bytes, QEMUIOVector *qiov, 510 BlockDriverState *bs, int64_t offset, int bytes, 514 int64_t sector_num, int nb_sectors, QEMUIOVector *qiov); 532 int64_t offset, int64_t bytes, QEMUIOVector *qiov, 536 BlockDriverState *bs, int64_t offset, int64_t bytes, [all …]
|
H A D | reqlist.h | 27 int64_t offset; 28 int64_t bytes; 40 void reqlist_init_req(BlockReqList *reqs, BlockReq *req, int64_t offset, 41 int64_t bytes); 43 BlockReq *reqlist_find_conflict(BlockReqList *reqs, int64_t offset, 44 int64_t bytes); 53 bool coroutine_fn reqlist_wait_one(BlockReqList *reqs, int64_t offset, 54 int64_t bytes, CoMutex *lock); 61 void coroutine_fn reqlist_wait_all(BlockReqList *reqs, int64_t offset, 62 int64_t bytes, CoMutex *lock); [all …]
|
H A D | block-copy.h | 41 void block_copy_reset(BlockCopyState *s, int64_t offset, int64_t bytes); 43 int64_t coroutine_fn GRAPH_RDLOCK 44 block_copy_reset_unallocated(BlockCopyState *s, int64_t offset, int64_t *count); 46 int coroutine_fn block_copy(BlockCopyState *s, int64_t offset, int64_t bytes, 64 int64_t offset, int64_t bytes, 65 int max_workers, int64_t max_chunk, 101 int64_t block_copy_cluster_size(BlockCopyState *s);
|
/openbmc/phosphor-pid-control/experiments/ |
H A D | drive.cpp | 47 int64_t getAverage(std::tuple<tstamp, int64_t, int64_t>& values) in getAverage() argument 52 bool valueClose(int64_t value, int64_t goal) in valueClose() 55 int64_t delta = 100; /* within 100 */ in valueClose() 72 static void driveGoal(int64_t& seriesCnt, int64_t setPwm, int64_t goal, in driveGoal() argument 73 std::vector<std::tuple<tstamp, int64_t, int64_t>>& series, in driveGoal() 89 int64_t n0 = static_cast<int64_t>(r0.value); in driveGoal() 90 int64_t n1 = static_cast<int64_t>(r1.value); in driveGoal() 97 int64_t avgn = (n0 + n1) / 2; in driveGoal() 105 std::tuple<tstamp, int64_t, int64_t> nm2 = series.at(seriesCnt - 3); in driveGoal() 107 std::tuple<tstamp, int64_t, int64_t> nm1 = series.at(seriesCnt - 2); in driveGoal() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | timer.h | 85 int64_t expire_time; /* in nanoseconds */ 105 int64_t qemu_clock_get_ns(QEMUClockType type); 116 static inline int64_t qemu_clock_get_ms(QEMUClockType type) in qemu_clock_get_ms() 130 static inline int64_t qemu_clock_get_us(QEMUClockType type) in qemu_clock_get_us() 191 int64_t qemu_clock_deadline_ns_all(QEMUClockType type, int attr_mask); 252 int64_t qemu_clock_advance_virtual_time(int64_t target_ns); 317 int64_t timerlist_deadline_ns(QEMUTimerList *timer_list); 389 int64_t timerlistgroup_deadline_ns(QEMUTimerListGroup *tlg); 642 void timer_mod_ns(QEMUTimer *ts, int64_t expire_time); 655 void timer_mod_anticipate_ns(QEMUTimer *ts, int64_t expire_time); [all …]
|
H A D | hbitmap.h | 300 int64_t hbitmap_next_dirty(const HBitmap *hb, int64_t start, int64_t count); 312 int64_t hbitmap_next_zero(const HBitmap *hb, int64_t start, int64_t count); 328 bool hbitmap_next_dirty_area(const HBitmap *hb, int64_t start, int64_t end, 329 int64_t max_dirty_count, 330 int64_t *dirty_start, int64_t *dirty_count); 341 bool hbitmap_status(const HBitmap *hb, int64_t start, int64_t count, 342 int64_t *pnum); 351 int64_t hbitmap_iter_next(HBitmapIter *hbi);
|
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/ |
H A D | test_r5900_madd.c | 9 int64_t madd(int64_t a, int32_t rs, int32_t rt) in madd() 14 int64_t r; in madd() 24 r = ((int64_t)hi << 32) | (uint32_t)lo; in madd() 26 assert(a + (int64_t)rs * rt == r); in madd() 32 int64_t madd1(int64_t a, int32_t rs, int32_t rt) in madd1() 37 int64_t r; in madd1() 47 r = ((int64_t)hi << 32) | (uint32_t)lo; in madd1() 49 assert(a + (int64_t)rs * rt == r); in madd1() 55 static int64_t madd_variants(int64_t a, int32_t rs, int32_t rt) in madd_variants() 57 int64_t rd = madd(a, rs, rt); in madd_variants() [all …]
|
H A D | test_r5900_mult.c | 9 static int64_t mult(int32_t rs, int32_t rt) in mult() 12 int64_t r; in mult() 20 r = ((int64_t)hi << 32) | (uint32_t)lo; in mult() 22 assert((int64_t)rs * rt == r); in mult() 28 static int64_t mult1(int32_t rs, int32_t rt) in mult1() 31 int64_t r; in mult1() 39 r = ((int64_t)hi << 32) | (uint32_t)lo; in mult1() 41 assert((int64_t)rs * rt == r); in mult1() 47 static int64_t mult_variants(int32_t rs, int32_t rt) in mult_variants() 49 int64_t rd = mult(rs, rt); in mult_variants() [all …]
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | multi_result.c | 54 static int64_t vacsh(int64_t Rxx, int64_t Rss, int64_t Rtt, in vacsh() 57 int64_t result = Rxx; in vacsh() 79 static int64_t vminub(int64_t Rtt, int64_t Rss, int32_t *pred_result) in vminub() 81 int64_t result; in vminub() 93 static int64_t add_carry(int64_t Rss, int64_t Rtt, in add_carry() 96 int64_t result; in add_carry() 109 static int64_t sub_carry(int64_t Rss, int64_t Rtt, in sub_carry() 112 int64_t result; in sub_carry() 151 int64_t res64; in test_vacsh() 186 int64_t res64; in test_vminub() [all …]
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuswrite.hpp | 35 createDbusWrite(const std::string& path, int64_t min, int64_t max, 38 DbusWritePercent(const std::string& path, int64_t min, int64_t max, in DbusWritePercent() 44 void write(double value, bool force, int64_t* written) override; 49 int64_t oldValue = -1; 56 createDbusWrite(const std::string& path, int64_t min, int64_t max, 59 DbusWrite(const std::string& path, int64_t min, int64_t max, in DbusWrite() 65 void write(double value, bool needRedundant, int64_t* rawWritten) override; 70 int64_t oldValue = -1;
|
/openbmc/qemu/target/mips/tcg/ |
H A D | vr54xx_helper.c | 50 return set_HI_LOT0(env, 0 - ((int64_t)(int32_t)arg1 * in helper_muls() 51 (int64_t)(int32_t)arg2)); in helper_muls() 64 return set_HI_LOT0(env, (int64_t)get_HILO(env) + (int64_t)(int32_t)arg1 * in helper_macc() 65 (int64_t)(int32_t)arg2); in helper_macc() 71 return set_HIT0_LO(env, (int64_t)get_HILO(env) + (int64_t)(int32_t)arg1 * in helper_macchi() 72 (int64_t)(int32_t)arg2); in helper_macchi() 92 return set_HI_LOT0(env, (int64_t)get_HILO(env) - (int64_t)(int32_t)arg1 * in helper_msac() 93 (int64_t)(int32_t)arg2); in helper_msac() 99 return set_HIT0_LO(env, (int64_t)get_HILO(env) - (int64_t)(int32_t)arg1 * in helper_msachi() 100 (int64_t)(int32_t)arg2); in helper_msachi() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | icount-common.c | 71 static int64_t icount_get_executed(CPUState *cpu) in icount_get_executed() 84 int64_t executed = icount_get_executed(cpu); in icount_update_locked() 105 static int64_t icount_get_raw_locked(void) in icount_get_raw_locked() 121 static int64_t icount_get_locked(void) in icount_get_locked() 123 int64_t icount = icount_get_raw_locked(); in icount_get_locked() 128 int64_t icount_get_raw(void) in icount_get_raw() 130 int64_t icount; in icount_get_raw() 142 int64_t icount_get(void) in icount_get() 144 int64_t icount; in icount_get() 155 int64_t icount_to_ns(int64_t icount) in icount_to_ns() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_quota.h | 64 int64_t qt_bcount_delta; /* dquot blk count changes */ 65 int64_t qt_delbcnt_delta; /* delayed dquot blk count changes */ 69 int64_t qt_rtbcount_delta;/* dquot realtime blk changes */ 70 int64_t qt_delrtb_delta; /* delayed RT blk count changes */ 74 int64_t qt_icount_delta; /* dquot inode count changes */ 81 uint, int64_t); 85 int64_t dblocks, int64_t rblocks, bool force); 88 struct xfs_dquot *, struct xfs_dquot *, int64_t, long, uint); 91 struct xfs_dquot *pdqp, int64_t dblocks); 112 xfs_quota_reserve_blkres(struct xfs_inode *ip, int64_t blocks) in xfs_quota_reserve_blkres() [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | dbus_util_unittest.cpp | 95 std::map<std::string, int64_t> zones = { in TEST() 98 const std::map<std::string, int64_t> expected_zones = { in TEST() 109 std::map<std::string, int64_t> zones; in TEST() 110 const std::map<std::string, int64_t> expected_zones = { in TEST() 120 std::map<std::string, int64_t> zones = { in TEST() 123 const std::map<std::string, int64_t> expected_zones = { in TEST() 133 constexpr int64_t index = 0; in TEST() 134 std::map<std::string, int64_t> zones; in TEST() 135 const std::map<std::string, int64_t> expected_zones = { in TEST() 145 constexpr int64_t index = 5; in TEST() [all …]
|
/openbmc/qemu/block/ |
H A D | coroutines.h | 51 int64_t offset, 52 int64_t bytes, 53 int64_t *pnum, 54 int64_t *map, 59 bdrv_co_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); 62 bdrv_co_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos); 82 int64_t offset, 83 int64_t bytes, 84 int64_t *pnum, 85 int64_t *map,
|
H A D | snapshot-access.c | 31 int64_t offset, int64_t bytes, in snapshot_access_co_preadv_part() 44 bool want_zero, int64_t offset, in snapshot_access_co_block_status() 45 int64_t bytes, int64_t *pnum, in snapshot_access_co_block_status() 46 int64_t *map, BlockDriverState **file) in snapshot_access_co_block_status() 53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard() 60 int64_t offset, int64_t bytes, in snapshot_access_co_pwrite_zeroes() 68 int64_t offset, int64_t bytes, in snapshot_access_co_pwritev_part()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-call.c | 96 static int64_t opal_call(int64_t a0, int64_t a1, int64_t a2, int64_t a3, in opal_call() 97 int64_t a4, int64_t a5, int64_t a6, int64_t a7, int64_t opcode) in opal_call() 102 int64_t ret; in opal_call() 127 int64_t name(int64_t a0, int64_t a1, int64_t a2, int64_t a3, \ 128 int64_t a4, int64_t a5, int64_t a6, int64_t a7); \ 129 int64_t name(int64_t a0, int64_t a1, int64_t a2, int64_t a3, \ 130 int64_t a4, int64_t a5, int64_t a6, int64_t a7) \
|
/openbmc/bios-settings-mgr/include/ |
H A D | manager.hpp | 47 std::variant<int64_t, std::string>, 48 std::variant<int64_t, std::string>, 50 BoundType, std::variant<int64_t, std::string>, std::string>>>>; 55 std::variant<int64_t, std::string>, 56 std::variant<int64_t, std::string>, 58 BoundType, std::variant<int64_t, std::string>>>>>; 64 std::tuple<AttributeType, std::variant<int64_t, std::string>>>; 67 std::tuple<AttributeType, std::variant<int64_t, std::string>>; 70 using AttributeValue = std::variant<int64_t, std::string>; 71 using CurrentValue = std::variant<int64_t, std::string>; [all …]
|