Home
last modified time | relevance | path

Searched refs:new_ts (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/time/
H A Dtime.c202 struct timespec64 new_ts; in SYSCALL_DEFINE2() local
206 if (get_user(new_ts.tv_sec, &tv->tv_sec) || in SYSCALL_DEFINE2()
207 get_user(new_ts.tv_nsec, &tv->tv_usec)) in SYSCALL_DEFINE2()
210 if (new_ts.tv_nsec >= USEC_PER_SEC || new_ts.tv_nsec < 0) in SYSCALL_DEFINE2()
213 new_ts.tv_nsec *= NSEC_PER_USEC; in SYSCALL_DEFINE2()
220 return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in SYSCALL_DEFINE2()
246 struct timespec64 new_ts; in COMPAT_SYSCALL_DEFINE2() local
250 if (get_user(new_ts.tv_sec, &tv->tv_sec) || in COMPAT_SYSCALL_DEFINE2()
251 get_user(new_ts in COMPAT_SYSCALL_DEFINE2()
[all...]
/linux/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.c233 struct amvdec_timestamp *new_ts; in amvdec_add_ts() local
236 new_ts = kzalloc_obj(*new_ts); in amvdec_add_ts()
237 if (!new_ts) in amvdec_add_ts()
240 new_ts->ts = ts; in amvdec_add_ts()
241 new_ts->tc = tc; in amvdec_add_ts()
242 new_ts->offset = offset; in amvdec_add_ts()
243 new_ts->flags = vbuf_flags; in amvdec_add_ts()
246 list_add_tail(&new_ts->list, &sess->timestamps); in amvdec_add_ts()
/linux/drivers/media/dvb-core/
H A Ddvb_net.c315 u8 ts_remain, how_much, new_ts; member
527 h->new_ts = 1; in dvb_net_ule_new_payload()
555 h->new_ts = 1; in dvb_net_ule_new_payload()
777 .new_ts = 1, in dvb_net_ule()
787 if (h.new_ts) { in dvb_net_ule()
799 if (h.new_ts) { in dvb_net_ule()
855 h.new_ts = 0; in dvb_net_ule()
865 h.new_ts = 1; in dvb_net_ule()
/linux/tools/perf/util/
H A Dthread-stack.c178 struct thread_stack *ts = thread__ts(thread), *new_ts; in thread_stack__new() local
186 new_ts = calloc(new_sz, sizeof(*ts)); in thread_stack__new()
187 if (!new_ts) in thread_stack__new()
190 memcpy(new_ts, ts, old_sz * sizeof(*ts)); in thread_stack__new()
191 new_ts->arr_sz = new_sz; in thread_stack__new()
193 thread__set_ts(thread, new_ts); in thread_stack__new()
194 ts = new_ts; in thread_stack__new()
/linux/drivers/hv/
H A Dhv_util.c352 struct timespec64 new_ts; in hv_implicit_sync() local
355 new_ts = ns_to_timespec64(reftime_to_ns(host_time)); in hv_implicit_sync()
363 if (timespec64_compare(&new_ts, &threshold_ts) >= 0) in hv_implicit_sync()
/linux/drivers/gpu/drm/xe/
H A Dxe_lrc.c2722 u64 reg_ts, new_ts = lrc->ctx_timestamp;
2730 new_ts = reg_ts;
2739 return new_ts;
2616 u64 lrc_ts, reg_ts, new_ts = lrc->ctx_timestamp; xe_lrc_timestamp() local
H A Dxe_exec_queue.c1535 u64 old_ts, new_ts; in xe_exec_queue_update_run_ticks() local
1557 new_ts = xe_lrc_update_timestamp(lrc, &old_ts); in xe_exec_queue_update_run_ticks()
1558 q->xef->run_ticks[q->class] += (new_ts - old_ts) * q->width; in xe_exec_queue_update_run_ticks()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c1619 static bool aq_ptp_sync_ts_updated(struct aq_ptp_s *aq_ptp, u64 *new_ts)
1640 *new_ts = sync_ts;
1316 aq_ptp_sync_ts_updated(struct aq_ptp_s * aq_ptp,u64 * new_ts) aq_ptp_sync_ts_updated() argument