Lines Matching refs:propbuf
2160 zfs_prop_get_recvd(zfs_handle_t *zhp, const char *propname, char *propbuf, in zfs_prop_get_recvd() argument
2177 err = zfs_prop_get(zhp, prop, propbuf, proplen, in zfs_prop_get_recvd()
2188 (void) strlcpy(propbuf, recvdval, proplen); in zfs_prop_get_recvd()
2195 get_clones_string(zfs_handle_t *zhp, char *propbuf, size_t proplen) in get_clones_string() argument
2204 propbuf[0] = '\0'; in get_clones_string()
2207 if (propbuf[0] != '\0') in get_clones_string()
2208 (void) strlcat(propbuf, ",", proplen); in get_clones_string()
2209 (void) strlcat(propbuf, nvpair_name(pair), proplen); in get_clones_string()
2313 zfs_prop_get(zfs_handle_t *zhp, zfs_prop_t prop, char *propbuf, size_t proplen, in zfs_prop_get() argument
2347 strftime(propbuf, proplen, "%a %b %e %k:%M %Y", in zfs_prop_get()
2349 (void) snprintf(propbuf, proplen, "%llu", val); in zfs_prop_get()
2409 (void) snprintf(propbuf, proplen, "%s%s", in zfs_prop_get()
2412 (void) snprintf(propbuf, proplen, "%s%s%s%s", in zfs_prop_get()
2417 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
2426 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
2430 if (get_clones_string(zhp, propbuf, proplen) != 0) in zfs_prop_get()
2450 (void) strlcpy(propbuf, "0", proplen); in zfs_prop_get()
2452 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get()
2455 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2458 zfs_nicenum(val, propbuf, proplen); in zfs_prop_get()
2477 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2480 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get()
2482 zfs_nicenum(val, propbuf, proplen); in zfs_prop_get()
2490 (void) snprintf(propbuf, proplen, "%llu.%02llux", in zfs_prop_get()
2512 (void) snprintf(propbuf, proplen, "%s", str); in zfs_prop_get()
2526 (void) strlcpy(propbuf, "yes", proplen); in zfs_prop_get()
2528 (void) strlcpy(propbuf, "no", proplen); in zfs_prop_get()
2537 (void) strlcpy(propbuf, zhp->zfs_name, proplen); in zfs_prop_get()
2545 (void) strlcpy(propbuf, in zfs_prop_get()
2548 if (literal || (strcasecmp(propbuf, in zfs_prop_get()
2558 if (str_to_label(propbuf, &new_sl, MAC_LABEL, in zfs_prop_get()
2573 (void) strlcpy(propbuf, ascii, proplen); in zfs_prop_get()
2586 (void) snprintf(propbuf, proplen, "%llu", (u_longlong_t)val); in zfs_prop_get()
2596 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2599 zfs_nicenum(val, propbuf, proplen); in zfs_prop_get()
2606 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
2615 (void) strlcpy(propbuf, strval, proplen); in zfs_prop_get()
2889 char *propbuf, int proplen, boolean_t literal) in zfs_prop_get_userquota() argument
2902 (void) snprintf(propbuf, proplen, "%llu", propvalue); in zfs_prop_get_userquota()
2905 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get_userquota()
2907 zfs_nicenum(propvalue, propbuf, proplen); in zfs_prop_get_userquota()
2948 char *propbuf, int proplen, boolean_t literal) in zfs_prop_get_written() argument
2959 (void) snprintf(propbuf, proplen, "%llu", propvalue); in zfs_prop_get_written()
2961 zfs_nicenum(propvalue, propbuf, proplen); in zfs_prop_get_written()