Lines Matching refs:fhp
254 struct file_handle *fhp, *fhp2;
261 fhsize = sizeof(*fhp);
262 fhp = calloc(1, fhsize);
263 if (!fhp) {
267 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags);
268 if (err >= 0 || fhp->handle_bytes != 8) {
273 fhsize = sizeof(struct file_handle) + fhp->handle_bytes;
274 fhp2 = realloc(fhp, fhsize);
280 fhp = fhp2;
286 memcpy(id.raw_bytes, fhp->f_handle, 8);
290 free(fhp);