Lines Matching defs:num_bytes
81 acpi_thermal_read(void* _cookie, off_t position, void* buf, size_t* num_bytes)
86 if (*num_bytes < 1)
125 sprintf((char *)buf + *num_bytes, " Passive Devices\n");
126 *num_bytes = strlen((char *)buf);
128 sprintf((char *)buf + *num_bytes, " Processor: %lu\n", therm_info.passive_package->data.package.objects[i].data.processor.cpu_id);
129 *num_bytes = strlen((char *)buf);
136 max_len = user_strlcpy((char*)buf, string, *num_bytes);
139 *num_bytes = max_len;
141 *num_bytes = 0;
149 acpi_thermal_write(void* cookie, off_t position, const void* buffer, size_t* num_bytes)