HomeSort by: relevance | last modified time | path
    Searched refs:howmuch (Results 1 - 17 of 17) sorted by relevancy

  /src/lib/libpuffs/
requests.c 64 size_t howmuch, winlen, curoff; local
72 howmuch = sizeof(struct putter_hdr) - curoff;
77 howmuch = phdr.pth_framelen - curoff;
81 if (puffs_framebuf_reserve_space(pb, howmuch) == -1)
85 while (howmuch) {
86 winlen = howmuch;
99 howmuch -= n;
123 size_t winlen, howmuch, curoff; local
154 howmuch = flen - puffs_framebuf_telloff(pb);
156 while (howmuch) {
    [all...]
  /src/usr.sbin/puffs/mount_9p/
ninebuf.c 83 size_t howmuch, winlen; local
88 howmuch = 4 - CUROFF(pb);
90 howmuch = p9pbuf_get_len(pb) - CUROFF(pb);
92 if (puffs_framebuf_reserve_space(pb, howmuch) == -1)
95 while (howmuch) {
96 winlen = howmuch;
108 howmuch -= n;
128 size_t winlen, howmuch; local
137 howmuch = puffs_framebuf_tellsize(pb) - CUROFF(pb);
138 while (howmuch) {
    [all...]
  /src/lib/librumpuser/
rumpfiber_sp.c 101 rumpuser_sp_anonmmap(void *arg, size_t howmuch, void **addr)
rumpuser_mem.c 47 rumpuser_malloc(size_t howmuch, int alignment, void **memp)
55 rv = posix_memalign(&mem, (size_t)alignment, howmuch);
rumpuser_sp.c 462 anonmmap_req(struct spclient *spc, size_t howmuch, void **resp)
469 DPRINTF(("anonmmap_req: %zu bytes\n", howmuch));
471 rhdr.rsp_len = sizeof(rhdr) + sizeof(howmuch);
477 IOVPUT(iov[1], howmuch);
857 rumpuser_sp_anonmmap(void *arg, size_t howmuch, void **addr)
865 rv = anonmmap_req(spc, howmuch, &rdata);
  /src/usr.sbin/puffs/mount_psshfs/
psbuf.c 97 size_t howmuch, winlen; local
102 howmuch = 4 - CUROFF(pb);
104 howmuch = psbuf_get_len(pb) - (CUROFF(pb) - 4);
106 if (puffs_framebuf_reserve_space(pb, howmuch) == -1)
109 while (howmuch) {
110 winlen = howmuch;
122 howmuch -= n;
143 size_t winlen, howmuch; local
153 howmuch = puffs_framebuf_tellsize(pb) - CUROFF(pb);
154 while (howmuch) {
    [all...]
  /src/external/bsd/libevent/dist/
bufferevent_sock.c 159 ev_ssize_t howmuch = -1, readmax=-1; local
178 howmuch = bufev->wm_read.high - evbuffer_get_length(input);
180 if (howmuch <= 0) {
186 if (howmuch < 0 || howmuch > readmax) /* The use of -1 for "unlimited"
188 howmuch = readmax;
193 res = evbuffer_read(input, fd, (int)howmuch); /* XXXX evbuffer_read would do better to take and return ev_ssize_t */
buffer.c 2219 @param howmuch How much we want to read.
2224 @param exact Boolean: if true, we do not provide more than 'howmuch'
2229 evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
2239 if (howmuch < 0)
2252 for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch; ++i) {
2254 if (avail > (howmuch - so_far) && exact)
2255 avail = howmuch - so_far;
2286 * as howmuch? */
2288 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch)
2311 if (howmuch < 0 || howmuch > n
    [all...]
evbuffer-internal.h 322 * hold enough memory to read 'howmuch' bytes in possibly noncontiguous memory.
327 int evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
  /src/external/bsd/ntp/dist/sntp/libevent/
bufferevent_sock.c 158 ev_ssize_t howmuch = -1, readmax=-1; local
177 howmuch = bufev->wm_read.high - evbuffer_get_length(input);
179 if (howmuch <= 0) {
185 if (howmuch < 0 || howmuch > readmax) /* The use of -1 for "unlimited"
187 howmuch = readmax;
192 res = evbuffer_read(input, fd, (int)howmuch); /* XXXX evbuffer_read would do better to take and return ev_ssize_t */
buffer.c 2217 @param howmuch How much we want to read.
2222 @param exact Boolean: if true, we do not provide more than 'howmuch'
2227 evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
2237 if (howmuch < 0)
2250 for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch; ++i) {
2252 if (avail > (howmuch - so_far) && exact)
2253 avail = howmuch - so_far;
2284 * as howmuch? */
2286 evbuffer_read(struct evbuffer *buf, evutil_socket_t fd, int howmuch)
2309 if (howmuch < 0 || howmuch > n
    [all...]
evbuffer-internal.h 322 * hold enough memory to read 'howmuch' bytes in possibly noncontiguous memory.
327 int evbuffer_read_setup_vecs_(struct evbuffer *buf, ev_ssize_t howmuch,
  /src/sys/rump/include/rump-sys/
kern.h 240 #define rump_sysproxy_anonmmap(arg, howmuch, addr) \
241 rump_sysproxy_ops.rspo_anonmmap(arg, howmuch, addr)
  /src/external/bsd/libevent/dist/include/event2/
buffer.h 716 @param howmuch the largest allowable number of bytes to write, or -1
723 ev_ssize_t howmuch);
730 @param howmuch the number of bytes to be read. If the given number is negative
736 int evbuffer_read(struct evbuffer *buffer, evutil_socket_t fd, int howmuch);
  /src/external/bsd/ntp/dist/sntp/libevent/include/event2/
buffer.h 717 @param howmuch the largest allowable number of bytes to write, or -1
724 ev_ssize_t howmuch);
731 @param howmuch the number of bytes to be read. If the given number is negative
737 int evbuffer_read(struct evbuffer *buffer, evutil_socket_t fd, int howmuch);
  /src/sys/rump/librump/rumpkern/
vm.c 1296 rump_hypermalloc(size_t howmuch, int alignment, bool waitok, const char *wmsg)
1309 newmem = atomic_add_long_nv(&curphysmem, howmuch);
1311 newmem = atomic_add_long_nv(&curphysmem, -howmuch);
1322 error = rumpuser_malloc(howmuch, alignment, &rv);
  /src/sys/fs/puffs/
puffs_vnops.c 1476 size_t howmuch, resid; local
1548 howmuch = resid - readdir_msg->pvnr_resid;
1551 if (howmuch == 0) {
1556 error = uiomove(readdir_msg->pvnr_data + cookiemem, howmuch, uio);

Completed in 48 milliseconds