Lines Matching defs:device
23 fprintf(stderr, "tst_device release /path/to/device\n");
24 fprintf(stderr, "tst_device clear /path/to/device\n\n");
30 const char *device;
39 fprintf(stderr, "ERROR: Invalid device size '%s'",
46 device = tst_acquire_loop_device(size, argv[3]);
48 device = tst_acquire_device__(size);
50 if (!device)
53 if (tst_clear_device(device)) {
54 tst_release_device(device);
58 printf("%s", device);
69 * tst_acquire_[loop_]device() was called in a different process.
70 * tst_release_device() would think that no device was acquired yet