Lines Matching refs:ptr
519 char *ptr = buff; in enabled_monitors_write() local
531 ptr = strim(buff); in enabled_monitors_write()
533 if (ptr[0] == '!') { in enabled_monitors_write()
535 ptr++; in enabled_monitors_write()
538 len = strlen(ptr); in enabled_monitors_write()
547 if (strcmp(ptr, mdef->monitor->name) != 0) in enabled_monitors_write()
744 struct rv_monitor_def *ptr, *next; in rv_unregister_monitor() local
748 list_for_each_entry_safe(ptr, next, &rv_monitors_list, list) { in rv_unregister_monitor()
749 if (strcmp(monitor->name, ptr->monitor->name) == 0) { in rv_unregister_monitor()
750 rv_disable_monitor(ptr); in rv_unregister_monitor()
751 list_del(&ptr->list); in rv_unregister_monitor()
752 destroy_monitor_dir(ptr); in rv_unregister_monitor()