Searched refs:duration (Results 1 – 4 of 4) sorted by relevance
53 ktime_t expires_at, now, duration; in afs_schedule_lock_extension() local58 duration = ktime_sub(expires_at, now); in afs_schedule_lock_extension()59 if (duration <= 0) in afs_schedule_lock_extension()62 duration_j = nsecs_to_jiffies(ktime_to_ns(duration)); in afs_schedule_lock_extension()
116 compat_uint_t duration; /* [o] time taken by cmd (unit: millisec) */ member246 unsigned int duration; member265 get_user(d, &r[i].duration) || in sg_grt_trans()267 put_user(d, &o[i].duration)) in sg_grt_trans()
1049 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease() local1050 long unsigned ttl = from_time + (duration * HZ) / 1000; in __update_dentry_lease()1051 long unsigned half_ttl = from_time + (duration * HZ / 2) / 1000; in __update_dentry_lease()1054 dentry, duration, ttl); in __update_dentry_lease()1061 if (duration == 0) { in __update_dentry_lease()
3937 unsigned long duration = in handle_lease() local3941 di->time = di->lease_renew_from + duration; in handle_lease()3943 (duration >> 1); in handle_lease()