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

  /src/usr.sbin/pf/pfs/
parse.y 491 states->ps_buf = malloc(allocated * sizeof(struct pfsync_state));
492 if (states->ps_buf == NULL)
499 buf = realloc(states->ps_buf, allocated * sizeof(struct pfsync_state));
501 free(states->ps_buf);
504 states->ps_buf = buf;
pfs.c 88 * ps::ps_buf must be freed by user after use (in case of success)
110 ps->ps_buf = inbuf;
114 free(ps->ps_buf);
  /src/external/bsd/dhcpcd/dist/src/
privsep-bsd.c 412 p = ctx->ps_buf;
426 if (ps_sendcmd(ctx, PS_ROOT_FD(ctx), PS_SYSCTL, flags, ctx->ps_buf,
427 (size_t)(p - (char *)ctx->ps_buf)) == -1)
430 if (ps_root_readerror(ctx, ctx->ps_buf, ctx->ps_buflen) == -1)
433 p = ctx->ps_buf;
dhcpcd.h 205 void *ps_buf; /* IPC buffer */ member in struct:dhcpcd_ctx
privsep-control.c 282 iov->iov_base = ctx->ps_buf;
296 if (control_queue(fdl, ctx->ps_buf, msglen) == -1)
privsep-root.c 561 err = readfile(data, &ctx->ps_buf, &ctx->ps_buflen);
563 rdata = ctx->ps_buf;
605 err = gethostname((char *)ctx->ps_buf, ctx->ps_buflen);
607 rdata = ctx->ps_buf;
608 rlen = strlen((char *)ctx->ps_buf) + 1;
1013 free(ctx->ps_buf);
privsep.c 501 nbuf = realloc(ctx->ps_buf, len);
505 ctx->ps_buf = nbuf;
1120 len = recv(fd, ctx->ps_buf, dlen, MSG_WAITALL);
1127 if (ps_unrollmsg(&msg, &psm, ctx->ps_buf, dlen) == -1)
  /src/sys/dist/pf/net/
pfvar.h 1398 #define ps_buf ps_u.psu_buf macro
  /src/dist/pf/sbin/pfctl/
pfctl.c 1014 ps.ps_buf = inbuf = newinbuf;

Completed in 27 milliseconds