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

Function loopcxt_set_device

libblkid/lib/loopdev.c:88–127  ·  view source on GitHub ↗

* @lc: context * @device: device name, absolute device path or NULL to reset the current setting * * Sets device, absolute paths (e.g. "/dev/loop ") are unchanged, device * names ("loop ") are converted to the path (/dev/loop or to * /dev/loop/ ) * * This sets the device name, but does not check if the device exists! * * Returns: <0 on error, 0 on success */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

loopcxt_initFunction · 0.85
loopcxt_deinitFunction · 0.85
loopiter_set_deviceFunction · 0.85
loopdev_is_autoclearFunction · 0.85
loopdev_get_backing_fileFunction · 0.85
loopdev_is_usedFunction · 0.85
loopdev_deleteFunction · 0.85

Calls 2

sysfs_deinitFunction · 0.85
ul_debugobjFunction · 0.50

Tested by

no test coverage detected