Lines Matching defs:prop_buf
430 char *prop_buf;
463 prop_buf = (char *)get_zeroed_page(GFP_ATOMIC);
464 if (!prop_buf) {
474 length = name_show(&edev->dev, NULL, prop_buf);
476 if (prop_buf[length - 1] == '\n')
477 prop_buf[length - 1] = 0;
478 snprintf(name_buf, sizeof(name_buf), "NAME=%s", prop_buf);
482 length = state_show(&edev->dev, NULL, prop_buf);
484 if (prop_buf[length - 1] == '\n')
485 prop_buf[length - 1] = 0;
486 snprintf(state_buf, sizeof(state_buf), "STATE=%s", prop_buf);
494 free_page((unsigned long)prop_buf);