Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 112) sorted by relevance

12345

/xnu-10002.41.9/libsyscall/wrappers/
H A Dutimensat.c35 static struct timespec times_now[2] = {
45 prepare_times_array_and_attrs(struct timespec times_in[2], in prepare_times_array_and_attrs()
46 struct timespec times_out[2], size_t *times_out_size, int *flags) in prepare_times_array_and_attrs()
56 struct timespec now = {}; in prepare_times_array_and_attrs()
78 struct timespec *times_cursor = times_out; in prepare_times_array_and_attrs()
82 *times_out_size += sizeof(struct timespec); in prepare_times_array_and_attrs()
87 *times_out_size += sizeof(struct timespec); in prepare_times_array_and_attrs()
93 futimens(int fd, const struct timespec _times_in[2]) in futimens()
95 struct timespec times_in[2]; in futimens()
105 struct timespec times_out[2] = {}; in futimens()
[all …]
H A Dselect-base.c45 fd_set * __restrict, const struct timespec * __restrict, const sigset_t * __restrict);
52 fd_set * __restrict, const struct timespec * __restrict, const sigset_t * __restrict);
107 fd_set * __restrict efds, const struct timespec * __restrict timo, in _pselect_emulated()
146 fd_set * __restrict exceptfds, const struct timespec * __restrict in pselect()
156 struct timespec tb; in pselect()
157 const struct timespec *timeout; in pselect()
H A Dgethostuuid.c32 extern int __gethostuuid(uuid_t, const struct timespec *);
37 gethostuuid(uuid_t uuid, const struct timespec *timeout) in gethostuuid()
56 _getprivatesystemidentifier(uuid_t uuid, const struct timespec *timeout) in _getprivatesystemidentifier()
H A Dgethostuuid.h39 int gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC…
41 int gethostuuid(uuid_t, const struct timespec *) __API_AVAILABLE(macos(10.5)) __SPI_AVAILABLE(ios(2…
H A Dgethostuuid_private.h40 int _getprivatesystemidentifier(uuid_t uuid, const struct timespec *timeout) __OSX_AVAILABLE_STARTI…
/xnu-10002.41.9/bsd/net/classq/
H A Dclassq_sfb.h92 struct timespec freezetime[SFB_LEVELS][SFB_BINS];
122 struct timespec sfb_getqtime; /* last dequeue timestamp */
123 struct timespec sfb_holdtime; /* random holdtime in nsec */
128 struct timespec sfb_update_interval;
133 struct timespec sfb_update_time;
136 struct timespec sfb_hinterval; /* random reset interval in sec */
137 struct timespec sfb_nextreset; /* reset deadline */
140 struct timespec sfb_pboxtime; /* random pboxtime in nsec */
141 struct timespec sfb_pboxfreeze;
/xnu-10002.41.9/bsd/sys/
H A Dstat.h127 struct timespec st_atimespec; /* time of last access */
128 struct timespec st_mtimespec; /* time of last data modification */
129 struct timespec st_ctimespec; /* time of last file status change */
137 struct timespec st_atimespec; /* time of last access */ \
138 struct timespec st_mtimespec; /* time of last data modification */ \
139 struct timespec st_ctimespec; /* time of last status change */ \
140 struct timespec st_birthtimespec; /* time of file creation(birth) */
203 struct timespec st_atimespec; /* time of last access */
204 struct timespec st_mtimespec; /* time of last data modification */
205 struct timespec st_ctimespec; /* time of last status change */
[all …]
H A Dvstat.h61 struct timespec vst_atimespec; /* time of last access */
62 struct timespec vst_mtimespec; /* time of last data modification */
63 struct timespec vst_ctimespec; /* time of last file status change */
H A Dpipe.h166 struct timespec st_atimespec; /* time of last access */
167 struct timespec st_mtimespec; /* time of last data modification */
168 struct timespec st_ctimespec; /* time of last status change */
H A Devent.h377 struct timespec;
384 const struct timespec *timeout);
389 const struct timespec *timeout);
H A Dubc_internal.h176 struct timespec cs_mtime; /* modify time of file when
247 void ubc_get_cs_mtime(vnode_t, struct timespec *);
H A Dtime.h217 void nanotime(struct timespec *ts);
218 void nanouptime(struct timespec *ts);
H A Dsystm.h219 void bsd_timeout(void (*)(void *), void *arg, struct timespec * ts);
223 uint64_t tstoabstime(struct timespec *);
/xnu-10002.41.9/osfmk/libsa/sys/
H A Dtimers.h60 struct timespec { struct
67 extern int getclock(int, struct timespec *); argument
/xnu-10002.41.9/osfmk/mach/
H A Dmach_time_private.h39 struct timespec;
44 struct timespec *tp);
/xnu-10002.41.9/tests/benchmark/
H A Dhelpers.h19 uint64_t timespec_difference_us(const struct timespec* a, const struct timespec* b);
H A Dhelpers.c45 timespec_difference_us(const struct timespec* a, const struct timespec* b) in timespec_difference_us()
/xnu-10002.41.9/bsd/skywalk/nexus/netif/
H A Dnx_netif_poll.c47 struct timespec netif_poll_dbgrate = { .tv_sec = 1, .tv_nsec = 0 };
54 struct timespec ts; in nx_netif_rxpoll_set_mode()
103 struct timespec now, delta; in netif_rxpoll_compat_update_rxpoll_stats()
301 struct ifnet_stat_increment_param *s, struct timespec *start_time, in netif_rxpoll_poll_driver()
302 struct timespec *poll_duration) in netif_rxpoll_poll_driver()
306 struct timespec now; in netif_rxpoll_poll_driver()
349 struct timespec *ts = NULL; in netif_rxpoll_compat_thread_cont()
350 struct timespec start_time, poll_intvl, poll_duration; in netif_rxpoll_compat_thread_cont()
H A Dnx_netif.h448 struct timespec mit_mode_holdtime; /* mode holdtime in nsec */
449 struct timespec mit_mode_lasttime; /* last mode change time nsec */
450 struct timespec mit_sample_time; /* sampling holdtime in nsec */
451 struct timespec mit_sample_lasttime; /* last sampling time in nsec */
452 struct timespec mit_start_time; /* time of start work in nsec */
/xnu-10002.41.9/bsd/miscfs/devfs/
H A Ddevfsdefs.h139 struct timespec dn_atime;/* time of last access */
140 struct timespec dn_mtime;/* time of last modification */
141 struct timespec dn_ctime;/* time file changed */
/xnu-10002.41.9/tests/
H A Dutimensat.c20 static const struct timespec tptr[][2] = {
58 struct timespec now;
H A Duipc_kevent.c56 struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 }; in test_kevent()
112 struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 }; in test_kevent_lowat()
H A Dntp_adjtime_29192647.c60 struct timespec time; in get_abs_to_us_scale_factor()
106 struct timespec time;
193 struct timespec time;
/xnu-10002.41.9/bsd/sys/_types/
H A D_timespec.h29 #define _STRUCT_TIMESPEC struct timespec
/xnu-10002.41.9/osfmk/vm/
H A Dvm_protos.h332 struct timespec;
335 struct timespec *mtime,
336 struct timespec *cs_mtime);
404 struct timespec *mtime,
405 struct timespec *cs_mtime);

12345