/freebsd/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 …]
|
/freebsd/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 …]
|
/freebsd/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…
|
H A D | 18.in | 16 .priority 3 25 .priority 1 30 key2 = "OMG" # low priority
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_log.c | 32 int priority; member 162 zed_log_stderr_open(int priority) in zed_log_stderr_open() argument 165 _ctx.priority = priority; in zed_log_stderr_open() 205 _zed_log_aux(int priority, const char *fmt, va_list vargs) in _zed_log_aux() argument 220 syslog(priority, "%s", buf); in _zed_log_aux() 222 if (_ctx.do_stderr && (priority <= _ctx.priority)) in _zed_log_aux() 231 zed_log_msg(int priority, const char *fmt, ...) in zed_log_msg() argument 237 _zed_log_aux(priority, fmt, vargs); in zed_log_msg()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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 …]
|
/freebsd/sys/sys/ |
H A D | taskqueue.h | 105 #define TASK_INITIALIZER(priority, func, context) \ 106 { .ta_priority = (priority), \ 119 #define TASK_INIT_FLAGS(task, priority, func, context, flags) do { \ 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 { \ 133 _Static_assert((priority) >= 0 && (priority) <= 255, \ 134 "struct task priority is 8 bit in size"); \ 135 _timeout_task_init(queue, timeout_task, priority, fun 113 TASK_INITIALIZER(priority,func,context) global() argument 127 TASK_INIT_FLAGS(task,priority,func,context,flags) global() argument 140 TIMEOUT_TASK_INIT(queue,timeout_task,priority,func,context) global() argument [all...] |
/freebsd/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
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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
|
H A D | arm,nvic.txt | 5 vary in the number of interrupts and priority bits per interrupt. 19 The 2nd cell is the priority of the interrupt. 24 - arm,num-irq-priority-bits: The number of priority bits implemented by the 35 arm,num-irq-priority-bits = <4>;
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_log.c | 84 static void xsyslog(BIO *bp, int priority, const char *string); 129 int priority, i; in slg_write() local 210 priority = mapping[i].log_level; in slg_write() 213 xsyslog(b, priority, pp); in slg_write() 251 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 260 switch (priority) { in xsyslog() 307 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 334 switch (priority) { in xsyslog() 400 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument 402 syslog(priority, "%s", string); in xsyslog()
|
/freebsd/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()
|
/freebsd/crypto/openssl/ssl/ |
H A D | pqueue.c | 27 memcpy(item->priority, prio64be, sizeof(item->priority)); in pitem_new() 67 int cmp = memcmp(next->priority, item->priority, 8); in pqueue_insert() 113 if (memcmp(next->priority, prio64be, 8) == 0) { in pqueue_find() 120 if (memcmp(next->priority, prio64be, 8) == 0) in pqueue_find()
|
/freebsd/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
|
H A D | ackpri | 3 # Use a simple priority queue to prioritize empty (no payload) TCP ACKs, 11 # priority queue below, download drops only to 48 kB/s. 19 # value. If it's set too high, the priority queue is not effective, and 24 queue q_pri priority 7 25 queue q_def priority 1 priq(default)
|
H A D | faq-example3 | 20 # www_ext_http - http traffic from the WWW server; higher priority. 26 queue www_ext_http bandwidth 50% priority 3 cbq(red borrow) 27 queue www_ext_misc bandwidth 50% priority 1 cbq(borrow) 28 queue boss_ext bandwidth 500Kb priority 3 cbq(borrow) 45 # boss_int - traffic to the boss's PC; assign a higher priority. 51 queue boss_int bandwidth 250Kb priority 3 cbq(borrow) 66 # net_dmz_http - http traffic; higher priority. 71 queue net_dmz_http bandwidth 50% priority 3 cbq(red borrow) 72 queue net_dmz_misc bandwidth 50% priority 1 cbq(default borrow)
|
/freebsd/sys/kern/ |
H A D | subr_devstat.c | 70 devstat_priority priority); 80 devstat_priority priority) in devstat_new_entry() argument 95 flags, device_type, priority); in devstat_new_entry() 110 devstat_priority priority) in devstat_add_entry() argument 143 if ((priority <= ds_tmp->priority) in devstat_add_entry() 145 || (priority > ds_next->priority))) { in devstat_add_entry() 149 } else if (priority > ds_tmp->priority) { in devstat_add_entry() 178 ds->priority = priority; in devstat_add_entry()
|
/freebsd/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 …]
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
H A D | fman_memac.c | 281 uint8_t priority, in fman_memac_set_tx_pause_frames() argument 289 if (priority == 0xff) { in fman_memac_set_tx_pause_frames() 295 priority = 0; in fman_memac_set_tx_pause_frames() 306 tmp = ioread32be(®s->pause_quanta[priority / 2]); in fman_memac_set_tx_pause_frames() 307 if (priority % 2) in fman_memac_set_tx_pause_frames() 311 tmp |= ((uint32_t)pause_time << (16 * (priority % 2))); in fman_memac_set_tx_pause_frames() 312 iowrite32be(tmp, ®s->pause_quanta[priority / 2]); in fman_memac_set_tx_pause_frames() 314 tmp = ioread32be(®s->pause_thresh[priority / 2]); in fman_memac_set_tx_pause_frames() 315 if (priority % 2) in fman_memac_set_tx_pause_frames() 319 tmp |= ((uint32_t)thresh_time<<(16 * (priority % 2))); in fman_memac_set_tx_pause_frames() [all …]
|