Lines Matching refs:loopname
1258 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);
1412 … dir='%s' fs='%s' flags=%llu opts='%s'\n", (uint64)size, (uint64)nsegs, loopname, (char*)dir, fs, …
1416 if (mount(loopname, (char*)dir, fs, flags, opts)) {