Lines Matching refs:err
40 int err; in __tap_ctl_close() local
49 err = tap_ctl_connect_send_and_receive(id, &message, 5); in __tap_ctl_close()
50 if (err) in __tap_ctl_close()
51 return err; in __tap_ctl_close()
54 err = message.u.response.error; in __tap_ctl_close()
55 if (err) in __tap_ctl_close()
56 EPRINTF("close failed: %d\n", err); in __tap_ctl_close()
60 err = EINVAL; in __tap_ctl_close()
63 return err; in __tap_ctl_close()
69 int i, err; in tap_ctl_close() local
72 err = __tap_ctl_close(id, minor, force); in tap_ctl_close()
73 if (!err) in tap_ctl_close()
76 err = (err < 0 ? -err : err); in tap_ctl_close()
77 if (err != EAGAIN) { in tap_ctl_close()
78 EPRINTF("close failed: %d\n", err); in tap_ctl_close()
79 return err; in tap_ctl_close()