Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h836 static inline void ostid_cpu_to_le(const struct ost_id *src_oi, in ostid_cpu_to_le() argument
839 if (fid_seq_is_mdt0(ostid_seq(src_oi))) { in ostid_cpu_to_le()
840 dst_oi->oi.oi_id = cpu_to_le64(src_oi->oi.oi_id); in ostid_cpu_to_le()
841 dst_oi->oi.oi_seq = cpu_to_le64(src_oi->oi.oi_seq); in ostid_cpu_to_le()
843 fid_cpu_to_le(&dst_oi->oi_fid, &src_oi->oi_fid); in ostid_cpu_to_le()
847 static inline void ostid_le_to_cpu(const struct ost_id *src_oi, in ostid_le_to_cpu() argument
850 if (fid_seq_is_mdt0(ostid_seq(src_oi))) { in ostid_le_to_cpu()
851 dst_oi->oi.oi_id = le64_to_cpu(src_oi->oi.oi_id); in ostid_le_to_cpu()
852 dst_oi->oi.oi_seq = le64_to_cpu(src_oi->oi.oi_seq); in ostid_le_to_cpu()
854 fid_le_to_cpu(&dst_oi->oi_fid, &src_oi->oi_fid); in ostid_le_to_cpu()
[all …]