Home
last modified time | relevance | path

Searched refs:devt (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/shared/
Dblockdev-util.c19 dev_t devt; in block_get_whole_disk() local
47 r = parse_devnum(s, &devt); in block_get_whole_disk()
52 xsprintf_sys_block_path(p, "/queue", devt); in block_get_whole_disk()
56 *ret = devt; in block_get_whole_disk()
107 dev_t devt; in block_get_originating() local
173 r = parse_devnum(t, &devt); in block_get_originating()
177 if (major(devt) == 0) in block_get_originating()
180 *ret = devt; in block_get_originating()
217 int lock_whole_block_device(dev_t devt, int operation) { in lock_whole_block_device() argument
225 r = block_get_whole_disk(devt, &whole_devt); in lock_whole_block_device()
[all …]
Dblockdev-util.h24 int lock_whole_block_device(dev_t devt, int operation);
/systemd-251/src/udev/
Dudevadm-lock.c148 dev_t devt, whole_devt; in find_devno() local
165 devt = st.st_rdev; in find_devno()
171 devt = st.st_dev; in find_devno()
182 r = btrfs_get_block_device_fd(regfd, &devt); in find_devno()
189 r = block_get_whole_disk(devt, &whole_devt); in find_devno()
/systemd-251/src/volatile-root/
Dvolatile-root.c119 dev_t devt; in run() local
175 r = get_block_device_harder(path, &devt); in run()
181 r = device_path_make_major_minor(S_IFBLK, devt, &dn); in run()
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c814 dev_t devt; in sd_device_new_from_device_id() local
819 r = parse_devnum(id + 1, &devt); in sd_device_new_from_device_id()
823 return sd_device_new_from_devnum(ret, id[0], devt); in sd_device_new_from_device_id()
/systemd-251/src/partition/
Drepart.c4008 dev_t devt; in context_open_copy_block_paths() local
4012 r = btrfs_get_block_device_fd(source_fd, &devt); in context_open_copy_block_paths()
4018 r = sd_device_new_from_devnum(&dev, 'b', devt); in context_open_copy_block_paths()