/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1123 * satisfy this condition and not waste too much CPU time. 1128 * disconnected so that all MIB counters are read one last time to update the 1383 * @time: Next time in jiffies to read counter. 1388 unsigned long time; member 3301 * Link status is changing all the time even when there is no in port_get_link_speed() 4303 * @time: The time tick. 4305 * This routine starts the kernel timer after the specified time tick. 4307 static void ksz_start_timer(struct ksz_timer_info *info, int time) in ksz_start_timer() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1055 * satisfy this condition and not waste too much CPU time. 1060 * disconnected so that all MIB counters are read one last time to update the 1315 * @time: Next time in jiffies to read counter. 1320 unsigned long time; member 2931 * Link status is changing all the time even when there is no in port_get_link_speed() 3930 * @time: The time tick. 3932 * This routine starts the kernel timer after the specified time tick. 3934 static void ksz_start_timer(struct ksz_timer_info *info, int time) in ksz_start_timer() argument [all...] |
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | lockdep.c | 267 static void lock_time_inc(struct lock_time *lt, u64 time) in lock_time_inc() argument 269 if (time > lt->max) in lock_time_inc() 270 lt->max = time; in lock_time_inc() 272 if (time < lt->min || !lt->nr) in lock_time_inc() 273 lt->min = time; in lock_time_inc() 275 lt->total += time; in lock_time_inc() 388 * accessed by RCU readers at the time these were freed. 2465 * time we can figure out where L1 is held from the call trace of L2. 3102 * and to have the class name most of the time instead of not in check_prev_add()
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 638 /* time / CLK_AHB = 2.5s / 2ns = 0x4A817C80 */ in init_reg_v3_hw() 2762 int entries, entries_old = 0, time; in wait_cmds_complete_timeout_v3_hw() local 2764 for (time = 0; time < timeout_ms; time += delay_ms) { in wait_cmds_complete_timeout_v3_hw() 2773 if (time >= timeout_ms) { in wait_cmds_complete_timeout_v3_hw() 2778 dev_dbg(dev, "wait commands complete %dms\n", time); in wait_cmds_complete_timeout_v3_hw()
|
/test/xts/acts/resourceschedule/resourceschedule_standard/ffrt/entry/src/main/cpp/ |
H A D | ffrtndk.cpp | 1724 uint64_t time = ffrt_queue_attr_get_timeout(&queue_attr); in QueueDfxTest001() local 1725 if (time != 0) { in QueueDfxTest001() 1747 uint64_t time = ffrt_queue_attr_get_timeout(nullptr); in QueueDfxTest002() local 1748 if (time != 0) { in QueueDfxTest002() 1751 time = ffrt_queue_attr_get_timeout(&queue_attr); in QueueDfxTest002() 1752 if (time != 10000) { in QueueDfxTest002()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest.cc | 42 #include <time.h> 65 # include <sys/time.h> // NOLINT 71 # include <sys/time.h> // NOLINT 96 # include <sys/time.h> // NOLINT 106 # include <sys/time.h> // NOLINT 274 " should display elapsed time in text output."); 284 "[1, 99999], or 0 to use a seed based on the current time."); 828 // Returns the current time in milliseconds. 858 return static_cast<TimeInMillis>(now.time) * 1000 + now.millitm; in GetTimeInMillis() 864 # error "Don't know how to get the current time o in GetTimeInMillis() [all...] |
/third_party/python/Lib/test/ |
H A D | test_zipfile.py | 14 import time namespace 99 self.assertTrue(time.strptime(date, '%Y-%m-%d')) 100 self.assertTrue(time.strptime(time_, '%H:%M:%S')) 622 time.localtime(ts) 624 self.skipTest(f'time.localtime({ts}) raises OverflowError') 725 self.assertTrue(time.strptime(date, '%Y-%m-%d')) 726 self.assertTrue(time.strptime(time_, '%H:%M:%S')) 2143 # It's only possible to open one writable file handle at a time 3423 Ensure joinpath on items in zipfile is linear time.
|
H A D | test_socket.py | 13 import time namespace 508 time.sleep(0.1) 4501 # appropriate time value to use. Use setitimer() if available. 4636 time.sleep(1.0) 4779 start_time = time.monotonic() 4782 dt = time.monotonic() - start_time 5057 time.sleep(0.5) 5327 time.sleep(3) 5754 time.sleep(0.1) 6282 time [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_input.c | 551 tp->rcvq_space.time = tp->tcp_mstamp; in tcp_init_buffer_space() 666 if (tp->rcv_rtt_est.time == 0) in tcp_rcv_rtt_measure() 670 delta_us = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcv_rtt_est.time); in tcp_rcv_rtt_measure() 677 tp->rcv_rtt_est.time = tp->tcp_mstamp; in tcp_rcv_rtt_measure() 704 * This function should be called every time data is copied to user space. 711 int time; in tcp_rcv_space_adjust() local 716 time = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcvq_space.time); in tcp_rcv_space_adjust() 717 if (time < (tp->rcv_rtt_est.rtt_us >> 3) || tp->rcv_rtt_est.rtt_us == 0) in tcp_rcv_space_adjust() 767 tp->rcvq_space.time in tcp_rcv_space_adjust() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_input.c | 567 tp->rcvq_space.time = tp->tcp_mstamp; in tcp_init_buffer_space() 682 if (tp->rcv_rtt_est.time == 0) in tcp_rcv_rtt_measure() 686 delta_us = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcv_rtt_est.time); in tcp_rcv_rtt_measure() 693 tp->rcv_rtt_est.time = tp->tcp_mstamp; in tcp_rcv_rtt_measure() 720 * This function should be called every time data is copied to user space. 727 int time; in tcp_rcv_space_adjust() local 732 time = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcvq_space.time); in tcp_rcv_space_adjust() 733 if (time < (tp->rcv_rtt_est.rtt_us >> 3) || tp->rcv_rtt_est.rtt_us == 0) in tcp_rcv_space_adjust() 778 tp->rcvq_space.time in tcp_rcv_space_adjust() [all...] |
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessible_ability_manager_service_test.cpp | 1785 uint32_t time = CONTENT_TIMEOUT_VALUE; in HWTEST_F() local 1786 EXPECT_NE(RET_OK, Singleton<AccessibleAbilityManagerService>::GetInstance().SetContentTimeout(time)); in HWTEST_F() 1787 EXPECT_NE(RET_OK, Singleton<AccessibleAbilityManagerService>::GetInstance().GetContentTimeout(time)); in HWTEST_F()
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avsession_service_test.cpp | 106 void OnFastForward(int64_t time) override {}; 107 void OnRewind(int64_t time) override {}; 108 void OnSeek(int64_t time) override {};
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_usage_database.cpp | 793 int32_t time = 0; in CreateBundleHistoryTable() local 794 string createBundleHistoryTableIndex = GetTableIndexSql(databaseType, time, true); in CreateBundleHistoryTable() 1296 BUNDLE_ACTIVE_LOGI("new table time is %{public}lld", (long long)newTime); in RenewTableTime() 1589 (void)time(&now); // unit is seconds. in GetSystemTimeMs() 1591 BUNDLE_ACTIVE_LOGE("Get now time error"); in GetSystemTimeMs()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_file_manager.c | 460 uint32_t time = WAIT_ACK_TIME; in SendOneFrameRear() local 462 time = WAIT_ACK_LAST_TIME; in SendOneFrameRear() 464 ret = GetPendingPacketData(info->sessionId, (uint64_t)info->waitSeq, time, false, &pendData); in SendOneFrameRear()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 2109 unsigned long time; in enic_dev_wait() local 2120 time = jiffies + (HZ * 2); in enic_dev_wait() 2132 } while (time_after(time, jiffies)); in enic_dev_wait() 2890 /* rx coalesce time already got initialized. This gets used in enic_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 196 unsigned long time; in qlcnic_add_lb_filter() local 216 time = tmp_fil->ftime; in qlcnic_add_lb_filter() 217 if (time_after(jiffies, QLCNIC_READD_AGE * HZ + time)) in qlcnic_add_lb_filter()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | mvumi.c | 836 u64 time; in mvumi_hs_build_page() local 855 time = ktime_get_real_seconds(); in mvumi_hs_build_page() 856 local_time = (time - (sys_tz.tz_minuteswest * 60)); in mvumi_hs_build_page()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_io.c | 15 * tty_queue structures were allocated at boot time. Both are now 821 static void tty_update_time(struct timespec64 *time) in tty_update_time() argument 828 * the time of the tty device, otherwise it could be construded as a in tty_update_time() 831 if ((sec ^ time->tv_sec) & ~7) in tty_update_time() 832 time->tv_sec = sec; in tty_update_time() 1302 * will be set by the time this is called. This method is responsible 1321 * will be set by the time this is called. 1408 * First time open is complex, especially for PTY devices. in tty_init_dev() 1720 * Called the last time each file handle is closed that references 1728 * same time, a [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm8962.c | 2496 * value from register. The time of the delay should be at least in wm8962_configure_bclk() 3276 long int time; in wm8962_beep_set() local 3279 ret = kstrtol(buf, 10, &time); in wm8962_beep_set() 3283 input_event(wm8962->beep, EV_SND, SND_TONE, time); in wm8962_beep_set()
|
H A D | rt5682.c | 2865 unsigned long time; in rt5682_probe() local 2875 time = wait_for_completion_timeout( in rt5682_probe() 2878 if (!time) { in rt5682_probe()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | machine.c | 448 * so most of the time we dont have to look up 617 __thread__set_comm(thread, event->comm.comm, sample->time, exec)) { in machine__process_comm_event() 648 thread__set_namespaces(thread, sample->time, &event->namespaces)) { in machine__process_namespaces_event() 1697 * time /proc/sys/kernel/kptr_restrict was non zero. in machine__process_kernel_mmap_event() 1920 thread__fork(thread, parent, sample->time, do_maps_clone) < 0) { in machine__process_fork_event()
|
H A D | auxtrace.c | 1177 auxtrace_error->time = timestamp; in auxtrace_synth_error() 1597 unsigned long long nsecs = e->time; in perf_event__fprintf_auxtrace_error() 1608 ret += fprintf(fp, " time %lu.%09llu", secs, nsecs); in perf_event__fprintf_auxtrace_error() 1610 ret += fprintf(fp, " time 0"); in perf_event__fprintf_auxtrace_error() 1614 msg = (const char *)&e->time; in perf_event__fprintf_auxtrace_error()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | inode.c | 1091 time_before(ttl, di->time)) in __update_dentry_lease() 1105 di->time = ttl; in __update_dentry_lease() 1191 di->time = jiffies; in splice_dentry() 1866 * the truncation the next time we call __ceph_do_pending_vmtruncate.
|
/kernel/linux/linux-5.10/lib/ |
H A D | vsprintf.c | 37 #include <linux/time.h> 171 * two characters at a time, using a 200 byte lookup table. This 173 * the digits one at a time. Implementation strongly inspired by the 879 * access to files is checked at open() time, but %pK in restricted_pointer() 880 * checks permission at read() time. We don't want to in restricted_pointer() 1863 char *time64_str(char *buf, char *end, const time64_t time, in time64_str() argument 1869 time64_to_tm(time, 0, &tm); in time64_str() 2210 * - 't[RT][dt][r]' For time and date as represented by:
|
/kernel/linux/linux-5.10/drivers/message/fusion/ |
H A D | mptscsih.c | 581 * load/init time via the mpt_register() API call. 1146 long time = jiffies; in mptscsih_report_queue_full() local 1157 if (time - hd->last_queue_full > 10 * HZ) { in mptscsih_report_queue_full() 1160 hd->last_queue_full = time; in mptscsih_report_queue_full() 2049 * load/init time via the mpt_register() API call. 2614 * load/init time via the mpt_register() API call.
|