sys_timerfd.c (918966a27479b4fb7c4c8999c4926d83c2c081e5) sys_timerfd.c (f28526e9466cd60ed33053e922238ba1c9040341)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2014 Dmitry Chagin <dchagin@FreeBSD.org>
5 * Copyright (c) 2023 Jake Freeland <jfree@FreeBSD.org>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 357 unchanged lines hidden (view full) ---

366 .fo_poll = timerfd_poll,
367 .fo_kqfilter = timerfd_kqfilter,
368 .fo_stat = timerfd_stat,
369 .fo_close = timerfd_close,
370 .fo_chmod = invfo_chmod,
371 .fo_chown = invfo_chown,
372 .fo_sendfile = invfo_sendfile,
373 .fo_fill_kinfo = timerfd_fill_kinfo,
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2014 Dmitry Chagin <dchagin@FreeBSD.org>
5 * Copyright (c) 2023 Jake Freeland <jfree@FreeBSD.org>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 357 unchanged lines hidden (view full) ---

366 .fo_poll = timerfd_poll,
367 .fo_kqfilter = timerfd_kqfilter,
368 .fo_stat = timerfd_stat,
369 .fo_close = timerfd_close,
370 .fo_chmod = invfo_chmod,
371 .fo_chown = invfo_chown,
372 .fo_sendfile = invfo_sendfile,
373 .fo_fill_kinfo = timerfd_fill_kinfo,
374 .fo_cmp = file_kcmp_generic,
374 .fo_flags = DFLAG_PASSABLE,
375};
376
377static void
378timerfd_curval(struct timerfd *tfd, struct itimerspec *old_value)
379{
380 struct timespec curr_value;
381

--- 214 unchanged lines hidden ---
375 .fo_flags = DFLAG_PASSABLE,
376};
377
378static void
379timerfd_curval(struct timerfd *tfd, struct itimerspec *old_value)
380{
381 struct timespec curr_value;
382

--- 214 unchanged lines hidden ---