| /src/contrib/openpam/lib/libpam/ |
| H A D | openpam_log.c | 65 int priority; in openpam_log() local 73 priority = LOG_DEBUG; in openpam_log() 76 priority = LOG_INFO; in openpam_log() 79 priority = LOG_NOTICE; in openpam_log() 83 priority = LOG_ERR; in openpam_log() 88 vsyslog(priority, fmt, ap); in openpam_log() 100 int priority; in _openpam_log() local 108 priority = LOG_DEBUG; in _openpam_log() 111 priority = LOG_INFO; in _openpam_log() 114 priority = LOG_NOTICE; in _openpam_log() [all …]
|
| /src/contrib/pam-krb5/pam-util/ |
| H A D | logging.c | 101 log_vplain(struct pam_args *pargs, int priority, const char *fmt, va_list args) in log_vplain() argument 105 if (priority == LOG_DEBUG && (pargs == NULL || !pargs->debug)) in log_vplain() 111 pam_syslog(pargs->pamh, priority, "(user %s) %s", pargs->user, msg); in log_vplain() 114 pam_vsyslog(pargs->pamh, priority, fmt, args); in log_vplain() 119 syslog(priority | LOG_AUTHPRIV, "%s", msg); in log_vplain() 129 log_plain(struct pam_args *pargs, int priority, const char *fmt, ...) in log_plain() argument 134 log_vplain(pargs, priority, fmt, args); in log_plain() 147 log_pam(struct pam_args *pargs, int priority, int status, const char *fmt, in log_pam() argument 152 if (priority == LOG_DEBUG && (pargs == NULL || !pargs->debug)) in log_pam() 158 log_plain(NULL, priority, "%s", msg); in log_pam() [all …]
|
| /src/contrib/libpcap/rpcapd/ |
| H A D | log.c | 44 static void rpcapd_vlog_stderr(log_priority priority, const char *message, va_list ap) in rpcapd_vlog_stderr() argument 61 switch (priority) { in rpcapd_vlog_stderr() 92 static void rpcapd_vlog_systemlog(log_priority priority, const char *message, in rpcapd_vlog_systemlog() argument 121 rpcapd_vlog_stderr(priority, message, ap); in rpcapd_vlog_systemlog() 128 switch (priority) { in rpcapd_vlog_systemlog() 167 rpcapd_vlog_stderr(priority, message, ap); in rpcapd_vlog_systemlog() 171 static void rpcapd_vlog_systemlog(log_priority priority, const char *message, in rpcapd_vlog_systemlog() argument 185 switch (priority) { in rpcapd_vlog_systemlog() 242 void rpcapd_log(log_priority priority, const char *message, ...) in rpcapd_log() argument 246 if (priority != LOGPRIO_DEBUG || log_debug_messages) { in rpcapd_log() [all …]
|
| /src/contrib/libucl/tests/basic/ |
| H A D | load.in | 4 .load(try=false, multiline=false, trim=false, escape=false, key="key1", target="string", priority=1… 5 .load(try=false, multiline=true, trim=false, escape=false, key="key2", target="string", priority=1)… 6 .load(try=false, multiline=true, trim=true, escape=false, key="key3", target="string", priority=1) … 7 .load(try=false, multiline=true, trim=true, escape=true, key="key4", target="string", priority=1) "… 8 .load(try=false, multiline=false, trim=true, escape=false, key="key5", target="string", priority=1)… 9 .load(try=false, multiline=false, trim=false, escape=true, key="key6", target="string", priority=1)… 10 .load(try=false, multiline=false, trim=true, escape=true, key="key7", target="string", priority=1) … 11 .load(try=false, multiline=false, trim=false, escape=false, key="key8", target="int", priority=1) "… 12 .load(try=false, multiline=false, trim=false, escape=false, key="key9", target="int", priority=4) "… 13 .load(try=true, multiline=false, trim=false, escape=false, key="key10", target="string", priority=1…
|
| /src/sys/contrib/openzfs/cmd/zed/ |
| H A D | zed_log.c | 33 int priority; member 163 zed_log_stderr_open(int priority) in zed_log_stderr_open() argument 166 _ctx.priority = priority; in zed_log_stderr_open() 206 _zed_log_aux(int priority, const char *fmt, va_list vargs) in _zed_log_aux() argument 221 syslog(priority, "%s", buf); in _zed_log_aux() 223 if (_ctx.do_stderr && (priority <= _ctx.priority)) in _zed_log_aux() 232 zed_log_msg(int priority, const char *fmt, ...) in zed_log_msg() argument 238 _zed_log_aux(priority, fmt, vargs); in zed_log_msg()
|
| /src/usr.sbin/pkg/ |
| H A D | dns_utils.c | 51 l = da->priority; in srv_priority_cmp() 52 r = db->priority; in srv_priority_cmp() 67 l = da->priority; in srv_final_cmp() 68 r = db->priority; in srv_final_cmp() 123 unsigned int type, class, ttl, priority, weight, port; in dns_getsrvinfo() local 169 NS_GET16(priority, p); in dns_getsrvinfo() 191 res[n]->priority = priority; in dns_getsrvinfo() 203 priority = f = l = 0; in dns_getsrvinfo() 205 if (res[i]->priority != priority) { in dns_getsrvinfo() 209 priority = res[i]->priority; in dns_getsrvinfo()
|
| /src/crypto/krb5/src/lib/krb5/os/ |
| H A D | dnssrv.c | 87 if (*head == NULL || (*head)->priority > new->priority) { in place_srv_entry() 99 if (entry->next == NULL || entry->next->priority > new->priority) { in place_srv_entry() 160 srv->priority = rr->Data.SRV.wPriority; in krb5int_make_srv_query_realm() 169 TRACE_DNS_SRV_ANS(context, srv->host, srv->port, srv->priority, in krb5int_make_srv_query_realm() 195 unsigned short priority, weight; in k5_make_uri_query() local 224 SAFE_GETUINT16(base, rdlen, p, 2, priority, out); in k5_make_uri_query() 231 uri->priority = priority; in k5_make_uri_query() 240 TRACE_DNS_URI_ANS(context, uri->host, uri->priority, uri->weight); in k5_make_uri_query() 267 unsigned short priority, weight, port; in krb5int_make_srv_query_realm() local 305 SAFE_GETUINT16(base, rdlen, p, 2, priority, out); in krb5int_make_srv_query_realm() [all …]
|
| /src/contrib/ofed/opensm/complib/ |
| H A D | cl_log.c | 63 int priority, i; in cl_log_event() local 74 priority = LOG_ERR; in cl_log_event() 78 priority = LOG_WARNING; in cl_log_event() 83 priority = LOG_INFO; in cl_log_event() 106 syslog(priority, "%s data:\n%s\n", message, p_buf); in cl_log_event() 111 syslog(priority, "%s\n", message); in cl_log_event() 114 syslog(priority, "%s\n", message); in cl_log_event()
|
| /src/crypto/openssl/ssl/quic/ |
| H A D | quic_cfq.c | 23 uint32_t priority, pn_space, flags; member 91 if (a->priority > b->priority) in compare() 93 else if (a->priority < b->priority) in compare() 232 uint32_t priority, in ossl_quic_cfq_add_frame() argument 246 item->priority = priority; in ossl_quic_cfq_add_frame() 280 uint32_t priority) in ossl_quic_cfq_mark_lost() argument 291 if (priority != UINT32_MAX && priority != ex->priority) { in ossl_quic_cfq_mark_lost() 293 ex->priority = priority; in ossl_quic_cfq_mark_lost() 298 if (priority != UINT32_MAX) in ossl_quic_cfq_mark_lost() 299 ex->priority = priority; in ossl_quic_cfq_mark_lost()
|
| /src/libexec/bootpd/ |
| H A D | report.c | 90 report(int priority, const char *fmt,...) in report() argument 95 if ((priority < 0) || (priority >= numlevels)) { in report() 96 priority = numlevels - 1; in report() 107 progname, levelnames[priority], buf); in report() 111 syslog((priority | LOG_BOOTP), "%s", buf); in report()
|
| /src/contrib/pam-krb5/tests/fakepam/ |
| H A D | logging.c | 77 output_add(struct output *output, int priority, const char *string) in output_add() argument 88 output->lines[next].priority = priority; in output_add() 121 pam_syslog(const pam_handle_t *pamh, int priority, const char *format, ...) in pam_syslog() argument 126 pam_vsyslog(pamh, priority, format, args); in pam_syslog() 139 pam_vsyslog(const pam_handle_t *pamh UNUSED, int priority, const char *format, in pam_vsyslog() argument 147 output_add(messages, priority, message); in pam_vsyslog()
|
| /src/sys/contrib/ck/src/ |
| H A D | ck_ht.c | 414 struct ck_ht_entry *entry, *priority, snapshot; in ck_ht_gc() local 432 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_gc() 442 entry = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_gc() 450 if (priority != NULL) { in ck_ht_gc() 454 CK_HT_TYPE_STORE(&priority->key_length, entry->key_length); in ck_ht_gc() 455 CK_HT_TYPE_STORE(&priority->hash, entry->hash); in ck_ht_gc() 457 ck_pr_store_ptr_unsafe(&priority->value, (void *)entry->value); in ck_ht_gc() 459 ck_pr_store_ptr_unsafe(&priority->key, (void *)entry->key); in ck_ht_gc() 823 struct ck_ht_entry snapshot, *candidate, *priority; in ck_ht_set_spmc() local 832 candidate = ck_ht_map_probe_wr(map, h, &snapshot, &priority, in ck_ht_set_spmc() [all …]
|
| /src/sys/sys/ |
| H A D | taskqueue.h | 105 #define TASK_INITIALIZER(priority, func, context) \ argument 106 { .ta_priority = (priority), \ 119 #define TASK_INIT_FLAGS(task, priority, func, context, flags) do { \ argument 121 (task)->ta_priority = (priority); \ 130 struct timeout_task *timeout_task, int priority, task_fn_t func, 132 #define TIMEOUT_TASK_INIT(queue, timeout_task, priority, func, context) do { \ argument 133 _Static_assert((priority) >= 0 && (priority) <= 255, \ 135 _timeout_task_init(queue, timeout_task, priority, func, context); \
|
| /src/contrib/wpa/wpa_supplicant/ |
| H A D | wpa_supplicant.conf | 1771 priority=5 1780 priority=2 1791 priority=2 1819 priority=1 1833 priority=10 1846 priority=2 1877 priority=2 1993 priority=5 2006 priority=5 2101 priority=20
|
| /src/usr.sbin/autofs/ |
| H A D | log.c | 86 log_common(int priority, int log_errno, const char *fmt, va_list ap) in log_common() argument 111 syslog(priority, "%s (%s): %s", in log_common() 116 syslog(priority, "%s: %s", in log_common() 120 syslog(priority, "%s", msgbuf_strvised); in log_common() 129 syslog(priority, "%s (%s): %s: %s", in log_common() 134 syslog(priority, "%s: %s: %s", in log_common() 139 syslog(priority, "%s: %s", in log_common()
|
| /src/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | ti,c64x+megamod-pic.txt | 18 Single cell specifying the core interrupt priority level (4-15) where 19 4 is highest priority and 15 is lowest priority. 37 One for each core interrupt priority level. In addition to the combined 50 The cells contain the core priority interrupt to which the 56 priority interrupts. The first cell corresponds to 57 core priority 4 and the last cell corresponds to 58 core priority 15. The value of each cell is the 70 be the core priority level, not the megamodule interrupt number. 101 mapped directly to core priority interrupt 8. The node using this interrupt
|
| /src/crypto/openssl/crypto/bio/ |
| H A D | bss_log.c | 86 static void xsyslog(BIO *bp, int priority, const char *string); 131 int priority, i; in slg_write() local 170 priority = mapping[i].log_level; in slg_write() 173 xsyslog(b, priority, pp); in slg_write() 211 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 220 switch (priority) { in xsyslog() 267 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 294 switch (priority) { in xsyslog() 360 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 362 syslog(priority, "%s", string); in xsyslog()
|
| /src/crypto/krb5/src/lib/krb5/ccache/ |
| H A D | ccselect.c | 35 int priority; member 102 ret = handle->vt.init(context, &handle->data, &handle->priority); in load_modules() 128 int priority; in krb5_cc_select() local 166 for (priority = KRB5_CCSELECT_PRIORITY_AUTHORITATIVE; in krb5_cc_select() 167 priority >= KRB5_CCSELECT_PRIORITY_HEURISTIC; priority--) { in krb5_cc_select() 170 if (h->priority != priority) in krb5_cc_select()
|
| /src/lib/libiscsiutil/ |
| H A D | log.c | 84 log_common(int priority, int log_errno, const char *fmt, va_list ap) in log_common() argument 109 syslog(priority, "%s (%s): %s", in log_common() 114 syslog(priority, "%s: %s", in log_common() 118 syslog(priority, "%s", msgbuf_strvised); in log_common() 127 syslog(priority, "%s (%s): %s: %s", in log_common() 132 syslog(priority, "%s: %s: %s", in log_common() 137 syslog(priority, "%s: %s", in log_common()
|
| /src/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
| H A D | t_spawnattr.c | 79 int max, min, new, priority; in get_different_priority() local 86 priority = param.sched_priority; in get_different_priority() 92 new = priority + 1; in get_different_priority() 109 int pid, scheduler, child_scheduler, priority, status, err, pfd[2]; in ATF_TC_BODY() local 127 priority = get_different_priority(scheduler); in ATF_TC_BODY() 128 sp.sched_priority = priority; in ATF_TC_BODY()
|
| /src/crypto/openssl/ssl/ |
| H A D | pqueue.c | 25 memcpy(item->priority, prio64be, sizeof(item->priority)); in pitem_new() 62 int cmp = memcmp(next->priority, item->priority, 8); in pqueue_insert() 108 if (memcmp(next->priority, prio64be, 8) == 0) { in pqueue_find() 115 if (memcmp(next->priority, prio64be, 8) == 0) in pqueue_find()
|
| /src/share/examples/pf/ |
| H A D | queue1 | 7 queue deflt bandwidth 10% priority 0 cbq(default ecn) 8 queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 } 11 queue mail bandwidth 10% priority 1 12 queue ssh bandwidth 100Kb priority 7 cbq(borrow) 13 queue rsets bandwidth 7500b priority 0 cbq(red)
|
| H A D | queue2 | 3 # give interactive ssh traffic priority over ssh bulk transfers (scp, sftp) 12 queue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers } 15 queue mail bandwidth 10% priority 0 cbq(borrow ecn) 17 queue ssh_interactive bandwidth 25% priority 7 18 queue ssh_bulk bandwidth 75% priority 0
|
| /src/sys/dev/ixl/ |
| H A D | i40e_dcb.c | 72 u8 priority; in i40e_parse_ieee_etscfg_tlv() local 102 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etscfg_tlv() 104 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv() 105 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etscfg_tlv() 107 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv() 142 u8 priority; in i40e_parse_ieee_etsrec_tlv() local 157 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etsrec_tlv() 159 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv() 160 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etsrec_tlv() 162 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv() [all …]
|
| /src/sys/kern/ |
| H A D | subr_devstat.c | 74 devstat_priority priority); 84 devstat_priority priority) in devstat_new_entry() argument 99 flags, device_type, priority); in devstat_new_entry() 114 devstat_priority priority) in devstat_add_entry() argument 147 if ((priority <= ds_tmp->priority) in devstat_add_entry() 149 || (priority > ds_next->priority))) { in devstat_add_entry() 153 } else if (priority > ds_tmp->priority) { in devstat_add_entry() 182 ds->priority = priority; in devstat_add_entry() 455 CP(*nds, ds32, priority); in sysctl_devstat()
|