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

Function loopiter_set_device

libblkid/lib/loopdev.c:371–402  ·  view source on GitHub ↗

* Same as loopcxt_set_device, but also checks if the device is * associeted with any file. * * Returns: <0 on error, 0 on success, 1 device does not match with * LOOPITER_FL_{USED,FREE} flags. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

loopcxt_next_from_procFunction · 0.85
loopcxt_next_from_sysfsFunction · 0.85
loopcxt_nextFunction · 0.85
loopcxt_find_unusedFunction · 0.85

Calls 4

loopcxt_set_deviceFunction · 0.85
is_loopdevFunction · 0.85
loopcxt_get_offsetFunction · 0.85
ul_debugobjFunction · 0.50

Tested by

no test coverage detected