/src/sbin/mount_portal/ |
puffs_portal.c | 113 readfd(struct puffs_framebuf *pufbuf, int fd, int *done) 144 puffs_framebuf_putdata_atoff(pufbuf, 0, &error, sizeof(int)); 149 puffs_framebuf_putdata_atoff(pufbuf, sizeof(int), 165 readdata(struct puffs_framebuf *pufbuf, int fd, int *done) 173 if (puffs_framebuf_telloff(pufbuf) == 0) 174 puffs_framebuf_seekset(pufbuf, METADATASIZE); 175 puffs_framebuf_getdata_atoff(pufbuf, sizeof(int), &max, sizeof(size_t)); 176 moved = puffs_framebuf_tellsize(pufbuf) - METADATASIZE; 205 puffs_framebuf_putdata(pufbuf, buf, n); 216 portal_frame_rf(struct puffs_usermount *pu, struct puffs_framebuf *pufbuf, 329 struct puffs_framebuf *pufbuf; local in function:provide 661 struct puffs_framebuf *pufbuf; local in function:portal_node_read 735 struct puffs_framebuf *pufbuf; local in function:portal_node_write [all...] |
/src/lib/libpuffs/ |
framebuf.c | 105 struct puffs_framebuf *pufbuf; local in function:puffs_framebuf_make 107 pufbuf = malloc(sizeof(struct puffs_framebuf)); 108 if (pufbuf == NULL) 110 memset(pufbuf, 0, sizeof(struct puffs_framebuf)); 112 pufbuf->buf = malloc(PUFBUF_INCRALLOC); 113 if (pufbuf->buf == NULL) { 114 free(pufbuf); 117 pufbuf->len = PUFBUF_INCRALLOC; 119 puffs_framebuf_recycle(pufbuf); 120 return pufbuf; 661 struct puffs_framebuf *pufbuf, *appbuf; local in function:puffs__framev_input 729 struct puffs_framebuf *pufbuf; local in function:puffs__framev_output 926 struct puffs_framebuf *pufbuf; local in function:puffs__framev_readclose 963 struct puffs_framebuf *pufbuf; local in function:puffs__framev_writeclose [all...] |