HomeSort by: relevance | last modified time | path
    Searched refs:vec (Results 1 - 25 of 130) sorted by relevancy

1 2 3 4 5 6

  /src/sys/arch/news68k/news68k/
isr.h 55 isrlink_vectored(int (*func)(void *), void *arg, int ipl, int vec)
58 m68k_intr_establish(func, arg, NULL, vec, ipl, 0, 0);
62 isrunlink_vectored(int vec)
65 void *ih = m68k_intrvec_intrhand(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/dev/mvme/
pcctwo.c 132 int vec,
141 if (vec < 0 || vec >= PCCTWOV_MAX) {
142 printf("pcctwo: illegal vector offset: 0x%x\n", vec);
149 if (sys_pcctwo->sc_vec2icsr[vec] == -1) {
150 printf("pcctwo: unsupported vector: %d\n", vec);
155 vec2icsr = sys_pcctwo->sc_vec2icsr[vec];
160 lvl, vec + sys_pcctwo->sc_vecbase, evcnt);
168 pcctwointr_disestablish(int vec)
172 if (vec < 0 || vec >= PCCTWOV_MAX)
    [all...]
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/mvme68k/mvme68k/
isr.h 59 isrlink_vectored(int (*func)(void *), void *arg, int ipl, int vec,
63 m68k_intr_establish(func, arg, ev, vec, ipl, 0, 0);
74 isrunlink_vectored(int vec)
77 void *ih = m68k_intrvec_intrhand(vec);
  /src/sys/arch/arm/at91/
at91aicreg.h 37 #define AIC_SMR(vec) (0x000UL+(vec)*4UL)/* Source Mode Registers */
38 #define AIC_SVR(vec) (0x080UL+(vec)*4UL)/* Source Vectors Regs */
49 #define AIC_EOICR 0x130UL /* 130: End of Interrupt Vec Reg*/
50 #define AIC_SPU 0x134UL /* 134: Spurious Int. Vec Reg */
  /src/sys/arch/mips/rmi/
rmixl_intr.h 42 * - RMIXL_VECTOR_IRT(vec) is used to index into the IRT
52 #define RMIXL_VECTOR_IS_IRT(vec) ((vec) >= 32)
54 #define RMIXL_VECTOR_IRT(vec) ((vec) - 32)
57 * vectors (0 <= vec < 8) are CAUSE[8..15] (including softintrs and count/compare)
58 * vectors (8 <= vec < 31) are for other non-IRT based interrupts
rmixl_intr.c 282 "vec 0", /* 0 */
283 "vec 1", /* 1 */
284 "vec 2", /* 2 */
285 "vec 3", /* 3 */
286 "vec 4", /* 4 */
287 "vec 5", /* 5 */
288 "vec 6", /* 6 */
289 "vec 7", /* 7 */
290 "vec 8 (ipi 0)", /* 8 */
291 "vec 9 (ipi 1)", /* 9 *
451 const int vec = ffs(MIPS_INT_MASK_5 >> MIPS_INT_MASK_SHIFT) - 1; local in function:rmixl_intr_init_clk
472 const u_int vec = RMIXL_INTRVEC_IPI + ipi; local in function:rmixl_intr_init_ipi
497 for (int vec=0; vec < NINTRVECS; vec++) local in function:rmixl_intr_init_cpu
784 int vec; local in function:rmixl_intr_establish
845 const int vec = ih->ih_vec; local in function:rmixl_intr_disestablish
885 int vec; local in function:evbmips_iointr
1015 for (int vec=0; vec < NINTRVECS ; vec++) local in function:rmixl_intrhand_print
    [all...]
  /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/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/alpha/pci/
pci_kn8ae.c 81 kn8ae_intr_wrapper(void *arg, u_long vec)
83 const u_long idx = SCB_VECTOIDX(vec - SCB_IOVECBASE);
127 #define IH_MAKE(vec, dev, pin) \
128 ((vec) | ((dev) << 16) | ((pin) << 24))
141 u_long vec; local in function:ALPHA_PCI_INTR_INIT
154 vec = scb_alloc(kn8ae_spurious, NULL);
156 if (vec == SCB_ALLOC_FAILED) {
162 alpha_pci_intr_handle_init(ihp, IH_MAKE(vec, device, buspin), 0);
197 u_long vec; local in function:dec_kn8ae_intr_establish
205 vec = IH_VEC(ihv)
259 u_long vec; local in function:dec_kn8ae_intr_disestablish
    [all...]
siovar.h 31 void sio_iointr(void *framep, unsigned long vec);
  /src/sys/arch/sun2/sun2/
promlib.c 273 uint16_t old_g0_g4_vectors[4], *vec, *store; local in function:prom_abort
283 vec = (uint16_t *) sunmon_vbr;
285 *(store++) = *vec;
286 *(vec++) = BRAW;
287 *(store++) = *vec;
288 *vec = ((u_long) g0_entry) - ((u_long) vec);
289 vec++;
290 *(store++) = *vec;
291 *(vec++) = BRAW
    [all...]
  /src/sys/arch/m68k/m68k/
m68k_intr.c 168 #define INTRVEC_SLOT(vec) \
169 (&m68k_intrhands_vectored[(vec) - MACHINE_USERVEC_START])
171 #define m68k_intrvec_handler(vec) (*INTRVEC_SLOT(vec))
220 m68k_intrvec_intrhand(int vec)
222 KASSERT(vec >= MACHINE_USERVEC_START);
223 KASSERT(vec < NVECTORS);
225 return m68k_intrhands_vectored[vec - MACHINE_USERVEC_START];
263 int vec, int ipl, int isrpri, int flags __unused)
286 KASSERT(vec >= 0)
423 const int vec = VECO_TO_VECI(frame.cf_vo); local in function:m68k_intr_vectored
    [all...]
  /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/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/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/usr.sbin/fwctl/
fwdv.c 101 int len, tlen, npad, fd, k, m, vec, lsystem = -1, nb; local in function:dvrecv
170 vec = 0;
225 wbuf[vec].iov_base = pad;
226 wbuf[vec++].iov_len = npad;
227 if (vec >= NPACKET_R) {
228 writev(fd, wbuf, vec);
229 vec = 0;
240 wbuf[vec].iov_base = (char *) dv;
241 wbuf[vec++].iov_len = DSIZE;
242 if (vec >= NPACKET_R)
267 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local in function:dvsend
    [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/sun68k/include/
intr.h 79 isr_add_vectored(isr_func_t func, void *arg, int ipl, int vec)
82 m68k_intr_establish(func, arg, (void *)0, vec, ipl, 0, 0);
  /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/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/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/mvme68k/dev/
vme_two_68k.c 142 vmetwoisrlink(void *cookie, int (*fn)(void *), void *arg, int ipl, int vec,
146 isrlink_vectored(fn, arg, ipl, vec, evcnt);
151 vmetwoisrunlink(void *cookie, int vec)
154 isrunlink_vectored(vec);
  /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());

Completed in 25 milliseconds

1 2 3 4 5 6