Lines Matching refs:sa3

234              const uint32_t *dp, struct nfsv3_sattr *sa3)  in parse_sattr3()  argument
237 sa3->sa_modeset = EXTRACT_32BITS(dp); in parse_sattr3()
239 if (sa3->sa_modeset) { in parse_sattr3()
241 sa3->sa_mode = EXTRACT_32BITS(dp); in parse_sattr3()
246 sa3->sa_uidset = EXTRACT_32BITS(dp); in parse_sattr3()
248 if (sa3->sa_uidset) { in parse_sattr3()
250 sa3->sa_uid = EXTRACT_32BITS(dp); in parse_sattr3()
255 sa3->sa_gidset = EXTRACT_32BITS(dp); in parse_sattr3()
257 if (sa3->sa_gidset) { in parse_sattr3()
259 sa3->sa_gid = EXTRACT_32BITS(dp); in parse_sattr3()
264 sa3->sa_sizeset = EXTRACT_32BITS(dp); in parse_sattr3()
266 if (sa3->sa_sizeset) { in parse_sattr3()
268 sa3->sa_size = EXTRACT_32BITS(dp); in parse_sattr3()
273 sa3->sa_atimetype = EXTRACT_32BITS(dp); in parse_sattr3()
275 if (sa3->sa_atimetype == NFSV3SATTRTIME_TOCLIENT) { in parse_sattr3()
277 sa3->sa_atime.nfsv3_sec = EXTRACT_32BITS(dp); in parse_sattr3()
279 sa3->sa_atime.nfsv3_nsec = EXTRACT_32BITS(dp); in parse_sattr3()
284 sa3->sa_mtimetype = EXTRACT_32BITS(dp); in parse_sattr3()
286 if (sa3->sa_mtimetype == NFSV3SATTRTIME_TOCLIENT) { in parse_sattr3()
288 sa3->sa_mtime.nfsv3_sec = EXTRACT_32BITS(dp); in parse_sattr3()
290 sa3->sa_mtime.nfsv3_nsec = EXTRACT_32BITS(dp); in parse_sattr3()
303 const struct nfsv3_sattr *sa3, int verbose) in print_sattr3() argument
305 if (sa3->sa_modeset) in print_sattr3()
306 ND_PRINT((ndo, " mode %o", sa3->sa_mode)); in print_sattr3()
307 if (sa3->sa_uidset) in print_sattr3()
308 ND_PRINT((ndo, " uid %u", sa3->sa_uid)); in print_sattr3()
309 if (sa3->sa_gidset) in print_sattr3()
310 ND_PRINT((ndo, " gid %u", sa3->sa_gid)); in print_sattr3()
312 if (sa3->sa_atimetype == NFSV3SATTRTIME_TOCLIENT) in print_sattr3()
313 ND_PRINT((ndo, " atime %u.%06u", sa3->sa_atime.nfsv3_sec, in print_sattr3()
314 sa3->sa_atime.nfsv3_nsec)); in print_sattr3()
315 if (sa3->sa_mtimetype == NFSV3SATTRTIME_TOCLIENT) in print_sattr3()
316 ND_PRINT((ndo, " mtime %u.%06u", sa3->sa_mtime.nfsv3_sec, in print_sattr3()
317 sa3->sa_mtime.nfsv3_nsec)); in print_sattr3()
531 struct nfsv3_sattr sa3; in nfsreq_print_noaddr() local
657 if (v3 && (dp = parse_sattr3(ndo, dp, &sa3)) == NULL) in nfsreq_print_noaddr()
662 print_sattr3(ndo, &sa3, ndo->ndo_vflag); in nfsreq_print_noaddr()
673 if ((dp = parse_sattr3(ndo, dp, &sa3)) == NULL) in nfsreq_print_noaddr()
684 print_sattr3(ndo, &sa3, ndo->ndo_vflag); in nfsreq_print_noaddr()