Lines Matching defs:sz
169 ng_MessageIn(struct physical *p, char *buf, size_t sz)
207 if (sz == 0)
214 if (sz > len)
215 sz = len;
216 memcpy(buf, rep->header.cmdstr, sz);
219 return sz;
287 int sz = physical_MaxDeviceSize();
289 iov[*niov].iov_base = d = realloc(d, sz);
291 log_Printf(LogALERT, "Failed to allocate memory: %d\n", sz);
294 iov[*niov].iov_len = sz;
421 * Populate the ``word'' (of size ``sz'') named ``what'' from ``from''
430 getsegment(const char *what, char *word, size_t sz, const char *from,
440 if (len >= sz) {
441 log_Printf(LogWARN, "%s name too long, max %d !\n", what, sz - 1);
474 int len, sz, done;
719 sz = sizeof ngsock;
720 if (getsockname(p->fd, sock, &sz) != -1 && sock->sa_family == AF_NETGRAPH) {