Searched refs:fddir (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/contrib/openzfs/cmd/zed/ |
| H A D | zed_file.c | 124 DIR *fddir; in zed_file_close_from() local 127 if ((fddir = opendir(PROC_SELF_FD)) != NULL) { in zed_file_close_from() 128 while ((fdent = readdir(fddir)) != NULL) { in zed_file_close_from() 130 if (fd > maxfd && fd != dirfd(fddir)) in zed_file_close_from() 133 (void) closedir(fddir); in zed_file_close_from()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | snapshot.c | 1217 vm_checkpoint(struct vmctx *ctx, int fddir, const char *checkpoint_file, in vm_checkpoint() argument 1235 kdata_fd = openat(fddir, kdata_filename, O_WRONLY | O_CREAT | O_TRUNC, 0700); in vm_checkpoint() 1242 fd_checkpoint = openat(fddir, checkpoint_file, O_RDWR | O_CREAT | O_TRUNC, 0700); in vm_checkpoint() 1256 fd_meta = openat(fddir, meta_filename, O_WRONLY | O_CREAT | O_TRUNC, 0700); in vm_checkpoint()
|