Lines Matching refs:ret
82 int ret; in insmod() local
88 ret = init_module(module, size, args); in insmod()
92 return ret; in insmod()
97 int ret = -1; in rmmod() local
101 ret = delete_module(modname, O_NONBLOCK | O_EXCL); in rmmod()
102 if (ret < 0 && errno == EAGAIN) in rmmod()
108 if (ret != 0) in rmmod()
111 return ret; in rmmod()
402 int ret; in wifi_send_command() local
408 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), reply, reply_len, NULL); in wifi_send_command()
409 if (ret == -2) { in wifi_send_command()
412 } else if (ret < 0 || strncmp(reply, "FAIL", 4) == 0) { in wifi_send_command()