Home
last modified time | relevance | path

Searched refs:fuse_fd (Results 1 – 1 of 1) sorted by relevance

/third_party/libfuse/util/
Dmount.fuse.c121 int fuse_fd = -1; in prepare_fuse_fd() local
128 fuse_fd = fuse_open_channel(mountpoint, options_copy); in prepare_fuse_fd()
129 if (fuse_fd == -1) { in prepare_fuse_fd()
133 flags = fcntl(fuse_fd, F_GETFD); in prepare_fuse_fd()
134 if (flags == -1 || fcntl(fuse_fd, F_SETFD, flags & ~FD_CLOEXEC) == 1) { in prepare_fuse_fd()
140 return fuse_fd; in prepare_fuse_fd()
250 int fuse_fd = 0; in main() local
421 fuse_fd = prepare_fuse_fd(mountpoint, type, options); in main()
423 snprintf(dev_fd_mountpoint, 20, "/dev/fd/%u", fuse_fd); in main()
451 close(fuse_fd); in main()