Lines Matching defs:pval
50 const char *ifname, const void* pval, uint_t flags)
62 if (ddi_strtoul(pval, &end, 10, &new_value) != 0 ||
100 void *pval, uint_t pr_size, uint_t flags)
112 nbytes = snprintf(pval, pr_size, "%d", MOD_PROP_PERM_RW);
115 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_def_bval);
124 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_cur_bval);
148 nbytes = snprintf(pval, pr_size, "%d", value);
162 const char *ifname, const void* pval, uint_t flags)
170 if ((err = mod_uint32_value(pval, pinfo, flags, &new_value)) != 0)
184 void *pval, uint_t psize, uint_t flags)
191 bzero(pval, psize);
193 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW);
195 nbytes = snprintf(pval, psize, "%u-%u",
198 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_uval);
200 nbytes = snprintf(pval, psize, "%u", ip_debug);
214 const char *ifname, const void* pval, uint_t flags)
223 if (ddi_strtoul(pval, &end, 10, &new_value) != 0 ||
271 void *pval, uint_t psize, uint_t flags)
305 nbytes = snprintf(pval, psize, "%u", def_mtu);
310 nbytes = snprintf(pval, psize, "%u-%u", min_mtu, max_mtu);
358 const char *ifname, const void* pval, uint_t flags)
367 if ((err = mod_uint32_value(pval, pinfo, flags, &new_value)) != 0)
379 const char *ifname, const void* pval, uint_t flags)
390 if ((err = mod_uint32_value(pval, pinfo, flags, &tmp)) != 0)
452 void *pval, uint_t psize, uint_t flags)
460 bzero(pval, psize);
486 bcopy(&hostmodel, pval, sizeof (hostmodel));