HelenOS sources

time               83 kernel/generic/include/atomic.h static inline void atomic_time_increment(atomic_time_stat_t *time, int a)
time               90 kernel/generic/include/atomic.h 	uint64_t v = atomic_load_explicit(&time->value, memory_order_relaxed);
time               91 kernel/generic/include/atomic.h 	atomic_store_explicit(&time->value, v + a, memory_order_relaxed);
time               94 kernel/generic/include/atomic.h static inline uint64_t atomic_time_read(atomic_time_stat_t *time)
time               96 kernel/generic/include/atomic.h 	return atomic_load_explicit(&time->value, memory_order_relaxed);
time              116 kernel/generic/include/atomic.h static inline void atomic_time_increment(atomic_time_stat_t *time, int a)
time              127 kernel/generic/include/atomic.h 	uint64_t val = time->true_value;
time              131 kernel/generic/include/atomic.h 	time->true_value = val;
time              136 kernel/generic/include/atomic.h 		atomic_store_explicit(&time->low, (uint32_t) val, memory_order_relaxed);
time              145 kernel/generic/include/atomic.h 		atomic_store_explicit(&time->high1, new_high, memory_order_relaxed);
time              146 kernel/generic/include/atomic.h 		atomic_store_explicit(&time->low, (uint32_t) val, memory_order_release);
time              147 kernel/generic/include/atomic.h 		atomic_store_explicit(&time->high2, new_high, memory_order_release);
time              151 kernel/generic/include/atomic.h static inline uint64_t atomic_time_read(atomic_time_stat_t *time)
time              153 kernel/generic/include/atomic.h 	uint32_t high2 = atomic_load_explicit(&time->high2, memory_order_acquire);
time              154 kernel/generic/include/atomic.h 	uint32_t low = atomic_load_explicit(&time->low, memory_order_acquire);
time              155 kernel/generic/include/atomic.h 	uint32_t high1 = atomic_load_explicit(&time->high1, memory_order_relaxed);
time              793 kernel/generic/src/proc/thread.c 	uint64_t time = get_cycle();
time              796 kernel/generic/src/proc/thread.c 		atomic_time_increment(&THREAD->ucycles, time - THREAD->last_cycle);
time              798 kernel/generic/src/proc/thread.c 		atomic_time_increment(&THREAD->kcycles, time - THREAD->last_cycle);
time              800 kernel/generic/src/proc/thread.c 	THREAD->last_cycle = time;
time              124 kernel/generic/src/time/timeout.c void timeout_register(timeout_t *timeout, uint64_t time,
time              128 kernel/generic/src/time/timeout.c 	timeout_register_deadline_locked(timeout, timeout_deadline_in_usec(time), handler, arg);
time              391 uspace/app/mkmfs/mkmfs.c 	const time_t sec = time(NULL);
time              429 uspace/app/mkmfs/mkmfs.c 	const time_t sec = time(NULL);
time              156 uspace/app/top/top.c 	struct timespec time;
time              157 uspace/app/top/top.c 	getrealtime(&time);
time              159 uspace/app/top/top.c 	target->hours = (time.tv_sec % DAY) / HOUR;
time              160 uspace/app/top/top.c 	target->minutes = (time.tv_sec % HOUR) / MINUTE;
time              161 uspace/app/top/top.c 	target->seconds = time.tv_sec % MINUTE;
time              243 uspace/app/wavplay/dplay.c 	printf("%.2lld:%.6lld   "f, time.tv_sec % 100, \
time              244 uspace/app/wavplay/dplay.c 	    NSEC2USEC(time.tv_nsec), __VA_ARGS__)
time              260 uspace/app/wavplay/dplay.c 	struct timespec time = { 0 };
time              261 uspace/app/wavplay/dplay.c 	getuptime(&time);
time              320 uspace/app/wavplay/dplay.c 		getuptime(&time);
time              157 uspace/dist/src/c/demos/top/top.c 	struct timespec time;
time              158 uspace/dist/src/c/demos/top/top.c 	getrealtime(&time);
time              160 uspace/dist/src/c/demos/top/top.c 	target->hours = (time.tv_sec % DAY) / HOUR;
time              161 uspace/dist/src/c/demos/top/top.c 	target->minutes = (time.tv_sec % HOUR) / MINUTE;
time              162 uspace/dist/src/c/demos/top/top.c 	target->seconds = time.tv_sec % MINUTE;
time              478 uspace/drv/bus/usb/ohci/hc.c 	size_t time = 0;
time              482 uspace/drv/bus/usb/ohci/hc.c 		time += 10;
time              484 uspace/drv/bus/usb/ohci/hc.c 	usb_log_debug2("HC reset complete in %zu us.", time);
time             1502 uspace/drv/nic/rtl8139/driver.c     nic_result_t *we_receive, uint16_t *time)
time             1514 uspace/drv/nic/rtl8139/driver.c 		*time = 0;
time             1522 uspace/drv/nic/rtl8139/driver.c 	*time = RTL8139_PAUSE_VAL;
time             1537 uspace/drv/nic/rtl8139/driver.c     uint16_t time)
time             1557 uspace/drv/nic/rtl8139/driver.c 	if (allow_send && time > 0) {
time               87 uspace/drv/nic/rtl8139/general.c     const struct timespec *time)
time               89 uspace/drv/nic/rtl8139/general.c 	if (!ta || timer_freq == 0 || !time)
time               97 uspace/drv/nic/rtl8139/general.c 	struct timespec remains = *time;
time               63 uspace/drv/nic/rtl8169/driver.c     nic_result_t *we_receive, uint16_t *time);
time               65 uspace/drv/nic/rtl8169/driver.c     uint16_t time);
time              600 uspace/drv/nic/rtl8169/driver.c     nic_result_t *we_receive, uint16_t *time)
time              606 uspace/drv/nic/rtl8169/driver.c     uint16_t time)
time              374 uspace/lib/c/generic/time.c static int normalize_tm_time(struct tm *tm, time_t time)
time              377 uspace/lib/c/generic/time.c 		.tv_sec = time,
time              636 uspace/lib/c/generic/time.c 	struct tm time;
time              637 uspace/lib/c/generic/time.c 	errno_t rc = clock_dev_time_get(clock_conn, &time);
time              641 uspace/lib/c/generic/time.c 	ts->tv_nsec = time.tm_nsec;
time              642 uspace/lib/c/generic/time.c 	ts->tv_sec = mktime(&time);
time              720 uspace/lib/c/generic/time.c void udelay(sysarg_t time)
time              722 uspace/lib/c/generic/time.c 	(void) __SYSCALL1(SYS_THREAD_UDELAY, (sysarg_t) time);
time              993 uspace/lib/c/generic/time.c errno_t time_utc2tm(const time_t time, struct tm *restrict result)
time             1006 uspace/lib/c/generic/time.c 	if (normalize_tm_time(result, time) == -1)
time             1023 uspace/lib/c/generic/time.c errno_t time_utc2str(const time_t time, char *restrict buf)
time             1026 uspace/lib/c/generic/time.c 	errno_t ret = time_utc2tm(time, &tm);
time             1105 uspace/lib/c/generic/time.c errno_t time_local2tm(const time_t time, struct tm *restrict result)
time             1108 uspace/lib/c/generic/time.c 		.tv_sec = time,
time             1127 uspace/lib/c/generic/time.c errno_t time_local2str(const time_t time, char *buf)
time             1130 uspace/lib/c/generic/time.c 	errno_t ret = time_local2tm(time, &loctime);
time               87 uspace/lib/c/include/time.h extern time_t time(time_t *);
time              616 uspace/lib/cpp/include/__bits/chrono.hpp                 rep time = NSEC2USEC(ts.tv_nsec);
time              617 uspace/lib/cpp/include/__bits/chrono.hpp                 time += (ts.tv_sec * 1'000'000ul);
time              619 uspace/lib/cpp/include/__bits/chrono.hpp                 return time_point{duration{time - epoch_usecs}};
time              659 uspace/lib/cpp/include/__bits/chrono.hpp                 rep time = NSEC2USEC(ts.tv_nsec);
time              660 uspace/lib/cpp/include/__bits/chrono.hpp                 time += (ts.tv_sec * 1'000'000ul);
time              662 uspace/lib/cpp/include/__bits/chrono.hpp                 return time_point{duration{time}};
time               72 uspace/lib/cpp/include/__bits/locale/locale.hpp             static const category time     = 0b010'0000;
time               75 uspace/lib/cpp/include/__bits/locale/locale.hpp                                              numeric | time | messages;
time             1032 uspace/lib/cpp/include/__bits/random.hpp             ::srand(::time(nullptr));
time               48 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp             return aux::threading::time::convert(abs_time - Clock::now());
time              118 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto time = aux::threading::time::convert(rel_time);
time              120 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 return aux::threading::mutex::try_lock_for(time);
time              127 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto time = aux::threading::time::convert(dur);
time              129 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 return aux::threading::mutex::try_lock_for(time);
time              167 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto time = aux::threading::time::convert(rel_time);
time              168 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto ret = aux::threading::mutex::try_lock_for(time);
time              182 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto time = aux::threading::time::convert(dur);
time              183 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto ret = aux::threading::mutex::try_lock_for(time);
time               58 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto time = aux::threading::time::convert(rel_time);
time               60 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 return aux::threading::shared_mutex::try_lock_for(time);
time               67 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto time = aux::threading::time::convert(dur);
time               69 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 return aux::threading::shared_mutex::try_lock_for(time);
time               79 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto time = aux::threading::time::convert(rel_time);
time               81 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 return aux::threading::shared_mutex::try_lock_shared_for(time);
time               88 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto time = aux::threading::time::convert(dur);
time               90 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 return aux::threading::shared_mutex::try_lock_shared_for(time);
time              126 uspace/lib/cpp/include/__bits/thread/shared_state.hpp                     aux::threading::time::convert(rel_time)
time              148 uspace/lib/cpp/include/__bits/thread/shared_state.hpp                     aux::threading::time::convert(abs_time - Clock::now())
time              179 uspace/lib/cpp/include/__bits/thread/shared_state.hpp             virtual future_status timed_wait_(aux::time_unit_t time) const
time              183 uspace/lib/cpp/include/__bits/thread/shared_state.hpp                     const_cast<aux::mutex_t&>(mutex_), time
time              317 uspace/lib/cpp/include/__bits/thread/shared_state.hpp             future_status timed_wait_(aux::time_unit_t time) const override
time              323 uspace/lib/cpp/include/__bits/thread/shared_state.hpp                 aux::threading::time::sleep(time);
time              223 uspace/lib/cpp/include/__bits/thread/thread.hpp             auto time = aux::threading::time::convert(abs_time - now);
time              224 uspace/lib/cpp/include/__bits/thread/thread.hpp             aux::threading::time::sleep(time);
time              234 uspace/lib/cpp/include/__bits/thread/thread.hpp             auto time = aux::threading::time::convert(rel_time);
time              235 uspace/lib/cpp/include/__bits/thread/thread.hpp             aux::threading::time::sleep(time);
time              152 uspace/lib/cpp/include/__bits/thread/threading.hpp             static void sleep(time_unit time)
time              154 uspace/lib/cpp/include/__bits/thread/threading.hpp                 ::helenos::fibril_usleep(time);
time              170 uspace/lib/ext4/src/inode.c void ext4_inode_set_access_time(ext4_inode_t *inode, uint32_t time)
time              172 uspace/lib/ext4/src/inode.c 	inode->access_time = host2uint32_t_le(time);
time              193 uspace/lib/ext4/src/inode.c void ext4_inode_set_change_inode_time(ext4_inode_t *inode, uint32_t time)
time              195 uspace/lib/ext4/src/inode.c 	inode->change_inode_time = host2uint32_t_le(time);
time              216 uspace/lib/ext4/src/inode.c void ext4_inode_set_modification_time(ext4_inode_t *inode, uint32_t time)
time              218 uspace/lib/ext4/src/inode.c 	inode->modification_time = host2uint32_t_le(time);
time              239 uspace/lib/ext4/src/inode.c void ext4_inode_set_deletion_time(ext4_inode_t *inode, uint32_t time)
time              241 uspace/lib/ext4/src/inode.c 	inode->deletion_time = host2uint32_t_le(time);
time              402 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_mount_time(ext4_superblock_t *sb, uint32_t time)
time              404 uspace/lib/ext4/src/superblock.c 	sb->mount_time = host2uint32_t_le(time);
time              425 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_write_time(ext4_superblock_t *sb, uint32_t time)
time              427 uspace/lib/ext4/src/superblock.c 	sb->write_time = host2uint32_t_le(time);
time              586 uspace/lib/ext4/src/superblock.c void ext4_superblock_set_last_check_time(ext4_superblock_t *sb, uint32_t time)
time              588 uspace/lib/ext4/src/superblock.c 	sb->last_check_time = host2uint32_t_le(time);
time             1269 uspace/lib/ieee80211/src/ieee80211.c 				result->last_beacon = time(NULL);
time             1313 uspace/lib/ieee80211/src/ieee80211.c 		ap_data->last_beacon = time(NULL);
time              135 uspace/lib/ieee80211/src/ieee80211_impl.c 			if ((time(NULL) - cur_result->last_beacon) >
time               87 uspace/lib/posix/include/libc/time.h extern time_t time(time_t *);
time               70 uspace/lib/posix/include/posix/time.h extern time_t time(time_t *t);
time               86 uspace/lib/posix/include/posix/time.h extern time_t time(time_t *t);
HelenOS homepage, sources at GitHub