/src/sys/external/bsd/drm2/include/linux/ |
random.h | 68 prandom_u32_max(uint32_t bound) 72 min = (-bound) % bound; 77 return v % bound;
|
/src/sys/external/bsd/drm2/ttm/ |
ttm_agp_backend.c | 52 bool bound; member in struct:ttm_agp 108 KASSERT(!ttm_agp->bound); 124 ttm_agp->bound = true; 143 if (!ttm_agp->bound) 150 ttm_agp->bound = false; 161 if (ttm_agp->bound)
|
/src/sys/net/ |
if_vlan.c | 819 int bound; local in function:vlan_set_promisc 821 bound = curlwp_bind(); 824 curlwp_bindx(bound); 842 curlwp_bindx(bound); 860 int bound; local in function:vlan_ioctl 864 bound = curlwp_bind(); 867 curlwp_bindx(bound); 874 curlwp_bindx(bound); 880 curlwp_bindx(bound); 884 curlwp_bindx(bound); 1236 int error, bound; local in function:vlan_start 1350 int error, bound; local in function:vlan_transmit 1523 int bound; local in function:vlan_link_state_changed [all...] |
if_gif.c | 740 int error = 0, size, bound; local in function:gif_ioctl 868 bound = curlwp_bind(); 872 curlwp_bindx(bound); 878 bound = curlwp_bind(); 881 curlwp_bindx(bound); 889 bound = curlwp_bind(); 893 curlwp_bindx(bound); 914 curlwp_bindx(bound); 920 curlwp_bindx(bound); 925 curlwp_bindx(bound); [all...] |
if_l2tp.c | 705 int bound; local in function:l2tp_ioctl 803 bound = curlwp_bind(); 806 curlwp_bindx(bound); 812 curlwp_bindx(bound); 833 curlwp_bindx(bound); 839 curlwp_bindx(bound); 844 curlwp_bindx(bound); 851 bound = curlwp_bind(); 854 curlwp_bindx(bound); 860 curlwp_bindx(bound); [all...] |
pfil.c | 411 int s, bound; local in function:pfil_run_hooks 425 bound = curlwp_bind(); 430 curlwp_bindx(bound); 444 curlwp_bindx(bound); 457 int s, bound; local in function:pfil_run_arg 461 bound = curlwp_bind(); 472 curlwp_bindx(bound);
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_iommu.c | 117 if (!dev->device_info->needs_iommu_device || pdd->bound == PDD_BOUND) 120 if (unlikely(pdd->bound == PDD_BOUND_SUSPENDED)) { 127 pdd->bound = PDD_BOUND; 142 if (pdd->bound == PDD_BOUND) 183 * when PASID is still bound. 232 if (WARN_ON(!pdd) || pdd->bound != PDD_BOUND_SUSPENDED) { 246 pdd->bound = PDD_BOUND; 256 * Mark currently bound processes as PDD_BOUND_SUSPENDED. These 277 if (pdd->bound == PDD_BOUND) 278 pdd->bound = PDD_BOUND_SUSPENDED [all...] |
/src/sys/compat/common/ |
uipc_syscalls_40.c | 45 int bound; local in function:compat_ifconf 66 bound = curlwp_bind(); 156 curlwp_bindx(bound); 166 curlwp_bindx(bound);
|
if_43.c | 234 int bound = curlwp_bind(); local in function:compat_ifioctl 238 curlwp_bindx(bound); 276 curlwp_bindx(bound); 285 curlwp_bindx(bound);
|
/src/sys/arch/sandpoint/stand/altboot/ |
pcn.c | 254 unsigned bound, rxstat, len; local in function:pcn_recv 257 bound = 1000 * timo; 267 } while (--bound > 0); 348 int phy, ctl, sts, bound; local in function:mii_initphy 361 bound = 100; 369 } while (bound-- > 0 && (ctl & BMCR_RESET)); 370 if (bound == 0) { 385 unsigned anar, bound; 391 bound = getsecs() + timo; 400 } while (getsecs() < bound); [all...] |
rge.c | 274 unsigned bound, rxstat, len; local in function:rge_recv 277 bound = 1000 * timo; 289 } while (--bound > 0); 369 int bound, ctl, phy, sts; local in function:mii_initphy 374 bound = 100; 382 } while (bound-- > 0 && (ctl & BMCR_RESET)); 383 if (bound == 0) { 397 unsigned anar, gtcr, bound; local in function:mii_dealan 406 bound = getsecs() + timo; 415 } while (getsecs() < bound); [all...] |
sip.c | 262 unsigned bound, rxstat, len; local in function:sip_recv 265 bound = 1000 * timo; 275 } while (--bound > 0); 376 int phy, ctl, sts, bound; local in function:mii_initphy 389 bound = 100; 397 } while (bound-- > 0 && (ctl & BMCR_RESET)); 398 if (bound == 0) { 412 unsigned anar, bound; local in function:mii_dealan 418 bound = getsecs() + timo; 427 } while (getsecs() < bound); [all...] |
tlp.c | 236 unsigned bound, rxstat, len; local in function:tlp_recv 239 bound = 1000 * timo; 251 } while (--bound > 0); 374 int phy, ctl, sts, bound; local in function:mii_initphy 387 bound = 100; 395 } while (bound-- > 0 && (ctl & BMCR_RESET)); 396 if (bound == 0) { 410 unsigned anar, bound; local in function:mii_dealan 416 bound = getsecs() + timo; 425 } while (getsecs() < bound); [all...] |
wm.c | 255 unsigned bound, rxstat, len; local in function:wm_recv 258 bound = 1000 * timo; 268 } while (--bound > 0); 405 int phy, ctl, sts, bound; local in function:mii_initphy 418 bound = 100; 426 } while (bound-- > 0 && (ctl & BMCR_RESET)); 427 if (bound == 0) { 441 unsigned anar, gtcr, bound; local in function:mii_dealan 450 bound = getsecs() + timo; 459 } while (getsecs() < bound); [all...] |
kse.c | 220 unsigned bound, rxstat, len; local in function:kse_recv 223 bound = 1000 * timo; 233 } while (--bound > 0); 261 unsigned val, bound; local in function:mii_dealan 265 bound = getsecs() + timo; 271 } while (getsecs() < bound);
|
sme.c | 220 unsigned bound, rxstat, len; local in function:sme_recv 223 bound = 1000 * timo; 233 } while (--bound > 0); 306 unsigned anar, bound; local in function:mii_dealan 312 bound = getsecs() + timo; 321 } while (getsecs() < bound);
|
stg.c | 323 unsigned bound, len; local in function:stg_recv 326 bound = 1000 * timo; 335 } while (--bound > 0); 443 int phy, ctl, sts, bound; local in function:mii_initphy 461 bound = 100; 469 } while (bound-- > 0 && (ctl & BMCR_RESET)); 470 if (bound == 0) 484 unsigned anar, bound; local in function:mii_dealan 490 bound = getsecs() + timo; 499 } while (getsecs() < bound); [all...] |
/src/sys/arch/evbarm/stand/boot2440/ |
dm9000.c | 298 unsigned int val, cnt, bound; local in function:dm9k_send 315 bound = getsecs() + 1; 320 } while (getsecs() < bound); 331 unsigned int bound, val, mark, stat, len, upto, cnt; local in function:dm9k_recv 334 bound = getsecs() + timo; /* second */ 342 } while (getsecs() < bound); 435 unsigned int bound; local in function:mii_dealan 441 bound = getsecs() + timo; 450 } while (getsecs() < bound);
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_agpsupport.c | 247 entry->bound = 0; 316 if (!entry || !entry->bound) 324 entry->bound = 0; 348 * is currently bound into the GATT. Looks-up the AGP memory entry and passes 360 if (!entry || entry->bound) 371 entry->bound = dev->agp->base + (page << PAGE_SHIFT); 372 DRM_DEBUG("base = 0x%lx entry->bound = 0x%lx\n", 373 dev->agp->base, entry->bound); 397 * AGP memory entry. If the memory is currently bound, unbind it via 410 if (entry->bound) [all...] |
drm_memory.c | 82 if (agpmem->bound <= offset 83 && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= 99 phys_page_map = (agpmem->memory->pages + (offset - agpmem->bound) / PAGE_SIZE);
|
/src/sys/arch/alpha/alpha/ |
mcclock.c | 129 int bound = curlwp_bind(); local in function:mcclock_bounce 133 curlwp_bindx(bound); 135 curlwp_bindx(bound);
|
/src/common/lib/libc/arch/mips/gen/ |
byte_swap_2.S | 65 and v0, a0, 0xffff # bound it to 16bits
|
/src/sys/arch/cobalt/stand/boot/ |
tlp.c | 334 u_int bound, len; local in function:tlp_recv 338 bound = timo * 1000000; 348 } while (--bound > 0); 456 int phy, bound; 470 bound = 100; 478 } while (bound-- > 0 && (ctl & BMCR_RESET)); 479 if (bound == 0) { 494 u_int bound; 500 bound = getsecs() + timo; 509 } while (getsecs() < bound); [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_vma.c | 666 * Combine the assertion that the object is bound and that we have 667 * pinned its pages. But we should never have bound the object 827 unsigned int bound; local in function:try_qad_pin 830 bound = atomic_read(&vma->flags); 832 if (unlikely(flags & ~bound)) 835 if (unlikely(bound & (I915_VMA_OVERFLOW | I915_VMA_ERROR))) 838 if (!(bound & I915_VMA_PIN_MASK)) 841 GEM_BUG_ON(((bound + 1) & I915_VMA_PIN_MASK) == 0); 842 } while (!atomic_try_cmpxchg(&vma->flags, &bound, bound + 1)) 941 unsigned int bound; local in function:i915_vma_pin [all...] |
/src/sys/sys/ |
lwp.h | 293 #define LP_BOUND 0x80000000 /* Bound to a CPU */ 508 int bound; local in function:curlwp_bind 510 bound = curlwp->l_pflag & LP_BOUND; 514 return bound; 518 curlwp_bindx(int bound) 523 curlwp->l_pflag ^= bound ^ LP_BOUND;
|