/freebsd-current/usr.bin/w/ |
H A D | Makefile | 5 LIBADD= kvm sbuf xo util
|
/freebsd-current/sys/fs/procfs/ |
H A D | procfs_note.c | 39 #include <sys/sbuf.h>
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | kmod.h | 35 #include <sys/sbuf.h>
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_scsi_all.h | 42 struct scsi_inquiry_data *inq_data,struct sbuf *sb); 44 struct scsi_inquiry_data *inq_data, struct sbuf *sb,
|
/freebsd-current/tests/sys/netgraph/ |
H A D | ksocket.c | 41 char sbuf[] = "Hello, peer!", rbuf[sizeof(sbuf)]; local 43 ATF_REQUIRE(send(wr, sbuf, sizeof(sbuf), 0) == sizeof(sbuf)); 44 ATF_REQUIRE(recv(rd, rbuf, sizeof(rbuf), 0) == sizeof(sbuf)); 45 ATF_REQUIRE(strcmp(sbuf, rbuf) == 0);
|
/freebsd-current/sys/kern/ |
H A D | subr_sbuf.c | 52 #include <sys/sbuf.h> 55 static MALLOC_DEFINE(M_SBUF, "sbuf", "string buffers"); 104 _assert_sbuf_integrity(const char *fun, struct sbuf *s) 108 ("%s called with a NULL sbuf pointer", fun)); 110 ("%s called with uninitialized or corrupt sbuf", fun)); 113 ("wrote past end of sbuf (%jd >= %jd)", 117 ("wrote past end of sbuf (%jd >= %jd)", 123 _assert_sbuf_state(const char *fun, struct sbuf *s, int state) 127 ("%s called with %sfinished or corrupt sbuf", fun, 163 * Extend an sbuf [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | sha_test.c | 20 unsigned char buf[EVP_MAX_MD_SIZE], *sbuf; local 24 sbuf = (*md)(in, in_len, buf); 25 if (!TEST_ptr(sbuf) 26 || !TEST_ptr_eq(sbuf, buf) 27 || !TEST_mem_eq(sbuf, length, out, length)) 29 sbuf = (*md)(in, in_len, NULL); 30 if (!TEST_ptr(sbuf) 31 || !TEST_ptr_ne(sbuf, buf) 32 || !TEST_mem_eq(sbuf, length, out, length))
|
/freebsd-current/tools/regression/geom/MdLoad/ |
H A D | MdLoad.c | 50 #include <sys/sbuf.h> 64 struct sbuf *sbuf; member in struct:simdisk_softc 103 sbuf_clear(sc->sbuf); 118 sbuf_clear(sc->sbuf); 121 sbuf_finish(sc->sbuf); 123 sc->sectorsize = strtoul(sbuf_data(sc->sbuf), &p, 0); 127 o = strtoull(sbuf_data(sc->sbuf), &p, 0); 133 sc->fwsectors = strtoul(sbuf_data(sc->sbuf), &p, 0); 137 sc->fwheads = strtoul(sbuf_data(sc->sbuf), [all...] |
/freebsd-current/contrib/wireguard-tools/ |
H A D | ipc-uapi-unix.h | 22 struct stat sbuf; local 33 ret = stat(addr.sun_path, &sbuf); 37 if (!S_ISSOCK(sbuf.st_mode)) 66 struct stat sbuf; local 74 if (stat(addr.sun_path, &sbuf) < 0) 76 if (!S_ISSOCK(sbuf.st_mode))
|
/freebsd-current/sys/dev/random/ |
H A D | random_harvestq.c | 47 #include <sys/sbuf.h> 342 struct sbuf sbuf; local 347 sbuf_new_for_sysctl(&sbuf, NULL, 128, req); 349 sbuf_cat(&sbuf, (hc_source_mask & (1 << i)) ? "1" : "0"); 350 error = sbuf_finish(&sbuf); 351 sbuf_delete(&sbuf); 395 struct sbuf sbuf; local 402 sbuf_new_for_sysctl(&sbuf, NUL 675 struct sbuf sbuf; local [all...] |
/freebsd-current/usr.sbin/ngctl/ |
H A D | main.c | 620 char ch, sbuf[100]; local 624 snprintf(sbuf, sizeof(sbuf), "%04x: ", count); 627 snprintf(sbuf + strlen(sbuf), 628 sizeof(sbuf) - strlen(sbuf), 631 snprintf(sbuf + strlen(sbuf), 632 sizeof(sbuf) [all...] |
H A D | config.c | 61 u_char sbuf[sizeof(struct ng_mesg) + NG_TEXTRESPONSE]; local 62 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; 97 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
H A D | tmpfile_003_pos.c | 33 struct stat sbuf; local 53 if (stat(dpath, &sbuf) == 0)
|
/freebsd-current/contrib/sendmail/libsmutil/ |
H A D | cf.c | 54 struct stat sbuf; local 69 if (cftype == SM_GET_SUBMIT_CF || stat(cf, &sbuf) == 0)
|
/freebsd-current/sys/sys/ |
H A D | uuid.h | 57 struct sbuf; 66 int sbuf_printf_uuid(struct sbuf *, struct uuid *);
|
/freebsd-current/lib/libsbuf/ |
H A D | Makefile | 4 LIB= sbuf
|
/freebsd-current/lib/lib80211/ |
H A D | Makefile | 12 LIBADD= sbuf bsdxml
|
/freebsd-current/usr.bin/top/ |
H A D | Makefile | 9 LIBADD= tinfow m kvm jail util sbuf
|
/freebsd-current/usr.bin/nc/ |
H A D | Makefile | 13 LIBADD+= sbuf stats
|
/freebsd-current/usr.sbin/newsyslog/ |
H A D | Makefile | 10 LIBADD= sbuf
|
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_fw_counters.c | 11 #include <sys/sbuf.h> 126 struct sbuf *sbuf = NULL; local 134 sbuf = sbuf_new(NULL, cbuf, ADF_FW_COUNTERS_BUF_SZ, SBUF_FIXEDLEN); 135 if (sbuf == NULL) { 142 sbuf_delete(sbuf); 147 sbuf_printf(sbuf, 150 sbuf, 152 sbuf_printf(sbuf, 160 sbuf_printf(sbuf, " [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkbusy.c | 86 struct stat sbuf; local 103 if (stat(argv[0], &sbuf) != 0) { 128 if (stat(dname, &sbuf) != 0 || !(sbuf.st_mode & S_IFDIR)) 136 switch (sbuf.st_mode & S_IFMT) {
|
/freebsd-current/usr.sbin/rpcbind/ |
H A D | warmstart.c | 108 struct stat sbuf; local 110 if (stat(filename, &sbuf) != 0) { 115 if ((sbuf.st_uid != 0) || (sbuf.st_mode & S_IRWXG) || 116 (sbuf.st_mode & S_IRWXO)) {
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 221 struct stat sbuf; local 262 if (lstat(pbuf, &sbuf) < 0) 264 else if (!S_ISREG(sbuf.st_mode)) 266 else if (fstat(fileno(hostf), &sbuf) < 0) 268 else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid) 270 else if (sbuf.st_mode & (S_IWGRP|S_IWOTH))
|
/freebsd-current/sbin/pfctl/tests/ |
H A D | pfctl_test.c | 44 #include <sys/sbuf.h> 88 static struct sbuf * 91 struct sbuf *sb; 105 static struct sbuf * 109 struct sbuf *result; 129 struct sbuf *expected_output; 130 struct sbuf *real_output;
|