Home
last modified time | relevance | path

Searched refs:pipe (Results 1 – 11 of 11) sorted by relevance

/xv6-public/
H A Dpipe.c13 struct pipe { struct
25 struct pipe *p; in pipealloc() argument
31 if((p = (struct pipe*)kalloc()) == 0) in pipealloc()
41 (*f0)->pipe = p; in pipealloc()
45 (*f1)->pipe = p; in pipealloc()
60 pipeclose(struct pipe *p, int writable) in pipeclose()
79 pipewrite(struct pipe *p, char *addr, int n) in pipewrite()
101 piperead(struct pipe *p, char *addr, int n) in piperead()
H A Dfile.h6 struct pipe *pipe; member
H A Ddefs.h5 struct pipe;
100 void pipeclose(struct pipe*, int);
101 int piperead(struct pipe*, char*, int);
102 int pipewrite(struct pipe*, char*, int);
H A Dfile.c74 pipeclose(ff.pipe, ff.writable); in fileclose()
104 return piperead(f->pipe, addr, n); in fileread()
125 return pipewrite(f->pipe, addr, n); in filewrite()
H A Duser.h8 int pipe(int*);
H A Dusys.S14 SYSCALL(pipe)
H A Drunoff.list54 pipe.c
H A DNotes55 test out-of-fd cases for creating pipe.
56 test pipe reader closes then write
78 per-pipe lock
H A Dusertests.c311 if(pipe(fds) != 0){ in pipe1()
375 pipe(pfds); in preempt()
1514 if(pipe(fds) != 0){ in sbrktest()
H A Dsh.c102 if(pipe(p) < 0) in runcmd()
H A DMakefile16 pipe.o\