/linux-master/io_uring/ |
H A D | io_uring.c | 256 struct io_tw_state ts = { .locked = true, }; local 261 req->io_task_work.func(req, &ts); 262 if (WARN_ON_ONCE(!ts.locked)) 1160 static void ctx_flush_and_put(struct io_ring_ctx *ctx, struct io_tw_state *ts) argument 1166 if (ts->locked) { 1169 ts->locked = false; 1184 struct io_tw_state ts = { }; local 1192 ctx_flush_and_put(ctx, &ts); 1195 ts.locked = mutex_trylock(&ctx->uring_lock); 1200 req, &ts); 1425 __io_run_local_work(struct io_ring_ctx *ctx, struct io_tw_state *ts, int min_events) argument 1469 struct io_tw_state ts = { .locked = true, }; local 1484 struct io_tw_state ts = {}; local 1495 io_req_task_cancel(struct io_kiocb *req, struct io_tw_state *ts) argument 1501 io_req_task_submit(struct io_kiocb *req, struct io_tw_state *ts) argument 1712 io_req_task_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 1925 io_poll_issue(struct io_kiocb *req, struct io_tw_state *ts) argument 2614 struct timespec64 ts; local 3571 io_get_ext_arg(unsigned flags, const void __user *argp, size_t *argsz, struct __kernel_timespec __user **ts, const sigset_t __user **sig) argument 3707 struct __kernel_timespec __user *ts; local [all...] |
H A D | rw.c | 301 void io_req_rw_complete(struct io_kiocb *req, struct io_tw_state *ts) argument 315 unsigned issue_flags = ts->locked ? 0 : IO_URING_F_UNLOCKED; 319 io_req_task_complete(req, ts);
|
/linux-master/include/linux/ |
H A D | io_uring_types.h | 563 typedef void (*io_req_tw_func_t)(struct io_kiocb *req, struct io_tw_state *ts);
|
H A D | timekeeping.h | 20 extern int do_settimeofday64(const struct timespec64 *ts); 42 extern void ktime_get_raw_ts64(struct timespec64 *ts); 43 extern void ktime_get_ts64(struct timespec64 *ts); 45 extern void ktime_get_coarse_ts64(struct timespec64 *ts); 46 extern void ktime_get_coarse_real_ts64(struct timespec64 *ts); 48 void getboottime64(struct timespec64 *ts); 125 struct timespec64 ts; local 127 ktime_get_coarse_ts64(&ts); 128 return timespec64_to_ktime(ts); 223 static inline void ktime_get_boottime_ts64(struct timespec64 *ts) argument 228 ktime_get_coarse_boottime_ts64(struct timespec64 *ts) argument 238 ktime_get_clocktai_ts64(struct timespec64 *ts) argument 243 ktime_get_coarse_clocktai_ts64(struct timespec64 *ts) argument [all...] |
H A D | fs.h | 1564 struct timespec64 ts) 1566 inode->__i_atime = ts; 1567 return ts; 1573 struct timespec64 ts = { .tv_sec = sec, local 1575 return inode_set_atime_to_ts(inode, ts); 1594 struct timespec64 ts) 1596 inode->__i_mtime = ts; 1597 return ts; 1603 struct timespec64 ts = { .tv_sec = sec, local 1605 return inode_set_mtime_to_ts(inode, ts); 1563 inode_set_atime_to_ts(struct inode *inode, struct timespec64 ts) argument 1593 inode_set_mtime_to_ts(struct inode *inode, struct timespec64 ts) argument 1623 inode_set_ctime_to_ts(struct inode *inode, struct timespec64 ts) argument 1641 struct timespec64 ts = { .tv_sec = sec, local [all...] |
/linux-master/fs/ceph/ |
H A D | mds_client.c | 1733 struct ceph_mds_session *ts; local 1745 ts = __open_export_target_session(mdsc, mi->export_targets[i]); 1746 ceph_put_mds_session(ts); 2909 struct ceph_timespec ts; local 2912 ceph_encode_timespec64(&ts, &req->r_stamp); 2913 ceph_encode_copy(p, &ts, sizeof(ts)); 4538 struct timespec64 ts; local 4544 ts = inode_get_mtime(inode); 4545 ceph_encode_timespec64(&rec.v1.mtime, &ts); [all...] |
/linux-master/net/xdp/ |
H A D | xsk.c | 620 u32 hr, len, ts, offset, copy, copied; local 639 ts = pool->unaligned ? len : pool->chunk_size; 662 skb->truesize += ts; 664 refcount_add(ts, &xs->sk.sk_wmem_alloc);
|
/linux-master/net/bluetooth/ |
H A D | iso.c | 2101 __u16 pb, ts, len; local 2107 ts = hci_iso_flags_ts(flags); 2109 BT_DBG("conn %p len %d pb 0x%x ts 0x%x", conn, skb->len, pb, ts); 2121 if (ts) {
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 301 u64 ts; local 303 ts = event->array[0]; 304 ts <<= TS_SHIFT; 305 ts += event->time_delta; 307 return ts; 397 u64 ts; member in struct:rb_event_info 658 u64 ts; local 662 ts = rb_event_time_stamp(event); 663 return rb_fix_abs_ts(ts, cpu_buffer->tail_page->page->time_stamp); 679 rb_time_read(&cpu_buffer->write_stamp, &ts); 1060 u64 ts; local 1084 ring_buffer_normalize_time_stamp(struct trace_buffer *buffer, int cpu, u64 *ts) argument 3342 u64 ts, delta; local 3418 u64 ts, delta; local 3574 u64 ts; local 4710 rb_buffer_peek(struct ring_buffer_per_cpu *cpu_buffer, u64 *ts, unsigned long *lost_events) argument 4784 rb_iter_peek(struct ring_buffer_iter *iter, u64 *ts) argument 4916 ring_buffer_peek(struct trace_buffer *buffer, int cpu, u64 *ts, unsigned long *lost_events) argument 4965 ring_buffer_iter_peek(struct ring_buffer_iter *iter, u64 *ts) argument 4994 ring_buffer_consume(struct trace_buffer *buffer, int cpu, u64 *ts, unsigned long *lost_events) argument [all...] |
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 2207 struct task_status_struct *ts = &task->task_status; local 2232 ts->residual = trans_tx_fail_type; 2233 ts->stat = SAS_DATA_UNDERRUN; 2235 ts->stat = SAS_QUEUE_FULL; 2238 ts->stat = SAS_OPEN_REJECT; 2239 ts->open_rej_reason = SAS_OREJ_RSVD_RETRY; 2254 ts->stat = SAS_PROTO_RESPONSE; 2257 ts->residual = trans_tx_fail_type; 2258 ts->stat = SAS_DATA_UNDERRUN; 2261 ts 2285 struct task_status_struct *ts; local [all...] |
H A D | hisi_sas_main.c | 105 struct task_status_struct *ts = &task->task_status; local 106 struct ata_task_resp *resp = (struct ata_task_resp *)ts->buf; 115 ts->buf_valid_size = sizeof(*resp); 477 struct task_status_struct *ts = &task->task_status; local 479 ts->resp = SAS_TASK_UNDELIVERED; 480 ts->stat = SAS_PHY_DOWN; 1085 struct task_status_struct *ts; local 1087 ts = &task->task_status; 1089 ts->resp = SAS_TASK_COMPLETE; 1090 ts [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 749 u64 ts = get_cqe_ts(cqe); local 751 hwts.hwtstamp = mlx5e_cqe_ts_to_ns(sq->ptp_cyc2time, sq->clock, ts);
|
/linux-master/arch/powerpc/include/asm/vdso/ |
H A D | gettimeofday.h | 141 int __c_kernel_clock_gettime(clockid_t clock, struct __kernel_timespec *ts, 146 int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, 148 int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts,
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 225 struct p9_trans_fd *ts = NULL; local 228 ts = client->trans; 230 if (!ts) { 236 ret = vfs_poll(ts->rd, pt); 237 if (ts->rd != ts->wr) 238 ret = (ret & ~EPOLLOUT) | (vfs_poll(ts->wr, pt) & ~EPOLLIN); 253 struct p9_trans_fd *ts = NULL; local 257 ts = client->trans; 259 if (!ts) 421 struct p9_trans_fd *ts = NULL; local 586 struct p9_trans_fd *ts = client->trans; local 668 struct p9_trans_fd *ts = client->trans; local 698 struct p9_trans_fd *ts = client->trans; local 719 struct p9_trans_fd *ts = client->trans; local 828 struct p9_trans_fd *ts = kzalloc(sizeof(struct p9_trans_fd), local 936 struct p9_trans_fd *ts; local [all...] |
/linux-master/include/net/bluetooth/ |
H A D | hci.h | 2976 __le32 ts; member in struct:hci_iso_ts_data_hdr 3009 #define hci_iso_flags_pack(pb, ts) ((pb & 0x03) | ((ts & 0x01) << 2))
|
/linux-master/fs/smb/client/ |
H A D | dfs_cache.c | 110 struct timespec64 ts; local 112 ktime_get_coarse_real_ts64(&ts); 113 return timespec64_compare(&ts, &ce->etime) >= 0; 350 struct timespec64 ts = { local 357 return timespec64_add(now, ts);
|
H A D | cifssmb.c | 3579 struct timespec64 ts; local 3585 ts.tv_nsec = 0; 3586 ts.tv_sec = time; 3588 data->ChangeTime = cpu_to_le64(cifs_UnixTimeToNT(ts));
|
/linux-master/fs/ |
H A D | aio.c | 2228 struct timespec64 *ts) 2230 ktime_t until = ts ? timespec64_to_ktime(*ts) : KTIME_MAX; 2263 struct timespec64 ts; local 2266 if (timeout && unlikely(get_timespec64(&ts, timeout))) 2269 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); 2291 struct timespec64 ts; local 2295 if (timeout && unlikely(get_timespec64(&ts, timeout))) 2305 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); 2326 struct timespec64 ts; local 2224 do_io_getevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct timespec64 *ts) argument [all...] |
/linux-master/drivers/nvme/host/ |
H A D | core.c | 2423 __le64 ts; 2429 ts = cpu_to_le64(ktime_to_ms(ktime_get_real())); 2430 ret = nvme_set_features(ctrl, NVME_FEAT_TIMESTAMP, 0, &ts, sizeof(ts), 2444 __le64 ts; local
|
/linux-master/drivers/net/phy/ |
H A D | micrel.c | 332 /* Lock for Rx ts fifo */ 2649 struct timespec64 *ts) 2660 ts->tv_sec = seconds; 2661 ts->tv_nsec = nano_seconds; 2667 const struct timespec64 *ts) 2674 lan8814_ptp_clock_set(phydev, ts->tv_sec, ts->tv_nsec); 3864 struct timespec64 ts; local 3879 ts.tv_sec = ptp_priv->seconds; 3887 if ((ts 2648 lan8814_ptpci_gettime64(struct ptp_clock_info *ptpci, struct timespec64 *ts) argument 2666 lan8814_ptpci_settime64(struct ptp_clock_info *ptpci, const struct timespec64 *ts) argument 3936 lan8841_ptp_update_target(struct kszphy_ptp_priv *ptp_priv, const struct timespec64 *ts) argument 3980 lan8841_ptp_settime64(struct ptp_clock_info *ptp, const struct timespec64 *ts) argument 4017 lan8841_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 4047 lan8841_ptp_getseconds(struct ptp_clock_info *ptp, struct timespec64 *ts) argument 4082 struct timespec64 ts; local 4577 struct timespec64 ts; local [all...] |
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1397 fec_enet_hwtstamp(struct fec_enet_private *fep, unsigned ts, argument 1404 ns = timecounter_cyc2time(&fep->tc, ts); 1525 fec_enet_hwtstamp(fep, fec32_to_cpu(ebdp->ts), &shhwtstamps); 1818 fec_enet_hwtstamp(fep, fec32_to_cpu(ebdp->ts),
|
/linux-master/drivers/gpio/ |
H A D | gpiolib-cdev.c | 800 static enum hte_return process_hw_ts(struct hte_ts_data *ts, void *p) argument 806 if (!ts || !p) 810 line->timestamp_ns = ts->tsc; 811 line->raw_level = ts->raw_level; 816 line->last_seqno = ts->seq; 820 if (unlikely(ts->seq < line->line_seqno)) 823 diff_seqno = ts->seq - line->line_seqno; 824 line->line_seqno = ts->seq;
|
/linux-master/security/ |
H A D | security.c | 1085 * @ts: new time 1093 int security_settime64(const struct timespec64 *ts, const struct timezone *tz) argument 1095 return call_int_hook(settime, ts, tz);
|
/linux-master/tools/objtool/ |
H A D | check.c | 1526 struct symbol *ts = to->sym; local 1529 if (!fs || !ts) 1533 if (!is_first_func_insn(file, to, ts)) 1537 if (ts->type == STT_NOTYPE) 1541 return fs->pfunc != ts->pfunc;
|
/linux-master/arch/x86/include/asm/ |
H A D | x86_init.h | 303 void (*get_wallclock)(struct timespec64 *ts); 304 int (*set_wallclock)(const struct timespec64 *ts);
|