Lines Matching defs:err

91     errval_t err;
107 err = frame_alloc(&local_frame, frame_size, &alloced_size);
108 assert(err_is_ok(err));
112 err = frame_identify(local_frame, &id);
113 assert(err_is_ok(err));
117 err = vspace_map_one_frame(&local_buf, alloced_size, local_frame, NULL, NULL);
119 return err;
127 errval_t err;
132 err = frame_identify(msgframe, &id);
133 if (err_is_fail(err)) {
134 USER_PANIC_ERR(err, "could not identify the frame");
146 err = vspace_map_one_frame(&remote_buf, remote_frame_sz, msgframe,
149 if (err_is_fail(err)) {
150 USER_PANIC_ERR(err, "Could not map the frame");
167 errval_t err;
177 err = xeon_phi_client_init(disp_xeon_phi_id());
178 if (err_is_fail(err)) {
179 USER_PANIC_ERR(err, "could not init the service\n");
182 err = alloc_local();
183 assert(err_is_ok(err));
187 err = xeon_phi_domain_blocking_lookup(iface, &domid);
188 if (err_is_fail(err)) {
189 USER_PANIC_ERR(err, "looking up domain id\n");
192 err = xeon_phi_client_chan_open(1, domid, 0xcafebabe, local_frame, 2);
193 if (err_is_fail(err)) {
194 USER_PANIC_ERR(err, "could not open channel");
205 err = xeon_phi_client_chan_open(0, domid, 0xdeadbeef, local_frame, 2);
206 if (err_is_fail(err)) {
207 USER_PANIC_ERR(err, "could not open channel");
213 err = ump_chan_init(&uc, inbuf,
217 err = ump_chan_init(&uc_rev, inbuf_rev,
222 if (err_is_fail(err)) {
223 USER_PANIC_ERR(err, "Could not initialize UMP");
259 err = dma_manager_wait_for_driver(DMA_DEV_TYPE_XEON_PHI, disp_xeon_phi_id());
260 if (err_is_fail(err)) {
261 USER_PANIC_ERR(err, "waiting for drive");
273 err = dma_client_device_init(&info, &xdev);
274 if (err_is_fail(err)) {
275 USER_PANIC_ERR(err, "could not initialize client device");
280 err = dma_register_memory((struct dma_device *) dev, local_frame);
281 if (err_is_fail(err)) {
282 USER_PANIC_ERR(err, "could not register memory");
285 err = dma_register_memory((struct dma_device *) dev, remote_frame);
286 if (err_is_fail(err)) {
287 USER_PANIC_ERR(err, "could not register memory");