Home
last modified time | relevance | path

Searched refs:sbuf_data (Results 1 – 25 of 147) sorted by relevance

123456

/freebsd-14.2/lib/libsbuf/tests/
H A Dsbuf_string_test.c93 check_buffers_equal(sbuf_data(sb), test_buffer_tmp, in ATF_TC_BODY()
130 check_buffers_equal(sbuf_data(sb), test_buffer, (size_t)test_sbuf_len); in ATF_TC_BODY()
166 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY()
167 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
202 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY()
203 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
234 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY()
235 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
268 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string, in ATF_TC_BODY()
269 "sbuf (\"%s\") != test string (\"%s\") (trimmed)", sbuf_data(sb), in ATF_TC_BODY()
H A Dsbuf_stdio_test.c138 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY()
139 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
198 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), test_string_tmp, in ATF_TC_BODY()
199 "sbuf (\"%s\") != test string (\"%s\")", sbuf_data(sb), in ATF_TC_BODY()
H A Dsbuf_core_test.c79 ATF_REQUIRE_STREQ_MSG(sbuf_data(sb), "", in ATF_TC_BODY()
80 "sbuf (\"%s\") was not empty", sbuf_data(sb)); in ATF_TC_BODY()
238 ATF_REQUIRE_MSG(strncmp(sbuf_data(sb), test_string, buf_len) == 0, in ATF_TC_BODY()
239 "sbuf (\"%s\") != test string (\"%s\") for [0,%zd]", sbuf_data(sb), in ATF_TC_BODY()
/freebsd-14.2/tools/regression/geom/MdLoad/
H A DMdLoad.c123 sc->sectorsize = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement()
127 o = strtoull(sbuf_data(sc->sbuf), &p, 0); in endElement()
133 sc->fwsectors = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement()
137 sc->fwheads = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement()
141 sc->fwcylinders = strtoul(sbuf_data(sc->sbuf), &p, 0); in endElement()
145 sc->sp->offset= strtoull(sbuf_data(sc->sbuf), &p, 0); in endElement()
149 j = strtoul(sbuf_data(sc->sbuf), NULL, 16); in endElement()
153 p = sbuf_data(sc->sbuf); in endElement()
177 printf("<%s>[[%s]]\n", name, sbuf_data(sc->sbuf)); in endElement()
/freebsd-14.2/tools/regression/geom/ConfCmp/
H A DConfCmp.c142 sbuf_cat(mt->cur->key, sbuf_data(np->cont)); in EndElement()
210 printf("\"%s\" -- \"%s\" -- \"%s\"", np->name, sbuf_data(np->cont), sbuf_data(np->key)); in print_node()
245 if (strcmp(sbuf_data(np1->key), sbuf_data(np2->key)) > 0) { in sort_node()
300 i = refcmp(sbuf_data(n1->cont), sbuf_data(n2->cont)); in compare_node()
302 i = strcmp(sbuf_data(n1->cont), sbuf_data(n2->cont)); in compare_node()
/freebsd-14.2/sbin/pfctl/tests/
H A Dpfctl_test.c162 printf("---\n%s---\n", sbuf_data(real_output)); in run_pfctl_test()
165 "pfctl returned non-zero! Output:\n %s", sbuf_data(real_output)); in run_pfctl_test()
167 ATF_CHECK_STREQ(sbuf_data(expected_output), sbuf_data(real_output)); in run_pfctl_test()
/freebsd-14.2/sys/cam/ctl/
H A Dctl_scsi_all.c162 return(sbuf_data(&sb)); in ctl_scsi_sense_string()
179 printf("%s", sbuf_data(&sb)); in ctl_scsi_sense_print()
199 fprintf(ofile, "%s", sbuf_data(&sb)); in ctl_scsi_sense_print()
/freebsd-14.2/sys/dev/xen/xenstore/
H A Dxenstore.c1281 error = xs_single(t, XS_DIRECTORY, sbuf_data(path), &len, in xs_directory()
1314 error = xs_single(t, XS_READ, sbuf_data(path), len, &ret); in xs_read()
1332 iovec[0].iov_base = (void *)(uintptr_t) sbuf_data(path); in xs_write()
1350 ret = xs_single(t, XS_MKDIR, sbuf_data(path), NULL, NULL); in xs_mkdir()
1363 ret = xs_single(t, XS_RM, sbuf_data(path), NULL, NULL); in xs_rm()
1383 root_path = sbuf_data(root_path_sbuf); in xs_rm_tree()
1384 cur_path = sbuf_data(cur_path_sbuf); in xs_rm_tree()
1416 cur_path = sbuf_data(cur_path_sbuf); in xs_rm_tree()
1524 error = xs_write(t, dir, node, sbuf_data(sb)); in xs_vprintf()
/freebsd-14.2/usr.bin/apply/
H A Dapply.c198 (void)printf("%s\n", sbuf_data(cmdbuf)); in main()
200 if (exec_shell(sbuf_data(cmdbuf), shell, name)) in main()
/freebsd-14.2/sys/xen/xenbus/
H A Dxenbusb_back.c152 error = xs_directory(XST_NIL, xbs->xbs_node, sbuf_data(vm_path), in xenbusb_back_enumerate_type()
164 xenbusb_add_device(dev, type, sbuf_data(id)); in xenbusb_back_enumerate_type()
/freebsd-14.2/lib/libsbuf/
H A DSymbol.map19 sbuf_data;
/freebsd-14.2/contrib/lib9p/sbuf/
H A Dsbuf.h52 char *sbuf_data(struct sbuf *s);
H A Dsbuf.c109 sbuf_data(struct sbuf *s) in sbuf_data() function
/freebsd-14.2/sys/fs/procfs/
H A Dprocfs_osrel.c54 pp = sbuf_data(sb); in procfs_doosrel()
/freebsd-14.2/usr.sbin/extattr/
H A Drmextattr.c227 sbuf_data(attrvalue), len); in main()
231 sbuf_data(attrvalue), len); in main()
/freebsd-14.2/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_pke_replay_stats.c40 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in qat_pke_replay_counters_show()
H A Dadf_c4xxx_misc_error_stats.c36 SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in qat_misc_error_show()
H A Dadf_c4xxx_ae_config.c102 ret = SYSCTL_OUT(req, sbuf_data(&sb), sbuf_len(&sb)); in adf_ae_config_show()
/freebsd-14.2/sys/sys/
H A Dsbuf.h100 char *sbuf_data(struct sbuf *);
/freebsd-14.2/usr.bin/procstat/
H A Dprocstat_cs.c111 xo_emit("{:cpu_set/%s}", sbuf_data(cpusetbuf)); in procstat_cs()
/freebsd-14.2/sys/geom/
H A Dgeom_ctl.c164 sbuf_data(req->serror)); in gctl_post_messages()
302 printf(" error:\t\"%s\"\n", sbuf_data(req->serror)); in gctl_dump()
620 nerror = copyout(sbuf_data(req->serror), req->error, in g_ctl_ioctl_ctl()
/freebsd-14.2/sys/geom/vinum/
H A Dgeom_vinum_drive.c328 error = g_write_data(cp, GV_CFG_OFFSET, sbuf_data(sb), in gv_save_config()
340 sbuf_data(sb), GV_CFG_LEN); in gv_save_config()
/freebsd-14.2/sys/compat/linux/
H A Dlinux_sysctl.c157 sysctl_string = sbuf_data(sb); in linux_sysctl()
/freebsd-14.2/sys/geom/label/
H A Dg_label_gpt.c127 strlcpy(label, sbuf_data(lbl), size); in g_label_gpt_taste()
/freebsd-14.2/sys/kern/
H A Dimgact_shell.c179 fname = sbuf_data(sname); in exec_shell_imgact()

123456