Lines Matching refs:buf

66 store_prop_val(topo_mod_t *mod, char *buf, char *propname, nvlist_t **out)
85 if (nvlist_add_string(*out, TOPO_PROP_VAL_VAL, buf) != 0) {
114 char *fmtstr, buf[BUFSZ];
138 (void) snprintf(buf, BUFSZ, fmtstr,
141 if (store_prop_val(mod, buf, "label", out) != 0) {
175 char *fmtstr, *order, buf[BUFSZ];
215 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip),
219 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip),
228 if (store_prop_val(mod, buf, "label", out) != 0) {
261 char *fmtstr, *order, buf[BUFSZ];
295 (void) snprintf(buf, BUFSZ, fmtstr, ((topo_node_instance(node))
299 (void) snprintf(buf, BUFSZ, fmtstr,
308 if (store_prop_val(mod, buf, "label", out) != 0) {
339 char *fmtstr, buf[BUFSZ];
363 (void) snprintf(buf, BUFSZ, fmtstr,
366 if (store_prop_val(mod, buf, "label", out) != 0) {
396 char *fmtstr, buf[BUFSZ];
420 (void) snprintf(buf, BUFSZ, fmtstr,
423 if (store_prop_val(mod, buf, "label", out) != 0) {
447 char *fmtstr, buf[BUFSZ], slot_id;
520 (void) snprintf(buf, BUFSZ, fmtstr, slot_id);
522 if (store_prop_val(mod, buf, "label", out) != 0) {
590 char *fmtstr, buf[BUFSZ];
614 (void) snprintf(buf, BUFSZ, fmtstr,
619 (void) snprintf(buf, BUFSZ, fmtstr,
629 if (store_prop_val(mod, buf, "label", out) != 0) {
669 char *fmtstr, buf[BUFSZ];
699 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip),
702 if (store_prop_val(mod, buf, "label", out) != 0) {
716 char *fmtstr, *chip_lbl, buf[BUFSZ];
755 (void) snprintf(buf, BUFSZ, fmtstr, chip_lbl,
760 if (store_prop_val(mod, buf, "label", out) != 0) {
790 char *fmtstr, buf[BUFSZ], chan;
814 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip) + 1, chan,
817 if (store_prop_val(mod, buf, "label", out) != 0) {