Lines Matching refs:statbuf
95 struct statfs statbuf; in TEST_F() local
99 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_F()
100 ASSERT_STREQ("http://something", statbuf.f_mntfromname); in TEST_F()
105 struct statfs statbuf; in TEST_F() local
109 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_F()
110 ASSERT_STREQ("fusefs.myfs", statbuf.f_fstypename); in TEST_F()
116 struct statfs statbuf; in TEST_P() local
141 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_P()
142 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
144 build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1); in TEST_P()
145 build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1); in TEST_P()
149 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_P()
150 EXPECT_FALSE((newflags ^ statbuf.f_flags) & flag); in TEST_P()
156 struct statfs statbuf; in TEST_P() local
176 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_P()
177 newflags = (statbuf.f_flags | MNT_UPDATE) ^ flag; in TEST_P()
179 build_iovec(&iov, &iovlen, "fstype", (void*)statbuf.f_fstypename, -1); in TEST_P()
180 build_iovec(&iov, &iovlen, "fspath", (void*)statbuf.f_mntonname, -1); in TEST_P()
189 ASSERT_EQ(0, statfs("mountpoint", &statbuf)) << strerror(errno); in TEST_P()
190 EXPECT_TRUE((newflags ^ statbuf.f_flags) & flag); in TEST_P()