Lines Matching refs:value

203 	if (opt->value != NULL)
204 free(opt->value, M_MOUNT);
345 opt->value = NULL;
371 opt->value = malloc(optlen, M_MOUNT, M_WAITOK);
373 bcopy(auio->uio_iov[i + 1].iov_base, opt->value,
377 opt->value, optlen);
408 new->value = malloc(opt->len, M_MOUNT, M_WAITOK);
409 bcopy(opt->value, new->value, opt->len);
411 new->value = NULL;
1534 * All in all we want current value of MNT_QUOTA, not the old
1857 * but this behavior can be temporarily disabled if stable value is needed
2324 ("%s: invalid return value for msleep in the drain path @ %s:%d",
2501 strncpy((char *)opt->value, errmsg, opt->len);
2532 *buf = opt->value;
2557 vfs_getopt_size(struct vfsoptlist *opts, const char *name, off_t *value)
2592 *value = iv;
2608 ((char *)opt->value)[opt->len - 1] != '\0') {
2612 return (opt->value);
2650 if (opt->len == 0 || opt->value == NULL)
2652 if (((char *)opt->value)[opt->len - 1] != '\0')
2655 ret = vsscanf(opt->value, fmt, ap);
2663 vfs_setopt(struct vfsoptlist *opts, const char *name, void *value, int len)
2671 if (opt->value == NULL)
2676 bcopy(value, opt->value, len);
2684 vfs_setopt_part(struct vfsoptlist *opts, const char *name, void *value, int len)
2692 if (opt->value == NULL)
2698 bcopy(value, opt->value, len);
2706 vfs_setopts(struct vfsoptlist *opts, const char *name, const char *value)
2714 if (opt->value == NULL)
2715 opt->len = strlen(value) + 1;
2716 else if (strlcpy(opt->value, value, opt->len) >= opt->len)
2743 bcopy(opt->value, dest, opt->len);
2807 * flag is the boolean value.
2889 * If length is -1, treat value as a C string.
3065 opt->value = NULL;