Searched refs:new_ts (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/time/ |
D | time.c | 202 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 …]
|
/linux-6.6.21/drivers/staging/media/meson/vdec/ |
D | vdec_helpers.c | 233 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()
|
/linux-6.6.21/drivers/media/dvb-core/ |
D | dvb_net.c | 312 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()
|
/linux-6.6.21/tools/perf/util/ |
D | thread-stack.c | 178 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-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_phc.c | 68 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()
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 1317 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()
|