Home | History | Annotate | Download | only in src

Lines Matching defs:sz

167 ng_MessageIn(struct physical *p, char *buf, size_t sz)
205 if (sz == 0)
212 if (sz > len)
213 sz = len;
214 memcpy(buf, rep->header.cmdstr, sz);
217 return sz;
285 int sz = physical_MaxDeviceSize();
287 iov[*niov].iov_base = d = realloc(d, sz);
289 log_Printf(LogALERT, "Failed to allocate memory: %d\n", sz);
292 iov[*niov].iov_len = sz;
419 * Populate the ``word'' (of size ``sz'') named ``what'' from ``from''
428 getsegment(const char *what, char *word, size_t sz, const char *from,
438 if (len >= sz) {
439 log_Printf(LogWARN, "%s name too long, max %d !\n", what, sz - 1);
472 int len, sz, done;
717 sz = sizeof ngsock;
718 if (getsockname(p->fd, sock, &sz) != -1 && sock->sa_family == AF_NETGRAPH) {