Lines Matching defs:psize
102 void *pval, uint_t psize, uint_t flags)
109 bzero(pval, psize);
111 nbytes = snprintf(pval, psize, "%u", prop_perm2const(pinfo));
113 nbytes = snprintf(pval, psize, "%u,%u", B_FALSE, B_TRUE);
115 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_bval);
117 nbytes = snprintf(pval, psize, "%u", pinfo->prop_cur_bval);
118 if (nbytes >= psize)
191 void *pval, uint_t psize, uint_t flags)
198 bzero(pval, psize);
200 nbytes = snprintf(pval, psize, "%u", prop_perm2const(pinfo));
202 nbytes = snprintf(pval, psize, "%u-%u",
205 nbytes = snprintf(pval, psize, "%u", pinfo->prop_def_uval);
207 nbytes = snprintf(pval, psize, "%u", pinfo->prop_cur_uval);
208 if (nbytes >= psize)
269 mod_prop_info_t *pinfo, const char *ifname, void *pval, uint_t psize,
277 nbytes = snprintf(pval, psize, "%u-%u", min, max);
278 return (nbytes < psize ? 0 : ENOBUFS);
280 return (mod_get_uint32(stack, pinfo, ifname, pval, psize, flags));
290 void *val, uint_t psize, uint_t flags)
297 bzero(pval, psize);
298 size = psize;
332 if (tbytes >= psize) {
465 const char *ifname, void *val, uint_t psize, uint_t flags)
479 bzero(pval, psize);
480 size = psize;
483 tbytes = snprintf(pval, psize, "%u,%u", ULP_DEF_EPRIV_PORT1,
487 tbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW);
512 tbytes = snprintf(pval, psize, "%u-%u", pinfo->prop_min_uval,
519 if (psize == size)
526 if (tbytes >= psize)
532 if (tbytes >= psize)