Lines Matching refs:ctime
457 struct hmdfs_time_t ctime = info->stat_valid ? info->stat.ctime :
468 resp->ctime = cpu_to_le64(ctime.tv_sec);
469 resp->ctime_nsec = cpu_to_le32(ctime.tv_nsec);
472 * In server, ctime might stay the same after coverwrite. We introduce a
474 * - if open rpc time < ctime, stable_ctime = 0;
475 * - if ctime <= open rpc time < ctime + dcache_precision, stable_ctime
476 * = ctime
477 * - else, stable_ctime = ctime + dcache_precision;
479 precision = hmdfs_time_add(ctime, precision);
480 if (hmdfs_time_compare(¤t_time, &ctime) < 0) {
483 } else if (hmdfs_time_compare(¤t_time, &ctime) >= 0 &&
485 resp->stable_ctime = resp->ctime;
916 struct hmdfs_time_t ctime = { .tv_sec = le64_to_cpu(h->dentry_ctime),
923 if (hmdfs_time_compare(&time, &ctime) != 0)
1730 resp->ctime = cpu_to_le64(ks->ctime.tv_sec);
1731 resp->ctime_nsec = cpu_to_le32(ks->ctime.tv_nsec);