Searched refs:num_b (Results 1 – 2 of 2) sorted by relevance
106 int num_b = 0; in write_attribute_sensor() local111 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor()112 if (num_b <= 0) { in write_attribute_sensor()121 return num_b; in write_attribute_sensor()129 int num_b = 0; in write_attribute_sensor_continuous() local134 num_b = write(fd, buf, strlen(buf) + 1); in write_attribute_sensor_continuous()135 if (num_b <= 0) { in write_attribute_sensor_continuous()143 return num_b; in write_attribute_sensor_continuous()