Lines Matching refs:source

1896 getprop_uint64(zfs_handle_t *zhp, zfs_prop_t prop, char **source)
1901 *source = NULL;
1905 (void) nvlist_lookup_string(nv, ZPROP_SOURCE, source);
1910 *source = "";
1917 getprop_string(zfs_handle_t *zhp, zfs_prop_t prop, char **source)
1922 *source = NULL;
1926 (void) nvlist_lookup_string(nv, ZPROP_SOURCE, source);
1931 *source = "";
1964 * the source "temporary".
1968 char **source, uint64_t *val)
1977 *source = NULL;
2052 *val = getprop_uint64(zhp, prop, source);
2078 *val = getprop_uint64(zhp, prop, source);
2080 if (*source == NULL) {
2082 *source = zhp->zfs_name;
2124 *val = getprop_uint64(zhp, prop, source);
2134 *source != NULL && (*source)[0] == '\0') {
2135 *source = NULL;
2153 * Calculate the source type, given the raw source string.
2156 get_source(zfs_handle_t *zhp, zprop_source_t *srctype, char *source,
2162 if (source == NULL) {
2164 } else if (source[0] == '\0') {
2166 } else if (strstr(source, ZPROP_SOURCE_VAL_RECVD) != NULL) {
2169 if (strcmp(source, zhp->zfs_name) == 0) {
2172 (void) strlcpy(statbuf, source, statlen);
2336 char *source = NULL;
2361 val = getprop_uint64(zhp, prop, &source);
2385 str = getprop_string(zhp, prop, &source);
2394 * with a received value, the source will be the path of
2395 * the dataset we inherit from. If source is
2399 if (strcmp(source, ZPROP_SOURCE_VAL_RECVD) == 0) {
2402 relpath = zhp->zfs_name + strlen(source);
2443 str = getprop_string(zhp, prop, &source);
2459 if (get_numeric_property(zhp, prop, src, &source, &val) != 0)
2487 if (get_numeric_property(zhp, prop, src, &source, &val) != 0)
2508 if (get_numeric_property(zhp, prop, src, &source, &val) != 0)
2543 src, &source, &val) != 0)
2566 getprop_string(zhp, prop, &source), proplen);
2604 if (get_numeric_property(zhp, prop, src, &source, &val) != 0)
2613 &source, &val) != 0)
2623 str = getprop_string(zhp, prop, &source);
2631 &source, &val) != 0)
2643 get_source(zhp, src, source, statbuf, statlen);
2656 char *source;
2659 (void) get_numeric_property(zhp, prop, NULL, &source, &val);
2680 char *source;
2694 if (get_numeric_property(zhp, prop, src, &source, value) != 0)
2697 get_source(zhp, src, source, statbuf, statlen);
3549 * Clones the given dataset. The target must be of the same type as the source.
3601 * At this point, we don't know whether it's the source
3611 "source and target pools differ"));