Searched refs:sbuf (Results 76 - 100 of 507) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/fs/procfs/
H A Dprocfs_osrel.c37 #include <sys/sbuf.h>
/freebsd-13-stable/sys/net/
H A Dbpf_buffer.c166 caddr_t fbuf, sbuf; local
176 sbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK);
183 free(sbuf, M_BPF);
196 d->bd_sbuf = sbuf;
/freebsd-13-stable/sys/netgraph/atm/uni/
H A Dng_uni.c47 #include <sys/sbuf.h>
261 uni_do_status(struct uni *uni, void *uarg, void *sbuf, const char *fmt, ...) argument
266 sbuf_printf(sbuf, fmt, ap);
273 struct sbuf sbuf; local
276 sbuf_new(&sbuf, buf, len, 0);
279 sbuf_printf(&sbuf, "lower hook: connected to %s:%s\n",
283 sbuf_printf(&sbuf, "lower hook: <not connected>\n");
286 sbuf_printf(&sbuf, "upper hook: connected to %s:%s\n",
290 sbuf_printf(&sbuf, "uppe
[all...]
/freebsd-13-stable/usr.sbin/config/
H A DMakefile21 LIBADD= nv sbuf
/freebsd-13-stable/usr.bin/chpass/
H A Dfield.c221 struct stat sbuf; local
245 if (stat(pw->pw_shell, &sbuf) < 0) {
253 if (!S_ISREG(sbuf.st_mode)) {
258 if ((sbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) == 0) {
/freebsd-13-stable/usr.bin/procstat/
H A DMakefile29 LIBADD+= procstat xo util sbuf
H A Dprocstat_cs.c33 #include <sys/sbuf.h>
52 struct sbuf *cpusetbuf;
/freebsd-13-stable/sys/netgraph/atm/sscfu/
H A Dng_sscfu.c46 #include <sys/sbuf.h>
187 struct sbuf sbuf; local
189 sbuf_new(&sbuf, arg, len, 0);
192 sbuf_printf(&sbuf, "upper hook: %s connected to %s:%s\n",
197 sbuf_printf(&sbuf, "upper hook: <not connected>\n");
200 sbuf_printf(&sbuf, "lower hook: %s connected to %s:%s\n",
205 sbuf_printf(&sbuf, "lower hook: <not connected>\n");
207 sbuf_printf(&sbuf, "sscf state: %s\n",
211 sbuf_finish(&sbuf);
[all...]
/freebsd-13-stable/sys/kern/
H A Dkern_tslog.c31 #include <sys/sbuf.h>
75 struct sbuf *sb;
H A Dsubr_module.c37 #include <sys/sbuf.h>
316 * Parse the modinfo type and append to the provided sbuf.
319 preload_modinfo_type(struct sbuf *sbp, int type)
439 preload_modinfo_value(struct sbuf *sbp, uint32_t *bptr, int type, int len)
504 preload_dump_internal(struct sbuf *sbp)
541 struct sbuf sb;
545 * so use a static buffer and struct sbuf.
558 struct sbuf sb;
/freebsd-13-stable/sys/security/mac_veriexec/
H A Dmac_veriexec_internal.h69 struct sbuf;
85 void mac_veriexec_metadata_print_db(struct sbuf *sbp);
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dseq_file.h35 #include <sys/sbuf.h>
57 struct sbuf *buf;
/freebsd-13-stable/sys/xen/xenstore/
H A Dxenstorevar.h41 #include <sys/sbuf.h>
358 * Allocate and return an sbuf containing the XenStore path string
359 * <dir>/<name>. If name is the NUL string, the returned sbuf contains
367 struct sbuf *xs_join(const char *, const char *);
/freebsd-13-stable/sys/geom/vinum/
H A Dgeom_vinum_list.c36 #include <sys/sbuf.h>
43 void gv_lvi(struct gv_volume *, struct sbuf *, int);
44 void gv_lpi(struct gv_plex *, struct sbuf *, int);
45 void gv_lsi(struct gv_sd *, struct sbuf *, int);
46 void gv_ldi(struct gv_drive *, struct sbuf *, int);
56 struct sbuf *sb;
220 gv_lv(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb)
243 gv_lvi(struct gv_volume *v, struct sbuf *sb, int flags)
276 gv_lp(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb)
299 gv_lpi(struct gv_plex *p, struct sbuf *s
[all...]
/freebsd-13-stable/contrib/subversion/subversion/svn/
H A Dblame-cmd.c46 svn_stringbuf_t *sbuf;
72 svn_stringbuf_t *sb = bb->sbuf;
295 bl.sbuf = svn_stringbuf_create_empty(pool);
362 svn_xml_make_open_tag(&bl.sbuf, pool, svn_xml_normal, "target",
412 svn_xml_make_close_tag(&(bl.sbuf), pool, "target");
413 SVN_ERR(svn_cl__error_checked_fputs(bl.sbuf->data, stdout));
417 svn_stringbuf_setempty(bl.sbuf);
45 svn_stringbuf_t *sbuf; member in struct:blame_baton_t
/freebsd-13-stable/sys/dev/led/
H A Dled.c25 #include <sys/sbuf.h>
39 struct sbuf *spec;
92 led_state(struct ledsc *sc, struct sbuf **sb, int state)
94 struct sbuf *sb2 = NULL;
118 led_parse(const char *s, struct sbuf **sb, int *state)
219 struct sbuf *sb = NULL;
249 struct sbuf *sb = NULL;
/freebsd-13-stable/sys/dev/ipw/
H A Dif_ipw.c494 struct ipw_soft_buf *sbuf; local
645 sbuf = &sc->tx_sbuf_list[i];
646 error = bus_dmamap_create(sc->txbuf_dmat, 0, &sbuf->map);
652 SLIST_INSERT_HEAD(&sc->free_sbuf, sbuf, next);
677 sbuf = &sc->rx_sbuf_list[i];
680 sbuf->m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
681 if (sbuf->m == NULL) {
688 error = bus_dmamap_create(sc->rxbuf_dmat, 0, &sbuf->map);
695 error = bus_dmamap_load(sc->rxbuf_dmat, sbuf->map,
696 mtod(sbuf
721 struct ipw_soft_buf *sbuf; local
982 ipw_rx_cmd_intr(struct ipw_softc *sc, struct ipw_soft_buf *sbuf) argument
1000 ipw_rx_newstate_intr(struct ipw_softc *sc, struct ipw_soft_buf *sbuf) argument
1160 ipw_rx_data_intr(struct ipw_softc *sc, struct ipw_status *status, struct ipw_soft_bd *sbd, struct ipw_soft_buf *sbuf) argument
1252 struct ipw_soft_buf *sbuf; local
1310 struct ipw_soft_buf *sbuf; local
1558 struct ipw_soft_buf *sbuf; local
[all...]
/freebsd-13-stable/contrib/unbound/dnstap/
H A Ddnstap.c70 ProtobufCBufferSimple sbuf; local
72 memset(&sbuf, 0, sizeof(sbuf));
73 sbuf.base.append = protobuf_c_buffer_simple_append;
74 sbuf.len = 0;
75 sbuf.alloced = DNSTAP_INITIAL_BUF_SIZE;
76 sbuf.data = malloc(sbuf.alloced);
77 if (sbuf.data == NULL)
79 sbuf
[all...]
/freebsd-13-stable/lib/libnetbsd/
H A Dsockaddr_snprintf.c111 sockaddr_snprintf(char * const sbuf, const size_t len, const char * const fmt, argument
117 char *ebuf = &sbuf[len - 1], *buf = sbuf;
315 sbuf[len - 1] = '\0';
316 return (int)(buf - sbuf);
/freebsd-13-stable/sys/dev/ice/
H A Dice_lib.c81 static void ice_nvm_version_str(struct ice_hw *hw, struct sbuf *buf);
82 static void ice_active_pkg_version_str(struct ice_hw *hw, struct sbuf *buf);
83 static void ice_os_pkg_version_str(struct ice_hw *hw, struct sbuf *buf);
2121 * ice_os_pkg_version_str - Format OS package version info into a sbuf
2133 ice_os_pkg_version_str(struct ice_hw *hw, struct sbuf *buf)
2160 * ice_active_pkg_version_str - Format active package version info into a sbuf
2168 ice_active_pkg_version_str(struct ice_hw *hw, struct sbuf *buf)
2198 * ice_nvm_version_str - Format the NVM version information into a sbuf
2207 ice_nvm_version_str(struct ice_hw *hw, struct sbuf *buf)
2241 struct sbuf *sbu local
2428 struct sbuf *sbuf; local
2495 struct sbuf *sbuf; local
2526 struct sbuf *sbuf; local
2557 struct sbuf *sbuf; local
3695 struct sbuf *sbuf; local
3736 struct sbuf *sbuf; local
4928 struct sbuf *sbuf; local
4997 struct sbuf *sbuf; local
5067 struct sbuf *sbuf; local
5138 struct sbuf *sbuf; local
5203 struct sbuf *sbuf; local
7928 struct sbuf *sbuf; local
[all...]
/freebsd-13-stable/sys/vm/
H A Dvm_phys.c57 #include <sys/sbuf.h>
259 struct sbuf sbuf; local
266 sbuf_new_for_sysctl(&sbuf, NULL, 128 * vm_ndomains, req);
268 sbuf_printf(&sbuf,"\nDOMAIN %d:\n", dom);
270 sbuf_printf(&sbuf, "\nFREE LIST %d:\n"
274 sbuf_printf(&sbuf, " | POOL %d", pind);
275 sbuf_printf(&sbuf, "\n-- ");
277 sbuf_printf(&sbuf, "-- -- ");
278 sbuf_printf(&sbuf, "
302 struct sbuf sbuf; local
350 struct sbuf sbuf; local
[all...]
/freebsd-13-stable/contrib/tcsh/
H A Dglob.c489 struct stat sbuf; local
503 if (Lstat(pathbuf->s, &sbuf))
508 (S_ISDIR(sbuf.st_mode)
510 || (S_ISLNK(sbuf.st_mode) &&
511 (Stat(pathbuf->s, &sbuf) == 0) &&
512 S_ISDIR(sbuf.st_mode))
569 struct stat sbuf; local
606 if (*pathbuf->s && (Lstat(pathbuf->s, &sbuf) || !S_ISDIR(sbuf.st_mode)
608 && ((globstar && !chase_symlinks) || !S_ISLNK(sbuf
[all...]
/freebsd-13-stable/sys/geom/label/
H A Dg_label_gpt.c38 #include <sys/sbuf.h>
55 sbuf_nprintf_utf16(struct sbuf *sb, uint16_t *str, size_t len)
105 struct sbuf *lbl;
122 * Create sbuf with biggest possible size.
/freebsd-13-stable/sys/cam/
H A Dcam_xpt_internal.h52 typedef void (*xpt_announce_periph_sbuf_func)(struct cam_periph *periph, struct sbuf *sbuf);
74 typedef void (*xpt_proto_announce_sbuf_func)(struct cam_ed *, struct sbuf *);
/freebsd-13-stable/lib/libc/stdio/
H A Dmktemp.c123 struct stat sbuf; local
169 } else if (lstat(path, &sbuf))

Completed in 493 milliseconds

1234567891011>>