Lines Matching refs:stx
78 struct statx stx = { 0, }; in both_implementations_tests() local
79 TEST_COMPARE (statx (fd, "", AT_EMPTY_PATH, STATX_BASIC_STATS, &stx), 0); in both_implementations_tests()
82 TEST_COMPARE (stx.stx_mode, st.st_mode); in both_implementations_tests()
83 TEST_COMPARE (stx.stx_dev_major, major (st.st_dev)); in both_implementations_tests()
84 TEST_COMPARE (stx.stx_dev_minor, minor (st.st_dev)); in both_implementations_tests()
87 struct statx stx = { 0, }; in both_implementations_tests() local
88 TEST_COMPARE (statx (AT_FDCWD, "/dev/null", 0, STATX_BASIC_STATS, &stx), in both_implementations_tests()
92 TEST_COMPARE (stx.stx_mode, st.st_mode); in both_implementations_tests()
93 TEST_COMPARE (stx.stx_dev_major, major (st.st_dev)); in both_implementations_tests()
94 TEST_COMPARE (stx.stx_dev_minor, minor (st.st_dev)); in both_implementations_tests()
95 TEST_COMPARE (stx.stx_rdev_major, major (st.st_rdev)); in both_implementations_tests()
96 TEST_COMPARE (stx.stx_rdev_minor, minor (st.st_rdev)); in both_implementations_tests()