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

Function loopcxt_init

libblkid/lib/loopdev.c:154–194  ·  view source on GitHub ↗

* @lc: context * @flags: LOOPDEV_FL_* flags * * Initilize loop handler. * * We have two sets of the flags: * * * LOOPDEV_FL_* flags control loopcxt_* API behavior * * * LO_FLAGS_* are kernel flags used for LOOP_{SET,GET}_STAT64 ioctls * * Note about LOOPDEV_FL_{RDONLY,RDWR} flags. These flags are used for open(2) * syscall to open loop device. By default is the device open read-only.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

loopdev_is_autoclearFunction · 0.85
loopdev_get_backing_fileFunction · 0.85
loopdev_is_usedFunction · 0.85
loopdev_deleteFunction · 0.85

Calls 5

loopdev_init_debugFunction · 0.85
loopcxt_set_deviceFunction · 0.85
get_linux_versionFunction · 0.85
statClass · 0.70
ul_debugobjFunction · 0.50

Tested by

no test coverage detected