• Home
  • Raw
  • Download

Lines Matching refs:ipipe

1001 static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe,
1011 struct pipe_inode_info *ipipe; in do_splice() local
1020 ipipe = get_pipe_info(in, true); in do_splice()
1023 if (ipipe && opipe) { in do_splice()
1028 if (ipipe == opipe) in do_splice()
1034 return splice_pipe_to_pipe(ipipe, opipe, len, flags); in do_splice()
1037 if (ipipe) { in do_splice()
1059 ret = do_splice_from(ipipe, out, &offset, len, flags); in do_splice()
1113 struct pipe_inode_info *ipipe; in __do_splice() local
1118 ipipe = get_pipe_info(in, true); in __do_splice()
1121 if (ipipe && off_in) in __do_splice()
1430 static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe, in splice_pipe_to_pipe() argument
1443 ret = ipipe_prep(ipipe, flags); in splice_pipe_to_pipe()
1456 pipe_double_lock(ipipe, opipe); in splice_pipe_to_pipe()
1458 i_tail = ipipe->tail; in splice_pipe_to_pipe()
1459 i_mask = ipipe->ring_size - 1; in splice_pipe_to_pipe()
1473 i_head = ipipe->head; in splice_pipe_to_pipe()
1476 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
1499 pipe_unlock(ipipe); in splice_pipe_to_pipe()
1504 ibuf = &ipipe->bufs[i_tail & i_mask]; in splice_pipe_to_pipe()
1514 ipipe->tail = i_tail; in splice_pipe_to_pipe()
1524 if (!pipe_buf_get(ipipe, ibuf)) { in splice_pipe_to_pipe()
1549 pipe_unlock(ipipe); in splice_pipe_to_pipe()
1559 wakeup_pipe_writers(ipipe); in splice_pipe_to_pipe()
1567 static int link_pipe(struct pipe_inode_info *ipipe, in link_pipe() argument
1582 pipe_double_lock(ipipe, opipe); in link_pipe()
1584 i_tail = ipipe->tail; in link_pipe()
1585 i_mask = ipipe->ring_size - 1; in link_pipe()
1597 i_head = ipipe->head; in link_pipe()
1608 ibuf = &ipipe->bufs[i_tail & i_mask]; in link_pipe()
1615 if (!pipe_buf_get(ipipe, ibuf)) { in link_pipe()
1640 pipe_unlock(ipipe); in link_pipe()
1660 struct pipe_inode_info *ipipe = get_pipe_info(in, true); in do_tee() local
1672 if (ipipe && opipe && ipipe != opipe) { in do_tee()
1680 ret = ipipe_prep(ipipe, flags); in do_tee()
1684 ret = link_pipe(ipipe, opipe, len, flags); in do_tee()