Lines Matching full:body

91 		out.body.entry.attr.mode = S_IFREG | 0644;  in TEST_F()
92 out.body.entry.nodeid = ino; in TEST_F()
93 out.body.entry.entry_valid = UINT64_MAX; in TEST_F()
104 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
105 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
106 out.body.attr.attr_valid = UINT64_MAX; in TEST_F()
135 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
136 out.body.entry.nodeid = ino; in TEST_F()
144 in.body.setattr.valid == valid && in TEST_F()
145 in.body.setattr.mode == newmode); in TEST_F()
150 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
151 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
174 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
175 out.body.entry.nodeid = ino; in TEST_F()
176 out.body.entry.attr.nlink = 2; in TEST_F()
177 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
178 out.body.entry.entry_valid = UINT64_MAX; in TEST_F()
184 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
185 out.body.entry.nodeid = ino; in TEST_F()
186 out.body.entry.attr.nlink = 2; in TEST_F()
187 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
188 out.body.entry.entry_valid = UINT64_MAX; in TEST_F()
196 in.body.setattr.valid == valid && in TEST_F()
197 in.body.setattr.mode == newmode); in TEST_F()
202 out.body.attr.attr.ino = ino; in TEST_F()
203 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
204 out.body.attr.attr.nlink = 2; in TEST_F()
205 out.body.attr.attr_valid = UINT64_MAX; in TEST_F()
234 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
235 out.body.entry.nodeid = ino; in TEST_F()
236 out.body.entry.attr.gid = oldgroup; in TEST_F()
237 out.body.entry.attr.uid = olduser; in TEST_F()
245 in.body.setattr.valid == valid && in TEST_F()
246 in.body.setattr.uid == newuser && in TEST_F()
247 in.body.setattr.gid == newgroup); in TEST_F()
252 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
253 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
254 out.body.attr.attr.uid = newuser; in TEST_F()
255 out.body.attr.attr.gid = newgroup; in TEST_F()
276 out.body.entry.attr.mode = S_IFREG | 0777; in TEST_F()
277 out.body.entry.nodeid = ino; in TEST_F()
278 out.body.entry.attr.uid = in.header.uid; in TEST_F()
279 out.body.entry.attr.gid = in.header.gid; in TEST_F()
306 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
307 out.body.entry.nodeid = ino; in TEST_F()
308 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
327 in.body.setattr.valid == valid && in TEST_F()
328 in.body.setattr.mode == newmode); in TEST_F()
333 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
334 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()
357 out.body.entry.attr.mode = S_IFREG | 0755; in TEST_F()
358 out.body.entry.nodeid = ino; in TEST_F()
359 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
360 out.body.entry.attr.size = oldsize; in TEST_F()
372 out.body.open.fh = fh; in TEST_F()
380 in.body.setattr.valid == valid && in TEST_F()
381 in.body.setattr.fh == fh); in TEST_F()
386 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
387 out.body.attr.attr.mode = S_IFREG | 0755; in TEST_F()
388 out.body.attr.attr.size = newsize; in TEST_F()
408 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
409 out.body.entry.nodeid = ino; in TEST_F()
410 out.body.entry.attr.size = oldsize; in TEST_F()
418 in.body.setattr.valid == valid && in TEST_F()
419 in.body.setattr.size == newsize); in TEST_F()
424 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
425 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
426 out.body.attr.attr.size = newsize; in TEST_F()
484 out.body.attr.attr.ino = ino; in TEST_F()
485 out.body.attr.attr.mode = mode; in TEST_F()
486 out.body.attr.attr.size = cur_size; in TEST_F()
495 out.body.attr.attr.ino = ino; in TEST_F()
496 out.body.write.size = in.body.write.size; in TEST_F()
498 in.body.write.size + in.body.write.offset); in TEST_F()
505 (in.body.setattr.valid & FATTR_SIZE)); in TEST_F()
509 auto trunc_size = in.body.setattr.size; in TEST_F()
511 out.body.attr.attr.ino = ino; in TEST_F()
512 out.body.attr.attr.mode = mode; in TEST_F()
513 out.body.attr.attr.size = trunc_size; in TEST_F()
524 static_cast<uint64_t>(cur_size) - in.body.read.offset, in TEST_F()
525 static_cast<uint64_t>(in.body.read.size)); in TEST_F()
526 assert(osize <= sizeof(out.body.bytes)); in TEST_F()
529 memset(out.body.bytes, 'X', osize); in TEST_F()
531 bzero(out.body.bytes, osize); in TEST_F()
577 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
578 out.body.entry.nodeid = ino; in TEST_F()
579 out.body.entry.attr.size = oldsize; in TEST_F()
609 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
610 out.body.entry.nodeid = ino; in TEST_F()
611 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
612 out.body.entry.attr.atime = oldtimes[0].tv_sec; in TEST_F()
613 out.body.entry.attr.atimensec = oldtimes[0].tv_nsec; in TEST_F()
614 out.body.entry.attr.mtime = oldtimes[1].tv_sec; in TEST_F()
615 out.body.entry.attr.mtimensec = oldtimes[1].tv_nsec; in TEST_F()
623 in.body.setattr.valid == valid && in TEST_F()
624 (time_t)in.body.setattr.atime == in TEST_F()
626 (long)in.body.setattr.atimensec == in TEST_F()
628 (time_t)in.body.setattr.mtime == in TEST_F()
630 (long)in.body.setattr.mtimensec == in TEST_F()
636 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
637 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
638 out.body.attr.attr.atime = newtimes[0].tv_sec; in TEST_F()
639 out.body.attr.attr.atimensec = newtimes[0].tv_nsec; in TEST_F()
640 out.body.attr.attr.mtime = newtimes[1].tv_sec; in TEST_F()
641 out.body.attr.attr.mtimensec = newtimes[1].tv_nsec; in TEST_F()
664 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
665 out.body.entry.nodeid = ino; in TEST_F()
666 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
667 out.body.entry.attr.atime = oldtimes[0].tv_sec; in TEST_F()
668 out.body.entry.attr.atimensec = oldtimes[0].tv_nsec; in TEST_F()
669 out.body.entry.attr.mtime = oldtimes[1].tv_sec; in TEST_F()
670 out.body.entry.attr.mtimensec = oldtimes[1].tv_nsec; in TEST_F()
678 in.body.setattr.valid == valid && in TEST_F()
679 (time_t)in.body.setattr.mtime == in TEST_F()
681 (long)in.body.setattr.mtimensec == in TEST_F()
687 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
688 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
689 out.body.attr.attr.atime = oldtimes[0].tv_sec; in TEST_F()
690 out.body.attr.attr.atimensec = oldtimes[0].tv_nsec; in TEST_F()
691 out.body.attr.attr.mtime = newtimes[1].tv_sec; in TEST_F()
692 out.body.attr.attr.mtimensec = newtimes[1].tv_nsec; in TEST_F()
726 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F()
727 out.body.entry.nodeid = ino; in TEST_F()
728 out.body.entry.attr_valid = UINT64_MAX; in TEST_F()
729 out.body.entry.entry_valid = UINT64_MAX; in TEST_F()
730 out.body.entry.attr.atime = oldtimes[0].tv_sec; in TEST_F()
731 out.body.entry.attr.atimensec = oldtimes[0].tv_nsec; in TEST_F()
732 out.body.entry.attr.mtime = oldtimes[1].tv_sec; in TEST_F()
733 out.body.entry.attr.mtimensec = oldtimes[1].tv_nsec; in TEST_F()
742 in.body.setattr.valid == valid); in TEST_F()
747 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
748 out.body.attr.attr.mode = S_IFREG | 0644; in TEST_F()
749 out.body.attr.attr.atime = now[0].tv_sec; in TEST_F()
750 out.body.attr.attr.atimensec = now[0].tv_nsec; in TEST_F()
751 out.body.attr.attr.mtime = now[1].tv_sec; in TEST_F()
752 out.body.attr.attr.mtimensec = now[1].tv_nsec; in TEST_F()
753 out.body.attr.attr_valid = UINT64_MAX; in TEST_F()
784 out.body.entry.attr.mode = S_IFREG | 0777; in TEST_F()
785 out.body.entry.nodeid = ino; in TEST_F()
786 out.body.entry.entry_valid = UINT64_MAX; in TEST_F()
797 out.body.attr.attr.ino = ino; in TEST_F()
798 out.body.attr.attr.mode = S_IFDIR | 0777; // Changed! in TEST_F()
799 out.body.attr.attr.uid = newuser; in TEST_F()
823 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
824 out.body.entry.nodeid = ino; in TEST_F()
843 out.body.entry.attr.mode = S_IFREG | oldmode; in TEST_F()
844 out.body.entry.nodeid = ino; in TEST_F()
852 in.body.setattr.valid == valid && in TEST_F()
853 in.body.setattr.mode == newmode); in TEST_F()
858 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F()
859 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F()