Home
last modified time | relevance | path

Searched refs:loopname (Results 1 – 2 of 2) sorted by relevance

/external/syzkaller/executor/
Dcommon_linux.h669 char loopname[64], linkname[64]; in syz_read_part_table() local
702 snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); in syz_read_part_table()
703 loopfd = open(loopname, O_RDWR); in syz_read_part_table()
736 snprintf(loopname, sizeof(loopname), "/dev/loop%llup%d", procid, (int)i); in syz_read_part_table()
738 if (stat(loopname, &statbuf) == 0) { in syz_read_part_table()
740 if (symlink(loopname, linkname)) { in syz_read_part_table()
741 debug("syz_read_part_table: symlink(%s, %s) failed: %d\n", loopname, linkname, errno); in syz_read_part_table()
769 char loopname[64], fs[32], opts[256]; in syz_mount_image() local
805 snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid); in syz_mount_image()
806 loopfd = open(loopname, O_RDWR); in syz_mount_image()
[all …]
/external/syzkaller/pkg/csource/
Dgenerated.go1258 char loopname[64], linkname[64];
1290 snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid);
1291 loopfd = open(loopname, O_RDWR);
1323 snprintf(loopname, sizeof(loopname), "/dev/loop%llup%d", procid, (int)i);
1325 if (stat(loopname, &statbuf) == 0) {
1327 if (symlink(loopname, linkname)) {
1328 debug("syz_read_part_table: symlink(%s, %s) failed: %d\n", loopname, linkname, errno);
1349 char loopname[64], fs[32], opts[256];
1381 snprintf(loopname, sizeof(loopname), "/dev/loop%llu", procid);
1382 loopfd = open(loopname, O_RDWR);
[all …]