Searched refs:ts (Results 51 - 75 of 795) sorted by last modified time

1234567891011>>

/linux-master/drivers/scsi/lpfc/
H A Dlpfc_init.c105 static void lpfc_cgn_update_tstamp(struct lpfc_hba *phba, struct lpfc_cgn_ts *ts);
5649 * @ts: structure to write the timestamp to.
5652 lpfc_cgn_update_tstamp(struct lpfc_hba *phba, struct lpfc_cgn_ts *ts) argument
5660 ts->month = tm_val.tm_mon + 1;
5661 ts->day = tm_val.tm_mday;
5662 ts->year = tm_val.tm_year - 100;
5663 ts->hour = tm_val.tm_hour;
5664 ts->minute = tm_val.tm_min;
5665 ts->second = tm_val.tm_sec;
5670 ts
[all...]
/linux-master/drivers/md/
H A Ddm-integrity.c1446 unsigned int i, ts; local
1448 ts = total_size;
1450 for (i = 0; i < to_copy; i++, ts--) {
1459 return ts;
/linux-master/net/ipv4/
H A Dtcp.c1734 tss->ts[0] = ktime_to_timespec64(skb->tstamp);
1736 tss->ts[0] = (struct timespec64) {0};
1739 tss->ts[2] = ktime_to_timespec64(skb_hwtstamps(skb)->hwtstamp);
1741 tss->ts[2] = (struct timespec64) {0};
2230 if (tss->ts[0].tv_sec || tss->ts[0].tv_nsec) {
2235 .tv_sec = tss->ts[0].tv_sec,
2236 .tv_nsec = tss->ts[0].tv_nsec,
2242 .tv_sec = tss->ts[0].tv_sec,
2243 .tv_nsec = tss->ts[
[all...]
H A Dsyncookies.c64 u64 ts, ts_now = tcp_ns_to_ts(false, now); local
73 ts = (ts_now >> TSBITS) << TSBITS;
74 ts |= options;
75 if (ts > ts_now)
76 ts -= (1UL << TSBITS);
79 return ts * NSEC_PER_USEC;
80 return ts * NSEC_PER_MSEC;
/linux-master/net/core/
H A Dsock.c3599 struct timespec64 ts; local
3602 ts = ktime_to_timespec64(sock_read_timestamp(sk));
3603 if (ts.tv_sec == -1)
3605 if (ts.tv_sec == 0) {
3608 ts = ktime_to_timespec64(kt);
3612 ts.tv_nsec /= 1000;
3616 return put_old_timespec32(&ts, userstamp);
3622 .tv_sec = ts.tv_sec,
3623 .tv_usec = ts.tv_nsec,
3630 return put_timespec64(&ts, userstam
[all...]
/linux-master/kernel/time/
H A Dposix-clock.c270 static int pc_clock_gettime(clockid_t id, struct timespec64 *ts) argument
280 err = cd.clk->ops.clock_gettime(cd.clk, ts);
289 static int pc_clock_getres(clockid_t id, struct timespec64 *ts) argument
299 err = cd.clk->ops.clock_getres(cd.clk, ts);
308 static int pc_clock_settime(clockid_t id, const struct timespec64 *ts) argument
323 err = cd.clk->ops.clock_settime(cd.clk, ts);
/linux-master/include/linux/
H A Dskbuff.h4228 struct timespec64 ts = ktime_to_timespec64(skb->tstamp); local
4230 stamp->tv_sec = ts.tv_sec;
4231 stamp->tv_usec = ts.tv_nsec / 1000;
4237 struct timespec64 ts = ktime_to_timespec64(skb->tstamp); local
4239 stamp->tv_sec = ts.tv_sec;
4240 stamp->tv_nsec = ts.tv_nsec;
4246 struct timespec64 ts = ktime_to_timespec64(skb->tstamp); local
4248 stamp->tv_sec = ts.tv_sec;
4249 stamp->tv_nsec = ts.tv_nsec;
H A Dsocket.h399 struct timespec64 ts[3]; member in struct:scm_timestamping_internal
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c1572 struct task_struct *ts;
1581 ts = kthread_run(qeth_do_reset, card, "qeth_recover");
1582 if (IS_ERR(ts)) {
1569 struct task_struct *ts; local
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drxmq.c2244 time_after(jiffies, mvm->tcm.ts + MVM_TCM_PERIOD))
H A Dmvm.h628 unsigned long ts; /* timestamp when period ends */ member in struct:iwl_mvm_tcm
/linux-master/kernel/printk/
H A Dprintk.c1326 static size_t print_time(u64 ts, char *buf) argument
1328 unsigned long rem_nsec = do_div(ts, 1000000000);
1331 (unsigned long)ts, rem_nsec / 1000);
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h399 struct timespec64 ts[3]; member in struct:scm_timestamping_internal
/linux-master/net/
H A Dsocket.c932 struct __kernel_timespec ts; local
934 skb_get_new_timestampns(skb, &ts);
936 sizeof(ts), &ts);
938 struct __kernel_old_timespec ts; local
940 skb_get_timestampns(skb, &ts);
942 sizeof(ts), &ts);
950 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0))
965 if (ktime_to_timespec64_cond(hwtstamp, tss.ts
[all...]
/linux-master/net/packet/
H A Daf_packet.c454 static __u32 tpacket_get_timestamp(struct sk_buff *skb, struct timespec64 *ts, argument
461 ktime_to_timespec64_cond(shhwtstamps->hwtstamp, ts))
465 ktime_to_timespec64_cond(skb_tstamp(skb), ts))
475 struct timespec64 ts; local
478 if (!(ts_status = tpacket_get_timestamp(skb, &ts, READ_ONCE(po->tp_tstamp))))
491 h.h1->tp_sec = ts.tv_sec;
492 h.h1->tp_usec = ts.tv_nsec / NSEC_PER_USEC;
495 h.h2->tp_sec = ts.tv_sec;
496 h.h2->tp_nsec = ts.tv_nsec;
499 h.h3->tp_sec = ts
823 struct timespec64 ts; local
854 struct timespec64 ts; local
2249 struct timespec64 ts; local
2517 __u32 ts; local
[all...]
/linux-master/io_uring/
H A Dwaitid.c19 static void io_waitid_cb(struct io_kiocb *req, struct io_tw_state *ts);
121 struct io_tw_state ts = { .locked = true }; local
134 io_req_task_complete(req, &ts);
225 static void io_waitid_cb(struct io_kiocb *req, struct io_tw_state *ts) argument
231 io_tw_lock(ctx, ts);
H A Dpoll.c152 static void io_poll_tw_hash_eject(struct io_kiocb *req, struct io_tw_state *ts) argument
163 io_tw_lock(ctx, ts);
263 static int io_poll_check_events(struct io_kiocb *req, struct io_tw_state *ts) argument
325 if (!io_fill_cqe_req_aux(req, ts->locked, mask,
331 int ret = io_poll_issue(req, ts);
353 void io_poll_task_func(struct io_kiocb *req, struct io_tw_state *ts) argument
357 ret = io_poll_check_events(req, ts);
365 io_poll_tw_hash_eject(req, ts);
374 io_req_task_submit(req, ts);
382 io_req_task_complete(req, ts);
[all...]
H A Dfutex.c53 static void __io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) argument
57 io_req_task_complete(req, ts);
60 static void io_futex_complete(struct io_kiocb *req, struct io_tw_state *ts) argument
65 io_tw_lock(ctx, ts);
68 __io_futex_complete(req, ts);
71 static void io_futexv_complete(struct io_kiocb *req, struct io_tw_state *ts) argument
76 io_tw_lock(req->ctx, ts);
88 __io_futex_complete(req, ts);
/linux-master/fs/exfat/
H A Dnamei.c470 struct timespec64 ts = current_time(inode); local
506 exfat_init_dir_entry(&es, type, start_clu, clu_size, &ts);
H A Dexfat_fs.h483 unsigned long long size, struct timespec64 *ts);
552 void exfat_get_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts,
554 void exfat_truncate_atime(struct timespec64 *ts);
556 void exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts,
H A Dinode.c29 struct timespec64 ts; local
59 ts = inode_get_mtime(inode);
60 exfat_set_entry_time(sbi, &ts,
65 ts = inode_get_atime(inode);
66 exfat_set_entry_time(sbi, &ts,
H A Ddir.c453 unsigned long long size, struct timespec64 *ts)
461 exfat_set_entry_time(sbi, ts,
466 exfat_set_entry_time(sbi, ts,
471 exfat_set_entry_time(sbi, ts,
451 exfat_init_dir_entry(struct exfat_entry_set_cache *es, unsigned int type, unsigned int start_clu, unsigned long long size, struct timespec64 *ts) argument
/linux-master/drivers/usb/gadget/function/
H A Duvc_video.c33 struct timespec64 ts = ns_to_timespec64(buf->buf.vb2_buf.timestamp); local
41 if (video->queue.buf_used == 0 && ts.tv_sec) {
43 u32 pts = ((u64)ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC) * 48;
54 ktime_get_ts64(&ts);
55 stc = ((u64)ts.tv_sec * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC) * 48;
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c270 struct tx_ts_record *ts = NULL; local
292 if (!rtllib_get_ts(ieee, (struct ts_common_info **)(&ts), hdr->addr1,
297 if (!ts->tx_admitted_ba_record.b_valid) {
303 } else if (!ts->disable_add_ba) {
304 TsStartAddBaProcess(ieee, ts);
307 } else if (!ts->using_ba) {
308 if (SN_LESS(ts->tx_admitted_ba_record.ba_start_seq_ctrl.field.seq_num,
309 (ts->tx_cur_seq + 1) % 4096))
310 ts->using_ba = true;
476 struct tx_ts_record *ts local
[all...]
H A Drtllib_rx.c406 static bool AddReorderEntry(struct rx_ts_record *ts, argument
409 struct list_head *pList = &ts->rx_pending_pkt_list;
411 while (pList->next != &ts->rx_pending_pkt_list) {
491 struct rx_ts_record *ts)
496 del_timer_sync(&ts->rx_pkt_pending_timer);
497 while (!list_empty(&ts->rx_pending_pkt_list)) {
506 list_entry(ts->rx_pending_pkt_list.prev,
520 ts->rx_indicate_seq = 0xffff;
525 struct rx_ts_record *ts, u16 SeqNum)
536 "%s(): Seq is %d, ts
490 rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, struct rx_ts_record *ts) argument
523 RxReorderIndicatePacket(struct rtllib_device *ieee, struct rtllib_rxb *prxb, struct rx_ts_record *ts, u16 SeqNum) argument
891 struct rx_ts_record *ts = NULL; local
1233 struct rx_ts_record *ts = NULL; local
[all...]

Completed in 617 milliseconds

1234567891011>>