/linux-2.6.39/drivers/isdn/hisax/ |
D | fsm.c | 101 ft->tl.function = (void *) FsmExpireTimer; in FsmInitTimer() 102 ft->tl.data = (long) ft; in FsmInitTimer() 107 init_timer(&ft->tl); in FsmInitTimer() 117 del_timer(&ft->tl); in FsmDelTimer() 131 if (timer_pending(&ft->tl)) { in FsmAddTimer() 136 init_timer(&ft->tl); in FsmAddTimer() 139 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in FsmAddTimer() 140 add_timer(&ft->tl); in FsmAddTimer() 155 if (timer_pending(&ft->tl)) in FsmRestartTimer() 156 del_timer(&ft->tl); in FsmRestartTimer() [all …]
|
D | isdnl3.c | 172 t->tl.function = (void *) L3ExpireTimer; in L3InitTimer() 173 t->tl.data = (long) t; in L3InitTimer() 174 init_timer(&t->tl); in L3InitTimer() 180 del_timer(&t->tl); in L3DelTimer() 187 if (timer_pending(&t->tl)) { in L3AddTimer() 191 init_timer(&t->tl); in L3AddTimer() 193 t->tl.expires = jiffies + (millisec * HZ) / 1000; in L3AddTimer() 194 add_timer(&t->tl); in L3AddTimer()
|
D | fsm.h | 45 struct timer_list tl; member
|
/linux-2.6.39/drivers/s390/net/ |
D | fsm.c | 145 this->tl.function = (void *)fsm_expire_timer; in fsm_settimer() 146 this->tl.data = (long)this; in fsm_settimer() 151 init_timer(&this->tl); in fsm_settimer() 161 del_timer(&this->tl); in fsm_deltimer() 173 init_timer(&this->tl); in fsm_addtimer() 174 this->tl.function = (void *)fsm_expire_timer; in fsm_addtimer() 175 this->tl.data = (long)this; in fsm_addtimer() 178 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer() 179 add_timer(&this->tl); in fsm_addtimer() 193 del_timer(&this->tl); in fsm_modtimer() [all …]
|
/linux-2.6.39/drivers/isdn/mISDN/ |
D | fsm.c | 113 ft->tl.function = (void *) FsmExpireTimer; in mISDN_FsmInitTimer() 114 ft->tl.data = (long) ft; in mISDN_FsmInitTimer() 119 init_timer(&ft->tl); in mISDN_FsmInitTimer() 131 del_timer(&ft->tl); in mISDN_FsmDelTimer() 146 if (timer_pending(&ft->tl)) { in mISDN_FsmAddTimer() 155 init_timer(&ft->tl); in mISDN_FsmAddTimer() 158 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer() 159 add_timer(&ft->tl); in mISDN_FsmAddTimer() 175 if (timer_pending(&ft->tl)) in mISDN_FsmRestartTimer() 176 del_timer(&ft->tl); in mISDN_FsmRestartTimer() [all …]
|
D | timerdev.c | 46 struct timer_list tl; member 80 del_timer(&timer->tl); in mISDN_close() 183 timer->tl.data = (long)timer; in misdn_add_timer() 184 timer->tl.function = dev_expire_timer; in misdn_add_timer() 185 init_timer(&timer->tl); in misdn_add_timer() 186 timer->tl.expires = jiffies + ((HZ * (u_long)timeout) / 1000); in misdn_add_timer() 187 add_timer(&timer->tl); in misdn_add_timer() 207 del_timer(&timer->tl); in misdn_del_timer()
|
D | dsp_tones.c | 481 init_timer(&tone->tl); in dsp_tone_timeout() 482 tone->tl.expires = jiffies + (pat->seq[index] * HZ) / 8000; in dsp_tone_timeout() 483 add_timer(&tone->tl); in dsp_tone_timeout() 508 if (dsp->features.hfc_loops && timer_pending(&tonet->tl)) in dsp_tone() 509 del_timer(&tonet->tl); in dsp_tone() 542 if (timer_pending(&tonet->tl)) in dsp_tone() 543 del_timer(&tonet->tl); in dsp_tone() 544 init_timer(&tonet->tl); in dsp_tone() 545 tonet->tl.expires = jiffies + (pat->seq[0] * HZ) / 8000; in dsp_tone() 546 add_timer(&tonet->tl); in dsp_tone()
|
D | fsm.h | 53 struct timer_list tl; member
|
D | dsp_core.c | 928 if (timer_pending(&dsp->tone.tl)) in dsp_function() 929 del_timer(&dsp->tone.tl); in dsp_function() 976 if (timer_pending(&dsp->tone.tl)) in dsp_ctrl() 977 del_timer(&dsp->tone.tl); in dsp_ctrl() 1093 ndsp->tone.tl.function = (void *)dsp_tone_timeout; in dspcreate() 1094 ndsp->tone.tl.data = (long) ndsp; in dspcreate() 1095 init_timer(&ndsp->tone.tl); in dspcreate()
|
/linux-2.6.39/drivers/block/drbd/ |
D | drbd_nl.c | 2015 unsigned short *tl; in drbd_nl_get_config() local 2017 tl = reply->tag_list; in drbd_nl_get_config() 2020 tl = disk_conf_to_tags(mdev, &mdev->ldev->dc, tl); in drbd_nl_get_config() 2025 tl = net_conf_to_tags(mdev, mdev->net_conf, tl); in drbd_nl_get_config() 2028 tl = syncer_conf_to_tags(mdev, &mdev->sync_conf, tl); in drbd_nl_get_config() 2030 put_unaligned(TT_END, tl++); /* Close the tag list */ in drbd_nl_get_config() 2032 return (int)((char *)tl - (char *)reply->tag_list); in drbd_nl_get_config() 2038 unsigned short *tl = reply->tag_list; in drbd_nl_get_state() local 2043 tl = get_state_to_tags(mdev, (struct get_state *)&s, tl); in drbd_nl_get_state() 2049 tl = tl_add_int(tl, T_sync_progress, &res); in drbd_nl_get_state() [all …]
|
/linux-2.6.39/crypto/ |
D | vmac.c | 112 int i; u64 th, tl; \ 115 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 117 ADD128(rh, rl, th, tl); \ 123 int i; u64 th, tl; \ 126 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 128 ADD128(rh, rl, th, tl); \ 129 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \ 131 ADD128(rh1, rl1, th, tl); \ 138 int i; u64 th, tl; \ 141 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ [all …]
|
D | camellia.c | 383 u32 dw, tl, tr; in camellia_setup_tail() local 483 tl = subL[10] ^ (subR[10] & ~subR[8]); in camellia_setup_tail() 484 dw = tl & subL[8], /* FL(kl1) */ in camellia_setup_tail() 486 SUBKEY_L(7) = subL[6] ^ tl; /* round 6 */ in camellia_setup_tail() 492 tl = subL[7] ^ (subR[7] & ~subR[9]); in camellia_setup_tail() 493 dw = tl & subL[9], /* FLinv(kl2) */ in camellia_setup_tail() 495 SUBKEY_L(10) = tl ^ subL[11]; /* round 7 */ in camellia_setup_tail() 505 tl = subL[18] ^ (subR[18] & ~subR[16]); in camellia_setup_tail() 506 dw = tl & subL[16], /* FL(kl3) */ in camellia_setup_tail() 508 SUBKEY_L(15) = subL[14] ^ tl; /* round 12 */ in camellia_setup_tail() [all …]
|
/linux-2.6.39/lib/ |
D | inflate.c | 589 struct huft *tl, /* literal/length decoder tables */ in inflate_codes() argument 617 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes() 770 struct huft *tl; /* literal/length code table */ in inflate_fixed() local 792 if ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0) { in inflate_fixed() 803 huft_free(tl); in inflate_fixed() 812 if (inflate_codes(tl, td, bl, bd)) { in inflate_fixed() 819 huft_free(tl); in inflate_fixed() 836 struct huft *tl; /* literal/length code table */ in inflate_dynamic() local 900 if ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0) in inflate_dynamic() 903 huft_free(tl); in inflate_dynamic() [all …]
|
/linux-2.6.39/drivers/net/wireless/iwlegacy/ |
D | iwl-4965-rs.c | 250 iwl4965_rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in iwl4965_rs_tl_rm_old_stats() argument 255 while (tl->queue_count && in iwl4965_rs_tl_rm_old_stats() 256 (tl->time_stamp < oldest_time)) { in iwl4965_rs_tl_rm_old_stats() 257 tl->total -= tl->packet_count[tl->head]; in iwl4965_rs_tl_rm_old_stats() 258 tl->packet_count[tl->head] = 0; in iwl4965_rs_tl_rm_old_stats() 259 tl->time_stamp += TID_QUEUE_CELL_SPACING; in iwl4965_rs_tl_rm_old_stats() 260 tl->queue_count--; in iwl4965_rs_tl_rm_old_stats() 261 tl->head++; in iwl4965_rs_tl_rm_old_stats() 262 if (tl->head >= TID_QUEUE_MAX_SIZE) in iwl4965_rs_tl_rm_old_stats() 263 tl->head = 0; in iwl4965_rs_tl_rm_old_stats() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | etrap_64.S | 173 rdpr %tl, %g1 175 wrpr %g0, 1, %tl 185 wrpr %g0, 2, %tl 200 wrpr %g0, 3, %tl 210 wrpr %g0, 4, %tl 223 wrpr %g0, 1, %tl
|
D | cherrs.S | 181 rdpr %tl, %g1 ! Save original trap level 184 1: wrpr %g2, %tl ! Set trap level to check 188 wrpr %g1, %tl ! Restore original trap level 193 wrpr %g1, %tl ! Restore original trap level 234 rdpr %tl, %g1 ! Save original trap level 237 1: wrpr %g2, %tl ! Set trap level to check 241 wrpr %g1, %tl ! Restore original trap level 246 wrpr %g1, %tl ! Restore original trap level
|
D | entry.h | 147 extern void sun4v_itlb_error_report(struct pt_regs *regs, int tl); 154 extern void sun4v_dtlb_error_report(struct pt_regs *regs, int tl);
|
D | dtlb_prot.S | 22 rdpr %tl, %g1 ! Need a winfixup?
|
D | sun4v_tlb_miss.S | 142 rdpr %tl, %g1 209 rdpr %tl, %g4 236 rdpr %tl, %g4 318 rdpr %tl, %g2
|
/linux-2.6.39/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-rs.c | 266 static void rs_tl_rm_old_stats(struct iwl_traffic_load *tl, u32 curr_time) in rs_tl_rm_old_stats() argument 271 while (tl->queue_count && in rs_tl_rm_old_stats() 272 (tl->time_stamp < oldest_time)) { in rs_tl_rm_old_stats() 273 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats() 274 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats() 275 tl->time_stamp += TID_QUEUE_CELL_SPACING; in rs_tl_rm_old_stats() 276 tl->queue_count--; in rs_tl_rm_old_stats() 277 tl->head++; in rs_tl_rm_old_stats() 278 if (tl->head >= TID_QUEUE_MAX_SIZE) in rs_tl_rm_old_stats() 279 tl->head = 0; in rs_tl_rm_old_stats() [all …]
|
/linux-2.6.39/kernel/ |
D | posix-cpu-timers.c | 1082 struct cpu_timer_list *tl = list_first_entry(timers, in check_process_timers() local 1085 if (!--maxfire || cputime_lt(ptime, tl->expires.cpu)) { in check_process_timers() 1086 prof_expires = tl->expires.cpu; in check_process_timers() 1089 tl->firing = 1; in check_process_timers() 1090 list_move_tail(&tl->entry, firing); in check_process_timers() 1097 struct cpu_timer_list *tl = list_first_entry(timers, in check_process_timers() local 1100 if (!--maxfire || cputime_lt(utime, tl->expires.cpu)) { in check_process_timers() 1101 virt_expires = tl->expires.cpu; in check_process_timers() 1104 tl->firing = 1; in check_process_timers() 1105 list_move_tail(&tl->entry, firing); in check_process_timers() [all …]
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_intr.c | 543 unsigned long tl, hd, status, lengen; in handle_sdma_errors() local 544 tl = ipath_read_kreg64(dd, dd->ipath_kregs->kr_senddmatail); in handle_sdma_errors() 551 "lengen 0x%lx\n", tl, hd, status, lengen); in handle_sdma_errors() 589 u32 hd, tl; in handle_hdrq_full() local 613 tl = ipath_read_ureg32(dd, ur_rcvhdrtail, i); in handle_hdrq_full() 615 tl = ipath_get_rcvhdrtail(pd); in handle_hdrq_full() 616 if (tl == pd->port_lastrcvhdrqtail) in handle_hdrq_full() 620 if (hd == (tl + 1) || (!hd && tl == dd->ipath_hdrqlast)) { in handle_hdrq_full() 621 pd->port_lastrcvhdrqtail = tl; in handle_hdrq_full()
|
/linux-2.6.39/drivers/ide/ |
D | pmac.c | 786 u32 *timings, *timings2, tl[2]; in pmac_ide_set_dma_mode() local 794 tl[0] = *timings; in pmac_ide_set_dma_mode() 795 tl[1] = *timings2; in pmac_ide_set_dma_mode() 799 ret = set_timings_udma_ata4(&tl[0], speed); in pmac_ide_set_dma_mode() 802 ret = set_timings_udma_ata6(&tl[0], &tl[1], speed); in pmac_ide_set_dma_mode() 804 ret = set_timings_udma_shasta(&tl[0], &tl[1], speed); in pmac_ide_set_dma_mode() 808 set_timings_mdma(drive, pmif->kind, &tl[0], &tl[1], speed); in pmac_ide_set_dma_mode() 814 *timings = tl[0]; in pmac_ide_set_dma_mode() 815 *timings2 = tl[1]; in pmac_ide_set_dma_mode()
|
/linux-2.6.39/fs/ocfs2/ |
D | alloc.c | 5750 struct ocfs2_truncate_log *tl; in ocfs2_truncate_log_needs_flush() local 5753 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_needs_flush() 5755 mlog_bug_on_msg(le16_to_cpu(tl->tl_used) > le16_to_cpu(tl->tl_count), in ocfs2_truncate_log_needs_flush() 5758 le16_to_cpu(tl->tl_used), le16_to_cpu(tl->tl_count)); in ocfs2_truncate_log_needs_flush() 5759 return le16_to_cpu(tl->tl_used) == le16_to_cpu(tl->tl_count); in ocfs2_truncate_log_needs_flush() 5762 static int ocfs2_truncate_log_can_coalesce(struct ocfs2_truncate_log *tl, in ocfs2_truncate_log_can_coalesce() argument 5769 if (!le16_to_cpu(tl->tl_used)) in ocfs2_truncate_log_can_coalesce() 5772 tail_index = le16_to_cpu(tl->tl_used) - 1; in ocfs2_truncate_log_can_coalesce() 5773 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start); in ocfs2_truncate_log_can_coalesce() 5774 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters); in ocfs2_truncate_log_can_coalesce() [all …]
|
/linux-2.6.39/arch/um/include/shared/ |
D | net_kern.h | 28 struct timer_list tl; member
|