Lines Matching defs:proplen
179 * has to break up the request into a get-proplen and get-prop
187 * get-proplen has one result: proplen
188 * proplen is returned as -1 if the propname doesn't exist and
191 * get-prop has one result: proplen, returned as -1 if propname doesn't exist.
195 * fco_getproplen ( propname phandle -- proplen )
202 int proplen;
233 if (ddi_getproplen(DDI_DEV_T_ANY, dip, flags, propname, &proplen))
234 proplen = -1;
236 fc_result(cp, 0) = fc_int2cell(proplen);
242 * fco_getprop ( propname buffer phandle -- proplen )
249 int proplen = -1;
281 propname, (caddr_t)&bp, &proplen))
282 proplen = -1;
284 if (proplen > 0) {
288 error = copyout(bp, up, proplen);
289 kmem_free(bp, proplen);
295 fc_result(cp, 0) = fc_int2cell(proplen);