• Home
  • Raw
  • Download

Lines Matching refs:retval

264 	int retval;  in rv_enable_monitor()  local
271 retval = mdef->monitor->enable(); in rv_enable_monitor()
273 if (!retval) in rv_enable_monitor()
276 return retval; in rv_enable_monitor()
286 int retval; in monitor_enable_write_data() local
289 retval = kstrtobool_from_user(user_buf, count, &val); in monitor_enable_write_data()
290 if (retval) in monitor_enable_write_data()
291 return retval; in monitor_enable_write_data()
293 retval = count; in monitor_enable_write_data()
298 retval = rv_enable_monitor(mdef); in monitor_enable_write_data()
300 retval = rv_disable_monitor(mdef); in monitor_enable_write_data()
304 return retval ? : count; in monitor_enable_write_data()
346 int retval; in create_monitor_dir() local
354 retval = -ENOMEM; in create_monitor_dir()
360 retval = -ENOMEM; in create_monitor_dir()
364 retval = reactor_populate_monitor(mdef); in create_monitor_dir()
365 if (retval) in create_monitor_dir()
372 return retval; in create_monitor_dir()
517 int retval = -EINVAL; in enabled_monitors_write() local
527 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in enabled_monitors_write()
528 if (retval < 0) in enabled_monitors_write()
544 retval = -EINVAL; in enabled_monitors_write()
554 retval = rv_enable_monitor(mdef); in enabled_monitors_write()
556 retval = rv_disable_monitor(mdef); in enabled_monitors_write()
558 if (!retval) in enabled_monitors_write()
559 retval = count; in enabled_monitors_write()
565 return retval; in enabled_monitors_write()
650 int retval; in monitoring_on_write_data() local
653 retval = kstrtobool_from_user(user_buf, count, &val); in monitoring_on_write_data()
654 if (retval) in monitoring_on_write_data()
655 return retval; in monitoring_on_write_data()
697 int retval = 0; in rv_register_monitor() local
710 retval = -1; in rv_register_monitor()
717 retval = -ENOMEM; in rv_register_monitor()
723 retval = create_monitor_dir(r); in rv_register_monitor()
724 if (retval) { in rv_register_monitor()
733 return retval; in rv_register_monitor()
763 int retval; in rv_init_interface() local
787 retval = init_rv_reactors(rv_root.root_dir); in rv_init_interface()
788 if (retval) in rv_init_interface()