Lines Matching refs:ret
20 int fd, ret, saved_errno;
23 ret = unshare(CLONE_NEWNS);
24 if (ret < 0) {
30 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0);
31 if (ret < 0) {
37 ret = mkdir("/dev/binderfs", 0755);
38 if (ret < 0 && errno != EEXIST) {
44 ret = mount(NULL, "/dev/binderfs", "binder", 0, 0);
45 if (ret < 0) {
60 ret = ioctl(fd, BINDER_CTL_ADD, &device);
64 if (ret < 0) {
73 ret = unlink("/dev/binderfs/my-binder");
74 if (ret < 0) {