Searched refs:parse_devnum (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/test/ |
D | test-devnum-util.c | 10 TEST(parse_devnum) { in TEST() argument 13 assert_se(parse_devnum("", &dev) == -EINVAL); in TEST() 14 assert_se(parse_devnum("junk", &dev) == -EINVAL); in TEST() 15 assert_se(parse_devnum("0", &dev) == -EINVAL); in TEST() 16 assert_se(parse_devnum("5", &dev) == -EINVAL); in TEST() 17 assert_se(parse_devnum("5:", &dev) == -EINVAL); in TEST() 18 assert_se(parse_devnum(":5", &dev) == -EINVAL); in TEST() 19 assert_se(parse_devnum("-1:-1", &dev) == -EINVAL); in TEST() 21 assert_se(parse_devnum("4294967295:4294967295", &dev) == -EINVAL); in TEST() 23 assert_se(parse_devnum("8:11", &dev) >= 0 && major(dev) == 8 && minor(dev) == 11); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | devnum-util.c | 12 int parse_devnum(const char *s, dev_t *ret) { in parse_devnum() function 124 r = parse_devnum(w, &devnum); in device_path_parse_major_minor()
|
D | devnum-util.h | 10 int parse_devnum(const char *s, dev_t *ret);
|
/systemd-251/src/shared/ |
D | blockdev-util.c | 47 r = parse_devnum(s, &devt); in block_get_whole_disk() 173 r = parse_devnum(t, &devt); in block_get_originating()
|
D | sleep-config.c | 277 r = parse_devnum(resume_str, &resume); in read_resume_files()
|
D | loop-util.c | 880 r = parse_devnum(buffer, &devno); in resize_partition()
|
/systemd-251/src/sysext/ |
D | sysext.c | 87 r = parse_devnum(buf, &dev); in is_our_mount_point()
|
/systemd-251/src/login/ |
D | logind-session.c | 381 k = parse_devnum(word, &dev); in session_load_devices()
|
/systemd-251/src/libsystemd/sd-device/ |
D | sd-device.c | 819 r = parse_devnum(id + 1, &devt); in sd_device_new_from_device_id()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 3107 r = parse_devnum(i.argument, &i.major_minor); in parse_line()
|
/systemd-251/src/partition/ |
D | repart.c | 3888 r = parse_devnum(t, &sl); in resolve_copy_blocks_auto()
|