Lines Matching refs:val

65     zprop_source_t *src, char **source, uint64_t *val,
2818 char **source, uint64_t *val, boolean_t get_persistent,
2897 *val = getprop_uint64(zhp, prop, source);
2902 if (hasmntopt(&mnt, mntopt_on) && !*val) {
2906 *val = B_TRUE;
2910 } else if (hasmntopt(&mnt, mntopt_off) && *val) {
2914 *val = B_FALSE;
2927 *val = getprop_uint64(zhp, prop, source);
2936 *val = (zhp->zfs_mntopts != NULL);
2940 *val = ((zhp->zfs_mntopts != NULL) &&
2945 *val = zhp->zfs_dmustats.dds_num_clones;
2963 val) != 0) {
2976 *val = getprop_uint64(zhp, prop, source);
3194 uint64_t val;
3249 val = getprop_uint64(zhp, prop, &source);
3250 time_t time = (time_t)val;
3253 if (val == 0) {
3259 (void) snprintf(propbuf, proplen, "%llu", val);
3477 if (get_numeric_property(zhp, prop, src, &source, &val,
3484 if (val & pi->pi_value) {
3608 if (get_numeric_property(zhp, prop, src, &source, &val,
3618 if (val == 0) {
3626 (u_longlong_t)val);
3628 zfs_nicenum(val, propbuf, proplen);
3633 if (get_numeric_property(zhp, prop, src, &source, &val,
3637 (u_longlong_t)(val / 100),
3638 (u_longlong_t)(val % 100));
3667 if (get_numeric_property(zhp, prop, src, &source, &val,
3670 if (val)
3768 &source, &val, flags.persistent,
3773 (u_longlong_t)val);
3775 zfs_nicenum(val, propbuf, proplen);
3785 &source, &val, flags.persistent,
3788 if (zfs_prop_index_to_string(prop, val, &strval) != 0)
4089 uint64_t val;
4091 (void) get_numeric_property(zhp, prop, NULL, &source, &val, B_FALSE,
4094 return (val);
4098 zfs_prop_set_int(zfs_handle_t *zhp, zfs_prop_t prop, uint64_t val)
4102 (void) snprintf(buf, sizeof (buf), "%llu", (longlong_t)val);