HelenOS sources

now               121 kernel/generic/src/interrupt/interrupt.c 		uint64_t now = get_cycle();
now               122 kernel/generic/src/interrupt/interrupt.c 		atomic_time_increment(&CPU->idle_cycles, now - CPU_LOCAL->last_cycle);
now               123 kernel/generic/src/interrupt/interrupt.c 		CPU_LOCAL->last_cycle = now;
now               126 kernel/generic/src/time/clock.c 	uint64_t now = get_cycle();
now               127 kernel/generic/src/time/clock.c 	atomic_time_increment(&CPU->busy_cycles, now - CPU_LOCAL->last_cycle);
now               128 kernel/generic/src/time/clock.c 	CPU_LOCAL->last_cycle = now;
now                72 uspace/app/netecho/comm.c 	size_t now;
now                78 uspace/app/netecho/comm.c 		now = min(size - pos, RECV_BUF_SIZE);
now                79 uspace/app/netecho/comm.c 		rc = udp_rmsg_read(rmsg, pos, recv_buf, now);
now                85 uspace/app/netecho/comm.c 		netecho_received(recv_buf, now);
now                86 uspace/app/netecho/comm.c 		pos += now;
now                51 uspace/app/tester/ipc/starve.c 		struct timespec now;
now                52 uspace/app/tester/ipc/starve.c 		getuptime(&now);
now                54 uspace/app/tester/ipc/starve.c 		if (NSEC2SEC(ts_sub_diff(&now, &start)) >= DURATION_SECS)
now               230 uspace/app/wifi_supplicant/wifi_supplicant.c static errno_t wifi_scan(uint32_t index, bool now)
now               240 uspace/app/wifi_supplicant/wifi_supplicant.c 	errno_t rc = ieee80211_get_scan_results(sess, &scan_results, now);
now               303 uspace/app/wifi_supplicant/wifi_supplicant.c 			bool now = false;
now               306 uspace/app/wifi_supplicant/wifi_supplicant.c 					now = true;
now               308 uspace/app/wifi_supplicant/wifi_supplicant.c 			return wifi_scan(index, now);
now               392 uspace/drv/audio/hdaudio/hdactl.c 	size_t now;
now               403 uspace/drv/audio/hdaudio/hdactl.c 		now = min(avail, count - idx);
now               405 uspace/drv/audio/hdaudio/hdactl.c 		for (i = 0; i < now; i++) {
now               591 uspace/lib/c/generic/io/io.c 	size_t now;
now               638 uspace/lib/c/generic/io/io.c 			now = data_avail;
now               640 uspace/lib/c/generic/io/io.c 			now = bytes_left;
now               642 uspace/lib/c/generic/io/io.c 		for (i = 0; i < now; i++) {
now               646 uspace/lib/c/generic/io/io.c 		dp += now;
now               647 uspace/lib/c/generic/io/io.c 		stream->buf_tail += now;
now               648 uspace/lib/c/generic/io/io.c 		bytes_left -= now;
now               649 uspace/lib/c/generic/io/io.c 		total_read += now;
now               667 uspace/lib/c/generic/io/io.c 	size_t now;
now               679 uspace/lib/c/generic/io/io.c 		now = _fwrite(buf, size, nmemb, stream);
now               681 uspace/lib/c/generic/io/io.c 		return now;
now               702 uspace/lib/c/generic/io/io.c 			now = buf_free;
now               704 uspace/lib/c/generic/io/io.c 			now = bytes_left;
now               706 uspace/lib/c/generic/io/io.c 		for (i = 0; i < now; i++) {
now               714 uspace/lib/c/generic/io/io.c 		data += now;
now               715 uspace/lib/c/generic/io/io.c 		stream->buf_head += now;
now               716 uspace/lib/c/generic/io/io.c 		buf_free -= now;
now               717 uspace/lib/c/generic/io/io.c 		bytes_left -= now;
now               718 uspace/lib/c/generic/io/io.c 		total_written += now;
now               248 uspace/lib/c/generic/thread/fibril.c 	struct timespec now;
now               249 uspace/lib/c/generic/thread/fibril.c 	getuptime(&now);
now               251 uspace/lib/c/generic/thread/fibril.c 	if (ts_gteq(&now, expires))
now               254 uspace/lib/c/generic/thread/fibril.c 	return ipc_wait(call, NSEC2USEC(ts_sub_diff(expires, &now)),
now                48 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp             return aux::threading::time::convert(abs_time - Clock::now());
now               114 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp                     lock, chrono::steady_clock::now() + rel_time
now               124 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp                     lock, chrono::steady_clock::now() + rel_time,
now               198 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp                     lock, chrono::steady_clock::now() + rel_time
now               208 uspace/lib/cpp/include/__bits/thread/condition_variable.hpp                     lock, chrono::steady_clock::now() + rel_time,
now               126 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto dur = (abs_time - Clock::now());
now               181 uspace/lib/cpp/include/__bits/thread/mutex.hpp                 auto dur = (abs_time - Clock::now());
now                66 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto dur = (abs_time - Clock::now());
now                87 uspace/lib/cpp/include/__bits/thread/shared_mutex.hpp                 auto dur = (abs_time - Clock::now());
now               148 uspace/lib/cpp/include/__bits/thread/shared_state.hpp                     aux::threading::time::convert(abs_time - Clock::now())
now               221 uspace/lib/cpp/include/__bits/thread/thread.hpp             auto now = Clock::now();
now               223 uspace/lib/cpp/include/__bits/thread/thread.hpp             auto time = aux::threading::time::convert(abs_time - now);
now               208 uspace/lib/cpp/src/__bits/test/future.cpp         res7 = f7.wait_until(std::chrono::system_clock::now() + 5ms);
now               228 uspace/lib/cpp/src/__bits/test/future.cpp         auto res8 = f8.wait_until(std::chrono::system_clock::now() + 10ms);
now                66 uspace/lib/drv/generic/remote_ieee80211.c     ieee80211_scan_results_t *results, bool now)
now                73 uspace/lib/drv/generic/remote_ieee80211.c 	    IEEE80211_GET_SCAN_RESULTS, now, NULL);
now               280 uspace/lib/drv/generic/remote_ieee80211.c 	bool now = ipc_get_arg2(call);
now               282 uspace/lib/drv/generic/remote_ieee80211.c 	errno_t rc = ieee80211_iface->get_scan_results(fun, &scan_results, now);
now               626 uspace/lib/ext4/src/filesystem.c 	uint32_t now;
now               649 uspace/lib/ext4/src/filesystem.c 			now = descriptors_per_block;
now               651 uspace/lib/ext4/src/filesystem.c 			now = dcnt;
now               655 uspace/lib/ext4/src/filesystem.c 		for (i = 0; i < now; i++) {
now               699 uspace/lib/ext4/src/filesystem.c 		dcnt -= now;
now                53 uspace/lib/ieee80211/src/ieee80211_iface_impl.c     ieee80211_scan_results_t *results, bool now)
now                61 uspace/lib/ieee80211/src/ieee80211_iface_impl.c 	if (now)
now               175 uspace/lib/riff/src/rwave.c 	size_t now;
now               181 uspace/lib/riff/src/rwave.c 		now = min(bytes, ww->bufsize);
now               185 uspace/lib/riff/src/rwave.c 			memcpy(ww->buf, data, now);
now               190 uspace/lib/riff/src/rwave.c 			for (i = 0; i < now / 2; i++) {
now               198 uspace/lib/riff/src/rwave.c 		rc = riff_write(ww->rw, ww->buf, now);
now               204 uspace/lib/riff/src/rwave.c 		bytes -= now;
now               205 uspace/lib/riff/src/rwave.c 		data += now;
now               984 uspace/lib/trackmod/trackmod.c 	size_t now;
now               993 uspace/lib/trackmod/trackmod.c 		now = min(rsmp, nsamples);
now               996 uspace/lib/trackmod/trackmod.c 		    now * modplay->frame_size);
now               997 uspace/lib/trackmod/trackmod.c 		nsamples -= now;
now               998 uspace/lib/trackmod/trackmod.c 		buffer += now * modplay->frame_size;
now                86 uspace/srv/hid/input/proto/mousedev.c 	struct timespec now;
now                89 uspace/srv/hid/input/proto/mousedev.c 	getuptime(&now);
now                94 uspace/srv/hid/input/proto/mousedev.c 		ms_delay = ts_sub_diff(&now, &mousedev->press_time) / 1000000;
now               105 uspace/srv/hid/input/proto/mousedev.c 	mousedev->press_time = now;
now               464 uspace/srv/hid/remcons/user.c 	size_t now;
now               479 uspace/srv/hid/remcons/user.c 		now = min(remain, size);
now               480 uspace/srv/hid/remcons/user.c 		memcpy(user->send_buf + user->send_buf_used, data, now);
now               481 uspace/srv/hid/remcons/user.c 		user->send_buf_used += now;
now               482 uspace/srv/hid/remcons/user.c 		remain -= now;
now               483 uspace/srv/hid/remcons/user.c 		data += now;
now               484 uspace/srv/hid/remcons/user.c 		size -= now;
HelenOS homepage, sources at GitHub