Lines Matching refs:fhsize
79 size_t fhsize; in tfilehandle() local
96 fhsize = 0; in tfilehandle()
97 if (rump_sys_getfh(fpath, NULL, &fhsize) == -1) { in tfilehandle()
105 fhp = malloc(fhsize); in tfilehandle()
106 if (rump_sys_getfh(fpath, fhp, &fhsize) == -1) in tfilehandle()
110 fd = rump_sys_fhopen(fhp, fhsize, O_RDONLY); in tfilehandle()
128 size_t fhsize; in tfhremove() local
136 fhsize = 0; in tfhremove()
137 if (rump_sys_getfh(FNAME, NULL, &fhsize) == -1) { in tfhremove()
145 fhp = malloc(fhsize); in tfhremove()
146 RL(rump_sys_getfh(FNAME, fhp, &fhsize)); in tfhremove()
152 ATF_REQUIRE_ERRNO(ESTALE, rump_sys_fhopen(fhp, fhsize, O_RDONLY) == -1); in tfhremove()
166 size_t fhsize; in tfhinval() local
175 fhsize = 0; in tfhinval()
176 if (rump_sys_getfh(".", NULL, &fhsize) == -1) { in tfhinval()
184 fhp = malloc(fhsize); in tfhinval()
185 tests_makegarbage(fhp, fhsize); in tfhinval()
186 fd = rump_sys_fhopen(fhp, fhsize, O_RDWR); in tfhinval()