/src/games/mille/ |
varpush.c | 56 const struct iovec vec[] = { local in function:varpush 72 if (((func)(file, vec, sizeof(vec) / sizeof(vec[0]))) < 0) {
|
/src/dist/pf/sbin/pflogd/ |
privsep_fdpass.c | 56 struct iovec vec; local in function:send_fd 74 vec.iov_base = &result; 75 vec.iov_len = sizeof(int); 76 msg.msg_iov = &vec; 92 struct iovec vec; local in function:receive_fd 98 vec.iov_base = &result; 99 vec.iov_len = sizeof(int); 100 msg.msg_iov = &vec;
|
/src/sys/arch/evbmips/ingenic/ |
cpu.c | 81 uint32_t vec, reg; local in function:cpu_attach 88 vec = (uint32_t)&ingenic_wakeup; 91 reg |= vec;
|
/src/sys/arch/x86/x86/ |
idt.c | 169 int vec; local in function:idt_vec_alloc 177 for (vec = low; vec <= high; vec++) { 179 if (atomic_load_acquire(&idt_allocmap[vec]) == 0) { 185 atomic_store_relaxed(&idt_allocmap[vec], 1); 186 return vec; 194 idt_vec_reserve(struct idt_vec *iv, int vec) 200 result = idt_vec_alloc(iv, vec, vec); [all...] |
/src/sys/arch/alpha/pci/ |
dwlpx.c | 73 void dwlpx_errintr(void *, u_long vec); 186 unsigned long vec, ls = DWLPX_SYSBASE(sc); local in function:dwlpx_init 250 vec = scb_alloc(dwlpx_errintr, sc); 252 if (vec == SCB_ALLOC_FAILED) 256 vec); 259 REGVAL(PCIA_ERRVEC(i) + ccp->cc_sysbase) = vec; 304 dwlpx_errintr(void *arg, unsigned long vec)
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
bcm2835-common.dtsi | 111 vec: vec@7e806000 { label 112 compatible = "brcm,bcm2835-vec";
|
/src/sys/arch/powerpc/oea/ |
altivec.c | 215 uint32_t vec[7], *vp = (void *) roundup((uintptr_t) vec, 16); local in function:vzeropage 227 * Save the VEC register we are going to use before we disable 258 * Restore VEC register (now that we can access the stack again). 275 uint32_t vec[11], *vp = (void *) roundup((uintptr_t) vec, 16); local in function:vcopypage 287 * Save the VEC registers we will be using before we disable 321 * Restore VEC registers (now that we can access the stack again).
|
/src/usr.bin/fincore/ |
fincore.c | 82 fincore(int fd, off_t startoff, off_t endoff, unsigned char *vec) 88 off += chunk_size, vec += chunk_size / page_size) { 101 vec)) { 115 unsigned char vec[4096]; local in function:do_file 134 chunk_size = MIN(__arraycount(vec) * page_size, 136 if (fincore(fd, off, off + chunk_size, vec)) { 141 if (vec[i] == 0) {
|
/src/lib/librefuse/refuse/ |
chan.c | 61 struct fuse_chan** vec; member in struct:refuse_chan_storage 117 if (storage.vec[idx] == NULL) { 118 storage.vec[idx] = chan; 125 storage.vec = realloc(storage.vec, sizeof(struct fuse_chan*) * storage.n_alloc); 126 if (!storage.vec) { 132 storage.vec[idx] = chan; 133 memset(&storage.vec[idx+1], 0, sizeof(struct fuse_chan*) * (storage.n_alloc - (size_t)idx - 1)); 154 chan = storage.vec[idx]; 176 chan = storage.vec[idx] [all...] |
/src/sys/arch/sparc64/dev/ |
fhc.c | 235 long vec; local in function:fhc_intr_establish 248 vec = ((sc->sc_ign << INTMAP_IGN_SHIFT) & INTMAP_IGN) | 262 ih->ih_number = vec;
|
/src/sys/dev/pci/ |
universe_pci.c | 282 int i, vec; local in function:univ_pci_intr 297 vec = read_csr_4(d, v_statid[i - 1]); 298 if (vec & 0x100) { 303 (*d->vmeinthandler)(d->vmeintcookie, i, vec);
|
/src/sys/dev/qbus/ |
uba.c | 283 int i, csr, vec, br; local in function:ubasearch 306 i = scb_vecref(&vec, &br); 309 if (vec == 0) 313 ua.ua_cvec = vec; 339 aprint_normal(" csr %o vec %o ipl %x", ua->ua_iaddr, 348 uba_intr_establish(void *icookie, int vec, void (*ifunc)(void *iarg), 351 scb_vecalloc(vec, ifunc, iarg, SCB_ISTACK, ev);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_bitvector_test.cc | 136 vector<uptr> vec; local in function:TestBitVector 138 back_insert_iterator<vector<uptr> >(vec)); 139 EXPECT_EQ(bv.intersectsWith(bv1), !vec.empty()); 149 t_s = set<uptr>(vec.begin(), vec.end()); 155 vec.clear(); 157 back_insert_iterator<vector<uptr> >(vec)); 158 t_s = set<uptr>(vec.begin(), vec.end());
|
/src/sys/ufs/chfs/ |
chfs_write.c | 53 struct iovec vec; local in function:chfs_write_flash_vnode 116 vec.iov_base = fvnode; 117 vec.iov_len = CHFS_PAD(size); 120 err = chfs_write_wbuf(chmp, &vec, 1, nref->nref_offset, &retlen); 165 struct iovec vec[2]; local in function:chfs_write_flash_dirent 199 vec[0].iov_base = fdirent; 200 vec[0].iov_len = sizeof(*fdirent); 201 vec[1].iov_base = name; 202 vec[1].iov_len = namelen; 236 err = chfs_write_wbuf(chmp, vec, 2, nref->nref_offset, &retlen) 289 struct iovec vec[2]; local in function:chfs_write_flash_dnode [all...] |
/src/tests/lib/libc/sys/ |
t_mincore.c | 93 char *vec; local in function:check_residency 95 vec = malloc(npgs); 97 ATF_REQUIRE(vec != NULL); 98 ATF_REQUIRE(mincore(addr, npgs * page, vec) == 0); 102 if (vec[i] != 0) 107 (char *)addr + (i * page), vec[i] ? "" : "not "); 111 free(vec); 124 char *map, *vec; local in function:ATF_TC_BODY 127 vec = malloc(page); 129 ATF_REQUIRE(vec != NULL) [all...] |
/src/tests/net/fdpass/ |
fdpass.c | 55 struct iovec vec; local in function:send_fd 74 vec.iov_base = &ch; 75 vec.iov_len = 1; 76 msg.msg_iov = &vec; 107 struct iovec vec; local in function:recv_fd 118 vec.iov_base = &ch; 119 vec.iov_len = 1; 120 msg.msg_iov = &vec;
|
/src/sys/arch/next68k/stand/boot/ |
machdep.c | 102 vec:12; member in struct:trapframe 117 fp->fmt, fp->vec, fp->sr, fp->pc);
|
/src/sys/dev/mvme/ |
vme_two_isr.c | 222 int vec; local in function:vmetwo_local_isr_trampoline 224 vec = (int) arg; /* 0x08 <= vec <= 0x1f */ 228 VME2_LOCAL_INTERRUPT(vec)); 230 isr = &vme_two_handlers[vec - VME2_VECTOR_LOCAL_OFFSET]; 234 printf("vmetwo: Spurious local interrupt, vector 0x%x\n", vec); 240 vmetwo_local_intr_establish(int pri, int vec, int (*hand)(void *), void *arg, struct evcnt *evcnt) 243 vmetwo_intr_establish(vmetwo_sc, pri, pri, vec, 1, hand, arg, evcnt); 248 vmetwo_intr_establish(void *csc, int prior, int lvl, int vec, int first, int (*hand)(void *), void *arg, struct evcnt *evcnt) 263 if (vec >= VME2_VECTOR_LOCAL_MIN && vec <= VME2_VECTOR_LOCAL_MAX) [all...] |
/src/sys/arch/alpha/alpha/ |
interrupt.c | 108 scb_stray(void *arg, u_long vec) 111 printf("WARNING: stray interrupt, vector 0x%lx\n", vec); 115 scb_set(u_long vec, void (*func)(void *, u_long), void *arg) 121 if (vec < SCB_IOVECBASE || vec >= SCB_SIZE || 122 (vec & (SCB_VECSIZE - 1)) != 0) 123 panic("scb_set: bad vector 0x%lx", vec); 125 idx = SCB_VECTOIDX(vec - SCB_IOVECBASE); 128 panic("scb_set: vector 0x%lx already occupied", vec); 139 u_long vec, idx local in function:scb_alloc [all...] |
/src/sys/arch/ia64/acpi/ |
acpi_machdep.c | 98 const int vec = acpi_isa_irq_to_vector(irq); local in function:acpi_md_OsInstallInterruptHandler 104 ih = intr_establish(vec, IST_LEVEL, IPL_TTY, 123 const int vec = acpi_isa_irq_to_vector(irq); local in function:acpi_md_intr_establish 125 return intr_establish(vec, type, ipl, handler, arg);
|
/src/sys/arch/sun68k/sun68k/ |
vme_sun68k.c | 257 int vec; /* VME interrupt vector */ member in struct:sun68k_vme_intr_handle 267 sun68k_vme_intr_map(void *cookie, int level, int vec, vme_intr_handle_t *ihp) 273 svih->vec = vec; 297 isr_add_vectored(func, arg, svih->pri, svih->vec);
|
/src/sys/arch/vax/if/ |
if_le.c | 164 int i, vec, br; local in function:le_mainbus_attach 179 i = scb_vecref(&vec, &br); 180 if (i == 0 || vec == 0) 183 scb_vecalloc(vec, (void (*)(void *))am7990_intr, sc, 188 aprint_normal(": vec %o ipl %x\n%s", vec, br, device_xname(self));
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
asan_noinst_test.cc | 65 std::vector<void *> vec; local in function:MallocStress 68 if (vec.empty()) continue; 69 size_t idx = my_rand_r(&seed) % vec.size(); 70 void *ptr = vec[idx]; 71 vec[idx] = vec.back(); 72 vec.pop_back(); 85 vec.push_back(ptr); 91 for (size_t i = 0; i < vec.size(); i++) 92 __asan::asan_free(vec[i], &stack3, __asan::FROM_MALLOC) [all...] |
/src/sys/arch/xen/x86/ |
xen_intr.c | 465 int dev, vec; local in function:xen_intr_create_intrid 468 vec = pin; 470 | __SHIFTIN((uint64_t)vec, MSI_INT_VEC_MASK)
|
/src/sys/arch/vax/vsa/ |
vsbus.c | 89 aprint_normal(" csr 0x%lx vec %o ipl %x maskbit %d", va->va_paddr, 184 int i, vec, br; local in function:vsbus_search 210 i = scb_vecref(&vec, &br); 213 if (vec == 0) 217 va.va_cvec = vec;
|