/src/sys/sys/ |
device_calls.h | 140 * ==> propsize The native size of the property in the backing 162 * entire property, the "propsize" output must be set to reflect the 181 * ==> The returned "propsize" must reflect an accurate representation of 204 * The "propsize" output is set to reflect the required 225 ssize_t propsize; /* OUT */ member in struct:device_get_property_args
|
/src/sys/dev/ofw/ |
ofw_subr.c | 186 int propsize = OF_getprop(node, prop, propval, sizeof(propval)); local in function:OF_DEVICE_CALL_REGISTER 188 if (propsize >= 4 && memcmp(propval, "true", 4) == 0) { 192 if (propsize >= 5 && memcmp(propval, "false", 5) == 0) { 205 int propsize, rv, error = 0; local in function:of_device_get_property 209 propsize = OF_getproplen(node, args->prop); 210 if (propsize < 0) { 214 if (propsize == 0) { 234 if (propsize == sizeof(uint32_t)) { 244 } else if (propsize == sizeof(uint64_t)) { 264 if (args->buflen < propsize) { [all...] |
/src/sys/arch/sparc/sparc/ |
promlib.c | 287 obp_is_bool_prop(const char *prop __unused, char *propval, int propsize, 305 if (propsize >= 4 && memcmp(propval, "true", 4) == 0) { 309 if (propsize >= 5 && memcmp(propval, "false", 5) == 0) { 321 int propsize, error = 0; local in function:obp_device_get_property 326 propsize = prom_getproplen(node, args->prop); 327 if (propsize < 0) { 331 if (propsize == 0) { 341 propval = kmem_alloc(propsize, KM_SLEEP); 342 _prom_getprop(node, args->prop, propval, propsize); 348 if (obp_is_bool_prop(args->prop, propval, propsize, &boolval)) [all...] |