/freebsd-10.1-release/sys/arm/include/ |
H A D | runq.h | 36 #define RQB_BIT(pri) (1 << ((pri) & (RQB_BPW - 1))) 37 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
/freebsd-10.1-release/sys/i386/include/ |
H A D | runq.h | 36 #define RQB_BIT(pri) (1 << ((pri) & (RQB_BPW - 1))) 37 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
/freebsd-10.1-release/sys/amd64/include/ |
H A D | runq.h | 36 #define RQB_BIT(pri) (1ul << ((pri) & (RQB_BPW - 1))) 37 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
H A D | sf_buf.h | 45 sf_buf_alloc(struct vm_page *m, int pri) argument
|
/freebsd-10.1-release/sys/mips/include/ |
H A D | runq.h | 42 #define RQB_BIT(pri) (1ul << ((pri) & (RQB_BPW - 1))) 43 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
/freebsd-10.1-release/sys/powerpc/include/ |
H A D | runq.h | 41 #define RQB_BIT(pri) (1UL << ((pri) & (RQB_BPW - 1))) 42 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
/freebsd-10.1-release/sys/sparc64/include/ |
H A D | runq.h | 36 #define RQB_BIT(pri) (1UL << ((pri) & (RQB_BPW - 1))) 37 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
/freebsd-10.1-release/sys/kern/ |
H A D | kern_switch.c | 245 * Clear the status bit of the queue corresponding to priority level pri, 249 runq_clrbit(struct runq *rq, int pri) argument 255 rqb->rqb_bits[RQB_WORD(pri)], 256 rqb->rqb_bits[RQB_WORD(pri)] & ~RQB_BIT(pri), 257 RQB_BIT(pri), RQB_WORD(pri)); 258 rqb->rqb_bits[RQB_WORD(pri)] &= ~RQB_BIT(pri); 269 int pri; local 285 runq_findbit_from(struct runq *rq, u_char pri) argument 321 runq_setbit(struct runq *rq, int pri) argument 341 int pri; local 357 runq_add_pri(struct runq *rq, struct thread *td, u_char pri, int flags) argument 404 int pri; local 446 int pri; local 466 int pri; local 497 u_char pri; local [all...] |
/freebsd-10.1-release/sys/ia64/include/ |
H A D | runq.h | 36 #define RQB_BIT(pri) (1UL << ((pri) & (RQB_BPW - 1))) 37 #define RQB_WORD(pri) ((pri) >> RQB_L2BPW)
|
H A D | sf_buf.h | 45 sf_buf_alloc(struct vm_page *m, int pri) argument
|
/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | save_syslog.c | 13 int pri; member in struct:syslog_opts_s 43 int fac = -1, pri = -1; local 59 pri = pri_findname(s); 60 if (pri == -1) { 69 ctx->pri = pri; 70 if (pri == -1) 73 ctx->facpri = pri; 75 ctx->facpri = fac | pri; 98 printf(".%s", pri_toname(sys->pri)); [all...] |
H A D | facpri.c | 144 int i, pri; local 146 pri = facpri & LOG_PRIMASK; 147 if (pris[pri].value == pri) 148 return pris[pri].name; 150 if (pri == pris[i].value)
|
/freebsd-10.1-release/crypto/heimdal/lib/roken/ |
H A D | vsyslog.c | 52 simple_vsyslog(int pri, const char *fmt, va_list ap) argument 54 syslog (pri, "%s", fmt); 62 vsyslog(int pri, const char *fmt, va_list ap) argument 75 simple_vsyslog (pri, fmt, ap); 91 simple_vsyslog (pri, fmt, ap); 107 simple_vsyslog (pri, fmt, ap); 110 syslog (pri, "%s", buf);
|
/freebsd-10.1-release/sys/sys/ |
H A D | sleepqueue.h | 99 int sleepq_broadcast(void *wchan, int flags, int pri, int queue); 105 int sleepq_signal(void *wchan, int flags, int pri, int queue); 111 int sleepq_timedwait(void *wchan, int pri); 112 int sleepq_timedwait_sig(void *wchan, int pri); 114 void sleepq_wait(void *wchan, int pri); 115 int sleepq_wait_sig(void *wchan, int pri);
|
H A D | syslog.h | 61 #define LOG_MAKEPRI(fac, pri) ((fac) | (pri)) 121 /* facility of pri */ 161 #define LOG_MASK(pri) (1 << (pri)) /* mask for one priority */ 162 #define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /* all priorities through pri */
|
H A D | selinfo.h | 57 void selwakeuppri(struct selinfo *sip, int pri);
|
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-syslog.c | 88 u_int16_t pri = 0; local 113 pri = pri * 10 + (*(pptr+msg_off) - '0'); 127 facility = (pri & SYSLOG_FACILITY_MASK) >> 3; 128 severity = pri & SYSLOG_SEVERITY_MASK;
|
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | layer.h | 49 int pri, u_short *proto);
|
H A D | link.c | 181 int pri; local 184 for (bp = NULL, pri = LINK_QUEUES(l) - 1; pri >= 0; pri--) 185 if (l->Queue[pri].len) { 186 bp = m_dequeue(l->Queue + pri); 188 " containing %lu more packets\n", pri, 189 (u_long)l->Queue[pri].len); 248 link_PushPacket(struct link *l, struct mbuf *bp, struct bundle *b, int pri, argument 260 if(pri < [all...] |
/freebsd-10.1-release/sys/net/ |
H A D | if_vlan_var.h | 48 #define EVL_MAKETAG(vlid, pri, cfi) \ 49 ((((((pri) & 7) << 1) | ((cfi) & 1)) << 12) | ((vlid) & EVL_VLID_MASK)) 64 #define EVL_APPLY_PRI(m, pri) \ 69 EVL_VLANOFTAG(__vlantag), (pri), \ 73 EVL_MAKETAG(0, (pri), 0); \
|
/freebsd-10.1-release/sys/contrib/altq/altq/ |
H A D | altq_priq.c | 241 int pri; local 249 for (pri = 0; pri <= pif->pif_maxpri; pri++) 250 if ((cl = pif->pif_classes[pri]) != NULL) 276 int pri; local 278 for (pri = 0; pri <= pif->pif_maxpri; pri++) { 279 if ((cl = pif->pif_classes[pri]) ! 287 priq_class_create(struct priq_if *pif, int pri, int qlimit, int flags, int qid) argument 408 int s, pri; local 523 int pri; local 1012 int pri, error; local [all...] |
/freebsd-10.1-release/lib/libc/gen/ |
H A D | syslog.c | 123 syslog(int pri, const char *fmt, ...) argument 128 vsyslog(pri, fmt, ap); 133 vsyslog(int pri, const char *fmt, va_list ap) argument 146 if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) { 148 "syslog: unknown facility/priority: %x", pri); 149 pri &= LOG_PRIMASK|LOG_FACMASK; 157 if (!(LOG_MASK(LOG_PRI(pri)) & LogMask)) { 163 if ((pri & LOG_FACMASK) == 0) 164 pri |= LogFacility; 177 (void)fprintf(fp, "<%d>", pri); [all...] |
/freebsd-10.1-release/usr.bin/logger/ |
H A D | logger.c | 88 int ch, logflags, pri; local 95 pri = LOG_USER | LOG_NOTICE; 126 pri = pencode(optarg); 156 logmessage(pri, tag, host, svcname, buf); 160 logmessage(pri, tag, host, svcname, *argv++); 169 logmessage(pri, tag, host, svcname, buf); 172 logmessage(pri, tag, host, svcname, buf); 180 logmessage(int pri, const char *tag, const char *host, const char *svcname, argument 190 syslog(pri, "%s", buf); 225 if ((len = asprintf(&line, "<%d>%s: %s", pri, ta [all...] |
/freebsd-10.1-release/crypto/openssh/ |
H A D | log.c | 391 int pri = LOG_INFO; local 402 pri = LOG_CRIT; 407 pri = LOG_ERR; 410 pri = LOG_INFO; 413 pri = LOG_INFO; 417 pri = LOG_DEBUG; 421 pri = LOG_DEBUG; 425 pri = LOG_DEBUG; 429 pri = LOG_ERR; 452 syslog_r(pri, [all...] |
/freebsd-10.1-release/sys/dev/firewire/ |
H A D | firewire.h | 151 COMMON_HDR(dst, tlrt, tcode, pri); 155 COMMON_HDR(dst, tlrt, tcode, pri); 160 COMMON_HDR(dst, tlrt, tcode, pri); 165 COMMON_HDR(dst, tlrt, tcode, pri); 171 COMMON_HDR(dst, tlrt, tcode, pri); 177 COMMON_HDR(dst, tlrt, tcode, pri); 183 COMMON_HDR(dst, tlrt, tcode, pri); 189 COMMON_HDR(dst, tlrt, tcode, pri); 196 COMMON_HDR(dst, tlrt, tcode, pri); 203 COMMON_HDR(dst, tlrt, tcode, pri); [all...] |