/src/lib/libc/gen/ |
nice.c | 58 int prio; local in function:__weak_alias 61 prio = getpriority(PRIO_PROCESS, 0); 62 if (prio == -1 && errno) 64 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1) {
|
/src/sys/compat/freebsd/ |
freebsd_rtprio.h | 61 u_short prio; member in struct:freebsd_rtprio
|
/src/sys/kern/ |
bufq_readprio.c | 111 struct bufq_prio *prio = bufq_private(bufq); local in function:bufq_prio_put 121 TAILQ_INSERT_TAIL(&prio->bq_read, bp, b_actq); 125 bq = TAILQ_FIRST(&prio->bq_write); 131 TAILQ_INSERT_TAIL(&prio->bq_write, bp, b_actq); 132 prio->bq_write_next = bp; 139 if (buf_inorder(prio->bq_write_next, bp, sortby)) 140 bq = prio->bq_write_next; 152 TAILQ_INSERT_TAIL(&prio->bq_write, bp, b_actq); 158 struct bufq_prio *prio = bufq_private(bufq); local in function:bufq_prio_get 164 if (prio->bq_next == NULL) 221 struct bufq_prio *prio = bufq_private(bufq); local in function:bufq_prio_cancel 272 struct bufq_prio *prio; local in function:bufq_readprio_init [all...] |
sched_m2.c | 184 sched_nice(struct proc *p, int prio) 191 p->p_nice = prio; 192 n = (prio - NZERO) >> 2; 248 pri_t prio; local in function:sched_pstats_hook 260 prio = l->l_priority; 261 if (batch && prio != 0) 262 prio--; 267 prio = high_pri[prio]; 269 if (prio != l->l_priority [all...] |
kern_turnstile.c | 212 pri_t prio; local in function:turnstile_lendpri 222 prio = lwp_eprio(l); 266 prio = lwp_eprio(l); 273 if (prio <= lwp_eprio(owner)) { 287 ts->ts_eprio = prio; 289 lwp_lendpri(owner, prio); 290 } else if (prio > ts->ts_eprio) { 291 ts->ts_eprio = prio; 292 lwp_lendpri(owner, prio); 318 pri_t prio; local in function:turnstile_unlendpri [all...] |
/src/usr.bin/renice/ |
renice.c | 67 int prio, errs = 0, incr = 0; local in function:main 79 if (getnum("priority", *argv, &prio)) 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) 156 prio = oldprio + prio; 158 if (prio > PRIO_MAX) 159 prio = PRIO_MAX; 160 if (prio < PRIO_MIN) 161 prio = PRIO_MIN [all...] |
/src/sys/arch/arm/imx/ |
imx23_icoll.c | 137 uint8_t prio; local in function:imx23_intr_dispatch 151 prio = ICOLL_GET_PRIO(icoll_sc, irq); 163 ICOLL_WRITE(icoll_sc, HW_ICOLL_LEVELACK, (1<<prio)); 180 ICOLL_WRITE(icoll_sc, HW_ICOLL_LEVELACK, (1<<prio));
|
/src/sys/arch/macppc/macppc/ |
pic_ohare.c | 225 uint16_t prio; local in function:ohare_get_irq 252 prio = ohare->priority_masks[bit]; 255 prio |= ohare->priority_masks[bit]; 263 lvl = 31 - __builtin_clz(prio);
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_resource_priv.h | 90 u32 prio; member in struct:vmw_res_func
|
/src/sys/dev/pci/ |
vioscsireg.h | 58 uint8_t prio; member in struct:virtio_scsi_req_hdr
|
if_bwfm_pci.c | 121 int prio; member in struct:bwfm_cmd_flowring_create 1669 int flowid, prio, fifo; local in function:bwfm_pci_flowring_lookup 1677 prio = ac; 1678 fifo = bwfm_pci_prio2fifo[prio]; 1732 int flowid, prio, fifo; local in function:bwfm_pci_flowring_create 1744 prio = ac; 1745 fifo = bwfm_pci_prio2fifo[prio]; 1787 cmd->prio = prio; 1823 ring->fifo = bwfm_pci_prio2fifo[cmd->prio]; [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
i915_gem_object_blt.c | 216 unsigned int prio; local in function:igt_fill_blt_thread 226 prio = i915_prandom_u32_max_state(I915_PRIORITY_MAX, prng); 227 ctx->sched.priority = I915_USER_PRIORITY(prio); 325 unsigned int prio; local in function:igt_copy_blt_thread 335 prio = i915_prandom_u32_max_state(I915_PRIORITY_MAX, prng); 336 ctx->sched.priority = I915_USER_PRIORITY(prio);
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_scheduler.c | 134 i915_sched_lookup_priolist(struct intel_engine_cs *engine, int prio) 146 idx = I915_PRIORITY_COUNT - (prio & I915_PRIORITY_MASK) - 1; 147 prio >>= I915_USER_PRIORITY_SHIFT; 149 prio = I915_PRIORITY_NORMAL; 157 p = rb_tree_find_node(&execlists->queue.rb_root.rbr_tree, &prio); 167 if (prio > p->priority) { 169 } else if (prio < p->priority) { 178 if (prio == I915_PRIORITY_NORMAL) { 184 prio = I915_PRIORITY_NORMAL; /* recurses just once */ 199 p->priority = prio; 312 const int prio = attr->priority; local in function:__i915_schedule [all...] |
/src/usr.bin/su/ |
su.c | 111 int asme, ch, asthem, fastlogin, prio, gohome; local in function:main 176 prio = getpriority(PRIO_PROCESS, 0); 178 prio = 0; 179 if (prio > -2) 437 (void)setpriority(PRIO_PROCESS, 0, prio);
|
su_pam.c | 105 int asme, ch, asthem, fastlogin, prio, gohome; local in function:main 170 prio = getpriority(PRIO_PROCESS, 0); 172 prio = 0; 173 if (prio > -2) 535 (void)setpriority(PRIO_PROCESS, 0, prio);
|
/src/sys/compat/linux/common/ |
linux_sched.c | 369 int prio = linux_params->sched_priority; local in function:sched_linux2native 374 if (prio != 0) { 379 if (prio < LINUX_SCHED_RTPRIO_MIN || 380 prio > LINUX_SCHED_RTPRIO_MAX) { 384 (prio - LINUX_SCHED_RTPRIO_MIN) 423 int prio = native_params->sched_priority; local in function:sched_native2linux 425 KASSERT(prio >= SCHED_PRI_MIN); 426 KASSERT(prio <= SCHED_PRI_MAX); 432 __func__, native_policy, prio); 438 (prio - SCHED_PRI_MIN [all...] |
/src/sys/netinet/ |
ip_encap.c | 200 int prio, matchprio; local in function:encap4_lookup 241 prio = (*ep->func)(m, off, proto, ep->arg); 244 prio = pack.mine.sin_len + pack.yours.sin_len; 247 if (prio <= 0) { 253 if (prio > matchprio) { 261 matchprio = prio; 282 prio = (*ep->func)(m, off, proto, ep->arg); 296 if (prio <= 0) { 301 if (prio > matchprio) { 309 matchprio = prio; 361 int prio, matchprio; local in function:encap6_lookup [all...] |
ip_mroute.c | 2099 int prio = 50; /* the lowest priority -- default case */ local in function:priority 2120 prio = 70; 2123 prio = 60; 2126 prio = 55; 2131 log(LOG_DEBUG, "port %x prio %d\n", 2132 ntohs(udp->uh_dport), prio); 2135 return prio;
|
/src/sys/dev/acpi/ |
apei.c | 84 int prio = 0; local in function:apei_match 91 prio = 1; 94 return prio;
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
selftest_lrc.c | 131 static int live_unlite_restore(struct intel_gt *gt, int prio) 154 if (prio && !intel_engine_has_preemption(engine)) 218 if (!prio) { 237 if (prio) { 239 .priority = prio, 465 int idx, int prio) 468 .priority = prio, 2209 int prio = 0; local in function:live_preempt_gang 2221 .priority = I915_USER_PRIORITY(prio++), 2231 if (prio <= I915_PRIORITY_MAX [all...] |
intel_lrc.c | 211 int prio; member in struct:virtual_engine::ve_node 241 if (na->prio < nb->prio) 243 if (na->prio > nb->prio) 258 if (n->prio < *k) 260 if (n->prio > *k) 351 int prio = rq_prio(rq); local in function:effective_prio 362 prio = I915_PRIORITY_UNPREEMPTABLE; 371 prio |= I915_PRIORITY_NOSEMAPHORE 1009 int prio = I915_PRIORITY_INVALID; local in function:__unwind_incomplete_requests 4852 const int prio = ve->base.execlists.queue_priority_hint; local in function:virtual_submission_tasklet [all...] |
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
msm_drm.h | 289 __u32 prio; /* in, Priority level */ member in struct:drm_msm_submitqueue
|
/src/sys/dev/marvell/ |
if_gfe.c | 1824 enum gfe_rxprio prio, const uint8_t eaddr[ETHER_ADDR_LEN]) 1852 HSH_PRIO_INS(prio) | HSH_V | HSH_R; 1940 enum gfe_rxprio prio; local in function:gfe_hash_multichg 1966 prio = GE_RXPRIO_MEDLO; 1974 error = gfe_hash_entry_op(sc, op, prio, enm->enm_addrlo);
|
/src/sys/net/lagg/ |
if_lagg_lacp.c | 717 uint16_t prio; local in function:lacp_startport 721 prio = (uint16_t)MIN(lp->lp_prio, UINT16_MAX); 722 lacpp->lp_actor.lpi_portprio = htons(prio); 1584 uint16_t prio, const uint8_t *mac, uint16_t key) 1591 (unsigned int)ntohs(prio),
|