Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 21 of 21) sorted by relevance

/systemd-251/test/
Dsysv-generator-test.py88 def add_sysv(self, fname, keys, enable=False, prio=1): argument
122 make_link('S%02i' % prio, rl)
124 make_link('K%02i' % (99 - prio), rl)
234 enable=True, prio=40)
235 self.add_sysv('must1', {}, enable=True, prio=10)
236 self.add_sysv('must2', {}, enable=True, prio=15)
237 self.add_sysv('may1', {}, enable=True, prio=20)
257 for prio, name in [(10, 'provider'), (15, 'consumer')]:
265 os.symlink('../init.d/' + name, os.path.join(d, 'S{:>2}{}'.format(prio, name)))
300 self.add_sysv('foo', {'Provides': 'foo common'}, enable=True, prio=1)
[all …]
/systemd-251/src/basic/
Dprocess-util.c742 int r, prio; in wait_for_terminate_and_check() local
754 prio = flags & WAIT_LOG_ABNORMAL ? LOG_ERR : LOG_DEBUG; in wait_for_terminate_and_check()
758 return log_full_errno(prio, r, "Failed to wait for %s: %m", strna(name)); in wait_for_terminate_and_check()
771 … log_full(prio, "%s terminated by signal %s.", strna(name), signal_to_string(status.si_status)); in wait_for_terminate_and_check()
775 log_full(prio, "%s failed due to unknown reason.", strna(name)); in wait_for_terminate_and_check()
1220 int prio, r; in safe_fork_full() local
1225 prio = flags & FORK_LOG ? LOG_ERR : LOG_DEBUG; in safe_fork_full()
1251 return log_full_errno(prio, errno, "Failed to set signal mask: %m"); in safe_fork_full()
1262 return log_full_errno(prio, errno, "Failed to fork: %m"); in safe_fork_full()
1309 log_full_errno(prio, errno, "Failed to set death signal: %m"); in safe_fork_full()
[all …]
/systemd-251/src/network/tc/
Dets.c62 r = sd_netlink_message_append_u8(req, TCA_ETS_PRIOMAP_BAND, ets->prio[i]); in enhanced_transmission_selection_fill_message()
264 memzero(ets->prio, sizeof(uint8_t) * (TC_PRIO_MAX + 1)); in config_parse_ets_prio()
300 ets->prio[ets->n_prio++] = v; in config_parse_ets_prio()
331 if (ets->prio[i] >= ets->n_bands) in enhanced_transmission_selection_verify()
Dets.h17 uint8_t prio[TC_PRIO_MAX + 1]; member
Dhtb.c185 .prio = htb->priority, in hierarchy_token_bucket_class_fill_message()
/systemd-251/src/journal/
Djournald-stream.c339 int prio, r; in syslog_parse_priority_and_facility() local
344 r = safe_atoi(s, &prio); in syslog_parse_priority_and_facility()
348 if (prio < 0 || prio > 999) in syslog_parse_priority_and_facility()
351 return prio; in syslog_parse_priority_and_facility()
/systemd-251/test/units/
Dsched_idle_ok.service3 Description=Sched idle with prio 0
Dsched_rr_ok.service3 Description=Default prio for RR
Dsched_rr_change.service3 Description=Change prio
/systemd-251/src/core/
Dswap.c494 static void swap_process_new(Manager *m, const char *device, int prio, bool set_flags) { in swap_process_new() argument
502 if (swap_setup_unit(m, device, device, prio, set_flags) < 0) in swap_process_new()
517 (void) swap_setup_unit(m, dn, device, prio, set_flags); in swap_process_new()
534 (void) swap_setup_unit(m, devlink, device, prio, set_flags); in swap_process_new()
1177 int prio = 0, k; in swap_load_proc_swaps() local
1185 &dev, &prio); in swap_load_proc_swaps()
1200 (void) swap_process_new(m, d, prio, set_flags); in swap_load_proc_swaps()
Dservice.c933 static int service_is_suitable_main_pid(Service *s, pid_t pid, int prio) { in service_is_suitable_main_pid() argument
944 …return log_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(EPERM), "New main PID "PID_FMT" is the m… in service_is_suitable_main_pid()
947 …return log_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(EPERM), "New main PID "PID_FMT" is the c… in service_is_suitable_main_pid()
950 …return log_unit_full_errno(UNIT(s), prio, SYNTHETIC_ERRNO(ESRCH), "New main PID "PID_FMT" does not… in service_is_suitable_main_pid()
965 int r, prio; in service_load_pid_file() local
973 prio = may_warn ? LOG_INFO : LOG_DEBUG; in service_load_pid_file()
985 return log_unit_full_errno(UNIT(s), prio, fd, in service_load_pid_file()
998 … return log_unit_full_errno(UNIT(s), prio, r, "Failed to parse PID from file %s: %m", s->pid_file); in service_load_pid_file()
1003 r = service_is_suitable_main_pid(s, pid, prio); in service_load_pid_file()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-message-nfnl.c75 int prio) { in sd_nfnl_nft_message_new_basechain() argument
104 r = sd_netlink_message_append_u32(m, NFTA_HOOK_PRIORITY, htobe32(prio)); in sd_nfnl_nft_message_new_basechain()
/systemd-251/src/shared/
Dlogs-show.c1125 int prio, in output_cat_field() argument
1135 get_log_colors(prio, &color_on, &color_off, &highlight_on); in output_cat_field()
1187 int r, prio = LOG_INFO; in output_cat() local
1215 prio = c - '0'; in output_cat()
1220 return output_cat_field(f, j, flags, prio, "MESSAGE", highlight); in output_cat()
1223 … r = output_cat_field(f, j, flags, prio, field, streq(field, "MESSAGE") ? highlight : NULL); in output_cat()
/systemd-251/src/basic/linux/
Dpkt_sched.h360 __u8 prio; /* prio of this VQ */ member
416 __u32 prio; member
Dif_bridge.h292 __u16 prio; member
Dif_link.h490 __u8 prio[2]; member
/systemd-251/src/systemd/
Dsd-netlink.h223 const char *type, uint8_t hook, int prio);
/systemd-251/catalog/
Dsystemd.pt_BR.catalog.in5 # Catálogo de mensagens para as mensagens do próprio systemd
/systemd-251/src/test/
Dmeson.build584 [files('test-sched-prio.c'),
/systemd-251/src/udev/
Dudev-rules.c832 int prio; in parse_token() local
834 r = safe_atoi(tmp, &prio); in parse_token()
837 … r = rule_line_add_token(rule_line, TK_A_OPTIONS_DEVLINK_PRIORITY, op, NULL, INT_TO_PTR(prio)); in parse_token()
/systemd-251/
DTODO768 with higher prio explicitly, and then watch the entire rest with P_ALL.
772 and ignore all lower-prio ones from that point on