Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-subdir-limit/
Dcreate_long_dirs.c48 int parent_fd; variable
69 if (mkdirat(parent_fd, name, S_IRWXU)) { in create_dir()
150 parent_fd = open(argv[2], O_RDONLY); in main()
151 if (parent_fd == -1) { in main()
Dcreate_short_dirs.c39 int parent_fd; variable
51 if (mkdirat(parent_fd, name, S_IRWXU)) { in create_dir()
144 parent_fd = open(argv[2], O_RDONLY); in main()
145 if (parent_fd == -1) { in main()
/external/libbrillo/brillo/
Dprocess.h67 virtual void BindFd(int parent_fd, int child_fd) = 0;
175 virtual void BindFd(int parent_fd, int child_fd);
Dprocess_mock.h26 MOCK_METHOD2(BindFd, void(int parent_fd, int child_fd));
Dprocess.cc84 void ProcessImpl::BindFd(int parent_fd, int child_fd) { in BindFd() argument
92 info.child_fd_ = parent_fd; in BindFd()
/external/minijail/
Dlibminijail.c118 int parent_fd; member
847 int API minijail_preserve_fd(struct minijail *j, int parent_fd, int child_fd) in minijail_preserve_fd() argument
849 if (parent_fd < 0 || child_fd < 0) in minijail_preserve_fd()
853 j->preserved_fds[j->preserved_fd_count].parent_fd = parent_fd; in minijail_preserve_fd()
2396 if (dup2(j->preserved_fds[i].parent_fd, in redirect_fds()
2408 closeable &= j->preserved_fds[i].parent_fd != in redirect_fds()
2412 close(j->preserved_fds[i].parent_fd); in redirect_fds()
2885 inheritable_fds[size++] = j->preserved_fds[i].parent_fd; in minijail_run_internal()
Dlibminijail.h278 int minijail_preserve_fd(struct minijail *j, int parent_fd, int child_fd);
/external/autotest/client/common_lib/
Dpexpect.py582 parent_fd, child_fd = os.openpty()
583 if parent_fd < 0 or child_fd < 0:
591 os.close(parent_fd)
604 return pid, parent_fd