/linux-4.4.14/include/linux/ |
D | ktime.h | 70 #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 …]
|
D | pps_kernel.h | 107 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()
|
D | rtc.h | 25 struct rtc_time rtc_ktime_to_tm(ktime_t kt);
|
D | tty.h | 496 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
|
/linux-4.4.14/arch/powerpc/oprofile/cell/ |
D | spu_profiler.c | 139 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.4.14/drivers/rtc/ |
D | rtc-lib.c | 138 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.4.14/drivers/ptp/ |
D | ptp_clock.c | 137 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.4.14/Documentation/RCU/ |
D | trace.txt | 191 …0!c=12865 g=12866 cnq=1/0:1 dt=83113/140000000000000/0 df=288 of=11 ql=0/0 qs=N... kt=0/O ktl=944 … 192 …1 c=14407 g=14408 cnq=1/0:0 dt=100679/140000000000000/0 df=378 of=7 ql=0/119 qs=NRW. kt=0/W ktl=9b… 193 …2 c=14407 g=14408 cnq=1/0:0 dt=105486/0/0 df=90 of=9 ql=0/89 qs=NRW. kt=0/W ktl=c0c b=10 ci=83113 … 194 …3 c=14407 g=14408 cnq=1/0:0 dt=107138/0/0 df=142 of=8 ql=0/188 qs=NRW. kt=0/W ktl=b96 b=10 ci=1211… 195 …4 c=14405 g=14406 cnq=1/0:1 dt=50238/0/0 df=706 of=7 ql=0/0 qs=.... kt=0/W ktl=812 b=10 ci=34929 n… 196 …5!c=14168 g=14169 cnq=1/0:0 dt=45465/140000000000000/0 df=161 of=11 ql=0/0 qs=N... kt=0/O ktl=b4d … 197 …6 c=14404 g=14405 cnq=1/0:0 dt=59454/0/0 df=94 of=6 ql=0/0 qs=.... kt=0/W ktl=e57 b=10 ci=55597 nc… 198 …7 c=14407 g=14408 cnq=1/0:1 dt=68850/0/0 df=31 of=8 ql=0/0 qs=.... kt=0/W ktl=14bd b=10 ci=77475 n… 203 o "kt" is the per-CPU kernel-thread state. The digit preceding 428 0:3 tasks=.... kt=W ntb=0 neb=0 nnb=0 j=c864 bt=c894 [all …]
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ptp.c | 412 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local 414 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction() 416 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction() 417 return kt; in efx_ptp_s_ns_to_ktime_correction() 1859 ktime_t kt; in efx_phc_gettime() local 1869 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime() 1872 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 320 ktime_t kt; in nouveau_fence_wait_legacy() local 332 kt = ktime_set(0, sleep_time); in nouveau_fence_wait_legacy() 333 schedule_hrtimeout(&kt, HRTIMER_MODE_REL); in nouveau_fence_wait_legacy()
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 381 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.4.14/kernel/debug/kdb/ |
D | kdb_main.c | 2412 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.4.14/drivers/block/ |
D | null_blk.c | 259 ktime_t kt = ktime_set(0, completion_nsec); in null_cmd_end_timer() local 261 hrtimer_start(&cmd->timer, kt, HRTIMER_MODE_REL); in null_cmd_end_timer()
|
/linux-4.4.14/net/sctp/ |
D | sm_make_chunk.c | 1704 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.4.14/kernel/time/ |
D | hrtimer.c | 284 s64 __ktime_divns(const ktime_t kt, s64 div) in __ktime_divns() argument 290 dclc = ktime_to_ns(kt); in __ktime_divns()
|
/linux-4.4.14/include/net/ |
D | sock.h | 2140 ktime_t kt = skb->tstamp; in sock_recv_timestamp() local 2151 (kt.tv64 && sk->sk_tsflags & SOF_TIMESTAMPING_SOFTWARE) || in sock_recv_timestamp() 2156 sk->sk_stamp = kt; in sock_recv_timestamp()
|
/linux-4.4.14/fs/ocfs2/ |
D | dlmglue.c | 443 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.4.14/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 1773 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local 1788 kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); in si_calculate_leakage_for_v_and_t_formula() 1789 kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); in si_calculate_leakage_for_v_and_t_formula() 1792 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() 1811 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local 1816 kt = div64_s64(drm_int2fixp(fixed_kt), 100000000); in si_calculate_leakage_for_v_formula() 1820 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
|
D | ni_dpm.c | 745 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.4.14/drivers/scsi/ |
D | scsi_debug.c | 4024 ktime_t kt = ktime_set(0, scsi_debug_ndelay); in schedule_resp() local 4037 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); in schedule_resp()
|
/linux-4.4.14/Documentation/ |
D | kernel-docs.txt | 648 URL: http://kt.earth.li/kernel-traffic/index.html
|
/linux-4.4.14/net/wireless/ |
D | nl80211.c | 2889 u32 kt = nla_get_u32(info->attrs[NL80211_ATTR_KEY_TYPE]); in nl80211_get_key() local 2890 if (kt >= NUM_NL80211_KEYTYPES) in nl80211_get_key() 2892 if (kt != NL80211_KEYTYPE_GROUP && in nl80211_get_key() 2893 kt != NL80211_KEYTYPE_PAIRWISE) in nl80211_get_key() 2895 pairwise = kt == NL80211_KEYTYPE_PAIRWISE; in nl80211_get_key()
|