Lines Matching refs:propbuf

2402 zfs_prop_get_recvd(zfs_handle_t *zhp, const char *propname, char *propbuf,  in zfs_prop_get_recvd()  argument
2419 err = zfs_prop_get(zhp, prop, propbuf, proplen, in zfs_prop_get_recvd()
2429 (void) strlcpy(propbuf, recvdval, proplen); in zfs_prop_get_recvd()
2436 get_clones_string(zfs_handle_t *zhp, char *propbuf, size_t proplen) in get_clones_string() argument
2445 propbuf[0] = '\0'; in get_clones_string()
2448 if (propbuf[0] != '\0') in get_clones_string()
2449 (void) strlcat(propbuf, ",", proplen); in get_clones_string()
2450 (void) strlcat(propbuf, nvpair_name(pair), proplen); in get_clones_string()
2550 get_rsnaps_string(zfs_handle_t *zhp, char *propbuf, size_t proplen) in get_rsnaps_string() argument
2564 (void) snprintf(propbuf, proplen, "none"); in get_rsnaps_string()
2567 propbuf[0] = '\0'; in get_rsnaps_string()
2570 if (propbuf[0] != '\0') in get_rsnaps_string()
2571 (void) strlcat(propbuf, ",", proplen); in get_rsnaps_string()
2574 (void) strlcat(propbuf, buf, proplen); in get_rsnaps_string()
2655 zfs_prop_get(zfs_handle_t *zhp, zfs_prop_t prop, char *propbuf, size_t proplen, in zfs_prop_get() argument
2689 strftime(propbuf, proplen, "%a %b %e %k:%M %Y", in zfs_prop_get()
2691 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2753 (void) snprintf(propbuf, proplen, "%s%s", in zfs_prop_get()
2756 (void) snprintf(propbuf, proplen, "%s%s%s%s", in zfs_prop_get()
2761 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
2763 zcp_check(zhp, prop, 0, propbuf); in zfs_prop_get()
2776 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
2781 if (get_rsnaps_string(zhp, propbuf, proplen) != 0) in zfs_prop_get()
2786 if (get_clones_string(zhp, propbuf, proplen) != 0) in zfs_prop_get()
2805 (void) strlcpy(propbuf, "0", proplen); in zfs_prop_get()
2807 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get()
2810 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2813 zfs_nicebytes(val, propbuf, proplen); in zfs_prop_get()
2832 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get()
2834 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2837 zfs_nicenum(val, propbuf, proplen); in zfs_prop_get()
2848 (void) snprintf(propbuf, proplen, "%llu.%02llu", in zfs_prop_get()
2852 (void) snprintf(propbuf, proplen, "%llu.%02llux", in zfs_prop_get()
2875 (void) snprintf(propbuf, proplen, "%s", str); in zfs_prop_get()
2876 zcp_check(zhp, prop, 0, propbuf); in zfs_prop_get()
2890 (void) strlcpy(propbuf, "yes", proplen); in zfs_prop_get()
2892 (void) strlcpy(propbuf, "no", proplen); in zfs_prop_get()
2901 (void) strlcpy(propbuf, zhp->zfs_name, proplen); in zfs_prop_get()
2902 zcp_check(zhp, prop, 0, propbuf); in zfs_prop_get()
2911 (void) strlcpy(propbuf, in zfs_prop_get()
2914 if (literal || (strcasecmp(propbuf, in zfs_prop_get()
2924 if (str_to_label(propbuf, &new_sl, MAC_LABEL, in zfs_prop_get()
2939 (void) strlcpy(propbuf, ascii, proplen); in zfs_prop_get()
2942 (void) strlcpy(propbuf, in zfs_prop_get()
2962 (void) snprintf(propbuf, proplen, "%llu", (u_longlong_t)val); in zfs_prop_get()
2976 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
2979 zfs_nicebytes(val, propbuf, proplen); in zfs_prop_get()
2996 strftime(propbuf, proplen, "%a %b %e %k:%M:%S %Y", in zfs_prop_get()
2998 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
3013 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get()
3016 zfs_nicenum(val, propbuf, proplen); in zfs_prop_get()
3026 (void) strlcpy(propbuf, str, proplen); in zfs_prop_get()
3037 (void) strlcpy(propbuf, strval, proplen); in zfs_prop_get()
3300 char *propbuf, int proplen, boolean_t literal) in zfs_prop_get_userquota() argument
3313 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get_userquota()
3320 (void) strlcpy(propbuf, "none", proplen); in zfs_prop_get_userquota()
3324 zfs_nicebytes(propvalue, propbuf, proplen); in zfs_prop_get_userquota()
3326 zfs_nicenum(propvalue, propbuf, proplen); in zfs_prop_get_userquota()
3371 char *propbuf, int proplen, boolean_t literal) in zfs_prop_get_written() argument
3382 (void) snprintf(propbuf, proplen, "%llu", in zfs_prop_get_written()
3385 zfs_nicebytes(propvalue, propbuf, proplen); in zfs_prop_get_written()