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.h61 virtual void BindFd(int parent_fd, int child_fd) = 0;
168 virtual void BindFd(int parent_fd, int child_fd);
Dprocess_mock.h24 MOCK_METHOD2(BindFd, void(int parent_fd, int child_fd));
Dprocess.cc78 void ProcessImpl::BindFd(int parent_fd, int child_fd) { in BindFd() argument
86 info.child_fd_ = parent_fd; in BindFd()
/external/minijail/
Dlibminijail.c109 int parent_fd; member
791 int API minijail_preserve_fd(struct minijail *j, int parent_fd, int child_fd) in minijail_preserve_fd() argument
793 if (parent_fd < 0 || child_fd < 0) in minijail_preserve_fd()
797 j->preserved_fds[j->preserved_fd_count].parent_fd = parent_fd; in minijail_preserve_fd()
2236 if (dup2(j->preserved_fds[i].parent_fd, in redirect_fds()
2248 closeable &= j->preserved_fds[i].parent_fd != in redirect_fds()
2252 close(j->preserved_fds[i].parent_fd); in redirect_fds()
2670 inheritable_fds[size++] = j->preserved_fds[i].parent_fd; in minijail_run_internal()
Dlibminijail.h261 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