Home
last modified time | relevance | path

Searched refs:DEVNUM_FORMAT_VAL (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/hibernate-resume/
Dhibernate-resume.c45 …"Failed to write '" DEVNUM_FORMAT_STR "' to /sys/power/resume: %m", DEVNUM_FORMAT_VAL(st.st_rdev)); in main()
56 …log_info("Could not resume from '%s' (" DEVNUM_FORMAT_STR ").", device, DEVNUM_FORMAT_VAL(st.st_rd… in main()
/systemd-251/src/basic/
Ddevnum-util.h45 #define DEVNUM_FORMAT_VAL(d) major(d), minor(d) macro
48 … return ASSERT_PTR(snprintf_ok(buf, DEVNUM_STR_MAX, DEVNUM_FORMAT_STR, DEVNUM_FORMAT_VAL(d))); in format_devnum()
Ddevnum-util.c54 if (asprintf(ret, "/dev/%s/" DEVNUM_FORMAT_STR, t, DEVNUM_FORMAT_VAL(devnum)) < 0) in device_path_make_major_minor()
/systemd-251/src/core/
Dcgroup.c1087 … xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), bfq_weight); in set_bfq_weight()
1120 xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), io_weight); in cgroup_apply_io_device_weight()
1141 xsprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), blkio_weight); in cgroup_apply_blkio_device_weight()
1155 … xsprintf(buf, DEVNUM_FORMAT_STR " target=%" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), target); in cgroup_apply_io_device_latency()
1157 xsprintf(buf, DEVNUM_FORMAT_STR " target=max\n", DEVNUM_FORMAT_VAL(dev)); in cgroup_apply_io_device_latency()
1176 … xsprintf(buf, DEVNUM_FORMAT_STR " rbps=%s wbps=%s riops=%s wiops=%s\n", DEVNUM_FORMAT_VAL(dev), in cgroup_apply_io_device_limit()
1189 sprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), rbps); in cgroup_apply_blkio_device_limit()
1192 sprintf(buf, DEVNUM_FORMAT_STR " %" PRIu64 "\n", DEVNUM_FORMAT_VAL(dev), wbps); in cgroup_apply_blkio_device_limit()
Dnamespace.c892 DEVNUM_FORMAT_VAL(st.st_rdev)) < 0) in clone_device_node()
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c62 DEVNUM_FORMAT_VAL(devnum)); in open_parent_block_device()
/systemd-251/src/home/
Dhomework-luks.c1304 …(asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/partition", DEVNUM_FORMAT_VAL(st.st_rdev))… in home_setup_luks()
1315 …if (asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/start", DEVNUM_FORMAT_VAL(st.st_rdev)) … in home_setup_luks()
2208 …(asprintf(&sysfs, "/sys/dev/block/" DEVNUM_FORMAT_STR "/partition", DEVNUM_FORMAT_VAL(st.st_rdev))… in home_create_luks()