Home
last modified time | relevance | path

Searched refs:duration (Results 1 – 4 of 4) sorted by relevance

/fs/afs/
Dflock.c53 ktime_t expires_at, now, duration; in afs_schedule_lock_extension() local
58 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()
/fs/
Dcompat_ioctl.c116 compat_uint_t duration; /* [o] time taken by cmd (unit: millisec) */ member
246 unsigned int duration; member
265 get_user(d, &r[i].duration) || in sg_grt_trans()
267 put_user(d, &o[i].duration)) in sg_grt_trans()
/fs/ceph/
Dinode.c1049 long unsigned duration = le32_to_cpu(lease->duration_ms); in __update_dentry_lease() local
1050 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()
Dmds_client.c3937 unsigned long duration = in handle_lease() local
3941 di->time = di->lease_renew_from + duration; in handle_lease()
3943 (duration >> 1); in handle_lease()