Lines Matching defs:fhp
480 struct file_handle *fhp, *fhp2;
485 fhsize = sizeof(*fhp);
486 fhp = calloc(1, fhsize);
487 if (!fhp) {
491 err = name_to_handle_at(dirfd, cgroup_workdir, fhp, &mount_id, flags);
492 if (err >= 0 || fhp->handle_bytes != 8) {
497 fhsize = sizeof(struct file_handle) + fhp->handle_bytes;
498 fhp2 = realloc(fhp, fhsize);
504 fhp = fhp2;
510 memcpy(id.raw_bytes, fhp->f_handle, 8);
514 free(fhp);