• Home
  • Raw
  • Download

Lines Matching refs:rc

42 	int rc;  in cosm_reboot_event()  local
49 rc = scif_send(client_epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_reboot_event()
50 if (rc < 0) in cosm_reboot_event()
52 __func__, __LINE__, rc); in cosm_reboot_event()
64 int rc = do_settimeofday64(&msg->timespec); in cosm_set_time() local
66 if (rc) in cosm_set_time()
68 __func__, __LINE__, rc); in cosm_set_time()
75 int rc; in cosm_client_recv() local
78 rc = scif_recv(client_epd, &msg, sizeof(msg), 0); in cosm_client_recv()
79 if (!rc) { in cosm_client_recv()
81 } else if (rc < 0) { in cosm_client_recv()
83 __func__, __LINE__, rc); in cosm_client_recv()
88 __func__, __LINE__, rc, msg.id); in cosm_client_recv()
109 int i, rc; in cosm_scif_connect() local
122 rc = scif_connect(client_epd, &port_id); in cosm_scif_connect()
123 if (rc < 0) in cosm_scif_connect()
129 if (rc < 0) { in cosm_scif_connect()
131 __func__, __LINE__, rc); in cosm_scif_connect()
135 return rc < 0 ? rc : 0; in cosm_scif_connect()
155 int rc; in cosm_scif_client() local
163 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_SEND_MSEC); in cosm_scif_client()
164 if (rc < 0) { in cosm_scif_client()
165 if (-EINTR != rc) in cosm_scif_client()
168 __func__, __LINE__, rc); in cosm_scif_client()
176 rc = scif_send(client_epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_scif_client()
177 if (rc < 0) in cosm_scif_client()
179 __func__, __LINE__, rc); in cosm_scif_client()
189 int rc; in cosm_scif_probe() local
199 rc = cosm_scif_connect(); in cosm_scif_probe()
200 if (rc) in cosm_scif_probe()
203 rc = register_reboot_notifier(&cosm_reboot); in cosm_scif_probe()
204 if (rc) { in cosm_scif_probe()
206 "reboot notifier registration failed rc %d\n", rc); in cosm_scif_probe()
212 rc = PTR_ERR(client_thread); in cosm_scif_probe()
214 __func__, __LINE__, rc); in cosm_scif_probe()
228 int rc; in cosm_scif_remove() local
237 rc = send_sig(SIGKILL, client_thread, 0); in cosm_scif_remove()
238 if (rc) { in cosm_scif_remove()
240 __func__, __LINE__, rc); in cosm_scif_remove()
258 int rc = scif_client_register(&scif_client_cosm); in cosm_client_init() local
260 if (rc) in cosm_client_init()
261 pr_err("scif_client_register failed rc %d\n", rc); in cosm_client_init()
262 return rc; in cosm_client_init()