Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_remote.c52 struct hmdfs_open_ret *open_ret, in hmdfs_open_final_remote() argument
64 if (info->remote_ino != open_ret->ino) { in hmdfs_open_final_remote()
67 info->remote_ino, open_ret->ino); in hmdfs_open_final_remote()
68 hmdfs_send_close(info->conn, &open_ret->fid); in hmdfs_open_final_remote()
76 trace_hmdfs_open_final_remote(info, open_ret, file, reason); in hmdfs_open_final_remote()
84 if (inode->i_size != open_ret->file_size || in hmdfs_open_final_remote()
85 hmdfs_time_compare(&info->remote_ctime, &open_ret->remote_ctime)) { in hmdfs_open_final_remote()
125 if (hmdfs_time_compare(&info->stable_ctime, &open_ret->stable_ctime)) { in hmdfs_open_final_remote()
132 trace_hmdfs_open_final_remote(info, open_ret, file, reason); in hmdfs_open_final_remote()
137 inode->i_ctime = open_ret->remote_ctime; in hmdfs_open_final_remote()
[all …]
Dhmdfs_trace.h662 struct hmdfs_open_ret *open_ret,
666 TP_ARGS(info, open_ret, file, reason),
691 __entry->file_id = open_ret->fid.id;
692 __entry->file_ver = open_ret->fid.ver;
693 __entry->remote_file_size = open_ret->file_size;
694 __entry->remote_ino = open_ret->ino;
695 __entry->remote_ctime = open_ret->remote_ctime.tv_sec;
696 __entry->remote_ctime_nsec = open_ret->remote_ctime.tv_nsec;
697 __entry->remote_stable_ctime = open_ret->stable_ctime.tv_sec;
699 open_ret->stable_ctime.tv_nsec;
Dhmdfs_client.c33 __u8 file_type, struct hmdfs_open_ret *open_ret) in hmdfs_send_open() argument
62 open_ret->ino = le64_to_cpu(resp->ino); in hmdfs_send_open()
63 open_ret->fid.ver = le64_to_cpu(resp->file_ver); in hmdfs_send_open()
64 open_ret->fid.id = le32_to_cpu(resp->file_id); in hmdfs_send_open()
65 open_ret->file_size = le64_to_cpu(resp->file_size); in hmdfs_send_open()
66 open_ret->remote_ctime.tv_sec = le64_to_cpu(resp->ctime); in hmdfs_send_open()
67 open_ret->remote_ctime.tv_nsec = le32_to_cpu(resp->ctime_nsec); in hmdfs_send_open()
68 open_ret->stable_ctime.tv_sec = le64_to_cpu(resp->stable_ctime); in hmdfs_send_open()
69 open_ret->stable_ctime.tv_nsec = le32_to_cpu(resp->stable_ctime_nsec); in hmdfs_send_open()
Dhmdfs_client.h93 __u8 file_type, struct hmdfs_open_ret *open_ret);