summaryrefslogtreecommitdiff
path: root/src/shared/loop-util.c
Commit message (Expand)AuthorAgeFilesLines
* loop-util: port some code over to ASSERT_FD()Lennart Poettering2023-04-241-20/+9
* loop-util: Add loop_device_make_by_path_at()Daan De Meyer2023-03-231-6/+18
* loop-util: add more debugging logs in loop_configure()Yu Watanabe2023-03-191-19/+26
* loop-util: add API for selecting "lo_file_name" field for a loopback deviceLennart Poettering2023-03-091-0/+35
* loop-util: add call for setting the autoclear flag at arbitrary timesLennart Poettering2023-03-091-0/+19
* loop-util: keep track of inode/devnum of backing fileLennart Poettering2023-03-091-1/+9
* tree-wide: initialize fds with -EBADFDavid Tardon2023-02-231-1/+1
* loop-util: fix error condition and return valueYu Watanabe2023-02-191-2/+2
* loop-util: always tell kernel explicitly about loopback sector sizeLennart Poettering2023-01-181-6/+57
* loop-util: insist on setting the sector size correctlyLennart Poettering2023-01-181-1/+19
* blockdev-util: add simple wrapper around BLKSSZGETLennart Poettering2023-01-181-6/+6
* tree-wide: use -EBADF moreYu Watanabe2022-12-211-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-7/+7
* loop-util: add new loop_device_make_by_path_memory() helperLennart Poettering2022-12-081-0/+42
* loop-util: open lock fd read-onlyChristian Göttsche2022-11-051-1/+1
* Implement --luks-sector-size for homedAidan Dang2022-10-071-3/+18
* loop-util: re-introduce loop_device_open() which takes sd_device objectYu Watanabe2022-09-281-47/+65
* loop-util: rename loop_device_open() -> loop_device_open_from_path()Yu Watanabe2022-09-281-1/+1
* loop-util: introduce reference counter for LoopDeviceYu Watanabe2022-09-181-1/+5
* loop-util: do not try to enumerate partitions twiceYu Watanabe2022-09-091-9/+3
* loop-util: always check if backing file is not attached yetYu Watanabe2022-09-091-8/+10
* loop-util: open loopback block device in loop_configure()Yu Watanabe2022-09-091-109/+86
* loop-util: save the flag about if LOOP_CONFIGURE ioctl works or not in loop_c...Yu Watanabe2022-09-091-20/+18
* loop-util: split out several functions fron loop_configure() and loop_device_...Yu Watanabe2022-09-091-108/+138
* Merge pull request #24571 from yuwata/dissect-loop-image-use-backing-fileYu Watanabe2022-09-071-79/+56
|\
| * loop-util: save backing file of loopback block deviceYu Watanabe2022-09-071-3/+29
| * loop-util: move device_has_block_children() to blockdev-util.cYu Watanabe2022-09-071-48/+1
| * blockdev-util: make block_device_remove_all_partitions() take sd_device objectYu Watanabe2022-09-071-2/+2
| * loop-util: store sd_device object for the loop deviceYu Watanabe2022-09-061-27/+25
* | loop-util: fix leak of file descriptor on failureYu Watanabe2022-09-071-2/+4
|/
* loop-util: lock_fd must be closed before calling LOOP_CLR_FDYu Watanabe2022-09-051-1/+3
* loop-util: drop unnecessary initializationsYu Watanabe2022-09-051-2/+2
* loop-util: use loop_device_open_full() when whole block device is passed to l...Yu Watanabe2022-09-051-59/+3
* loop-util: introduce loop_device_open_full()Yu Watanabe2022-09-051-13/+39
* loop-util: fix LoopDevice.devno assigned by loop_device_open()Yu Watanabe2022-09-051-1/+1
* loop-util: also set LoopDevice.diskseq when created with loop_device_open()Yu Watanabe2022-09-051-0/+6
* loop-util: fix memleak when fd is for a block device with non-zero offset or ...Yu Watanabe2022-09-031-1/+1
* loop-util: always set LoopDevice.nodeYu Watanabe2022-09-031-0/+5
* loop-util: rename loopdev -> nodeYu Watanabe2022-09-031-7/+7
* loop-util: make clearer how LoopDevice objects that do not encapsulate an act...Lennart Poettering2022-09-011-2/+2
* loop-util: lock the control device around clearing the loopback device and de...Lennart Poettering2022-09-011-19/+32
* loop-util: close lock fd before trying LOOP_CLR_FD in failure pathLennart Poettering2022-09-011-0/+3
* loop-util: drop code to attach empty fileLennart Poettering2022-09-011-50/+13
* loop-util: rework how we lock loopback block devicesLennart Poettering2022-09-011-18/+85
* loop-util: when clearing a loopback device delete partitions first, and take ...Lennart Poettering2022-09-011-2/+18
* loop: convert impossibe EBADF cases into assertsLennart Poettering2022-09-011-6/+3
* loop-util: use DEVNUM_FORMAT_STR moreLennart Poettering2022-09-011-3/+3
* loop-util: move resize partition ioctl call to blockdev-util.[ch]Lennart Poettering2022-09-011-13/+5
* loop: make 'Failed to configure loopback device' log message clearerLennart Poettering2022-08-291-1/+1
* tree-wide: use devpath_from_devnum() and device_open_from_devnum()Yu Watanabe2022-08-281-6/+2