| /xnu-11215.81.4/bsd/sys/ |
| H A D | pipe.h | 155 struct pipe { struct 162 struct pipe *pipe_peer; /* link with other direction */ argument 172 #define PIPE_MTX(pipe) ((pipe)->pipe_mtxp) argument 174 #define PIPE_LOCK(pipe) lck_mtx_lock(PIPE_MTX(pipe)) argument 175 #define PIPE_UNLOCK(pipe) lck_mtx_unlock(PIPE_MTX(pipe)) argument 176 #define PIPE_LOCK_ASSERT(pipe, type) LCK_MTX_ASSERT(PIPE_MTX(pipe), (type)) argument 179 extern int pipe_stat(struct pipe *, void *, int); 181 extern uint64_t pipe_id(struct pipe *);
|
| H A D | proc_info_private.h | 309 #ifndef pipe 310 struct pipe; 316 extern int fill_pipeinfo(struct pipe * cpipe, struct pipe_info * pinfo);
|
| /xnu-11215.81.4/security/ |
| H A D | mac_pipe.c | 89 mac_pipe_label(struct pipe *cpipe) in mac_pipe_label() 95 mac_pipe_set_label(struct pipe *cpipe, struct label *label) in mac_pipe_set_label() 101 mac_pipe_label_init(struct pipe *cpipe) in mac_pipe_label_init() 114 mac_pipe_label_destroy(struct pipe *cpipe) in mac_pipe_label_destroy() 122 mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_label_associate() 129 struct pipe *cpipe) in mac_pipe_check_kqfilter() 143 mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe, u_long cmd) in mac_pipe_check_ioctl() 160 mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_check_read() 177 mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, int which) in mac_pipe_check_select() 194 mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_check_stat() [all …]
|
| H A D | mac_framework.h | 102 struct pipe; 258 int mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe, 261 struct pipe *cpipe) __result_use_check; 262 int mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe) __result_use_check; 263 int mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, 265 int mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe) __result_use_check; 266 int mac_pipe_check_write(kauth_cred_t cred, struct pipe *cpipe) __result_use_check; 267 void mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe); 268 void mac_pipe_label_destroy(struct pipe *cpipe); 270 void mac_pipe_label_init(struct pipe *cpipe); [all …]
|
| H A D | mac_policy.h | 106 struct pipe; 1617 struct pipe *cpipe, 1637 struct pipe *cpipe, 1656 struct pipe *cpipe, 1676 struct pipe *cpipe, 1696 struct pipe *cpipe, 1715 struct pipe *cpipe, 1730 struct pipe *cpipe, 5177 struct pipe *cpipe,
|
| /xnu-11215.81.4/bsd/kern/ |
| H A D | sys_pipe.c | 160 struct pipe pp_rpipe; 161 struct pipe pp_wpipe; 165 #define PIPE_PAIR(pipe) \ argument 166 __container_of(PIPE_MTX(pipe), struct pipepair, pp_mtx) 260 static int pipepair_alloc(struct pipe **rpipe, struct pipe **wpipe); 261 static void pipeclose(struct pipe *cpipe); 262 static void pipe_free_kmem(struct pipe *cpipe); 263 static int pipespace(struct pipe *cpipe, int size); 265 static int expand_pipespace(struct pipe *p, int target_size); 266 static void pipeselwakeup(struct pipe *cpipe, struct pipe *spipe); [all …]
|
| /xnu-11215.81.4/bsd/netinet/ |
| H A D | ip_dummynet.c | 153 static void transmit_event(struct dn_pipe *pipe, struct mbuf **head, 505 pipe_bp->fs.pipe = (user32_addr_t)0; in cp_pipe_to_32_user() 547 pipe_bp->fs.pipe = USER_ADDR_NULL; in cp_pipe_to_64_user() 742 transmit_event(struct dn_pipe *pipe, struct mbuf **head, struct mbuf **tail) in transmit_event() argument 751 while ((m = pipe->head) != NULL) { in transmit_event() 757 pipe->head = m->m_nextpkt; in transmit_event() 775 if ((m = pipe->head) != NULL) { in transmit_event() 780 heap_insert(&extract_heap, schedule_time, pipe); in transmit_event() 836 struct dn_pipe *p = q->fs->pipe; in ready_event() 1072 struct dn_pipe *pipe = p; in dummynet() local [all …]
|
| H A D | ip_dummynet.h | 324 struct dn_pipe *pipe; /* pointer to parent pipe */ member 477 user32_addr_t pipe; /* pointer to parent pipe */ member 602 user64_addr_t pipe; /* pointer to parent pipe */ member
|
| /xnu-11215.81.4/libsyscall/custom/ |
| H A D | __pipe.s | 34 PSEUDO_INT(___pipe, pipe, 0) 43 PSEUDO(___pipe, pipe, 0, cerror_nocancel) 54 SYSCALL_NONAME(pipe, 0, cerror_nocancel) 64 SYSCALL_NONAME(pipe, 0, cerror_nocancel)
|
| /xnu-11215.81.4/libkern/kxld/tests/ |
| H A D | loadtest.py | 35 pipe = Popen("/usr/sbin/kextfind \( -l -and -x -and -arch i386 \)", shell=True, stdout=PIPE).stdout variable 37 line = pipe.readline() 40 line = pipe.readline()
|
| /xnu-11215.81.4/tests/ |
| H A D | exec-race-58566604.c | 126 int rv = pipe(fd); 138 int rv = pipe(fd); 150 int rv = pipe(fd); 162 int rv = pipe(fd);
|
| H A D | extract_right_soft_fail.c | 99 ret = pipe(fd); 102 ret = pipe(fd2);
|
| H A D | fd_guarded.c | 20 T_ASSERT_POSIX_SUCCESS(pipe(pfd), "pipe");
|
| H A D | pipe_kevent.c | 51 pipe(fd);
|
| H A D | pipe_read_infloop_55437634.c | 29 T_ASSERT_POSIX_SUCCESS(pipe(p), NULL);
|
| H A D | pipe_drain.c | 78 ret = pipe(pipe_fd);
|
| H A D | posix_spawn_file_actions_add_fileportdup2_np.c | 31 ret = pipe(pipes);
|
| H A D | task_info_28439149.c | 33 T_QUIET; T_ASSERT_POSIX_SUCCESS(pipe(pipefd), "pipe");
|
| H A D | select_stress.c | 85 T_ASSERT_POSIX_SUCCESS(pipe(&ep->fd[0]), "pipe()"); in setup_stress_event() 120 T_ASSERT_POSIX_SUCCESS(pipe(&ep->fd[0]), "pipe"); in recycle_fds()
|
| H A D | test_note_exec.c | 86 ret = pipe(fd); in run_test()
|
| H A D | kqueue_close.c | 138 rc = pipe(pfd);
|
| H A D | pwrite.c | 134 T_ASSERT_POSIX_SUCCESS(pipe(pipe_fds), "Created pipe");
|
| H A D | poll.c | 66 T_QUIET; T_ASSERT_POSIX_SUCCESS(pipe(pipes), NULL);
|
| H A D | pread.c | 166 T_ASSERT_POSIX_SUCCESS(pipe(pipe_fds), "Created pipe");
|
| /xnu-11215.81.4/bsd/man/man2/ |
| H A D | Makefile | 152 pipe.2 \
|