HomeSort by: relevance | last modified time | path
    Searched refs:propsize (Results 1 - 5 of 5) sorted by relevancy

  /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/kern/
subr_device.c 471 args->propsize = prop_number_size(propval) >> 3;
495 args->propsize = prop_string_size(propval) + 1;
497 if (args->buflen < args->propsize) {
506 args->propsize = prop_data_size(propval);
508 if (args->buflen < args->propsize) {
512 args->propsize);
517 args->propsize = sizeof(bool);
545 /* Poison args->propsize for sanity check later. */
546 args->propsize = -1;
573 * property size in args->propsize if EFBIG is returned
    [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...]
  /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/acpi/
acpi_util.c 293 args->propsize = sizeof(propval->Integer.Value);
321 args->propsize = propval->String.Length + 1;
323 if (args->buflen < args->propsize) {
333 args->propsize = propval->Buffer.Length;
335 if (args->buflen < args->propsize) {
340 args->propsize);

Completed in 47 milliseconds