Lines Matching defs:fn
50 pub fn msecs_to_jiffies(msecs: Msecs) -> Jiffies {
72 fn ktime_get() -> bindings::ktime_t;
91 fn ktime_get() -> bindings::ktime_t {
116 fn ktime_get() -> bindings::ktime_t {
134 fn ktime_get() -> bindings::ktime_t {
156 fn ktime_get() -> bindings::ktime_t {
175 fn clone(&self) -> Self {
185 pub fn now() -> Self {
196 pub fn elapsed(&self) -> Delta {
201 pub(crate) fn as_nanos(&self) -> i64 {
216 pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> Self {
233 fn sub(self, other: Instant<C>) -> Delta {
244 fn add(self, rhs: Delta) -> Self::Output {
264 fn sub(self, rhs: Delta) -> Self::Output {
294 fn add(self, rhs: Self) -> Self {
303 fn add_assign(&mut self, rhs: Self) {
312 fn sub(self, rhs: Self) -> Self::Output {
321 fn sub_assign(&mut self, rhs: Self) {
330 fn mul(self, rhs: i64) -> Self::Output {
339 fn mul_assign(&mut self, rhs: i64) {
348 fn div(self, rhs: Self) -> Self::Output {
372 pub const fn from_micros(micros: i64) -> Self {
384 pub const fn from_millis(millis: i64) -> Self {
396 pub const fn from_secs(secs: i64) -> Self {
404 pub fn is_zero(self) -> bool {
410 pub fn is_negative(self) -> bool {
416 pub const fn as_nanos(self) -> i64 {
423 pub fn as_micros_ceil(self) -> i64 {
438 pub fn as_millis(self) -> i64 {
456 pub fn rem_nanos(self, dividend: i32) -> Self {