Searched refs:prio (Results 1 - 6 of 6) sorted by relevance

/systemd/src/libudev/
H A Dlibudev-util.c108 int prio; local
110 prio = strtoul(priority, &endptr, 10);
112 if (prio >= 0 && prio <= 7)
113 return prio;
H A Dlibudev-private.h64 int udev_device_set_devlink_priority(struct udev_device *udev_device, int prio);
/systemd/test/
H A Dsysv-generator-test.py102 def add_sysv(self, fname, keys, enable=False, prio=1):
107 case, the priority can be given with "prio" (default to 1).
138 make_link('S%02i' % prio, rl)
140 make_link('K%02i' % (99 - prio), rl)
249 enable=True, prio=40)
250 self.add_sysv('must1', {}, enable=True, prio=10)
251 self.add_sysv('must2', {}, enable=True, prio=15)
252 self.add_sysv('may1', {}, enable=True, prio=20)
272 for prio, name in [(10, 'provider'), (15, 'consumer')]:
280 os.symlink('../init.d/' + name, os.path.join(d, 'S%02i%s' % (prio, nam
[all...]
/systemd/src/core/
H A Dswap.c431 static int swap_process_new(Manager *m, const char *device, int prio, bool set_flags) { argument
440 r = swap_setup_unit(m, device, device, prio, set_flags);
456 swap_setup_unit(m, dn, device, prio, set_flags);
477 swap_setup_unit(m, p, device, prio, set_flags);
1089 int prio = 0, k; local
1097 &dev, &prio);
1111 k = swap_process_new(m, d, prio, set_flags);
/systemd/src/udev/
H A Dudevd.c1379 int prio; local
1381 prio = util_log_priority(value);
1382 if (prio < 0)
1384 log_set_max_level(prio);
H A Dudev-rules.c1496 int prio = atoi(&pos[strlen("link_priority=")]); local
1498 rule_add_key(&rule_tmp, TK_A_DEVLINK_PRIO, op, NULL, &prio);

Completed in 1011 milliseconds