• Home
  • Raw
  • Download

Lines Matching refs:rc

44 	int rc;  in cosm_reboot_event()  local
51 rc = scif_send(client_epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_reboot_event()
52 if (rc < 0) in cosm_reboot_event()
54 __func__, __LINE__, rc); in cosm_reboot_event()
66 int rc = do_settimeofday64(&msg->timespec); in cosm_set_time() local
68 if (rc) in cosm_set_time()
70 __func__, __LINE__, rc); in cosm_set_time()
77 int rc; in cosm_client_recv() local
80 rc = scif_recv(client_epd, &msg, sizeof(msg), 0); in cosm_client_recv()
81 if (!rc) { in cosm_client_recv()
83 } else if (rc < 0) { in cosm_client_recv()
85 __func__, __LINE__, rc); in cosm_client_recv()
90 __func__, __LINE__, rc, msg.id); in cosm_client_recv()
111 int i, rc; in cosm_scif_connect() local
124 rc = scif_connect(client_epd, &port_id); in cosm_scif_connect()
125 if (rc < 0) in cosm_scif_connect()
131 if (rc < 0) { in cosm_scif_connect()
133 __func__, __LINE__, rc); in cosm_scif_connect()
137 return rc < 0 ? rc : 0; in cosm_scif_connect()
157 int rc; in cosm_scif_client() local
165 rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_SEND_MSEC); in cosm_scif_client()
166 if (rc < 0) { in cosm_scif_client()
167 if (-EINTR != rc) in cosm_scif_client()
170 __func__, __LINE__, rc); in cosm_scif_client()
178 rc = scif_send(client_epd, &msg, sizeof(msg), SCIF_SEND_BLOCK); in cosm_scif_client()
179 if (rc < 0) in cosm_scif_client()
181 __func__, __LINE__, rc); in cosm_scif_client()
191 int rc; in cosm_scif_probe() local
201 rc = cosm_scif_connect(); in cosm_scif_probe()
202 if (rc) in cosm_scif_probe()
205 rc = register_reboot_notifier(&cosm_reboot); in cosm_scif_probe()
206 if (rc) { in cosm_scif_probe()
208 "reboot notifier registration failed rc %d\n", rc); in cosm_scif_probe()
214 rc = PTR_ERR(client_thread); in cosm_scif_probe()
216 __func__, __LINE__, rc); in cosm_scif_probe()
230 int rc; in cosm_scif_remove() local
239 rc = send_sig(SIGKILL, client_thread, 0); in cosm_scif_remove()
240 if (rc) { in cosm_scif_remove()
242 __func__, __LINE__, rc); in cosm_scif_remove()
260 int rc = scif_client_register(&scif_client_cosm); in cosm_client_init() local
262 if (rc) in cosm_client_init()
263 pr_err("scif_client_register failed rc %d\n", rc); in cosm_client_init()
264 return rc; in cosm_client_init()