Searched refs:loopfd (Results 1 – 2 of 2) sorted by relevance
/external/syzkaller/executor/ |
D | common_linux.h | 670 int loopfd, err = 0, res = -1; in syz_read_part_table() local 703 loopfd = open(loopname, O_RDWR); in syz_read_part_table() 704 if (loopfd == -1) { in syz_read_part_table() 708 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { in syz_read_part_table() 713 ioctl(loopfd, LOOP_CLR_FD, 0); in syz_read_part_table() 715 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { in syz_read_part_table() 721 if (ioctl(loopfd, LOOP_GET_STATUS64, &info)) { in syz_read_part_table() 729 if (ioctl(loopfd, LOOP_SET_STATUS64, &info)) { in syz_read_part_table() 746 ioctl(loopfd, LOOP_CLR_FD, 0); in syz_read_part_table() 748 close(loopfd); in syz_read_part_table() [all …]
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 1259 int loopfd, err = 0, res = -1; 1291 loopfd = open(loopname, O_RDWR); 1292 if (loopfd == -1) { 1296 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { 1301 ioctl(loopfd, LOOP_CLR_FD, 0); 1303 if (ioctl(loopfd, LOOP_SET_FD, memfd)) { 1309 if (ioctl(loopfd, LOOP_GET_STATUS64, &info)) { 1317 if (ioctl(loopfd, LOOP_SET_STATUS64, &info)) { 1333 ioctl(loopfd, LOOP_CLR_FD, 0); 1335 close(loopfd); [all …]
|