MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / loopcxt_setup_device

Function loopcxt_setup_device

libblkid/lib/loopdev.c:1193–1292  ·  view source on GitHub ↗

* @cl: context * * Associate the current device (see loopcxt_{set,get}_device()) with * a file (see loopcxt_set_backing_file()). * * The device is initialized read-write by default. If you want read-only * device then set LO_FLAGS_READ_ONLY by loopcxt_set_flags(). The LOOPDEV_FL_* * flags are ignored and modified according to LO_FLAGS_*. * * If the device is already open by loopcxt_get_fd

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

loopcxt_get_fdFunction · 0.85
loopcxt_check_sizeFunction · 0.85
ul_debugobjFunction · 0.50

Tested by

no test coverage detected