s64
s64 expires; /* relative time in nanoseconds */
s64 precision; /* in nanoseconds */
ktime_t retval = {(s64) secs * NSEC_PER_SEC + (s64) nsecs};
typedef s64 ktime_t;
#define KTIME_MAX ((s64)~((u64)1 << 63))
int (*adjtime)(struct ptp_clock_info *, s64);
void (*offset_tsf)(struct ieee80211_hw *, struct ieee80211_vif *, s64);
static int xgbe_adjtime(struct ptp_clock_info *info, s64 delta)
s64 framedur_ns, linedur_ns, pixeldur_ns;
s64 diff_ns;
s64 linedur_ns = 0, pixeldur_ns = 0, framedur_ns = 0;
pixeldur_ns = (s64) div64_u64(1000000000, dotclock);
linedur_ns = (s64) div64_u64(((u64) crtc->hwmode.crtc_htotal *
framedur_ns = (s64) crtc->hwmode.crtc_vtotal * linedur_ns;
s64 framedur_ns, linedur_ns, pixeldur_ns, delta_ns, duration_ns;
if (duration_ns <= (s64) *max_error)
delta_ns = (s64) vpos * linedur_ns + (s64) hpos * pixeldur_ns;
s64 diff_ns;
s64 lat_ns;
s64 value;
lat_ns = ((s64)rxa * 1024 -
(2 * (s64)hw->mac.max_frame_size)) * 8 * 1000;
s64 bytes_per_sec, wakeup_int, wakeup_a, wakeup_b, wakeup_f;
bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE);
wakeup_b = (s64)ICE_RL_PROF_MULTIPLIER * wakeup_int;
wakeup_a = DIV_S64((s64)ICE_RL_PROF_MULTIPLIER *
s64 bytes_per_sec, ts_rate, mv_tmp;
s64 mv = 0;
bytes_per_sec = DIV_S64((s64)bw * 1000, BITS_PER_BYTE);
ts_rate = DIV_S64((s64)hw->psm_clk_freq,
static inline s64 DIV_S64(s64 dividend, s64 divisor)
s64 mlx4_read_clock(struct mlx4_dev *dev);
s64 mlx4_read_clock(struct mlx4_dev *dev)
s64 cycles;
s64 mlx5_wait_for_reclaim_vfs_pages(struct mlx5_core_dev *dev);
s64 fw_pages;
s64 pages_per_func[MLX5_MAX_NUMBER_OF_VFS];
s64 ds;
s64 ds;
s64 mlx5_wait_for_reclaim_vfs_pages(struct mlx5_core_dev *dev)
s64 prevpages = 0;
s64 npages = 0;
m(+1, s64, irq_cpu_base, "irq_cpu_base", "-1: Don't bind IRQ 0..NCPU-1: select this base CPU when binding IRQs") \
m(+1, s64, irq_cpu_stride, "irq_cpu_stride", "0..NCPU-1: Distance between IRQ vectors when binding them")
s64 size;
s64 icm_size;
s64 mthca_make_profile(struct mthca_dev *dev,
s64 total_size = 0;
s64 mthca_make_profile(struct mthca_dev *mdev,
sbuf_printf(buf, "%jd", (intmax_t)vsd->int64.s64);
if (VSD(int64, vsd)->s64 < voival->int64.s64) {
VSD(int64, vsd)->s64 = voival->int64.s64;
if (VSD(int64, vsd)->s64 > voival->int64.s64) {
VSD(int64, vsd)->s64 = voival->int64.s64;
VSD(int64, vsd)->s64 += voival->int64.s64;
if (voival->int64.s64 >= bkt_lb->int64.s64)
if ((eq_only && voival->int64.s64 ==
bkt_lb->int64.s64) ||
voival->int64.s64 < bkt_ub->int64.s64)))
[VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MIN}},
[VSD_DTYPE_INT_S64] = {.int64 = {.s64 = INT64_MAX}},
error = Q_QCPYVALI(&x, voival->int64.s64);
voival->int64.s64 +=
VSD(voistate, statevsd)->prev.int64.s64;
VSD(voistate, statevsd)->prev.int64.s64 =
voival->int64.s64;
curstepexp) <= bkt_lb->int64.s64)
bkt_ub->int64.s64 += (int64_t)step;
done = (bkt_ub.int64.s64 > info->ub.int64.s64);
*((int64_t *)vss->iv) = iv.int64.s64;
struct ib_uverbs_file *ufile, s64 id,
struct ib_uverbs_file *ufile, s64 id,
struct ib_uverbs_file *ufile, s64 id,
s64 id, struct uverbs_attr_bundle *attrs)
s64 id = o_attr->uobject->id;
int _uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle,
size_t idx, s64 lower_bound, u64 upper_bound,
s64 *def_val)
s64 id, struct uverbs_attr_bundle *attrs);
int _uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle,
size_t idx, s64 lower_bound, u64 upper_bound,
s64 *def_val);
_uverbs_get_const(s64 *to, const struct uverbs_attr_bundle *attrs_bundle,
size_t idx, s64 lower_bound, u64 upper_bound,
s64 *def_val)
s64 _val; \
s64 _val; \
s64 _def_val = _default; \
struct ib_uverbs_file *ufile, s64 id,
struct ib_uverbs_file *ufile, s64 id,
tmp.int64.s64 = voival;
tmp.int64.s64 = voival;
int64_t s64;
*ret = vsd->int64.s64;
s64q_t s64;
Q_INI(&s64, QTEST_IV, 0, QTEST_RPSHFT);
Q_TOSTR(s64, -1, 10, buf, sizeof(buf));
ATF_CHECK_EQ(sizeof(s64) << 3, Q_NTBITS(s64));
ATF_CHECK_EQ(QTEST_RPSHFT, Q_NFBITS(s64));
ATF_CHECK_EQ(QTEST_INTBITS(s64), Q_NIBITS(s64));
ATF_CHECK_EQ(QTEST_QITRUNC(s64, INT64_MAX), Q_IMAXVAL(s64));
ATF_CHECK_EQ(-Q_IMAXVAL(s64), Q_IMINVAL(s64));