Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/NextBSD/lib/libdispatch/src/
HDinline_internal.h147 pthread_priority_t priority) in _dispatch_wqthread_override_start() argument
151 (void)_pthread_workqueue_override_start_direct(thread, priority); in _dispatch_wqthread_override_start()
153 (void)thread; (void)priority; in _dispatch_wqthread_override_start()
169 _dispatch_thread_override_start(mach_port_t thread, pthread_priority_t priority) in _dispatch_thread_override_start() argument
173 (void)_pthread_override_qos_class_start_direct(thread, priority); in _dispatch_thread_override_start()
175 (void)thread; (void)priority; in _dispatch_thread_override_start()
206 static inline void _dispatch_reset_defaultpriority(pthread_priority_t priority);
207 static inline void _dispatch_set_priority(pthread_priority_t priority);
363 _dispatch_get_root_queue(qos_class_t priority, bool overcommit) in _dispatch_get_root_queue() argument
365 if (overcommit) switch (priority) { in _dispatch_get_root_queue()
[all …]
/NextBSD/contrib/openpam/lib/libpam/
HDopenpam_log.c67 int priority; in openpam_log() local
75 priority = LOG_DEBUG; in openpam_log()
78 priority = LOG_INFO; in openpam_log()
81 priority = LOG_NOTICE; in openpam_log()
85 priority = LOG_ERR; in openpam_log()
90 vsyslog(priority, fmt, ap); in openpam_log()
102 int priority; in _openpam_log() local
110 priority = LOG_DEBUG; in _openpam_log()
113 priority = LOG_INFO; in _openpam_log()
116 priority = LOG_NOTICE; in _openpam_log()
[all …]
/NextBSD/crypto/openssl/crypto/pqueue/
HDpqueue.c75 memcpy(item->priority, prio64be, sizeof(item->priority)); in pitem_new()
123 int cmp = memcmp(next->priority, item->priority, 8); in pqueue_insert()
169 if (memcmp(next->priority, prio64be, 8) == 0) { in pqueue_find()
176 if (memcmp(next->priority, prio64be, 8) == 0) in pqueue_find()
198 item->priority[0], item->priority[1], in pqueue_print()
199 item->priority[2], item->priority[3], in pqueue_print()
200 item->priority[4], item->priority[5], in pqueue_print()
201 item->priority[6], item->priority[7]); in pqueue_print()
/NextBSD/usr.sbin/pkg/
HDdns_utils.c51 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()
122 unsigned int type, class, ttl, priority, weight, port; in dns_getsrvinfo() local
168 NS_GET16(priority, p); in dns_getsrvinfo()
190 res[n]->priority = priority; in dns_getsrvinfo()
202 priority = f = l = 0; in dns_getsrvinfo()
204 if (res[i]->priority != priority) { in dns_getsrvinfo()
208 priority = res[i]->priority; in dns_getsrvinfo()
/NextBSD/contrib/ofed/management/opensm/complib/
HDcl_log.c64 int priority, i; in cl_log_event() local
75 priority = LOG_ERR; in cl_log_event()
79 priority = LOG_WARNING; in cl_log_event()
84 priority = LOG_INFO; in cl_log_event()
107 syslog(priority, "%s data:\n%s\n", message, p_buf); in cl_log_event()
112 syslog(priority, "%s\n", message); in cl_log_event()
115 syslog(priority, "%s\n", message); in cl_log_event()
/NextBSD/libexec/bootpd/
HDreport.c92 report(int priority, const char *fmt,...) in report() argument
97 if ((priority < 0) || (priority >= numlevels)) { in report()
98 priority = numlevels - 1; in report()
109 progname, levelnames[priority], buf); in report()
113 syslog((priority | LOG_BOOTP), "%s", buf); in report()
/NextBSD/contrib/wpa/wpa_supplicant/
HDwpa_supplicant.conf1164 priority=5
1173 priority=2
1184 priority=2
1212 priority=1
1226 priority=10
1239 priority=2
1270 priority=2
1386 priority=5
1399 priority=5
1506 priority=20
/NextBSD/sys/kern/
HDkern_thrworkq.c402 uint32_t priority; in twq_timer_work() local
421 for (priority = 0; priority < WORKQ_OS_NUMPRIOS; priority++) { in twq_timer_work()
422 if (wq->wq_list_bitmap & (1 << priority)) in twq_timer_work()
426 KASSERT(priority < WORKQ_OS_NUMPRIOS, in twq_timer_work()
433 for (affinity_tag = 0; affinity_tag < wq->wq_reqconc[priority]; in twq_timer_work()
449 for (i = 0; i <= priority; i++) { in twq_timer_work()
608 uint32_t priority; in thrworkq_thread_yielded() local
625 for (priority = 0; in thrworkq_thread_yielded()
626 priority < WORKQ_OS_NUMPRIOS; priority++) { in thrworkq_thread_yielded()
628 (1 << priority)) { in thrworkq_thread_yielded()
[all …]
HDsubr_devstat.c78 devstat_priority priority);
88 devstat_priority priority) in devstat_new_entry() argument
103 flags, device_type, priority); in devstat_new_entry()
118 devstat_priority priority) in devstat_add_entry() argument
151 if ((priority <= ds_tmp->priority) in devstat_add_entry()
153 || (priority > ds_next->priority))) { in devstat_add_entry()
157 } else if (priority > ds_tmp->priority) { in devstat_add_entry()
186 ds->priority = priority; in devstat_add_entry()
/NextBSD/sys/sys/
HDtaskqueue.h98 #define TASK_INITIALIZER(priority, func, context) \ argument
100 .ta_priority = (priority), \
113 #define TASK_INIT(task, priority, func, context) do { \ argument
115 (task)->ta_priority = (priority); \
121 struct timeout_task *timeout_task, int priority, task_fn_t func,
123 #define TIMEOUT_TASK_INIT(queue, timeout_task, priority, func, context) \ argument
124 _timeout_task_init(queue, timeout_task, priority, func, context);
220 #define GROUPTASK_INIT(gtask, priority, func, context) \ argument
221 TASK_INIT(&(gtask)->gt_task, priority, func, context)
/NextBSD/usr.sbin/iscsid/
HDlog.c87 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()
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()
/NextBSD/usr.sbin/ctld/
HDlog.c87 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()
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()
/NextBSD/usr.sbin/autofs/
HDlog.c87 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()
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()
/NextBSD/crypto/openssl/crypto/bio/
HDbss_log.c131 static void xsyslog(BIO *bp, int priority, const char *string);
173 int priority, i; in slg_write() local
251 priority = mapping[i].log_level; in slg_write()
254 xsyslog(b, priority, pp); in slg_write()
292 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument
301 switch (priority) { in xsyslog()
348 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument
375 switch (priority) { in xsyslog()
441 static void xsyslog(BIO *bp, int priority, const char *string) in xsyslog() argument
443 syslog(priority, "%s", string); in xsyslog()
/NextBSD/cddl/contrib/dtracetoolkit/Examples/
HDpridist_example.txt48 perl, executing an infinite loop, begins with a high priority of 55 to 59
51 at priority 45 to 49, for 80 ms at priority 35 to 39, down to 60 ms at a
52 priority 15 to 19 - at which point I had hit Ctrl-C to end sampling.
57 setiathome is running with the lowest priority, in the 0 to 4 range.
116 here is due to ts_maxwait triggering a priority boot to avoid CPU starvation;
117 the priority is boosted to the 50 to 54 range, then decreases by 10 until
162 The process has settled to a pattern of 0 priority, ts_maxwait boot to 50,
235 Here we have sampled the kernel running at a priority of 165 to 169. This
236 is the interrupt priority range, and would be an interrupt servicing thread.
HDpriclass_example.txt60 The IA interactive class had 30 samples of a 50 to 59 priority, a fairly
61 high priority. This class is used for interactive processes, such as
65 The SYS system class has had 4959 samples at a < 0 priority - the lowest,
70 The RT real time class had 110 samples in the 100 to 109 priority range.
80 reduces the priority of CPU bound processes so that they interefere less
81 with I/O bound processes. The result is more samples in the lower priority
/NextBSD/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
HDt_spawnattr.c80 int max, min, new, priority; in get_different_priority() local
87 priority = param.sched_priority; in get_different_priority()
93 new = priority + 1; in get_different_priority()
110 int pid, scheduler, child_scheduler, priority, status, err, pfd[2]; in ATF_TC_BODY() local
128 priority = get_different_priority(scheduler); in ATF_TC_BODY()
129 sp.sched_priority = priority; in ATF_TC_BODY()
/NextBSD/share/examples/pf/
HDqueue18 queue deflt bandwidth 10% priority 0 cbq(default ecn)
9 queue http bandwidth 1.5Mb priority 3 { http_vhosts, http_cust1 }
12 queue mail bandwidth 10% priority 1
13 queue ssh bandwidth 100Kb priority 7 cbq(borrow)
14 queue rsets bandwidth 7500b priority 0 cbq(red)
HDqueue24 # give interactive ssh traffic priority over ssh bulk transfers (scp, sftp)
13 queue http bandwidth 60% priority 2 cbq(borrow red) { employees, developers }
16 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
18 queue ssh_interactive bandwidth 25% priority 7
19 queue ssh_bulk bandwidth 75% priority 0
HDackpri4 # Use a simple priority queue to prioritize empty (no payload) TCP ACKs,
12 # priority queue below, download drops only to 48 kB/s.
20 # value. If it's set too high, the priority queue is not effective, and
25 queue q_pri priority 7
26 queue q_def priority 1 priq(default)
HDfaq-example321 # www_ext_http - http traffic from the WWW server; higher priority.
27 queue www_ext_http bandwidth 50% priority 3 cbq(red borrow)
28 queue www_ext_misc bandwidth 50% priority 1 cbq(borrow)
29 queue boss_ext bandwidth 500Kb priority 3 cbq(borrow)
46 # boss_int - traffic to the boss's PC; assign a higher priority.
52 queue boss_int bandwidth 250Kb priority 3 cbq(borrow)
67 # net_dmz_http - http traffic; higher priority.
72 queue net_dmz_http bandwidth 50% priority 3 cbq(red borrow)
73 queue net_dmz_misc bandwidth 50% priority 1 cbq(default borrow)
/NextBSD/contrib/gcc/config/i386/
HDnwld.c36 nwld_named_section_asm_out_constructor (rtx symbol, int priority) in nwld_named_section_asm_out_constructor() argument
48 MAX_INIT_PRIORITY - priority); in nwld_named_section_asm_out_constructor()
57 nwld_named_section_asm_out_destructor (rtx symbol, int priority) in nwld_named_section_asm_out_destructor() argument
68 MAX_INIT_PRIORITY - priority); in nwld_named_section_asm_out_destructor()
/NextBSD/contrib/ntp/scripts/update-leap/
HDupdate-leap.in182 if ($QUIET ne "" and ( $priority eq "info" or $priority eq "notice" or $priority eq "debug" ) ) {
185 printf "%s: $message\n", uc $priority;
190 … if (($CRONJOB ne "" and ($priority ne "info" ) and ($priority ne "debug" )) || ($VERBOSE ne "")) {
192 print STDERR "$0: $priority: $message\n";
194 syslog($priority, $message);
/NextBSD/sbin/launchd/
HDlog.c92 lm->pri = attr->priority; in _logmsg_add()
134 .priority = pri, in launchd_syslog()
158 bool echo2console = (attr->priority & LOG_CONSOLE); in launchd_vsyslog()
159 attr->priority &= ~LOG_CONSOLE; in launchd_vsyslog()
160 if (attr->priority == LOG_APPLEONLY && launchd_apple_internal) { in launchd_vsyslog()
161 attr->priority = LOG_NOTICE; in launchd_vsyslog()
179 if (attr->priority == LOG_PERF) { in launchd_vsyslog()
192 attr->priority = LOG_DEBUG + 1; in launchd_vsyslog()
237 if ((LOG_MASK(attr->priority) & _launchd_log_up2)) { in launchd_vsyslog()
/NextBSD/sys/geom/mirror/
HDg_mirror_ctl.c99 intmax_t *slicep, *priority; in g_mirror_ctl_configure() local
154 priority = gctl_get_paraml(req, "priority", sizeof(*priority)); in g_mirror_ctl_configure()
155 if (priority == NULL) { in g_mirror_ctl_configure()
159 if (*priority < -1 || *priority > 255) { in g_mirror_ctl_configure()
161 *priority); in g_mirror_ctl_configure()
170 if (*priority > -1) { in g_mirror_ctl_configure()
271 if (disk->d_priority == *priority) in g_mirror_ctl_configure()
274 disk->d_priority = *priority; in g_mirror_ctl_configure()
394 intmax_t *priority; in g_mirror_ctl_insert() local
414 priority = gctl_get_paraml(req, "priority", sizeof(*priority)); in g_mirror_ctl_insert()
[all …]

12345678910>>...17