Symbol: RL
sys/net/if_llatbl.h
123
LLE_LOCK_TRACE(RL, (lle)); \
tests/dev/cgd/t_cgd_3des.c
828
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_3des.c
830
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_3des.c
831
RL(configure_cgd(cgdfd, dkpath, "3des-cbc", "encblkno1",
tests/dev/cgd/t_cgd_3des.c
839
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_3des.c
840
RL(configure_cgd(cgdfd, dkpath, "3des-cbc", "encblkno1",
tests/dev/cgd/t_cgd_3des.c
848
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_3des.c
849
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_3des.c
856
RL(close(dkfd));
tests/dev/cgd/t_cgd_3des.c
875
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_3des.c
877
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_3des.c
878
RL(configure_cgd(cgdfd, dkpath, "3des-cbc", "encblkno8",
tests/dev/cgd/t_cgd_3des.c
886
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_3des.c
887
RL(configure_cgd(cgdfd, dkpath, "3des-cbc", "encblkno8",
tests/dev/cgd/t_cgd_3des.c
895
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_3des.c
896
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_3des.c
903
RL(close(dkfd));
tests/dev/cgd/t_cgd_adiantum.c
339
RL(dkfd = open(imgpath, O_CREAT|O_RDWR|O_TRUNC, 0600));
tests/dev/cgd/t_cgd_adiantum.c
340
RL(ftruncate(dkfd, IMGSIZE));
tests/dev/cgd/t_cgd_adiantum.c
341
RL(rump_pub_etfs_register_withsize(dkpath, imgpath, RUMP_ETFS_BLK, 0,
tests/dev/cgd/t_cgd_adiantum.c
345
RL(cgdfd = rump_sys_open(cgdpath, O_RDWR));
tests/dev/cgd/t_cgd_adiantum.c
349
RL(configure_cgd(cgdfd, dkpath, "adiantum", "encblkno1",
tests/dev/cgd/t_cgd_adiantum.c
351
RL(nwrit = rump_sys_pwrite(cgdfd, C[i].ptxt, C[i].secsize,
tests/dev/cgd/t_cgd_adiantum.c
353
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_adiantum.c
361
RL(nread = pread(dkfd, buf, C[i].secsize,
tests/dev/cgd/t_cgd_adiantum.c
376
RL(configure_cgd(cgdfd, dkpath, "adiantum", "encblkno1",
tests/dev/cgd/t_cgd_adiantum.c
378
RL(nread = rump_sys_pread(cgdfd, buf, C[i].secsize,
tests/dev/cgd/t_cgd_adiantum.c
380
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_adiantum.c
393
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_adiantum.c
394
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3235
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3237
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3238
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3246
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3247
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3255
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3256
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3263
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3282
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3284
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3285
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3293
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3294
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3302
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3303
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3310
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3329
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3331
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3332
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3340
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3341
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3349
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3350
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3357
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3376
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3378
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3379
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3387
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3388
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3396
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3397
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3404
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3423
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3425
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3426
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3434
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3435
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3443
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3444
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3451
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3470
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3472
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3473
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3481
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3482
RL(configure_cgd(cgdfd, dkpath, "aes-cbc", "encblkno8",
tests/dev/cgd/t_cgd_aes.c
3490
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3491
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3498
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3516
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_aes.c
3518
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3519
RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3529
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3530
RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3540
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3541
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3550
RL(close(dkfd));
tests/dev/cgd/t_cgd_aes.c
3575
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_aes.c
3576
RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3582
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3583
RL(configure_cgd(cgdfd, dkpath, "aes-xts", "encblkno1",
tests/dev/cgd/t_cgd_aes.c
3589
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3590
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_aes.c
3595
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2064
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2066
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2067
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2075
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2076
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2084
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2085
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2092
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2111
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2113
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2114
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2122
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2123
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2131
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2132
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2139
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2158
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2160
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2161
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2169
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2170
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2178
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2179
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2186
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2205
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2207
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2208
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2216
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2217
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2225
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2226
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2233
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2252
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2254
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2255
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2263
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2264
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno1",
tests/dev/cgd/t_cgd_blowfish.c
2272
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2273
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2280
RL(close(dkfd));
tests/dev/cgd/t_cgd_blowfish.c
2299
RL(dkfd = open_disk(dkpath, imgpath, dksize));
tests/dev/cgd/t_cgd_blowfish.c
2301
RL(cgdfd = open_cgd(0));
tests/dev/cgd/t_cgd_blowfish.c
2302
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2310
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2311
RL(configure_cgd(cgdfd, dkpath, "blowfish-cbc", "encblkno8",
tests/dev/cgd/t_cgd_blowfish.c
2319
RL(unconfigure_cgd(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2320
RL(rump_sys_close(cgdfd));
tests/dev/cgd/t_cgd_blowfish.c
2327
RL(close(dkfd));
tests/dev/scsipi/t_cd.c
57
RL(part = getrawpartition());
tests/dev/scsipi/t_cd.c
66
RL(fd = rump_sys_open(fname, O_RDWR));
tests/dev/scsipi/t_cd.c
67
RL(rump_sys_ioctl(fd, DIOCEJECT, &arg));
tests/dev/scsipi/t_cd.c
70
RL(rump_sys_close(fd));
tests/fs/common/snapshot.c
138
RL(rump_sys_mkdir(prefix, 0777));
tests/fs/common/snapshot.c
142
RL(rump_sys_mkdir(path, 0777));
tests/fs/common/snapshot.c
153
RL(rump_sys_unlink(path));
tests/fs/common/snapshot.c
156
RL(rump_sys_rmdir(path));
tests/fs/common/snapshot.c
159
RL(rump_sys_rmdir(prefix));
tests/fs/common/snapshot.c
176
RL(setenv("RUMP_NCPU", "4", 1));
tests/fs/common/snapshot.c
179
RL(rump_init_server("unix://commsock"));
tests/fs/common/snapshot.c
180
RL(setenv("LD_PRELOAD", "/usr/lib/librumphijack.so", 1));
tests/fs/common/snapshot.c
181
RL(setenv("RUMP_SERVER", "unix://commsock", 1));
tests/fs/common/snapshot.c
182
RL(setenv("RUMPHIJACK", "blanket=/dev/rfss0", 1));
tests/fs/common/snapshot.c
185
RL(rump_sys_mkdir("/mnt", 0777));
tests/fs/common/snapshot.c
192
RL(wrkpid = rump_sys_getpid());
tests/fs/common/snapshot.c
195
RL(pthread_create(&at[i], NULL, fs_activity, prefix[i]));
tests/fs/common/snapshot.c
212
RL(pthread_join(at[i], NULL));
tests/fs/common/snapshot.c
214
RL(system(FSCK " /dev/rfss0"));
tests/fs/ffs/t_quota2_1.c
50
RL(rump_sys_chown(".", 0, 0));
tests/fs/ffs/t_quota2_1.c
53
RL(fd = rump_sys_open(buf, O_CREAT | O_RDWR, 0755));
tests/fs/ffs/t_quota2_1.c
55
RL(rump_sys_write(fd, buf, strlen(buf)));
tests/fs/ffs/t_quota2_1.c
56
RL(rump_sys_fchown(fd, i, i+80000));
tests/fs/ffs/t_quota2_remount.c
82
RL(rump_sys_chown(".", 0, 0));
tests/fs/ffs/t_quota2_remount.c
85
RL(fd = rump_sys_open(buf, O_CREAT | O_RDWR, 0755));
tests/fs/ffs/t_quota2_remount.c
87
RL(rump_sys_write(fd, buf, strlen(buf)));
tests/fs/ffs/t_quota2_remount.c
88
RL(rump_sys_fchown(fd, i, i+80000));
tests/fs/ffs/t_update_log.c
130
RL(fd = rump_sys_open("dummy", O_CREAT | O_RDWR, 0755));
tests/fs/ffs/t_update_log.c
132
RL(rump_sys_write(fd, buf, strlen(buf)));
tests/fs/ffs/t_update_log.c
77
RL(fd = rump_sys_open("dummy", O_CREAT | O_RDWR, 0755));
tests/fs/ffs/t_update_log.c
78
RL(rump_sys_write(fd, teststring, strlen(teststring)));
tests/fs/ffs/t_update_log.c
85
RL(fd = rump_sys_open("dummy", O_APPEND | O_RDWR, 0755));
tests/fs/ffs/t_update_log.c
86
RL(rump_sys_write(fd, teststring, strlen(teststring)));
tests/fs/hfs/t_pathconvert.c
45
RL(system(thecmd));
tests/fs/hfs/t_pathconvert.c
48
RL(system(thecmd));
tests/fs/hfs/t_pathconvert.c
54
RL(rump_sys_mkdir("/mp", 0777));
tests/fs/hfs/t_pathconvert.c
56
RL(rump_sys_mount(MOUNT_HFS, "/mp", 0, &args, sizeof args));
tests/fs/hfs/t_pathconvert.c
58
RL(dirfd = rump_sys_open("/mp", O_RDONLY));
tests/fs/hfs/t_pathconvert.c
60
RL(nbytes = rump_sys_getdents(dirfd, buf, sizeof buf));
tests/fs/hfs/t_pathconvert.c
73
RL(rump_sys_close(dirfd));
tests/fs/hfs/t_pathconvert.c
74
RL(fd = rump_sys_open("/mp/" FUNNY_FILENAME, O_RDONLY));
tests/fs/hfs/t_pathconvert.c
75
RL(rump_sys_close(fd));
tests/fs/hfs/t_pathconvert.c
76
RL(rump_sys_unmount("/mp", 0));
tests/fs/puffs/t_basic.c
414
RL(rump_sys_stat(".", &sb));
tests/fs/puffs/t_basic.c
420
RL(rump_sys_stat(".", &sb));
tests/fs/puffs/t_io.c
46
RL(fd = rump_sys_open("afile", O_CREAT | O_RDWR, 0755));
tests/fs/puffs/t_io.c
47
RL(rump_sys_write(fd, data, sizeof(data)));
tests/fs/tmpfs/t_renamerace.c
98
RL(wrkpid = rump_sys_getpid());
tests/fs/union/t_pr.c
246
RL(rump_sys_mkdir("/lower", 0777));
tests/fs/union/t_pr.c
247
RL(rump_sys_mkdir("/lower/foo", 0700)); /* restricted */
tests/fs/union/t_pr.c
249
RL(rump_sys_mkdir("/upper", 0777));
tests/fs/union/t_pr.c
250
RL(rump_sys_mkdir("/upper/foo", 0777));
tests/fs/union/t_pr.c
255
RL(rump_sys_mount(MOUNT_UNION, "/lower", 0,
tests/fs/union/t_pr.c
260
RL(rump_sys_setgid(1));
tests/fs/union/t_pr.c
261
RL(rump_sys_setegid(1));
tests/fs/union/t_pr.c
262
RL(rump_sys_setuid(32767));
tests/fs/union/t_pr.c
263
RL(rump_sys_seteuid(32767));
tests/fs/union/t_pr.c
267
RL(rump_sys_lstat("/lower/foo/.", &sb));
tests/fs/vfs/t_io.c
125
RL(fd = rump_sys_open("testi", O_CREAT | O_RDWR, 0666));
tests/fs/vfs/t_io.c
127
RL(rump_sys_close(fd));
tests/fs/vfs/t_io.c
129
RL(fd = rump_sys_open("testi", O_RDWR));
tests/fs/vfs/t_io.c
131
RL(rump_sys_ftruncate(fd, 0));
tests/fs/vfs/t_io.c
133
RL(rump_sys_close(fd));
tests/fs/vfs/t_io.c
164
RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
tests/fs/vfs/t_io.c
165
RL(rump_sys_ftruncate(fd, 2));
tests/fs/vfs/t_io.c
166
RL(rump_sys_ftruncate(fd, 1));
tests/fs/vfs/t_io.c
181
RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666));
tests/fs/vfs/t_io.c
189
RL(fd = rump_sys_open("file", O_RDWR));
tests/fs/vfs/t_io.c
190
RL(rump_sys_unlink("file"));
tests/fs/vfs/t_io.c
208
RL(fd = rump_sys_open("file", O_RDWR|O_CREAT, 0666));
tests/fs/vfs/t_io.c
209
RL(rump_sys_unlink("file"));
tests/fs/vfs/t_io.c
211
RL(rump_sys_pwrite(fd, &value, sizeof(value), 654321));
tests/fs/vfs/t_io.c
217
RL(rump_sys_fsync(fd));
tests/fs/vfs/t_io.c
218
RL(rump_sys_pread(fd, &v2, sizeof(v2), 654321));
tests/fs/vfs/t_io.c
232
RL(fd = rump_sys_open("file", O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_io.c
234
RL(rump_sys_close(fd));
tests/fs/vfs/t_io.c
235
RL(fd = rump_sys_open("file", O_RDONLY | O_SYNC | O_RSYNC));
tests/fs/vfs/t_io.c
237
RL(rump_sys_close(fd));
tests/fs/vfs/t_io.c
57
RL(fd = rump_sys_open("file", O_RDWR|O_CREAT|O_TRUNC, 0666));
tests/fs/vfs/t_io.c
60
RL(rump_sys_pwrite(fd, buf, 1, getpagesize()));
tests/fs/vfs/t_io.c
63
RL(rump_sys_pwrite(fd, buf, 2, getpagesize()-1));
tests/fs/vfs/t_io.c
68
RL(rump_sys_pread(fd, b2, therange, 0));
tests/fs/vfs/t_io.c
87
RL(fd = rump_sys_open("testfile",
tests/fs/vfs/t_io.c
89
RL(rump_sys_ftruncate(fd, seekcnt));
tests/fs/vfs/t_io.c
90
RL(rump_sys_fstat(fd, &sb));
tests/fs/vfs/t_io.c
97
RL(rump_sys_fstat(fd, &sb));
tests/fs/vfs/t_io.c
99
RL(rump_sys_close(fd));
tests/fs/vfs/t_renamerace.c
166
RL(wrkpid = rump_sys_getpid());
tests/fs/vfs/t_renamerace.c
168
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_renamerace.c
182
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_renamerace.c
201
RL(wrkpid = rump_sys_getpid());
tests/fs/vfs/t_renamerace.c
203
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_renamerace.c
212
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_renamerace.c
237
RL(wrkpid = rump_sys_getpid());
tests/fs/vfs/t_renamerace.c
239
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_renamerace.c
252
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_ro.c
109
RL(fd = rump_sys_open(AFILE, O_RDONLY));
tests/fs/vfs/t_ro.c
113
RL(rump_sys_close(fd));
tests/fs/vfs/t_ro.c
129
RL(rump_sys_stat(AFILE, &sb));
tests/fs/vfs/t_ro.c
136
RL(fd = rump_sys_open(AFILE, O_RDONLY));
tests/fs/vfs/t_ro.c
141
RL(rump_sys_close(fd));
tests/fs/vfs/t_ro.c
65
RL(fd = rump_sys_open(AFILE, O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_ro.c
67
RL(rump_sys_close(fd));
tests/fs/vfs/t_rwtoro.c
107
RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_rwtoro.c
108
RL(rump_sys_close(file_fd));
tests/fs/vfs/t_rwtoro.c
109
RL(file_fd = rump_sys_open(file_path, O_RDONLY));
tests/fs/vfs/t_rwtoro.c
110
RL(rump_sys_unlink(file_path));
tests/fs/vfs/t_rwtoro.c
118
RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_rwtoro.c
125
RL(rump_sys_close(file_fd));
tests/fs/vfs/t_rwtoro.c
136
RL(rump_sys_mkdir(null_mount, 0777));
tests/fs/vfs/t_rwtoro.c
139
RL(rump_sys_mount(MOUNT_NULL, null_mount, 0,
tests/fs/vfs/t_rwtoro.c
148
RL(rump_sys_unmount(null_mount, 0));
tests/fs/vfs/t_rwtoro.c
72
RL(rump_sys_statvfs1(mp, &sbuf, ST_WAIT));
tests/fs/vfs/t_rwtoro.c
97
RL(file_fd = rump_sys_open(file_path, O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_rwtoro.c
98
RL(rump_sys_close(file_fd));
tests/fs/vfs/t_rwtoro.c
99
RL(file_fd = rump_sys_open(file_path, O_RDONLY));
tests/fs/vfs/t_union.c
100
RL(rump_sys_mount(MOUNT_RUMPFS, "/", status | MNT_UPDATE, NULL, 0));
tests/fs/vfs/t_union.c
136
RL(rump_sys_unlink(TFILE));
tests/fs/vfs/t_union.c
141
RL(fd = rump_sys_open(mp, O_RDONLY));
tests/fs/vfs/t_union.c
142
RL(dsize = rump_sys_getdents(fd, dbuf, sizeof(dbuf)));
tests/fs/vfs/t_union.c
149
RL(rump_sys_close(fd));
tests/fs/vfs/t_union.c
151
RL(rump_sys_unmount(mp, 0));
tests/fs/vfs/t_union.c
165
RL(ffs_fstest_newfs(tc, &fsarg, "daimage", 1024*1024*5, NULL));
tests/fs/vfs/t_union.c
166
RL(ffs_fstest_mount(tc, fsarg, "/lower", 0));
tests/fs/vfs/t_union.c
169
RL(rump_sys_chdir("/lower"));
tests/fs/vfs/t_union.c
170
RL(rump_sys_mkdir(TDIR, 0777));
tests/fs/vfs/t_union.c
171
RL(rump_sys_mkdir(TDFILE, 0777));
tests/fs/vfs/t_union.c
172
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_union.c
174
RL(ffs_fstest_unmount(tc, "/lower", 0));
tests/fs/vfs/t_union.c
175
RL(ffs_fstest_mount(tc, fsarg, "/lower", MNT_RDONLY));
tests/fs/vfs/t_union.c
181
RL(rump_sys_rmdir(TDFILE));
tests/fs/vfs/t_union.c
182
RL(rump_sys_rmdir(TDIR));
tests/fs/vfs/t_union.c
186
RL(rump_sys_mkdir(TDIR, 0777));
tests/fs/vfs/t_union.c
187
RL(rump_sys_stat(TDIR, &sb));
tests/fs/vfs/t_union.c
191
RL(rump_sys_unmount(mp, 0));
tests/fs/vfs/t_union.c
35
RL(fd = rump_sys_open(pathb, O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_union.c
38
RL(rump_sys_close(fd));
tests/fs/vfs/t_union.c
57
RL(rump_sys_close(fd));
tests/fs/vfs/t_vfsops.c
132
RL(rump_sys_chdir(path));
tests/fs/vfs/t_vfsops.c
133
RL(fd = rump_sys_open(FNAME, O_RDWR | O_CREAT, 0777));
tests/fs/vfs/t_vfsops.c
134
RL(rump_sys_close(fd));
tests/fs/vfs/t_vfsops.c
146
RL(rump_sys_getfh(FNAME, fhp, &fhsize));
tests/fs/vfs/t_vfsops.c
147
RL(rump_sys_unlink(FNAME));
tests/fs/vfs/t_vfsops.c
152
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_vfsops.c
171
RL(rump_sys_chdir(path));
tests/fs/vfs/t_vfsops.c
187
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_vnops.c
1002
RL(fd = rump_sys_open("tfile", O_CREAT | O_RDWR, 0777));
tests/fs/vfs/t_vnops.c
1003
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
1011
RL(rump_sys_access("tfile", tmode));
tests/fs/vfs/t_vnops.c
255
RL(rump_sys_mkdir("test", 0777));
tests/fs/vfs/t_vnops.c
256
RL(rump_sys_chdir("test"));
tests/fs/vfs/t_vnops.c
258
RL(rump_sys_mkdir("subtest", 0777));
tests/fs/vfs/t_vnops.c
259
RL(rump_sys_chdir("subtest"));
tests/fs/vfs/t_vnops.c
262
RL(rump_sys_rmdir(pb));
tests/fs/vfs/t_vnops.c
264
RL(rump_sys_rmdir(pb));
tests/fs/vfs/t_vnops.c
377
RL(rump_sys_mkdir(pb1, 0777));
tests/fs/vfs/t_vnops.c
378
RL(rump_sys_mkdir(pb2, 0777));
tests/fs/vfs/t_vnops.c
379
RL(rump_sys_mkdir(pb3, 0777));
tests/fs/vfs/t_vnops.c
380
RL(rump_sys_rename(pb2, pb3));
tests/fs/vfs/t_vnops.c
382
RL(rump_sys_stat(pb1, &sb));
tests/fs/vfs/t_vnops.c
385
RL(rump_sys_rmdir(pb3));
tests/fs/vfs/t_vnops.c
386
RL(rump_sys_rmdir(pb1));
tests/fs/vfs/t_vnops.c
507
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_vnops.c
514
RL(rump_sys_mkdir("subdir", 0777));
tests/fs/vfs/t_vnops.c
515
RL(rump_sys_chdir("subdir"));
tests/fs/vfs/t_vnops.c
524
RL(fd = rump_sys_open(buf, O_RDWR|O_CREAT|O_EXCL, 0666));
tests/fs/vfs/t_vnops.c
525
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
551
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_vnops.c
614
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_vnops.c
615
RL(fd = rump_sys_open(name, O_RDWR|O_CREAT|O_EXCL, 0666));
tests/fs/vfs/t_vnops.c
616
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
617
RL(rump_sys_unlink(name));
tests/fs/vfs/t_vnops.c
618
RL(fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666));
tests/fs/vfs/t_vnops.c
619
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
620
RL(fd = rump_sys_open(name, O_RDWR|O_CREAT, 0666));
tests/fs/vfs/t_vnops.c
621
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
624
RL(rump_sys_unlink(name));
tests/fs/vfs/t_vnops.c
625
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_vnops.c
698
RL(rump_sys_unlink("afile"));
tests/fs/vfs/t_vnops.c
702
RL(rump_sys_chdir("/"));
tests/fs/vfs/t_vnops.c
733
RL(rump_sys_chdir(mp));
tests/fs/vfs/t_vnops.c
734
RL(rump_sys_symlink("/", "foo"));
tests/fs/vfs/t_vnops.c
735
RL(rump_sys_chdir("foo"));
tests/fs/vfs/t_vnops.c
746
RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0755));
tests/fs/vfs/t_vnops.c
747
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
748
RL(rump_sys_stat(TESTFILE, &sb));
tests/fs/vfs/t_vnops.c
750
RL(rump_sys_chown(TESTFILE, 1, 2));
tests/fs/vfs/t_vnops.c
753
RL(rump_sys_chmod(TESTFILE, 0123));
tests/fs/vfs/t_vnops.c
761
RL(rump_sys_utimes(TESTFILE, tv));
tests/fs/vfs/t_vnops.c
762
RL(rump_sys_utimes(TESTFILE, tv)); /* XXX: utimes & birthtime */
tests/fs/vfs/t_vnops.c
768
RL(rump_sys_stat(TESTFILE, &sb2));
tests/fs/vfs/t_vnops.c
804
RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0755));
tests/fs/vfs/t_vnops.c
805
RL(rump_sys_ftruncate(fd, 8192));
tests/fs/vfs/t_vnops.c
807
RL(rump_sys_fcntl(fd, F_SETLK, &l));
tests/fs/vfs/t_vnops.c
812
RL(fd2 = rump_sys_open(TESTFILE, O_RDWR, 0));
tests/fs/vfs/t_vnops.c
818
RL(rump_sys_fcntl(fd, F_SETLK, &l));
tests/fs/vfs/t_vnops.c
823
RL(rump_sys_fcntl(fd2, F_SETLK, &l));
tests/fs/vfs/t_vnops.c
825
RL(rump_sys_close(fd2));
tests/fs/vfs/t_vnops.c
828
RL(rump_sys_close(fd));
tests/fs/vfs/t_vnops.c
860
RL(rump_sys_fcntl(fildes, F_GETLK, &l));
tests/fs/vfs/t_vnops.c
934
RL(fd[i] = rump_sys_open(TESTFILE, oflags, omode));
tests/fs/vfs/t_vnops.c
938
RL(rump_sys_ftruncate(fd[i], sz));
tests/fs/vfs/t_vnops.c
941
RL(rump_sys_fcntl(fd[i], F_SETLK, &lock[i]));
tests/kernel/kqueue/read/t_file.c
101
RL(lseek(fd, 0, SEEK_END));
tests/kernel/kqueue/read/t_file.c
104
RL(kq = kqueue());
tests/kernel/kqueue/read/t_file.c
107
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/read/t_file.c
110
RL(n = kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/read/t_file.c
119
RL(lseek(fd, 0, SEEK_END));
tests/kernel/kqueue/read/t_file.c
121
RL(lseek(fd, event[0].data, SEEK_END));
tests/kernel/kqueue/read/t_file.c
124
RL(n = read(fd, buffer, 128));
tests/kernel/kqueue/read/t_file.c
92
RL(pid = fork());
tests/kernel/kqueue/read/t_file.c
98
RL(fd = open(FILENAME, O_RDONLY|O_CREAT, 0644));
tests/kernel/kqueue/read/t_file2.c
59
RL(fd1 = open("afile", O_RDONLY|O_CREAT, 0644));
tests/kernel/kqueue/read/t_file2.c
60
RL(fd2 = open("bfile", O_RDONLY|O_CREAT, 0644));
tests/kernel/kqueue/read/t_file2.c
63
RL(lseek(fd1, 0, SEEK_END));
tests/kernel/kqueue/read/t_file2.c
66
RL(kq = kqueue());
tests/kernel/kqueue/read/t_file2.c
69
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/read/t_file2.c
71
RL(dup2(fd2, fd1));
tests/kernel/kqueue/read/t_pipe.c
58
RL(pipe(fds));
tests/kernel/kqueue/read/t_pipe.c
59
RL(kq = kqueue());
tests/kernel/kqueue/read/t_pipe.c
62
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/read/t_pipe.c
65
RL(write(fds[1], "foo", 3));
tests/kernel/kqueue/read/t_pipe.c
68
RL(n = kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/read/t_pipe.c
72
RL(n = read(fds[0], buffer, event[0].data));
tests/kernel/kqueue/read/t_ttypty.c
102
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/read/t_ttypty.c
104
RL(n = kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/read/t_ttypty.c
112
RL(n = read(acurrent, buffer, 128));
tests/kernel/kqueue/read/t_ttypty.c
153
RL(openpty(&amaster, &aslave, slavetty, NULL, NULL));
tests/kernel/kqueue/read/t_ttypty.c
158
RL(kq = kqueue());
tests/kernel/kqueue/read/t_ttypty.c
161
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/read/t_ttypty.c
163
RL(close(aslave));
tests/kernel/kqueue/read/t_ttypty.c
165
RL(n = kevent(kq, NULL, 0, event, 1, &timeout));
tests/kernel/kqueue/read/t_ttypty.c
66
RL(openpty(&amaster, &aslave, slavetty, NULL, NULL));
tests/kernel/kqueue/read/t_ttypty.c
72
RL(child = fork());
tests/kernel/kqueue/read/t_ttypty.c
83
RL(tcgetattr(acurrent, &tio));
tests/kernel/kqueue/read/t_ttypty.c
85
RL(tcsetattr(acurrent, TCSADRAIN, &tio));
tests/kernel/kqueue/read/t_ttypty.c
90
RL(poll(&pfd, 1, INFTIM));
tests/kernel/kqueue/read/t_ttypty.c
99
RL(kq = kqueue());
tests/kernel/kqueue/t_ioctl.c
60
RL(kq = kqueue());
tests/kernel/kqueue/t_ioctl.c
67
RL(ioctl(kq, KFILTER_BYFILTER, &km));
tests/kernel/kqueue/t_ioctl.c
86
RL(kq = kqueue());
tests/kernel/kqueue/t_ioctl.c
92
RL(ioctl(kq, KFILTER_BYNAME, &km));
tests/kernel/kqueue/t_proc1.c
105
RL(kq = kqueue());
tests/kernel/kqueue/t_proc1.c
108
RL(pid = fork());
tests/kernel/kqueue/t_proc1.c
122
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/t_proc1.c
126
RL(kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/t_proc2.c
102
RL(pid = fork());
tests/kernel/kqueue/t_proc2.c
112
RL(kevent(kq, &ke, 1, NULL, 0, &timeout));
tests/kernel/kqueue/t_proc2.c
120
RL(kevent(kq, NULL, 0, &ke, 1, &timeout));
tests/kernel/kqueue/t_proc2.c
121
RL(close(kq));
tests/kernel/kqueue/t_proc2.c
123
RL(waitpid(pid, &status, 0));
tests/kernel/kqueue/t_proc2.c
97
RL(kq = kqueue());
tests/kernel/kqueue/t_proc3.c
64
RL(kq = kqueue());
tests/kernel/kqueue/t_proc3.c
68
RL(kevent(kq, &ke, 1, NULL, 0, NULL));
tests/kernel/kqueue/t_proc3.c
70
RL(pid = fork());
tests/kernel/kqueue/t_proc3.c
76
RL(waitpid(pid, &status, 0));
tests/kernel/kqueue/t_proc3.c
86
RL(kevent(kq, NULL, 0, &ke, 1, &timeout));
tests/kernel/kqueue/t_proc3.c
87
RL(close(kq));
tests/kernel/kqueue/t_sig.c
109
RL(gettimeofday(&then, NULL));
tests/kernel/kqueue/t_sig.c
110
RL(n = kevent(kq, NULL, 0, event, 1, &timeout));
tests/kernel/kqueue/t_sig.c
111
RL(gettimeofday(&now, NULL));
tests/kernel/kqueue/t_sig.c
73
RL(child = fork());
tests/kernel/kqueue/t_sig.c
85
RL(kq = kqueue());
tests/kernel/kqueue/t_sig.c
89
RL(ioctl(kq, KFILTER_BYNAME, &km));
tests/kernel/kqueue/t_sig.c
99
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/write/t_pipe.c
103
RL(n = kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/write/t_pipe.c
108
RL(n = write(fds[1], "foo", 3));
tests/kernel/kqueue/write/t_pipe.c
109
RL(close(fds[1]));
tests/kernel/kqueue/write/t_pipe.c
127
RL(pipe(fds));
tests/kernel/kqueue/write/t_pipe.c
128
RL(kq = kqueue());
tests/kernel/kqueue/write/t_pipe.c
131
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/write/t_pipe.c
135
RL(close(fds[0]));
tests/kernel/kqueue/write/t_pipe.c
136
RL(close(fds[1]));
tests/kernel/kqueue/write/t_pipe.c
62
RL(pipe(fds));
tests/kernel/kqueue/write/t_pipe.c
63
RL(kq = kqueue());
tests/kernel/kqueue/write/t_pipe.c
64
RL(close(fds[0]));
tests/kernel/kqueue/write/t_pipe.c
88
RL(pipe(fds));
tests/kernel/kqueue/write/t_pipe.c
89
RL(kq = kqueue());
tests/kernel/kqueue/write/t_pipe.c
92
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/write/t_pipe.c
95
RL(child = fork());
tests/kernel/kqueue/write/t_ttypty.c
63
RL(openpty(&amaster, &aslave, slavetty, NULL, NULL));
tests/kernel/kqueue/write/t_ttypty.c
68
RL(child = fork());
tests/kernel/kqueue/write/t_ttypty.c
81
RL(poll(&pfd, 1, INFTIM));
tests/kernel/kqueue/write/t_ttypty.c
84
RL(kq = kqueue());
tests/kernel/kqueue/write/t_ttypty.c
87
RL(kevent(kq, event, 1, NULL, 0, NULL));
tests/kernel/kqueue/write/t_ttypty.c
89
RL(n = kevent(kq, NULL, 0, event, 1, NULL));
tests/kernel/kqueue/write/t_ttypty.c
97
RL(n = write(acurrent, "f00\n", 4));
tests/kernel/t_cloexec.c
108
RL(fd3 = dup3(STDIN_FILENO, 3, O_CLOEXEC));
tests/kernel/t_cloexec.c
120
RL(fd = fcntl(STDIN_FILENO, F_DUPFD_CLOEXEC, 0));
tests/kernel/t_cloexec.c
130
RL(fd = kqueue1(O_CLOEXEC));
tests/kernel/t_cloexec.c
140
RL(fd = open("file", O_RDWR|O_CREAT|O_CLOEXEC, 0644));
tests/kernel/t_cloexec.c
150
RL(fd = open("file", O_RDWR|O_CREAT, 0644));
tests/kernel/t_cloexec.c
151
RL(fcntl(fd, F_SETFD, FD_CLOEXEC));
tests/kernel/t_cloexec.c
161
RL(fd = open("file", O_RDWR|O_CREAT, 0644));
tests/kernel/t_cloexec.c
162
RL(ioctl(fd, FIOCLEX));
tests/kernel/t_cloexec.c
172
RL(pipe2(fd, O_CLOEXEC));
tests/kernel/t_cloexec.c
182
RL(pipe2(fd, O_CLOEXEC));
tests/kernel/t_cloexec.c
202
RL(slisten = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/kernel/t_cloexec.c
203
RL(bind(slisten, &name.sa, sizeof(name)));
tests/kernel/t_cloexec.c
204
RL(listen(slisten, SOMAXCONN));
tests/kernel/t_cloexec.c
212
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_cloexec.c
221
RL(saccept = paccept(slisten, /*addr*/NULL, /*addrlen*/NULL,
tests/kernel/t_cloexec.c
231
RL(fd = socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0));
tests/kernel/t_cloexec.c
241
RL(socketpair(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0, fd));
tests/kernel/t_cloexec.c
251
RL(socketpair(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0, fd));
tests/kernel/t_cloexec.c
296
RL(waitedpid = waitpid(child, &status, 0));
tests/kernel/t_cloexec.c
340
RL(pid = fork());
tests/kernel/t_cloexec.c
356
RL(pid = vfork());
tests/kernel/t_cloexec.c
69
RL(slisten = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/kernel/t_cloexec.c
70
RL(bind(slisten, &name.sa, sizeof(name)));
tests/kernel/t_cloexec.c
71
RL(listen(slisten, SOMAXCONN));
tests/kernel/t_cloexec.c
79
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_cloexec.c
88
RL(saccept = accept4(slisten, /*addr*/NULL, /*addrlen*/NULL,
tests/kernel/t_cloexec.c
98
RL(fd = open("/dev/drvctl", O_RDONLY|O_CLOEXEC));
tests/kernel/t_clofork.c
109
RL(fd3 = dup3(STDIN_FILENO, 3, O_CLOFORK));
tests/kernel/t_clofork.c
121
RL(fd = fcntl(STDIN_FILENO, F_DUPFD_CLOFORK, 0));
tests/kernel/t_clofork.c
131
RL(fd = kqueue1(O_CLOFORK));
tests/kernel/t_clofork.c
141
RL(fd = open("file", O_RDWR|O_CREAT|O_CLOFORK, 0644));
tests/kernel/t_clofork.c
151
RL(fd = open("file", O_RDWR|O_CREAT, 0644));
tests/kernel/t_clofork.c
152
RL(fcntl(fd, F_SETFD, FD_CLOFORK));
tests/kernel/t_clofork.c
162
RL(pipe2(fd, O_CLOFORK));
tests/kernel/t_clofork.c
172
RL(pipe2(fd, O_CLOFORK));
tests/kernel/t_clofork.c
192
RL(slisten = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/kernel/t_clofork.c
193
RL(bind(slisten, &name.sa, sizeof(name)));
tests/kernel/t_clofork.c
194
RL(listen(slisten, SOMAXCONN));
tests/kernel/t_clofork.c
202
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_clofork.c
211
RL(saccept = paccept(slisten, /*addr*/NULL, /*addrlen*/NULL,
tests/kernel/t_clofork.c
221
RL(fd = socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOFORK, 0));
tests/kernel/t_clofork.c
231
RL(socketpair(PF_LOCAL, SOCK_STREAM|SOCK_CLOFORK, 0, fd));
tests/kernel/t_clofork.c
241
RL(socketpair(PF_LOCAL, SOCK_STREAM|SOCK_CLOFORK, 0, fd));
tests/kernel/t_clofork.c
273
RL(waitedpid = waitpid(child, &status, 0));
tests/kernel/t_clofork.c
317
RL(pid = fork());
tests/kernel/t_clofork.c
333
RL(pid = vfork());
tests/kernel/t_clofork.c
70
RL(slisten = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/kernel/t_clofork.c
71
RL(bind(slisten, &name.sa, sizeof(name)));
tests/kernel/t_clofork.c
72
RL(listen(slisten, SOMAXCONN));
tests/kernel/t_clofork.c
80
RL(c = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/kernel/t_clofork.c
89
RL(saccept = accept4(slisten, /*addr*/NULL, /*addrlen*/NULL,
tests/kernel/t_clofork.c
99
RL(fd = open("/dev/drvctl", O_RDONLY|O_CLOFORK));
tests/kernel/t_epoll.c
116
RL(epfd = epoll_create1(0));
tests/kernel/t_epoll.c
136
RL(epfd = epoll_create1(0));
tests/kernel/t_epoll.c
137
RL(fd = epoll_create1(0));
tests/kernel/t_epoll.c
140
RL(epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event));
tests/kernel/t_epoll.c
159
RL(epfd = epoll_create1(0));
tests/kernel/t_epoll.c
160
RL(fd = epoll_create1(0));
tests/kernel/t_epoll.c
184
RL(epfd = epoll_create1(0));
tests/kernel/t_epoll.c
202
RL(epfd1 = epoll_create1(0));
tests/kernel/t_epoll.c
203
RL(epfd2 = epoll_create1(0));
tests/kernel/t_epoll.c
204
RL(epoll_ctl(epfd1, EPOLL_CTL_ADD, epfd2, &event));
tests/kernel/t_epoll.c
223
RL(epfd = epoll_create1(0));
tests/kernel/t_epoll.c
225
RL(tmp = epoll_create1(0));
tests/kernel/t_epoll.c
226
RL(epoll_ctl(tmp, EPOLL_CTL_ADD, epfd, &event));
tests/kernel/t_epoll.c
229
RL(tmp = epoll_create1(0));
tests/kernel/t_epoll.c
61
RL(epoll_create(1));
tests/kernel/t_epoll.c
75
RL(fd = epoll_create1(0));
tests/kernel/t_epoll.c
79
RL(fd = epoll_create1(EPOLL_CLOEXEC));
tests/kernel/t_epoll.c
96
RL(fd = epoll_create1(0));
tests/kernel/t_execregs.c
101
RL(close(pipefd[1]));
tests/kernel/t_execregs.c
105
RL(waitpid(child, &status, 0));
tests/kernel/t_execregs.c
137
RL(snprintf(h_execregs, sizeof(h_execregs), "%s/h_execregs",
tests/kernel/t_execregs.c
140
RL(pipe(pipefd));
tests/kernel/t_execregs.c
143
RL(child = fork());
tests/kernel/t_execregs.c
175
RL(snprintf(h_execregs, sizeof(h_execregs), "%s/h_execregs",
tests/kernel/t_execregs.c
178
RL(pipe(pipefd));
tests/kernel/t_execregs.c
181
RL(child = spawnregschild(h_execregs, pipefd[1]));
tests/kernel/t_execregs.c
58
RL(nread = read(rfd, p, n));
tests/kernel/t_fdrestart.c
116
RL(rump_sys_ioctl(F->fd, FIONSPACE, &nspace));
tests/kernel/t_fdrestart.c
120
RL(rump_sys_write(F->fd, buf, (size_t)nspace));
tests/kernel/t_fdrestart.c
179
RL(rump_sys_close(F->fd)); /* wake op in other thread */
tests/kernel/t_fdrestart.c
196
RL(rump_sys_pipe(fd));
tests/kernel/t_fdrestart.c
216
RL(rump_sys_pipe(fd));
tests/kernel/t_fdrestart.c
237
RL(rump_sys_socketpair(AF_LOCAL, SOCK_STREAM, 0, fd));
tests/kernel/t_fdrestart.c
257
RL(rump_sys_socketpair(AF_LOCAL, SOCK_STREAM, 0, fd));
tests/kernel/t_lock.c
72
RL(setitimer(ITIMER_VIRTUAL, &itv, NULL));
tests/kernel/t_lua.c
121
RL(fd = open(path, O_WRONLY|O_CREAT));
tests/kernel/t_lua.c
122
RL(close(fd));
tests/kernel/t_lua.c
128
RL(fd = open(_PATH_DEV_LUA, O_RDONLY));
tests/kernel/t_lua.c
129
RL(ioctl(fd, LUAINFO, &info));
tests/kernel/t_lua.c
134
RL(close(fd));
tests/kernel/t_lua.c
140
RL(fd = open(_PATH_DEV_LUA, O_WRONLY));
tests/kernel/t_lua.c
150
RL(ioctl(fd, LUACREATE, &cr));
tests/kernel/t_lua.c
161
RL(ioctl(fd, LUALOAD, &ld));
tests/kernel/t_lua.c
165
RL(ioctl(fd, LUADESTROY, &cr));
tests/kernel/t_lua.c
167
RL(close(fd));
tests/kernel/t_lua.c
191
RL(stat(_PATH_DEV_LUA, &st));
tests/kernel/t_lua.c
199
RL(child = fork());
tests/kernel/t_lua.c
217
RL(waitpid(child, &status, 0));
tests/kernel/t_lua.c
73
RL(modctl(MODCTL_STAT, &iov));
tests/kernel/t_memfd_create.c
115
RL(fd = memfd_create("", 0));
tests/kernel/t_memfd_create.c
119
RL(write(fd, write_buf, rwbuf_size));
tests/kernel/t_memfd_create.c
125
RL(lseek(fd, 0, SEEK_SET));
tests/kernel/t_memfd_create.c
127
RL(read(fd, read_buf, rwbuf_size));
tests/kernel/t_memfd_create.c
152
RL(fd = memfd_create("", 0));
tests/kernel/t_memfd_create.c
157
RL(write(fd, write_buf, rwbuf_size));
tests/kernel/t_memfd_create.c
159
RL(fstat(fd, &st));
tests/kernel/t_memfd_create.c
164
RL(ftruncate(fd, rwbuf_size/2));
tests/kernel/t_memfd_create.c
165
RL(fstat(fd, &st));
tests/kernel/t_memfd_create.c
170
RL(ftruncate(fd, rwbuf_size));
tests/kernel/t_memfd_create.c
171
RL(fstat(fd, &st));
tests/kernel/t_memfd_create.c
176
RL(lseek(fd, 0, SEEK_SET));
tests/kernel/t_memfd_create.c
177
RL(read(fd, read_buf, rwbuf_size));
tests/kernel/t_memfd_create.c
200
RL(fd = memfd_create("", 0));
tests/kernel/t_memfd_create.c
201
RL(ftruncate(fd, rwbuf_size));
tests/kernel/t_memfd_create.c
222
RL(fd = memfd_create("", 0));
tests/kernel/t_memfd_create.c
240
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
241
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_SEAL));
tests/kernel/t_memfd_create.c
263
RL(fstat(fd, &st));
tests/kernel/t_memfd_create.c
278
RL(lseek(fd, 0, SEEK_SET));
tests/kernel/t_memfd_create.c
333
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
334
RL(ftruncate(fd, rwbuf_size));
tests/kernel/t_memfd_create.c
335
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_SHRINK));
tests/kernel/t_memfd_create.c
357
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
358
RL(ftruncate(fd, rwbuf_size/2));
tests/kernel/t_memfd_create.c
359
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_GROW));
tests/kernel/t_memfd_create.c
381
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
382
RL(ftruncate(fd, rwbuf_size/2));
tests/kernel/t_memfd_create.c
383
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_WRITE));
tests/kernel/t_memfd_create.c
406
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
407
RL(ftruncate(fd, rwbuf_size));
tests/kernel/t_memfd_create.c
433
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
434
RL(ftruncate(fd, rwbuf_size/2));
tests/kernel/t_memfd_create.c
435
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_FUTURE_WRITE));
tests/kernel/t_memfd_create.c
459
RL(fd = memfd_create("", MFD_ALLOW_SEALING));
tests/kernel/t_memfd_create.c
460
RL(ftruncate(fd, rwbuf_size));
tests/kernel/t_memfd_create.c
467
RL(fcntl(fd, F_ADD_SEALS, F_SEAL_FUTURE_WRITE));
tests/kernel/t_memfd_create.c
98
RL(fd = memfd_create(name_buf, 0));
tests/kernel/t_rnd.c
107
RL(fd = rump_sys_open("/dev/random", RUMP_O_RDONLY));
tests/kernel/t_rnd.c
108
RL(rump_sys_read(fd, buf, sizeof(buf)));
tests/kernel/t_rnd.c
109
RL(rump_sys_close(fd));
tests/kernel/t_signal_and_fpu.c
87
RL(sigfillset(&sa.sa_mask));
tests/kernel/t_signal_and_fpu.c
89
RL(sigaction(SIGUSR1, &sa, NULL));
tests/kernel/t_signal_and_sp.c
106
RL(close(fd[1]));
tests/kernel/t_signal_and_sp.c
116
RL(nfds = poll(&pollfd, 1, 5*1000/*ms*/));
tests/kernel/t_signal_and_sp.c
119
RL(kill(pid, SIGKILL));
tests/kernel/t_signal_and_sp.c
125
RL(nread = read(fd[0], &execsp, sizeof(execsp)));
tests/kernel/t_signal_and_sp.c
134
RL(waitpid(pid, &status, 0));
tests/kernel/t_signal_and_sp.c
234
RL(setcontext(&return_context));
tests/kernel/t_signal_and_sp.c
260
RL(getcontext(&uc));
tests/kernel/t_signal_and_sp.c
266
RL(swapcontext(&return_context, &uc));
tests/kernel/t_signal_and_sp.c
281
RL(getcontext(&uc));
tests/kernel/t_signal_and_sp.c
287
RL(swapcontext(&return_context, &uc));
tests/kernel/t_signal_and_sp.c
325
RL(getcontext(&uc1));
tests/kernel/t_signal_and_sp.c
331
RL(getcontext(&uc2));
tests/kernel/t_signal_and_sp.c
337
RL(swapcontext(&return_context, &uc1));
tests/kernel/t_signal_and_sp.c
352
RL(getcontext(&uc1));
tests/kernel/t_signal_and_sp.c
358
RL(getcontext(&uc2));
tests/kernel/t_signal_and_sp.c
364
RL(swapcontext(&return_context, &uc1));
tests/kernel/t_signal_and_sp.c
392
RL(sigaction(SIGUSR1, &sa, NULL));
tests/kernel/t_signal_and_sp.c
393
RL(raise(SIGUSR1));
tests/kernel/t_signal_and_sp.c
424
RL(sigaction(SIGUSR1, &sa, NULL));
tests/kernel/t_signal_and_sp.c
442
RL(sigaltstack(&ss, NULL));
tests/kernel/t_signal_and_sp.c
445
RL(raise(SIGUSR1));
tests/kernel/t_signal_and_sp.c
462
RL(sigaltstack(&ss, NULL));
tests/kernel/t_signal_and_sp.c
465
RL(raise(SIGUSR1));
tests/kernel/t_signal_and_sp.c
575
RL(sigaction(SIGALRM, &sa, NULL));
tests/kernel/t_signal_and_sp.c
583
RL(setitimer(ITIMER_MONOTONIC, &itv, NULL));
tests/kernel/t_signal_and_sp.c
81
RL(snprintf(h_execsp, sizeof(h_execsp), "%s/%s",
tests/kernel/t_signal_and_sp.c
88
RL(pipe(fd));
tests/kernel/t_signal_and_sp.c
89
RL(pid = vfork());
tests/kernel/t_unmount.c
72
RL(rump_sys_mkdir(MP, 0777));
tests/kernel/t_unmount.c
73
RL(rump_sys_mount(MOUNT_TMPFS, MP, MNT_ASYNC, &args, sizeof(args)));
tests/kernel/t_unmount.c
76
RL(rump_sys_chdir(MP));
tests/lib/libc/c063/t_utimensat.c
100
RL(dfd = open(DIR, O_RDONLY, 0));
tests/lib/libc/c063/t_utimensat.c
101
RL(utimensat(dfd, BASEFILE, tptr, 0));
tests/lib/libc/c063/t_utimensat.c
102
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
104
RL(stat(FILE, &st));
tests/lib/libc/c063/t_utimensat.c
105
RL(statvfs(FILE, &fs));
tests/lib/libc/c063/t_utimensat.c
121
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
122
RL(fd = open(FILE, O_CREAT|O_RDWR, 0644));
tests/lib/libc/c063/t_utimensat.c
123
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
125
RL(chdir(DIR));
tests/lib/libc/c063/t_utimensat.c
126
RL(utimensat(AT_FDCWD, BASEFILE, tptr, 0));
tests/lib/libc/c063/t_utimensat.c
128
RL(stat(BASEFILE, &st));
tests/lib/libc/c063/t_utimensat.c
129
RL(statvfs(BASEFILE, &fs));
tests/lib/libc/c063/t_utimensat.c
141
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
155
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
156
RL(dfd = open(DIR, O_RDONLY, 0));
tests/lib/libc/c063/t_utimensat.c
158
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
173
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
174
RL(fd = open(FILE, O_CREAT|O_RDWR, 0644));
tests/lib/libc/c063/t_utimensat.c
175
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
177
RL(dfd = open(getcwd(cwd, MAXPATHLEN), O_RDONLY, 0));
tests/lib/libc/c063/t_utimensat.c
179
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
192
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
193
RL(fd = open(FILE, O_CREAT|O_RDWR, 0644));
tests/lib/libc/c063/t_utimensat.c
194
RL(close(fd));
tests/lib/libc/c063/t_utimensat.c
210
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
211
RL(symlink(FILE, LINK)); /* NB: FILE does not exists */
tests/lib/libc/c063/t_utimensat.c
213
RL(dfd = open(DIR, O_RDONLY, 0));
tests/lib/libc/c063/t_utimensat.c
217
RL(utimensat(dfd, BASELINK, tptr, AT_SYMLINK_NOFOLLOW));
tests/lib/libc/c063/t_utimensat.c
219
RL(close(dfd));
tests/lib/libc/c063/t_utimensat.c
221
RL(lstat(LINK, &st));
tests/lib/libc/c063/t_utimensat.c
222
RL(statvfs(DIR, &fs)); /* XXX should do lstatvfs(LINK, &fs) */
tests/lib/libc/c063/t_utimensat.c
96
RL(mkdir(DIR, 0755));
tests/lib/libc/c063/t_utimensat.c
97
RL(fd = open(FILE, O_CREAT|O_RDWR, 0644));
tests/lib/libc/c063/t_utimensat.c
98
RL(close(fd));
tests/lib/libc/gen/execve/t_execve.c
101
RL(close(fd[1]));
tests/lib/libc/gen/execve/t_execve.c
83
RL(pipe(fd));
tests/lib/libc/gen/execve/t_execve.c
84
RL(pid = vfork());
tests/lib/libc/gen/execve/t_execve.c
91
RL(close(fd[0]));
tests/lib/libc/gen/execve/t_execve.c
92
RL(kill(pid, SIGTERM));
tests/lib/libc/gen/execve/t_execve.c
95
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/fa_spawn_utils.c
51
RL(stat(fname, &st));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
124
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
152
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
193
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
285
RL(closefrom(fileno(stderr) + 1));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
287
RL(fd1 = open("/dev/null", O_RDONLY));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
290
RL(fd2 = open("/dev/null", O_WRONLY, O_CLOEXEC));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
293
RL(fd3 = open("/dev/null", O_WRONLY));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
305
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
347
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
394
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
429
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
62
RL(written = fwrite(TESTCONTENT, 1, strlen(TESTCONTENT), f));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
96
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
154
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
179
RL(fd = open(file, O_RDONLY));
tests/lib/libc/gen/posix_spawn/t_spawn.c
194
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
196
RL(unlink(file));
tests/lib/libc/gen/posix_spawn/t_spawn.c
225
RL(fd = open(dirpath, O_RDONLY));
tests/lib/libc/gen/posix_spawn/t_spawn.c
260
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
273
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
289
RL(chdir("/"));
tests/lib/libc/gen/posix_spawn/t_spawn.c
315
RL(mkdir(relative_dir, 0777));
tests/lib/libc/gen/posix_spawn/t_spawn.c
316
RL(asprintf(&chdirwd, "%s/%s", testdir, relative_dir));
tests/lib/libc/gen/posix_spawn/t_spawn.c
317
RL(asprintf(&filepath, "%s/%s", chdirwd, FILENAME));
tests/lib/libc/gen/posix_spawn/t_spawn.c
376
RL(mkdir(restricted_dir, 0055));
tests/lib/libc/gen/posix_spawn/t_spawn.c
392
RL(chdir("/"));
tests/lib/libc/gen/posix_spawn/t_spawn.c
417
RL(mkdir(relative_dir, 0755));
tests/lib/libc/gen/posix_spawn/t_spawn.c
424
RL(asprintf(&chdirwd, "%s/%s", testdir, relative_dir));
tests/lib/libc/gen/posix_spawn/t_spawn.c
425
RL(asprintf(&filepath, "%s/%s", chdirwd, FILENAME));
tests/lib/libc/gen/posix_spawn/t_spawn.c
452
RL(fd = open(FILENAME, O_WRONLY | O_CREAT | O_TRUNC, 0644));
tests/lib/libc/gen/posix_spawn/t_spawn.c
453
RL(close(fd));
tests/lib/libc/gen/posix_spawn/t_spawn.c
538
RL(pipe2(fd, O_CLOEXEC));
tests/lib/libc/gen/posix_spawn/t_spawn.c
542
RL(close(fd[0]));
tests/lib/libc/gen/posix_spawn/t_spawn.c
543
RL(kill(pid, SIGTERM));
tests/lib/libc/gen/posix_spawn/t_spawn.c
546
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawn.c
552
RL(close(fd[1]));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
119
RL(pipe(pfd));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
129
RL(sigemptyset(&sig));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
130
RL(sigaddset(&sig, SIGUSR1));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
147
RL(child_scheduler = sched_getscheduler(pid));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
152
RL(sched_getparam(pid, &child_sp));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
161
RL(write(pfd[1], "q", 1));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
162
RL(close(pfd[0]));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
163
RL(close(pfd[1]));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
166
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
198
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
63
RL(sched = sched_getscheduler(0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
82
RL(max = sched_get_priority_max(scheduler));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
83
RL(min = sched_get_priority_min(scheduler));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
85
RL(sched_getparam(0, &param));
tests/lib/libc/gen/t_arc4random.c
114
RL(getrlimit(RLIMIT_AS, &orlim));
tests/lib/libc/gen/t_arc4random.c
123
RL(setrlimit(RLIMIT_AS, &rlim));
tests/lib/libc/gen/t_arc4random.c
125
RL(setrlimit(RLIMIT_AS, &orlim));
tests/lib/libc/gen/t_arc4random.c
130
RL(setrlimit(RLIMIT_AS, &orlim));
tests/lib/libc/gen/t_arc4random.c
251
RL(sysctlbyname("kern.entropy.consolidate", /*oldp*/NULL, /*oldlen*/0,
tests/lib/libc/gen/t_arc4random.c
299
RL(mkdir("root", 0500));
tests/lib/libc/gen/t_arc4random.c
308
RL(pid = fork());
tests/lib/libc/gen/t_arc4random.c
331
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/t_arc4random.c
355
RL(pid = fork());
tests/lib/libc/gen/t_arc4random.c
379
RL(waitpid(pid, &status, 0));
tests/lib/libc/gen/t_arc4random.c
422
RL(pipe(fd));
tests/lib/libc/gen/t_arc4random.c
427
RL(child = fork());
tests/lib/libc/gen/t_arc4random.c
474
RL(nread = read(fd[0], &childstate, sizeof(childstate)));
tests/lib/libc/gen/t_arc4random.c
491
RL(pid = waitpid(child, &status, 0));
tests/lib/libc/gen/t_ctype.c
809
RL(snprintf(h_ctype_abuse, sizeof(h_ctype_abuse), "%s/h_ctype_abuse",
tests/lib/libc/gen/t_ctype.c
812
RL(setenv("LIBC_ALLOWCTYPEABUSE", "", 1));
tests/lib/libc/gen/t_ctype.c
814
RL(pid = vfork());
tests/lib/libc/gen/t_ctype.c
829
RL(waitpid(pid, &status, 0));
tests/lib/libc/locale/t_iconv.c
362
RL(iconv_close(C));
tests/lib/libc/setjmp/t_setjmp.c
199
RL(sigaction(SIGABRT, &sa, NULL));
tests/lib/libc/setjmp/t_setjmp.c
200
RL(sigemptyset(&ss));
tests/lib/libc/setjmp/t_setjmp.c
201
RL(sigaddset(&ss, SIGABRT));
tests/lib/libc/setjmp/t_setjmp.c
202
RL(sigprocmask(SIG_BLOCK, &ss, NULL));
tests/lib/libc/setjmp/t_setjmp.c
247
RL(sigprocmask(SIG_UNBLOCK, &ss, NULL));
tests/lib/libc/setjmp/t_sigstack.c
151
RL(raise(SIGUSR1));
tests/lib/libc/setjmp/t_sigstack.c
160
RL(sigaltstack(&ss[nentries], NULL));
tests/lib/libc/setjmp/t_sigstack.c
187
RL(sigaltstack(&ss[0], NULL));
tests/lib/libc/setjmp/t_sigstack.c
206
RL(sigemptyset(&sa.sa_mask));
tests/lib/libc/setjmp/t_sigstack.c
208
RL(sigaction(SIGUSR1, &sa, NULL));
tests/lib/libc/setjmp/t_sigstack.c
213
RL(raise(SIGUSR1));
tests/lib/libc/sys/t_clock_gettime.c
183
RL(sysctlbyname(TC_CHOICE, ctrbuf, &ctrbufsiz, NULL, 0));
tests/lib/libc/sys/t_clock_gettime.c
208
RL(sysctlbyname(TC_HARDWARE, NULL, 0, save, strlen(save)));
tests/lib/libc/sys/t_clock_gettime.c
226
RL(pipe2(fd, O_NONBLOCK));
tests/lib/libc/sys/t_clock_gettime.c
227
RL(n = ioctl(fd[1], FIONSPACE));
tests/lib/libc/sys/t_clock_gettime.c
230
RL(write(fd[1], buf, n));
tests/lib/libc/sys/t_clock_gettime.c
231
RL(read(fd[0], buf, n));
tests/lib/libc/sys/t_clock_gettime.c
233
RL(close(fd[0]));
tests/lib/libc/sys/t_clock_gettime.c
234
RL(close(fd[1]));
tests/lib/libc/sys/t_clock_gettime.c
244
RL(clock_gettime(CLOCK_MONOTONIC, &mono_t0));
tests/lib/libc/sys/t_clock_gettime.c
245
RL(clock_gettime(clockid, &t0));
tests/lib/libc/sys/t_clock_gettime.c
252
RL(clock_gettime(clockid, &t1));
tests/lib/libc/sys/t_clock_gettime.c
261
RL(clock_gettime(CLOCK_MONOTONIC, &mono_t1));
tests/lib/libc/sys/t_futex_ops.c
1000
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1006
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1012
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1027
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1035
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1041
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1051
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1058
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
109
RL(_lwp_create(&d->context, 0, &d->lwpid));
tests/lib/libc/sys/t_futex_ops.c
1095
RL(_lwp_create(&lwp_data[i].context, 0, &lwp_data[i].lwpid));
tests/lib/libc/sys/t_futex_ops.c
1122
RL(_lwp_wait(lwp_data[i].lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
1144
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1151
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1157
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1164
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1171
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1177
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1184
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1190
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1197
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1203
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
121
RL(_lwp_wait(d->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
1210
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1216
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1223
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1229
RL(n = __futex(&futex_word, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
1260
RL(n = __futex(&futex_word1, FUTEX_WAKE_OP | flags,
tests/lib/libc/sys/t_futex_ops.c
129
RL(pid = fork());
tests/lib/libc/sys/t_futex_ops.c
1313
RL(clock_gettime(clock, &deadline));
tests/lib/libc/sys/t_futex_ops.c
1329
RL(clock_gettime(clock, &ts));
tests/lib/libc/sys/t_futex_ops.c
1411
RL(_lwp_create(&lwp_data[0].context, 0, &lwp_data[0].lwpid));
tests/lib/libc/sys/t_futex_ops.c
1431
RL(_lwp_kill(lwp_data[0].threadid, SIGUSR1));
tests/lib/libc/sys/t_futex_ops.c
1468
RL(_sched_getparam(getpid(), d->threadid, &policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1471
RL(_sched_setparam(getpid(), d->threadid, policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1485
RL(_sched_getparam(getpid(), d->threadid, &policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1488
RL(_sched_setparam(getpid(), d->threadid, policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
149
RL(pid = waitpid(d->child, &status, 0));
tests/lib/libc/sys/t_futex_ops.c
1501
RL(pri = sysconf(_SC_SCHED_PRI_MIN));
tests/lib/libc/sys/t_futex_ops.c
1503
RL(pri = sysconf(_SC_SCHED_PRI_MAX));
tests/lib/libc/sys/t_futex_ops.c
1516
RL(_lwp_create(&lwp_data[0].context, 0, &lwp_data[0].lwpid));
tests/lib/libc/sys/t_futex_ops.c
1539
RL(_lwp_create(&lwp_data[1].context, 0, &lwp_data[1].lwpid));
tests/lib/libc/sys/t_futex_ops.c
1556
RL(n = __futex(&futex_word, FUTEX_WAKE | FUTEX_PRIVATE_FLAG,
tests/lib/libc/sys/t_futex_ops.c
1569
RL(_lwp_wait(0, &waiter));
tests/lib/libc/sys/t_futex_ops.c
1575
RL(n = __futex(&futex_word, FUTEX_WAKE | FUTEX_PRIVATE_FLAG,
tests/lib/libc/sys/t_futex_ops.c
1588
RL(_lwp_wait(0, &waiter));
tests/lib/libc/sys/t_futex_ops.c
207
RL(nread = pread(bs_fd, bs_verify_buffer, bs_pagesize, 0));
tests/lib/libc/sys/t_futex_ops.c
225
RL(bs_fd = open(bs_path, O_RDWR | O_CREAT | O_EXCL, 0644));
tests/lib/libc/sys/t_futex_ops.c
226
RL(nwrit = pwrite(bs_fd, bs_source_buffer, bs_pagesize, 0));
tests/lib/libc/sys/t_futex_ops.c
393
RL(n = __futex(futex_ptr, FUTEX_WAKE | flags, 1, NULL, NULL, 0, 0));
tests/lib/libc/sys/t_futex_ops.c
673
RL(_lwp_create(&wlwp0->context, 0, &wlwp0->lwpid));
tests/lib/libc/sys/t_futex_ops.c
674
RL(_lwp_create(&wlwp1->context, 0, &wlwp1->lwpid));
tests/lib/libc/sys/t_futex_ops.c
698
RL(n = __futex(&futex_word, FUTEX_WAKE_BITSET | flags,
tests/lib/libc/sys/t_futex_ops.c
703
RL(n = __futex(&futex_word, FUTEX_WAKE_BITSET | flags,
tests/lib/libc/sys/t_futex_ops.c
721
RL(n = __futex(&futex_word, FUTEX_WAKE_BITSET | flags,
tests/lib/libc/sys/t_futex_ops.c
736
RL(_lwp_wait(wlwp0->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
739
RL(n = __futex(&futex_word, FUTEX_WAKE_BITSET | flags,
tests/lib/libc/sys/t_futex_ops.c
754
RL(_lwp_wait(wlwp1->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
799
RL(_lwp_create(&wlwp0->context, 0, &wlwp0->lwpid));
tests/lib/libc/sys/t_futex_ops.c
800
RL(_lwp_create(&wlwp1->context, 0, &wlwp1->lwpid));
tests/lib/libc/sys/t_futex_ops.c
801
RL(_lwp_create(&wlwp2->context, 0, &wlwp2->lwpid));
tests/lib/libc/sys/t_futex_ops.c
802
RL(_lwp_create(&wlwp3->context, 0, &wlwp3->lwpid));
tests/lib/libc/sys/t_futex_ops.c
851
RL(n = __futex(&futex_word, op | flags, 0, NULL, &futex_word1,
tests/lib/libc/sys/t_futex_ops.c
873
RL(n = __futex(&futex_word1, op | flags, 1, NULL, &futex_word,
tests/lib/libc/sys/t_futex_ops.c
883
RL(n = __futex(&futex_word, FUTEX_WAKE | flags, INT_MAX, NULL, NULL,
tests/lib/libc/sys/t_futex_ops.c
888
RL(n = __futex(&futex_word1, FUTEX_WAKE | flags, INT_MAX, NULL, NULL,
tests/lib/libc/sys/t_futex_ops.c
904
RL(_lwp_wait(wlwp0->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
905
RL(_lwp_wait(wlwp1->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
906
RL(_lwp_wait(wlwp2->lwpid, NULL));
tests/lib/libc/sys/t_futex_ops.c
907
RL(_lwp_wait(wlwp3->lwpid, NULL));
tests/lib/libc/sys/t_getitimer.c
228
RL(sigemptyset(&sigs));
tests/lib/libc/sys/t_getitimer.c
229
RL(sigaddset(&sigs, SIGALRM));
tests/lib/libc/sys/t_getitimer.c
230
RL(sigprocmask(SIG_BLOCK, &sigs, &mask));
tests/lib/libc/sys/t_getitimer.c
241
RL(sigprocmask(SIG_SETMASK, &mask, NULL));
tests/lib/libc/sys/t_pipe.c
100
RL(close(pp[1]));
tests/lib/libc/sys/t_pipe.c
106
RL(done = read(pp[0], f, 128 * 1024));
tests/lib/libc/sys/t_pipe.c
109
RL(sigprocmask(SIG_BLOCK, &asigset, &osigset));
tests/lib/libc/sys/t_pipe.c
115
RL(sigprocmask(SIG_SETMASK, &osigset, NULL));
tests/lib/libc/sys/t_pipe.c
132
RL(close(pp[0]));
tests/lib/libc/sys/t_pipe.c
149
RL(close(pp[1]));
tests/lib/libc/sys/t_pipe.c
152
RL(waitpid(pid, &st, 0));
tests/lib/libc/sys/t_pipe.c
84
RL(sigemptyset(&emptysigset));
tests/lib/libc/sys/t_pipe.c
85
RL(sigemptyset(&asigset));
tests/lib/libc/sys/t_pipe.c
86
RL(sigaddset(&asigset, SIGINFO));
tests/lib/libc/sys/t_pipe.c
95
RL(pipe(pp));
tests/lib/libc/sys/t_pipe.c
97
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
1003
RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY));
tests/lib/libc/sys/t_poll.c
1004
RL(grantpt(hostfd));
tests/lib/libc/sys/t_poll.c
1005
RL(unlockpt(hostfd));
tests/lib/libc/sys/t_poll.c
1007
RL(appfd = open(pts, O_RDWR|O_NOCTTY));
tests/lib/libc/sys/t_poll.c
1009
RL(tcgetattr(appfd, &t));
tests/lib/libc/sys/t_poll.c
1011
RL(tcsetattr(appfd, TCSANOW, &t));
tests/lib/libc/sys/t_poll.c
1024
RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY));
tests/lib/libc/sys/t_poll.c
1025
RL(grantpt(hostfd));
tests/lib/libc/sys/t_poll.c
1026
RL(unlockpt(hostfd));
tests/lib/libc/sys/t_poll.c
1028
RL(appfd = open(pts, O_RDWR|O_NOCTTY));
tests/lib/libc/sys/t_poll.c
1030
RL(tcgetattr(appfd, &t));
tests/lib/libc/sys/t_poll.c
1032
RL(tcsetattr(appfd, TCSANOW, &t));
tests/lib/libc/sys/t_poll.c
1043
RL(socketpair(AF_LOCAL, SOCK_STREAM, 0, s));
tests/lib/libc/sys/t_poll.c
1053
RL(socketpair(AF_LOCAL, SOCK_STREAM, 0, s));
tests/lib/libc/sys/t_poll.c
112
RL(pipe(pf));
tests/lib/libc/sys/t_poll.c
115
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
124
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
133
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
146
RL(nwrit = write(pf[1], "konec\n", 6));
tests/lib/libc/sys/t_poll.c
150
RL(wait(&status));
tests/lib/libc/sys/t_poll.c
170
RL(pipe(fds));
tests/lib/libc/sys/t_poll.c
183
RL(ret = poll(&pfds[0], 1, 1));
tests/lib/libc/sys/t_poll.c
191
RL(ret = poll(&pfds[1], 1, 1));
tests/lib/libc/sys/t_poll.c
200
RL(ret = poll(pfds, 2, 1));
tests/lib/libc/sys/t_poll.c
207
RL(nwrit = write(fds[1], "", 1));
tests/lib/libc/sys/t_poll.c
213
RL(ret = poll(pfds, 2, 1));
tests/lib/libc/sys/t_poll.c
220
RL(close(fds[0]));
tests/lib/libc/sys/t_poll.c
221
RL(close(fds[1]));
tests/lib/libc/sys/t_poll.c
253
RL(unlink(fifo_path));
tests/lib/libc/sys/t_poll.c
282
RL(mkfifo(fifo_path, 0600));
tests/lib/libc/sys/t_poll.c
283
RL(rfd = open(fifo_path, O_RDONLY | O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
284
RL(wfd = open(fifo_path, O_WRONLY | O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
299
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
307
RL(nwrit = write(wfd, buf, 1));
tests/lib/libc/sys/t_poll.c
311
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
319
RL(nread = read(rfd, buf, 1));
tests/lib/libc/sys/t_poll.c
333
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
341
RL(nread = read(rfd, buf, 1));
tests/lib/libc/sys/t_poll.c
349
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
361
RL(nread = read(rfd, buf, pipe_buf - 1));
tests/lib/libc/sys/t_poll.c
364
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
378
RL(ret = poll(pfd, 2, 0));
tests/lib/libc/sys/t_poll.c
385
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
386
RL(close(rfd));
tests/lib/libc/sys/t_poll.c
409
RL(mkfifo(fifo_path, 0600));
tests/lib/libc/sys/t_poll.c
410
RL(rfd = open(fifo_path, O_RDONLY | O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
411
RL(wfd = open(fifo_path, O_WRONLY));
tests/lib/libc/sys/t_poll.c
417
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
419
RL(ret = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
434
RL(wfd = open(fifo_path, O_WRONLY));
tests/lib/libc/sys/t_poll.c
435
RL(ret = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
461
RL(mkfifo(fifo_path, 0600));
tests/lib/libc/sys/t_poll.c
462
RL(rfd = open(fifo_path, O_RDONLY | O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
463
RL(wfd = open(fifo_path, O_WRONLY));
tests/lib/libc/sys/t_poll.c
469
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
478
RL(close(wfd));
tests/lib/libc/sys/t_poll.c
480
RL(clock_gettime(CLOCK_MONOTONIC, &ts1));
tests/lib/libc/sys/t_poll.c
481
RL(ret = poll(&pfd, 1, INFTIM));
tests/lib/libc/sys/t_poll.c
483
RL(clock_gettime(CLOCK_MONOTONIC, &ts2));
tests/lib/libc/sys/t_poll.c
509
RL(flags = fcntl(writefd, F_GETFL));
tests/lib/libc/sys/t_poll.c
510
RL(fcntl(writefd, F_SETFL, flags|O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
514
RL(fcntl(writefd, F_SETFL, flags));
tests/lib/libc/sys/t_poll.c
526
RL(flags = fcntl(writefd, F_GETFL));
tests/lib/libc/sys/t_poll.c
527
RL(fcntl(writefd, F_SETFL, flags|O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
534
RL(fcntl(writefd, F_SETFL, flags));
tests/lib/libc/sys/t_poll.c
544
RL(flags = fcntl(readfd, F_GETFL));
tests/lib/libc/sys/t_poll.c
545
RL(fcntl(readfd, F_SETFL, flags|O_NONBLOCK));
tests/lib/libc/sys/t_poll.c
547
RL(nread = read(readfd, &c, 1));
tests/lib/libc/sys/t_poll.c
550
RL(fcntl(readfd, F_SETFL, flags));
tests/lib/libc/sys/t_poll.c
572
RL(clock_gettime(CLOCK_MONOTONIC, &start));
tests/lib/libc/sys/t_poll.c
573
RL(nfds = poll(&pfd, 1, INFTIM));
tests/lib/libc/sys/t_poll.c
574
RL(clock_gettime(CLOCK_MONOTONIC, &end));
tests/lib/libc/sys/t_poll.c
586
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
643
RL(clock_gettime(CLOCK_MONOTONIC, &start));
tests/lib/libc/sys/t_poll.c
644
RL(nfds = poll(&pfd, 1, INFTIM));
tests/lib/libc/sys/t_poll.c
645
RL(clock_gettime(CLOCK_MONOTONIC, &end));
tests/lib/libc/sys/t_poll.c
684
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
719
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
733
RL(close(closefd));
tests/lib/libc/sys/t_poll.c
743
RL(waitpid(pid, &status, 0));
tests/lib/libc/sys/t_poll.c
754
RL(close(*closefdp));
tests/lib/libc/sys/t_poll.c
792
RL(close(readfd));
tests/lib/libc/sys/t_poll.c
801
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
828
RL(close(writefd));
tests/lib/libc/sys/t_poll.c
837
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
864
RL(close(writefd));
tests/lib/libc/sys/t_poll.c
874
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
889
RL(nread = read(readfd, buf, sizeof(buf)));
tests/lib/libc/sys/t_poll.c
901
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
920
RL(nfds = poll(&pfd, 1, 0));
tests/lib/libc/sys/t_poll.c
934
RL(*pp = open(fifo_path, O_WRONLY));
tests/lib/libc/sys/t_poll.c
943
RL(*pp = open(fifo_path, O_RDONLY));
tests/lib/libc/sys/t_poll.c
955
RL(mkfifo(fifo_path, 0600));
tests/lib/libc/sys/t_poll.c
958
RL(p1 = open(fifo_path, O_WRONLY));
tests/lib/libc/sys/t_poll.c
974
RL(mkfifo(fifo_path, 0600));
tests/lib/libc/sys/t_poll.c
977
RL(p1 = open(fifo_path, O_RDONLY));
tests/lib/libc/sys/t_poll.c
990
RL(pipe(p));
tests/lib/libc/sys/t_posix_fadvise.c
130
RL(rfd = rump_sys_open("/a_file", O_CREAT, 0666));
tests/lib/libc/sys/t_posix_fadvise.c
96
RL(fd = open("/dev/null", O_RDWR));
tests/lib/libc/sys/t_posix_fadvise.c
99
RL(pipe(pipe_fds));
tests/lib/libc/sys/t_ptrace.c
122
RL(sysctlbyname("kern.securelevel", &level, &len, NULL, 0));
tests/lib/libc/sys/t_ptrace.c
166
RL(mkdir(buf, 0500));
tests/lib/libc/sys/t_ptrace.c
167
RL(chdir(buf));
tests/lib/libc/sys/t_ptrace.c
169
RL(pipe(fds_toparent));
tests/lib/libc/sys/t_ptrace.c
170
RL(pipe(fds_fromparent));
tests/lib/libc/sys/t_ptrace.c
196
RL(close(fds_toparent[1]));
tests/lib/libc/sys/t_ptrace.c
197
RL(close(fds_fromparent[0]));
tests/lib/libc/sys/t_ptrace.c
200
RL(rv = read(fds_toparent[0], &msg, sizeof(msg)));
tests/lib/libc/sys/t_ptrace.c
204
RL(rv = write(fds_fromparent[1], &msg, sizeof(msg)));
tests/lib/libc/sys/t_ptrace.c
208
RL(close(fds_fromparent[1]));
tests/lib/libc/sys/t_ptrace.c
211
RL(close(fds_toparent[0]));
tests/lib/libc/sys/t_ptrace.c
226
RL(ptrace(PT_TRACE_ME, 0, NULL, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
1062
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1150
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1254
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1399
RL(watcher = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1430
RL(child = vfork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1539
RL(child = vfork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1621
RL(child = vfork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1707
RL(child = vfork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
189
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
2183
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
304
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
402
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
540
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
591
RL(sysctl(name, namelen, &kp, &len, NULL, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
625
RL(sysctl(name, namelen, &kp, &len, NULL, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
759
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
81
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
812
RL(sysctl(name, namelen, &kp, &len, NULL, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
846
RL(sysctl(name, namelen, &kp, &len, NULL, 0));
tests/lib/libc/sys/t_ptrace_signal_wait.h
959
RL(child = fork());
tests/lib/libc/sys/t_setrlimit.c
580
RL(forked = fork());
tests/lib/libc/sys/t_setrlimit.c
587
RL(waited = waitpid(forked, &status, 0));
tests/lib/libc/sys/t_setrlimit.c
619
RL(setrlimit(RLIMIT_CORE, &res));
tests/lib/libc/sys/t_setrlimit.c
624
RL(getrlimit(RLIMIT_STACK, &res));
tests/lib/libc/sys/t_setrlimit.c
652
RL(setrlimit(RLIMIT_STACK, &res));
tests/lib/libc/sys/t_setrlimit.c
667
RL(setrlimit(RLIMIT_STACK, &res));
tests/lib/libc/sys/t_sigtimedwait.c
101
RL(setitimer(ITIMER_REAL, &it, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
104
RL(sigemptyset(&sig));
tests/lib/libc/sys/t_sigtimedwait.c
105
RL(sigaddset(&sig, SIGALRM));
tests/lib/libc/sys/t_sigtimedwait.c
106
RL(signo = sigtimedwait(&sig, &info, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
127
RL(sigemptyset(&block));
tests/lib/libc/sys/t_sigtimedwait.c
155
RL(sigaction(SIGALRM, &sa, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
157
RL(sigemptyset(&block));
tests/lib/libc/sys/t_sigtimedwait.c
160
RL(sigaddset(&block, SIGALRM));
tests/lib/libc/sys/t_sigtimedwait.c
161
RL(sigprocmask(SIG_BLOCK, &block, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
163
RL(signo = sigtimedwait(&block, &info, &ts));
tests/lib/libc/sys/t_sigtimedwait.c
185
RL(sigaction(SIGALRM, &sa, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
187
RL(sigemptyset(&sig));
tests/lib/libc/sys/t_sigtimedwait.c
190
RL(sigaddset(&sig, SIGUSR1));
tests/lib/libc/sys/t_sigtimedwait.c
191
RL(sigprocmask(SIG_BLOCK, &sig, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
221
RL(sigaction(SIGALRM, &sa, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
223
RL(sigemptyset(&sig));
tests/lib/libc/sys/t_sigtimedwait.c
224
RL(sigaddset(&sig, SIGUSR1));
tests/lib/libc/sys/t_sigtimedwait.c
225
RL(sigprocmask(SIG_BLOCK, &sig, NULL));
tests/lib/libc/sys/t_sigtimedwait.c
67
RL(sigemptyset(&block));
tests/lib/libc/sys/t_sigtimedwait.c
70
RL(clock_gettime(CLOCK_MONOTONIC, &before));
tests/lib/libc/sys/t_sigtimedwait.c
73
RL(clock_gettime(CLOCK_MONOTONIC, &after));
tests/lib/libc/sys/t_timer_create.c
130
RL(clock_gettime(cid, &t0));
tests/lib/libc/sys/t_timer_create.c
138
RL(timer_settime(t, flags, &tim, NULL));
tests/lib/libc/sys/t_timer_create.c
139
RL(timer_settime(t, flags, &tim, &otim));
tests/lib/libc/sys/t_timer_create.c
141
RL(clock_gettime(cid, &t1));
tests/lib/libc/sys/t_timer_create.c
224
RL(clock_nanosleep(cid, 0, &(const struct timespec){0, 1},
tests/lib/libc/sys/t_timer_create.c
440
RL(sigemptyset(&sigs));
tests/lib/libc/sys/t_timer_create.c
441
RL(sigaddset(&sigs, SIGALRM));
tests/lib/libc/sys/t_timer_create.c
442
RL(sigprocmask(SIG_BLOCK, &sigs, &mask));
tests/lib/libc/sys/t_timer_create.c
444
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timer_create.c
446
RL(timer_create(CLOCK_MONOTONIC, NULL, &t));
tests/lib/libc/sys/t_timer_create.c
472
RL(sigprocmask(SIG_SETMASK, &mask, NULL));
tests/lib/libc/sys/t_timer_create.c
474
RL(timer_delete(t));
tests/lib/libc/sys/t_timerfd.c
162
RL(fd = timerfd_create(CLOCK_REALTIME, 0));
tests/lib/libc/sys/t_timerfd.c
164
RL(close(fd));
tests/lib/libc/sys/t_timerfd.c
216
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timerfd.c
217
RL(fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK));
tests/lib/libc/sys/t_timerfd.c
243
RL(select(fd + 1, &readfds, NULL, NULL, &(struct timeval){2, 0}));
tests/lib/libc/sys/t_timerfd.c
247
RL(close(fd));
tests/lib/libc/sys/t_timerfd.c
264
RL(fd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK));
tests/lib/libc/sys/t_timerfd.c
266
RL(clock_gettime(CLOCK_MONOTONIC, &then));
tests/lib/libc/sys/t_timerfd.c
268
RL(timerfd_settime(fd, TFD_TIMER_ABSTIME, &its, NULL));
tests/lib/libc/sys/t_timerfd.c
275
RL(clock_nanosleep(CLOCK_MONOTONIC, 0, &(const struct timespec){0, 1},
tests/lib/libc/sys/t_timerfd.c
278
RL(timerfd_read(fd, &val));
tests/lib/libc/sys/t_timerfd.c
279
RL(clock_gettime(CLOCK_MONOTONIC, &now));
tests/lib/libc/sys/t_timerfd.c
289
RL(close(fd));
tests/lib/libpthread/cancelpoint.h
58
RL(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL));
tests/lib/libpthread/cancelpoint.h
69
RL(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL));
tests/lib/libpthread/t_cancellation.c
128
RL(msgctl(*msgidp, IPC_RMID, NULL));
tests/lib/libpthread/t_cancellation.c
144
RL(sock = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/lib/libpthread/t_cancellation.c
145
RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
146
RL(listen(sock, 1));
tests/lib/libpthread/t_cancellation.c
157
RL(accept(sock, NULL, NULL));
tests/lib/libpthread/t_cancellation.c
166
RL(accept4(sock, NULL, NULL, O_CLOEXEC));
tests/lib/libpthread/t_cancellation.c
182
RL(pipe(fd));
tests/lib/libpthread/t_cancellation.c
184
RL(aio_read(&aio));
tests/lib/libpthread/t_cancellation.c
186
RL(aio_suspend(aiolist, __arraycount(aiolist), NULL));
tests/lib/libpthread/t_cancellation.c
196
RL(clock_nanosleep(CLOCK_MONOTONIC, 0, &t, NULL));
tests/lib/libpthread/t_cancellation.c
204
RL(fd = open("/dev/null", O_RDWR));
tests/lib/libpthread/t_cancellation.c
206
RL(close(fd));
tests/lib/libpthread/t_cancellation.c
245
RL(sock = socket(PF_LOCAL, SOCK_STREAM, 0));
tests/lib/libpthread/t_cancellation.c
247
RL(connect(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
255
RL(creat("file", 0666));
tests/lib/libpthread/t_cancellation.c
269
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
271
RL(fcntl(fd, F_SETLKW, &fl));
tests/lib/libpthread/t_cancellation.c
286
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
288
RL(fcntl(fd, F_OFD_SETLKW, &fl));
tests/lib/libpthread/t_cancellation.c
301
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
303
RL(fdatasync(fd));
tests/lib/libpthread/t_cancellation.c
311
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
313
RL(fsync(fd));
tests/lib/libpthread/t_cancellation.c
325
RL(kq = kqueue());
tests/lib/libpthread/t_cancellation.c
326
RL(kevent(kq, &ev, 1, NULL, 1, &(const struct timespec){0,0}));
tests/lib/libpthread/t_cancellation.c
328
RL(kevent(kq, NULL, 0, &ev, 1, NULL));
tests/lib/libpthread/t_cancellation.c
336
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
338
RL(lockf(fd, F_LOCK, 0));
tests/lib/libpthread/t_cancellation.c
347
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_cancellation.c
349
RL(mq_receive(mq, buf, sizeof(buf), NULL));
tests/lib/libpthread/t_cancellation.c
358
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_cancellation.c
360
RL(mq_send(mq, buf, sizeof(buf), 0));
tests/lib/libpthread/t_cancellation.c
370
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_cancellation.c
372
RL(mq_timedreceive(mq, buf, sizeof(buf), NULL, &t));
tests/lib/libpthread/t_cancellation.c
382
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_cancellation.c
384
RL(mq_timedsend(mq, buf, sizeof(buf), 0, &t));
tests/lib/libpthread/t_cancellation.c
393
RL(msgid = msgget(IPC_PRIVATE, IPC_CREAT));
tests/lib/libpthread/t_cancellation.c
396
RL(msgrcv(msgid, buf, sizeof(buf), 0, 0));
tests/lib/libpthread/t_cancellation.c
406
RL(msgid = msgget(IPC_PRIVATE, IPC_CREAT));
tests/lib/libpthread/t_cancellation.c
409
RL(msgsnd(msgid, buf, sizeof(buf), 0));
tests/lib/libpthread/t_cancellation.c
420
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
421
RL(ftruncate(fd, pagesize));
tests/lib/libpthread/t_cancellation.c
426
RL(msync(map, pagesize, MS_SYNC));
tests/lib/libpthread/t_cancellation.c
436
RL(nanosleep(&t, NULL));
tests/lib/libpthread/t_cancellation.c
444
RL(open("file", O_RDWR));
tests/lib/libpthread/t_cancellation.c
452
RL(openat(AT_FDCWD, "file", O_RDWR));
tests/lib/libpthread/t_cancellation.c
460
RL(pause());
tests/lib/libpthread/t_cancellation.c
469
RL(pipe(fd));
tests/lib/libpthread/t_cancellation.c
473
RL(poll(&pfd, 1, 1000));
tests/lib/libpthread/t_cancellation.c
482
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
484
RL(posix_close(fd, POSIX_CLOSE_RESTART));
tests/lib/libpthread/t_cancellation.c
499
RL(pipe(fd));
tests/lib/libpthread/t_cancellation.c
503
RL(ppoll(&pfd, 1, &t, NULL));
tests/lib/libpthread/t_cancellation.c
512
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
514
RL(pread(fd, buf, sizeof(buf), 1));
tests/lib/libpthread/t_cancellation.c
527
RL(pipe(fd));
tests/lib/libpthread/t_cancellation.c
530
RL(pselect(fd[0] + 1, &readfd, NULL, NULL, &t, NULL));
tests/lib/libpthread/t_cancellation.c
609
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
611
RL(pwrite(fd, buf, sizeof(buf), 1));
tests/lib/libpthread/t_cancellation.c
620
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
622
RL(read(fd, buf, sizeof(buf)));
tests/lib/libpthread/t_cancellation.c
632
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
634
RL(readv(fd, &iov, 1));
tests/lib/libpthread/t_cancellation.c
645
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
646
RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
648
RL(recv(sock, buf, sizeof(buf), 0));
tests/lib/libpthread/t_cancellation.c
661
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
662
RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
664
RL(recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *)&ss, &len));
tests/lib/libpthread/t_cancellation.c
680
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
681
RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
683
RL(recvmsg(sock, &msg, 0));
tests/lib/libpthread/t_cancellation.c
695
RL(pipe(fd));
tests/lib/libpthread/t_cancellation.c
698
RL(select(fd[0] + 1, &readfd, NULL, NULL, &t));
tests/lib/libpthread/t_cancellation.c
709
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
710
RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
tests/lib/libpthread/t_cancellation.c
712
RL(send(sock, buf, sizeof(buf), 0));
tests/lib/libpthread/t_cancellation.c
723
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
725
RL(sendto(sock, buf, sizeof(buf), 0, (const struct sockaddr *)&sun,
tests/lib/libpthread/t_cancellation.c
744
RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
tests/lib/libpthread/t_cancellation.c
746
RL(sendmsg(sock, &msg, 0));
tests/lib/libpthread/t_cancellation.c
754
RL(sigfillset(&mask));
tests/lib/libpthread/t_cancellation.c
755
RL(sigprocmask(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_cancellation.c
757
RL(sigsuspend(&omask));
tests/lib/libpthread/t_cancellation.c
767
RL(sigfillset(&mask));
tests/lib/libpthread/t_cancellation.c
768
RL(sigprocmask(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_cancellation.c
770
RL(sigtimedwait(&omask, &info, &t));
tests/lib/libpthread/t_cancellation.c
779
RL(sigfillset(&mask));
tests/lib/libpthread/t_cancellation.c
780
RL(sigprocmask(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_cancellation.c
782
RL(sigwait(&omask, &sig));
tests/lib/libpthread/t_cancellation.c
791
RL(sigfillset(&mask));
tests/lib/libpthread/t_cancellation.c
792
RL(sigprocmask(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_cancellation.c
794
RL(sigwaitinfo(&omask, &info));
tests/lib/libpthread/t_cancellation.c
811
RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY));
tests/lib/libpthread/t_cancellation.c
812
RL(grantpt(hostfd));
tests/lib/libpthread/t_cancellation.c
813
RL(unlockpt(hostfd));
tests/lib/libpthread/t_cancellation.c
815
RL(appfd = open(pts, O_RDWR|O_NOCTTY));
tests/lib/libpthread/t_cancellation.c
817
RL(tcdrain(appfd));
tests/lib/libpthread/t_cancellation.c
846
RL(wait(NULL));
tests/lib/libpthread/t_cancellation.c
854
RL(waitid(P_ALL, 0, NULL, 0));
tests/lib/libpthread/t_cancellation.c
862
RL(waitpid(-1, NULL, 0));
tests/lib/libpthread/t_cancellation.c
871
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
873
RL(write(fd, buf, sizeof(buf)));
tests/lib/libpthread/t_cancellation.c
883
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_cancellation.c
885
RL(writev(fd, &iov, 1));
tests/lib/libpthread/t_compat_cancel.c
102
RL(__sigfillset14(&mask));
tests/lib/libpthread/t_compat_cancel.c
103
RL(__sigprocmask14(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_compat_cancel.c
105
RL(__sigtimedwait(&omask, &info, &t));
tests/lib/libpthread/t_compat_cancel.c
121
RL(pipe(fd));
tests/lib/libpthread/t_compat_cancel.c
123
RL(aio_read(&aio));
tests/lib/libpthread/t_compat_cancel.c
125
RL(aio_suspend(aiolist, __arraycount(aiolist), NULL));
tests/lib/libpthread/t_compat_cancel.c
142
RL(kq = kqueue());
tests/lib/libpthread/t_compat_cancel.c
143
RL(kevent(kq, &ev, 1, NULL, 1, &(const struct timespec50){0,0}));
tests/lib/libpthread/t_compat_cancel.c
145
RL(kevent(kq, NULL, 0, &ev, 1, NULL));
tests/lib/libpthread/t_compat_cancel.c
155
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_compat_cancel.c
157
RL(mq_timedreceive(mq, buf, sizeof(buf), NULL, &t));
tests/lib/libpthread/t_compat_cancel.c
167
RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
tests/lib/libpthread/t_compat_cancel.c
169
RL(mq_timedsend(mq, buf, sizeof(buf), 0, &t));
tests/lib/libpthread/t_compat_cancel.c
178
RL(nanosleep(&t, NULL));
tests/lib/libpthread/t_compat_cancel.c
188
RL(pipe(fd));
tests/lib/libpthread/t_compat_cancel.c
192
RL(pollts(&pfd, 1, &t, NULL));
tests/lib/libpthread/t_compat_cancel.c
204
RL(pipe(fd));
tests/lib/libpthread/t_compat_cancel.c
207
RL(pselect(fd[0] + 1, &readfd, NULL, NULL, &t, NULL));
tests/lib/libpthread/t_compat_cancel.c
219
RL(pipe(fd));
tests/lib/libpthread/t_compat_cancel.c
222
RL(select(fd[0] + 1, &readfd, NULL, NULL, &t));
tests/lib/libpthread/t_compat_cancel.c
230
RL(sigfillset(&mask));
tests/lib/libpthread/t_compat_cancel.c
231
RL(sigprocmask(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_compat_cancel.c
233
RL(sigsuspend(&omask));
tests/lib/libpthread/t_compat_cancel.c
243
RL(__sigfillset14(&mask));
tests/lib/libpthread/t_compat_cancel.c
244
RL(__sigprocmask14(SIG_BLOCK, &mask, &omask));
tests/lib/libpthread/t_compat_cancel.c
246
RL(sigtimedwait(&omask, &info, &t));
tests/lib/libpthread/t_compat_cancel.c
73
RL(kq = kqueue());
tests/lib/libpthread/t_compat_cancel.c
74
RL(__kevent50(kq, &ev, 1, NULL, 1, &(const struct timespec){0,0}));
tests/lib/libpthread/t_compat_cancel.c
76
RL(__kevent50(kq, NULL, 0, &ev, 1, NULL));
tests/lib/libpthread/t_compat_cancel.c
86
RL(fd = open("file", O_RDWR|O_CREAT, 0666));
tests/lib/libpthread/t_compat_cancel.c
87
RL(ftruncate(fd, pagesize));
tests/lib/libpthread/t_compat_cancel.c
92
RL(msync(map, pagesize));
tests/lib/libpthread/t_once.c
210
RL(pid = fork());
tests/lib/libpthread/t_once.c
216
RL(child = waitpid(pid, &status, 0));
tests/lib/libpthread/t_stack.c
121
RL(sysctl(mib, __arraycount(mib), &guardsize, &len, NULL, 0));
tests/lib/libpthread/t_stack.c
221
RL(sigaction(SIGSEGV, &act, &oact));
tests/lib/libpthread/t_stack.c
229
RL(sigaction(SIGSEGV, &oact, NULL));
tests/lib/libpthread/t_stack.c
254
RL(sigaction(SIGSEGV, &act, &oact));
tests/lib/libpthread/t_stack.c
262
RL(sigaction(SIGSEGV, &oact, NULL));
tests/lib/librefuse/t_refuse_opt.c
105
RL(fuse_opt_add_opt_escaped(&opt, "fo\\o"));
tests/lib/librefuse/t_refuse_opt.c
108
RL(fuse_opt_add_opt_escaped(&opt, "ba,r"));
tests/lib/librefuse/t_refuse_opt.c
210
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
211
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
212
RL(fuse_opt_add_arg(&args, "number=1,string=foo"));
tests/lib/librefuse/t_refuse_opt.c
213
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
239
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
240
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
241
RL(fuse_opt_add_arg(&args, "number=1,string=foo"));
tests/lib/librefuse/t_refuse_opt.c
242
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
267
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
268
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
269
RL(fuse_opt_add_arg(&args, "number=1,string=foo"));
tests/lib/librefuse/t_refuse_opt.c
270
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
282
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
283
RL(fuse_opt_add_arg(&args, "-onumber=1,unknown,string=foo"));
tests/lib/librefuse/t_refuse_opt.c
284
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
298
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
299
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
300
RL(fuse_opt_add_arg(&args, "baz"));
tests/lib/librefuse/t_refuse_opt.c
301
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
302
RL(fuse_opt_add_arg(&args, "number=1"));
tests/lib/librefuse/t_refuse_opt.c
303
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
304
RL(fuse_opt_add_arg(&args, "unknown"));
tests/lib/librefuse/t_refuse_opt.c
305
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
306
RL(fuse_opt_add_arg(&args, "string=foo"));
tests/lib/librefuse/t_refuse_opt.c
321
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
322
RL(fuse_opt_add_arg(&args, "-n"));
tests/lib/librefuse/t_refuse_opt.c
323
RL(fuse_opt_add_arg(&args, "3"));
tests/lib/librefuse/t_refuse_opt.c
335
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
336
RL(fuse_opt_add_arg(&args, "-n3"));
tests/lib/librefuse/t_refuse_opt.c
348
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
349
RL(fuse_opt_add_arg(&args, "-o"));
tests/lib/librefuse/t_refuse_opt.c
350
RL(fuse_opt_add_arg(&args, "number2"));
tests/lib/librefuse/t_refuse_opt.c
362
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
363
RL(fuse_opt_add_arg(&args, "--number=four"));
tests/lib/librefuse/t_refuse_opt.c
375
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
376
RL(fuse_opt_add_arg(&args, "--"));
tests/lib/librefuse/t_refuse_opt.c
377
RL(fuse_opt_add_arg(&args, "-onumber=1"));
tests/lib/librefuse/t_refuse_opt.c
378
RL(fuse_opt_add_arg(&args, "-ostring=foo"));
tests/lib/librefuse/t_refuse_opt.c
392
RL(fuse_opt_add_arg(&args, "foofs"));
tests/lib/librefuse/t_refuse_opt.c
393
RL(fuse_opt_add_arg(&args, "--"));
tests/lib/librefuse/t_refuse_opt.c
394
RL(fuse_opt_add_arg(&args, "-onumber=1"));
tests/lib/librefuse/t_refuse_opt.c
50
RL(fuse_opt_add_arg(&args, "foo"));
tests/lib/librefuse/t_refuse_opt.c
51
RL(fuse_opt_add_arg(&args, "bar"));
tests/lib/librefuse/t_refuse_opt.c
69
RL(fuse_opt_insert_arg(&args, 0, "foo"));
tests/lib/librefuse/t_refuse_opt.c
70
RL(fuse_opt_insert_arg(&args, 0, "bar"));
tests/lib/librefuse/t_refuse_opt.c
88
RL(fuse_opt_add_opt(&opt, "fo\\o"));
tests/lib/librefuse/t_refuse_opt.c
91
RL(fuse_opt_add_opt(&opt, "ba,r"));
tests/lib/librumpclient/t_fd.c
112
RL(system("rump_server -lrumpnet -lrumpnet_net -lrumpnet_netinet "
tests/lib/librumpclient/t_fd.c
114
RL(setenv("RUMP_SERVER", RUMPSERV, 1));
tests/lib/librumpclient/t_fd.c
116
RL(rumpclient_init());
tests/lib/librumpclient/t_fd.c
117
RL(ls = rump_sys_socket(PF_INET, SOCK_STREAM, 0));
tests/lib/librumpclient/t_fd.c
119
RL(rump_sys_fcntl(ls, F_SETOWN, rump_sys_getpid()));
tests/lib/librumpclient/t_fd.c
120
RL(fl = rump_sys_fcntl(ls, F_GETFL));
tests/lib/librumpclient/t_fd.c
121
RL(rump_sys_fcntl(ls, F_SETFL, fl | O_ASYNC));
tests/lib/librumpclient/t_fd.c
127
RL(rump_sys_bind(ls, (struct sockaddr *)&sin, sizeof(sin)));
tests/lib/librumpclient/t_fd.c
128
RL(rump_sys_listen(ls, 5));
tests/lib/librumpclient/t_fd.c
130
RL(cs = rump_sys_socket(PF_INET, SOCK_STREAM, 0));
tests/lib/librumpclient/t_fd.c
134
RL(rump_sys_connect(cs, (struct sockaddr *)&sin, sizeof(sin)));
tests/lib/librumpclient/t_fd.c
69
RL(system("rump_server " RUMPSERV));
tests/lib/librumpclient/t_fd.c
70
RL(setenv("RUMP_SERVER", RUMPSERV, 1));
tests/lib/librumpclient/t_fd.c
72
RL(dup2(0, 10));
tests/lib/librumpclient/t_fd.c
73
RL(dup2(1, 11));
tests/lib/librumpclient/t_fd.c
74
RL(dup2(2, 12));
tests/lib/librumpclient/t_fd.c
76
RL(close(0));
tests/lib/librumpclient/t_fd.c
77
RL(close(1));
tests/lib/librumpclient/t_fd.c
78
RL(close(2));
tests/lib/librumpclient/t_fd.c
80
RL(rumpclient_init());
tests/lib/librumpclient/t_fd.c
81
RL(rump_sys_getpid());
tests/lib/librumpclient/t_fd.c
87
RL(rump_sys_getpid());
tests/libexec/ld.elf_so/t_dlclose_thread.c
171
RL(timer_create(CLOCK_MONOTONIC, &sigev, &t));
tests/libexec/ld.elf_so/t_dlclose_thread.c
172
RL(timer_settime(t, TIMER_RELTIME, &it, NULL));
tests/libexec/ld.elf_so/t_dlclose_thread.c
208
RL(timer_create(CLOCK_MONOTONIC, &sigev, &t));
tests/libexec/ld.elf_so/t_dlclose_thread.c
209
RL(timer_settime(t, TIMER_RELTIME, &it, NULL));
tests/modules/t_builtin.c
116
RL(rump_sys_mkdir(MYMP, 0777));
tests/modules/t_builtin.c
118
RL(rump_sys_modctl(MODCTL_UNLOAD, kernfs));
tests/modules/t_builtin.c
126
RL(rump_sys_modctl(MODCTL_LOAD, &mod));
tests/modules/t_builtin.c
128
RL(rump_sys_mount(MOUNT_KERNFS, MYMP, 0, NULL, 0));
tests/modules/t_builtin.c
130
RL(rump_sys_unmount(MYMP, 0));
tests/modules/t_builtin.c
150
RL(rump_sys_mkdir(MYMP, 0777));
tests/modules/t_builtin.c
152
RL(rump_sys_modctl(MODCTL_UNLOAD, kernfs));
tests/modules/t_builtin.c
199
RL(rump_sys_mkdir(MYMP, 0777));
tests/modules/t_builtin.c
200
RL(rump_sys_mount(MOUNT_KERNFS, MYMP, 0, NULL, 0));
tests/modules/t_builtin.c
61
RL(rump_sys_close(fd));
tests/modules/t_builtin.c
78
RL(rump_sys_mkdir(MYMP, 0777));
tests/modules/t_builtin.c
79
RL(rump_sys_mount(MOUNT_KERNFS, MYMP, 0, NULL, 0));
tests/modules/t_builtin.c
81
RL(rump_sys_unmount(MYMP, 0));
tests/modules/t_builtin.c
82
RL(rump_sys_modctl(MODCTL_UNLOAD, kernfs));
tests/modules/t_builtin.c
96
RL(rump_sys_mkdir(MYMP, 0777));
tests/modules/t_builtin.c
98
RL(rump_sys_modctl(MODCTL_UNLOAD, kernfs));
tests/net/bpf/t_bpf.c
160
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
161
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
188
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
190
RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
tests/net/bpf/t_bpf.c
193
RL(rump_sys_ioctl(bpfd, BIOCSBLEN, &blen));
tests/net/bpf/t_bpf.c
194
RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
tests/net/bpf/t_bpf.c
197
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
219
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
224
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
226
RL(rump_sys_ioctl(bpfd, BIOCPROMISC, NULL));
tests/net/bpf/t_bpf.c
244
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
248
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
253
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
271
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
278
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
280
RL(rump_sys_ioctl(bpfd, BIOCGDLT, &dlt));
tests/net/bpf/t_bpf.c
303
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
312
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
317
RL(rump_sys_ioctl(bpfd, BIOCGDLTLIST, &dltlist));
tests/net/bpf/t_bpf.c
323
RL(rump_sys_ioctl(bpfd, BIOCGDLTLIST, &dltlist));
tests/net/bpf/t_bpf.c
72
RL(rump_sys___sysctl(mbstat_mib, __arraycount(mbstat_mib),
tests/net/bpf/t_bpf.c
87
RL(bpfd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/bpf/t_bpf.c
88
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpf/t_bpf.c
89
RL(rump_sys_ioctl(bpfd, BIOCSFEEDBACK, &ifr));
tests/net/bpfilter/t_bpfilter.c
236
RL(pipe(channel));
tests/net/bpfilter/t_bpfilter.c
261
RL(bpfd = rump_sys_open("/dev/bpf", O_RDONLY));
tests/net/bpfilter/t_bpfilter.c
265
RL(rump_sys_ioctl(bpfd, BIOCSRTIMEOUT, &tv));
tests/net/bpfilter/t_bpfilter.c
267
RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &bufsize));
tests/net/bpfilter/t_bpfilter.c
268
RL(rump_sys_ioctl(bpfd, BIOCSETF, &prog));
tests/net/bpfilter/t_bpfilter.c
269
RL(rump_sys_ioctl(bpfd, BIOCSETIF, &ifr));
tests/net/bpfilter/t_bpfilter.c
287
RL(rump_sys_ioctl(bpfd, BIOCGSTATS, &bstat));
tests/net/bpfilter/t_bpfilter.c
308
RL(bpfd = rump_sys_open("/dev/bpf", O_RDONLY));
tests/net/bpfilter/t_bpfilter.c
384
RL(send_bpf_prog("bpfilternoinitA", &prog));
tests/net/bpfilter/t_bpfilter.c
402
RL(send_bpf_prog("bpfilternoinitX", &prog));
tests/net/icmp/t_ping.c
154
RL(s = rump_sys_socket(PF_INET, SOCK_RAW, IPPROTO_ICMP));
tests/net/icmp/t_ping.c
155
RL(x = rump_sys_fcntl(s, F_GETFL, 0));
tests/net/icmp/t_ping.c
173
RL(rump_sys_setsockopt(s, SOL_SOCKET, SO_SNDBUF,
tests/net/icmp/t_ping.c
175
RL(rump_sys_setsockopt(s, SOL_SOCKET, SO_RCVBUF,
tests/net/icmp/t_ping.c
181
RL(rump_sys_fcntl(s, F_SETFL, x));
tests/net/icmp/t_ping.c
194
RL(rump_sys_fcntl(s, F_SETFL, xnon));
tests/net/icmp/t_ping.c
370
RL(rump_sys___sysctl(mib, 4, &ipstat, &arglen,
tests/net/icmp/t_ping.c
387
RL(s = rump_sys_socket(PF_INET, SOCK_RAW, 0));
tests/net/icmp/t_ping.c
389
RL(rump_sys_setsockopt(s, IPPROTO_IP, IP_HDRINCL, &x, sizeof(x)));
tests/net/icmp/t_ping.c
74
RL(pipe(channel));
tests/net/if/t_compat.c
71
RL(fd = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/if/t_compat.c
72
RL(rump_sys_ioctl(fd, OOSIOCGIFBRDADDR, &ifreq));
tests/net/net/t_ip_reass.c
171
RL(fd = rump_sys_open("/dev/bpf", O_RDWR));
tests/net/net/t_pktinfo_send.c
170
RL(rv = sendto_pktinfo(client, data, datalen, 0,
tests/net/net/t_pktinfo_send.c
174
RL(rv = rump_sys_recvfrom(server, buf, sizeof(buf), 0,
tests/net/net/t_pktinfo_send.c
193
RL(rv = rump_sys_getsockname(client,
tests/net/net/t_pktinfo_send.c
211
RL(rv = rump_sys_getsockname(client,
tests/net/net/t_pktinfo_send.c
234
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
257
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
258
RL(rv = sock_bind(client, "0.0.0.0", 0));
tests/net/net/t_pktinfo_send.c
281
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
282
RL(rv = sock_bind(client, "127.0.0.1", 0));
tests/net/net/t_pktinfo_send.c
305
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
306
RL(rv = sock_bind(client, "0.0.0.0", CLIENTPORT));
tests/net/net/t_pktinfo_send.c
329
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
330
RL(rv = sock_bind(client, "127.0.0.2", CLIENTPORT));
tests/net/net/t_pktinfo_send.c
354
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
355
RL(rv = sock_bind(client, "127.0.0.3", CLIENTPORT));
tests/net/net/t_pktinfo_send.c
380
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
383
RL(rv = rump_sys_connect(client,
tests/net/net/t_pktinfo_send.c
416
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
448
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
449
RL(rv = sock_bind(client, "127.0.0.2", CLIENTPORT));
tests/net/net/t_pktinfo_send.c
496
RL(server = rump_sys_socket(AF_INET, SOCK_RAW, IPPROTO_ICMP));
tests/net/net/t_pktinfo_send.c
497
RL(client = rump_sys_socket(AF_INET, SOCK_RAW, IPPROTO_ICMP));
tests/net/net/t_pktinfo_send.c
528
RL(client = rump_sys_socket(AF_INET, SOCK_RAW, IPPROTO_ICMP));
tests/net/net/t_pktinfo_send.c
563
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
607
RL(pipe(channel));
tests/net/net/t_pktinfo_send.c
625
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
638
RL(rv = sendto_pktinfo(client, message, strlen(message),
tests/net/net/t_pktinfo_send.c
665
RL(rv = rump_sys_recvfrom(server, buf, sizeof(buf), 0,
tests/net/net/t_pktinfo_send.c
703
RL(pipe(channel));
tests/net/net/t_pktinfo_send.c
721
RL(client = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
730
RL(rv = sendto_pktinfo(client, message, strlen(message),
tests/net/net/t_pktinfo_send.c
734
RL(rv = sendto_pktinfo(client, message, strlen(message),
tests/net/net/t_pktinfo_send.c
760
RL(rv = rump_sys_recvfrom(server, buf,
tests/net/net/t_pktinfo_send.c
92
RL(s = rump_sys_socket(AF_INET, SOCK_DGRAM, 0));
tests/net/net/t_pktinfo_send.c
93
RL(rv = sock_bind(s, addr, port));
tests/net/net/t_raw.c
31
RL(s = rump_sys_socket(PF_ROUTE, SOCK_RAW, 0));
tests/net/net/t_raw.c
33
RL(rump_sys_fstat(s, &sb));
tests/net/net/t_unix.c
465
RL(listener = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/net/net/t_unix.c
466
RL(bind(listener, (const struct sockaddr *)&sun, sizeof(sun)));
tests/net/net/t_unix.c
467
RL(listen(listener, 5));
tests/net/net/t_unix.c
478
RL(conn = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/net/net/t_unix.c
479
RL(connect(conn, (const struct sockaddr *)&sun, sizeof(sun)));
tests/net/net/t_unix.c
486
RL(acc = accept(listener, NULL, NULL));
tests/net/net/t_unix.c
487
RL(close(acc));
tests/net/net/t_unix.c
488
RL(close(conn));
tests/net/net/t_unix.c
496
RL(conn = socket(PF_LOCAL, SOCK_STREAM|SOCK_NONBLOCK, 0));
tests/net/net/t_unix.c
497
RL(setsockopt(conn, SOL_LOCAL, LOCAL_CONNWAIT, &one, sizeof(one)));
tests/net/net/t_unix.c
506
RL(acc = accept(listener, NULL, NULL));
tests/net/net/t_unix.c
514
RL(nfd = poll(&pfd, 1, 0));
tests/net/net/t_unix.c
516
RL(getsockopt(conn, SOL_SOCKET, SO_ERROR, &error, &errorlen));
tests/net/net/t_unix.c
520
RL(close(acc));
tests/net/net/t_unix.c
521
RL(close(conn));
tests/net/net/t_unix.c
522
RL(close(listener));
tests/rump/rumpkern/t_kern.c
65
RL(pipe(pipetti));
tests/rump/rumpkern/t_kern.c
69
RL(dup2(pipetti[1], STDOUT_FILENO));
tests/rump/rumpkern/t_kern.c
70
RL(dup2(pipetti[1], STDOUT_FILENO));
tests/rump/rumpkern/t_kern.c
77
RL(wait(&status));
tests/rump/rumpkern/t_lwproc.c
102
RL(rump_sys_setuid(11));
tests/rump/rumpkern/t_lwproc.c
126
RL(rump_sys_setuid(66));
tests/rump/rumpkern/t_lwproc.c
157
RL(rump_sys_setuid(375));
tests/rump/rumpkern/t_lwproc.c
266
RL(fd = rump_sys_open("/file", O_RDWR | O_CREAT, 0777));
tests/rump/rumpkern/t_lwproc.c
276
RL(rump_sys_fstat(fd, &sb));
tests/rump/rumpkern/t_lwproc.c
284
RL(rump_sys_close(fd));
tests/rump/rumpkern/t_lwproc.c
291
RL(fd = rump_sys_open("/file", O_RDWR, 0777));
tests/rump/rumpkern/t_lwproc.c
294
RL(rump_sys_fstat(fd, &sb));
tests/rump/rumpkern/t_lwproc.c
299
RL(rump_sys_close(fd));
tests/rump/rumpkern/t_lwproc.c
301
RL(rump_sys_fstat(fd, &sb));
tests/rump/rumpkern/t_lwproc.c
97
RL(rump_sys_setuid(22));
tests/rump/rumpvfs/t_basic.c
63
RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0777));
tests/rump/rumpvfs/t_etfs.c
275
RL(open("hostfile", O_RDWR | O_CREAT, 0777));
tests/rump/rumpvfs/t_etfs.c
281
RL(rump_sys_open("/key", O_RDONLY));
tests/rump/rumpvfs/t_etfs.c
282
RL(rump_sys_open("////////key", O_RDONLY));
tests/rump/rumpvfs/t_etfs.c
287
RL(rump_sys_open("/key//with/slashes", O_RDONLY));
tests/rump/rumpvfs/t_etfs.c
288
RL(rump_sys_open("key//with/slashes", O_RDONLY));
tests/rump/rumpvfs/t_etfs.c
292
RL(rump_sys_mkdir("/a", 0777));
tests/rump/rumpvfs/t_p2kifs.c
68
RL(rump_sys_mkdir("/" TESTFILE, 0777));