Home
last modified time | relevance | path

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

/openbmc/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.tv_nsec, &tv->tv_usec)) in COMPAT_SYSCALL_DEFINE2()
254 if (new_ts.tv_nsec > USEC_PER_SEC || new_ts.tv_nsec < 0) in COMPAT_SYSCALL_DEFINE2()
[all …]
/openbmc/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(sizeof(*new_ts), GFP_KERNEL); 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()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_net.c312 u8 ts_remain, how_much, new_ts; member
524 h->new_ts = 1; in dvb_net_ule_new_payload()
552 h->new_ts = 1; in dvb_net_ule_new_payload()
774 .new_ts = 1, in dvb_net_ule()
784 if (h.new_ts) { in dvb_net_ule()
796 if (h.new_ts) { in dvb_net_ule()
852 h.new_ts = 0; in dvb_net_ule()
862 h.new_ts = 1; in dvb_net_ule()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c68 struct hwtstamp_config *new_ts) in ionic_lif_hwstamp_set_ts_config() argument
84 if (new_ts) { in ionic_lif_hwstamp_set_ts_config()
85 config = new_ts; in ionic_lif_hwstamp_set_ts_config()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c1317 static bool aq_ptp_sync_ts_updated(struct aq_ptp_s *aq_ptp, u64 *new_ts) in aq_ptp_sync_ts_updated() argument
1338 *new_ts = sync_ts; in aq_ptp_sync_ts_updated()