Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/hrtimer.h
Show All 19 Lines | |||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _LINUX_HRTIMER_H_ | #ifndef _LINUXKPI_LINUX_HRTIMER_H_ | ||||
#define _LINUX_HRTIMER_H_ | #define _LINUXKPI_LINUX_HRTIMER_H_ | ||||
#include <sys/_callout.h> | #include <sys/_callout.h> | ||||
#include <sys/_mutex.h> | #include <sys/_mutex.h> | ||||
#include <linux/ktime.h> | #include <linux/ktime.h> | ||||
#include <linux/timer.h> | #include <linux/timer.h> | ||||
enum hrtimer_mode { | enum hrtimer_mode { | ||||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
bool linux_hrtimer_active(struct hrtimer *); | bool linux_hrtimer_active(struct hrtimer *); | ||||
int linux_hrtimer_cancel(struct hrtimer *); | int linux_hrtimer_cancel(struct hrtimer *); | ||||
void linux_hrtimer_init(struct hrtimer *); | void linux_hrtimer_init(struct hrtimer *); | ||||
void linux_hrtimer_set_expires(struct hrtimer *, ktime_t); | void linux_hrtimer_set_expires(struct hrtimer *, ktime_t); | ||||
void linux_hrtimer_start(struct hrtimer *, ktime_t); | void linux_hrtimer_start(struct hrtimer *, ktime_t); | ||||
void linux_hrtimer_start_range_ns(struct hrtimer *, ktime_t, int64_t); | void linux_hrtimer_start_range_ns(struct hrtimer *, ktime_t, int64_t); | ||||
void linux_hrtimer_forward_now(struct hrtimer *, ktime_t); | void linux_hrtimer_forward_now(struct hrtimer *, ktime_t); | ||||
#endif /* _LINUX_HRTIMER_H_ */ | #endif /* _LINUXKPI_LINUX_HRTIMER_H_ */ |