Lines Matching +refs:val +refs:current
5807 uint8_t type, void *val)
5830 if (dladm_kstat_value(ksp, stat, type, val) < 0)
5843 void *val, boolean_t islink)
5849 return (query_kstat("link", 0, name, stat, type, val));
5854 return (query_kstat(module, instance, "mac", stat, type, val));
6633 * property. Check if current value can be retrieved.
6922 char **val;
6926 val = NULL;
6929 val = aip->ai_val;
6938 status = dladm_set_linkprop(handle, linkid, aip->ai_name, val,
6991 warn("invalid link property '%s'", *val);
7078 struct termios stored, current;
7088 current = stored;
7089 current.c_lflag &= ~(ICANON|ECHO);
7090 current.c_cc[VTIME] = 0;
7091 current.c_cc[VMIN] = 1;
7092 (void) tcsetattr(0, TCSANOW, ¤t);
7446 char val[DLADM_SECOBJ_VAL_MAX * 2];
7447 uint_t len = sizeof (val);
7449 if (octet_to_hexascii(obj_val, obj_len, val, &len) == 0)
7451 sizeof (sbuf.ss_val), "%s", val);
7676 (void) strlcpy(ebuf.eth_ptype, "current", sizeof (ebuf.eth_ptype));
7831 * Get the current properties, if any, and merge in with changes. This
8297 fmt_bool(char *buf, size_t buflen, int val)
8299 (void) strlcpy(buf, val ? "yes" : "no", buflen);
8880 int val;
8884 val = strtol(str, &endp, 10);
8888 *valp = val;