Lines Matching defs:buf
1088 char *strptr, *buf = NULL;
1093 (void) asprintf(&buf, "%" PRIu64, boot_size);
1094 if (buf == NULL) {
1099 rv = add_prop_list(propname, buf, &props, B_TRUE);
1100 free(buf);
1144 char buf[MAXPATHLEN];
1156 (void) snprintf(buf, sizeof (buf), "%s/%s",
1159 (void) snprintf(buf, sizeof (buf), "/%s",
1163 (void) snprintf(buf, sizeof (buf), "%s%s",
1166 (void) snprintf(buf, sizeof (buf), "%s",
1170 if ((dirp = opendir(buf)) == NULL && errno != ENOENT) {
1172 "%s\n"), buf, strerror(errno));
1185 "'%s' exists and is not empty\n"), buf);
2686 char buf[64];
2688 zfs_nicenum(value, buf, sizeof (buf));
2689 (void) printf(" %5s", buf);