Home
last modified time | relevance | path

Searched refs:kt (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/include/linux/
Dktime.h70 #define ktime_add_ns(kt, nsval) \ argument
71 ({ (ktime_t){ .tv64 = (kt).tv64 + (nsval) }; })
77 #define ktime_sub_ns(kt, nsval) \ argument
78 ({ (ktime_t){ .tv64 = (kt).tv64 - (nsval) }; })
99 #define ktime_to_timespec(kt) ns_to_timespec((kt).tv64) argument
102 #define ktime_to_timespec64(kt) ns_to_timespec64((kt).tv64) argument
105 #define ktime_to_timeval(kt) ns_to_timeval((kt).tv64) argument
108 #define ktime_to_ns(kt) ((kt).tv64) argument
169 extern s64 __ktime_divns(const ktime_t kt, s64 div);
170 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() argument
[all …]
Dpps_kernel.h107 static inline void timespec_to_pps_ktime(struct pps_ktime *kt, in timespec_to_pps_ktime() argument
110 kt->sec = ts.tv_sec; in timespec_to_pps_ktime()
111 kt->nsec = ts.tv_nsec; in timespec_to_pps_ktime()
Drtc.h25 struct rtc_time rtc_ktime_to_tm(ktime_t kt);
Dtty.h494 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dspu_profiler.c139 ktime_t kt; in profile_spus() local
183 kt = ktime_set(0, profiling_interval); in profile_spus()
186 hrtimer_forward(timer, timer->base->get_time(), kt); in profile_spus()
204 ktime_t kt; in start_spu_profiling_cycles() local
207 kt = ktime_set(0, profiling_interval); in start_spu_profiling_cycles()
209 hrtimer_set_expires(&timer, kt); in start_spu_profiling_cycles()
220 hrtimer_start(&timer, kt, HRTIMER_MODE_REL); in start_spu_profiling_cycles()
/linux-4.1.27/drivers/rtc/
Drtc-lib.c138 struct rtc_time rtc_ktime_to_tm(ktime_t kt) in rtc_ktime_to_tm() argument
143 ts = ktime_to_timespec64(kt); in rtc_ktime_to_tm()
/linux-4.1.27/drivers/ptp/
Dptp_clock.c137 ktime_t kt; in ptp_clock_adjtime() local
149 kt = timespec_to_ktime(ts); in ptp_clock_adjtime()
150 delta = ktime_to_ns(kt); in ptp_clock_adjtime()
/linux-4.1.27/Documentation/RCU/
Dtrace.txt191 …0!c=12865 g=12866 pq=1/0 qp=1 dt=83113/140000000000000/0 df=288 of=11 ql=0/0 qs=N... kt=0/O ktl=94…
192 …1 c=14407 g=14408 pq=1/0 qp=0 dt=100679/140000000000000/0 df=378 of=7 ql=0/119 qs=NRW. kt=0/W ktl=…
193 …2 c=14407 g=14408 pq=1/0 qp=0 dt=105486/0/0 df=90 of=9 ql=0/89 qs=NRW. kt=0/W ktl=c0c b=10 ci=8311…
194 …3 c=14407 g=14408 pq=1/0 qp=0 dt=107138/0/0 df=142 of=8 ql=0/188 qs=NRW. kt=0/W ktl=b96 b=10 ci=12…
195 …4 c=14405 g=14406 pq=1/0 qp=1 dt=50238/0/0 df=706 of=7 ql=0/0 qs=.... kt=0/W ktl=812 b=10 ci=34929…
196 …5!c=14168 g=14169 pq=1/0 qp=0 dt=45465/140000000000000/0 df=161 of=11 ql=0/0 qs=N... kt=0/O ktl=b4…
197 …6 c=14404 g=14405 pq=1/0 qp=0 dt=59454/0/0 df=94 of=6 ql=0/0 qs=.... kt=0/W ktl=e57 b=10 ci=55597 …
198 …7 c=14407 g=14408 pq=1/0 qp=1 dt=68850/0/0 df=31 of=8 ql=0/0 qs=.... kt=0/W ktl=14bd b=10 ci=77475…
203 o "kt" is the per-CPU kernel-thread state. The digit preceding
444 0:3 tasks=.... kt=W ntb=0 neb=0 nnb=0 j=c864 bt=c894
[all …]
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c415 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local
417 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction()
419 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction()
420 return kt; in efx_ptp_s_ns_to_ktime_correction()
1849 ktime_t kt; in efx_phc_gettime() local
1859 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime()
1862 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_fence.c321 ktime_t kt; in nouveau_fence_wait_legacy() local
333 kt = ktime_set(0, sleep_time); in nouveau_fence_wait_legacy()
334 schedule_hrtimeout(&kt, HRTIMER_MODE_REL); in nouveau_fence_wait_legacy()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c381 enum omap_dss_trans_key_type kt; in _omapfb_set_color_key() local
401 kt = OMAP_DSS_COLOR_KEY_GFX_DST; in _omapfb_set_color_key()
404 kt = OMAP_DSS_COLOR_KEY_VID_SRC; in _omapfb_set_color_key()
412 info.trans_key_type = kt; in _omapfb_set_color_key()
/linux-4.1.27/kernel/debug/kdb/
Dkdb_main.c2412 kdbtab_t *kt; in kdb_help() local
2418 for_each_kdbcmd(kt, i) { in kdb_help()
2422 if (!kt->cmd_name) in kdb_help()
2424 if (!kdb_check_flags(kt->cmd_flags, kdb_cmd_enabled, true)) in kdb_help()
2426 if (strlen(kt->cmd_usage) > 20) in kdb_help()
2428 kdb_printf("%-15.15s %-20s%s%s\n", kt->cmd_name, in kdb_help()
2429 kt->cmd_usage, space, kt->cmd_help); in kdb_help()
/linux-4.1.27/drivers/block/
Dnull_blk.c258 ktime_t kt = ktime_set(0, completion_nsec); in null_cmd_end_timer() local
260 hrtimer_start(&cq->timer, kt, HRTIMER_MODE_REL); in null_cmd_end_timer()
/linux-4.1.27/net/sctp/
Dsm_make_chunk.c1704 ktime_t kt; in sctp_unpack_cookie() local
1781 kt = skb_get_ktime(skb); in sctp_unpack_cookie()
1783 kt = ktime_get_real(); in sctp_unpack_cookie()
1785 if (!asoc && ktime_before(bear_cookie->expiration, kt)) { in sctp_unpack_cookie()
1797 suseconds_t usecs = ktime_to_us(ktime_sub(kt, bear_cookie->expiration)); in sctp_unpack_cookie()
/linux-4.1.27/include/net/
Dsock.h2124 ktime_t kt = skb->tstamp; in sock_recv_timestamp() local
2135 (kt.tv64 && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp()
2140 sk->sk_stamp = kt; in sock_recv_timestamp()
/linux-4.1.27/kernel/time/
Dhrtimer.c269 s64 __ktime_divns(const ktime_t kt, s64 div) in __ktime_divns() argument
275 dclc = ktime_to_ns(kt); in __ktime_divns()
/linux-4.1.27/drivers/target/
Dtarget_core_transport.c2662 struct task_struct *kt; in transport_clear_lun_ref() local
2664 kt = kthread_run(transport_clear_lun_ref_thread, lun, in transport_clear_lun_ref()
2666 if (IS_ERR(kt)) { in transport_clear_lun_ref()
2668 return PTR_ERR(kt); in transport_clear_lun_ref()
/linux-4.1.27/fs/ocfs2/
Ddlmglue.c443 ktime_t kt; in ocfs2_update_lock_stats() local
453 kt = ktime_sub(ktime_get(), mw->mw_lock_start); in ocfs2_update_lock_stats()
454 usec = ktime_to_us(kt); in ocfs2_update_lock_stats()
457 stats->ls_total += ktime_to_ns(kt); in ocfs2_update_lock_stats()
461 stats->ls_total = ktime_to_ns(kt); in ocfs2_update_lock_stats()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dsi_dpm.c1772 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1787 kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); in si_calculate_leakage_for_v_and_t_formula()
1788 kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); in si_calculate_leakage_for_v_and_t_formula()
1791 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula()
1810 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1815 kt = div64_s64(drm_int2fixp(fixed_kt), 100000000); in si_calculate_leakage_for_v_formula()
1819 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
Dni_dpm.c745 s64 kt, kv, leakage_w, i_leakage, vddc, temperature; in ni_calculate_leakage_for_v_and_t_formula() local
751 kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), in ni_calculate_leakage_for_v_and_t_formula()
756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in ni_calculate_leakage_for_v_and_t_formula()
/linux-4.1.27/drivers/scsi/
Dscsi_debug.c4023 ktime_t kt = ktime_set(0, scsi_debug_ndelay); in schedule_resp() local
4036 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); in schedule_resp()
/linux-4.1.27/Documentation/
Dkernel-docs.txt648 URL: http://kt.earth.li/kernel-traffic/index.html
/linux-4.1.27/net/wireless/
Dnl80211.c2864 u32 kt = nla_get_u32(info->attrs[NL80211_ATTR_KEY_TYPE]); in nl80211_get_key() local
2865 if (kt >= NUM_NL80211_KEYTYPES) in nl80211_get_key()
2867 if (kt != NL80211_KEYTYPE_GROUP && in nl80211_get_key()
2868 kt != NL80211_KEYTYPE_PAIRWISE) in nl80211_get_key()
2870 pairwise = kt == NL80211_KEYTYPE_PAIRWISE; in nl80211_get_key()