Lines Matching refs:rgetattr
166 let rgetattr = server.get_attr(&tgetattr).expect("failed to call get_attr"); in check_attr() localVariable
177 assert_eq!(rgetattr.valid, P9_GETATTR_BASIC); in check_attr()
178 assert_eq!(rgetattr.qid.ty, ty); in check_attr()
179 assert_eq!(rgetattr.qid.version, md.mtime() as u32); in check_attr()
180 assert_eq!(rgetattr.qid.path, md.ino()); in check_attr()
181 assert_eq!(rgetattr.mode, md.mode()); in check_attr()
182 assert_eq!(rgetattr.uid, md.uid()); in check_attr()
183 assert_eq!(rgetattr.gid, md.gid()); in check_attr()
184 assert_eq!(rgetattr.nlink, md.nlink()); in check_attr()
185 assert_eq!(rgetattr.rdev, md.rdev()); in check_attr()
186 assert_eq!(rgetattr.size, md.size()); in check_attr()
187 assert_eq!(rgetattr.atime_sec, md.atime() as u64); in check_attr()
188 assert_eq!(rgetattr.atime_nsec, md.atime_nsec() as u64); in check_attr()
189 assert_eq!(rgetattr.mtime_sec, md.mtime() as u64); in check_attr()
190 assert_eq!(rgetattr.mtime_nsec, md.mtime_nsec() as u64); in check_attr()
191 assert_eq!(rgetattr.ctime_sec, md.ctime() as u64); in check_attr()
192 assert_eq!(rgetattr.ctime_nsec, md.ctime_nsec() as u64); in check_attr()
193 assert_eq!(rgetattr.btime_sec, 0); in check_attr()
194 assert_eq!(rgetattr.btime_nsec, 0); in check_attr()
195 assert_eq!(rgetattr.gen, 0); in check_attr()
196 assert_eq!(rgetattr.data_version, 0); in check_attr()