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

1 2 3 4

  /src/lib/libc/gen/
signalnumber.c 48 long offs; local in function:signalnumber
78 offs = strtol(name+1, &ep, 10);
80 offs < 0 || offs > SIGRTMAX-SIGRTMIN)
83 i += (int)offs;
85 i -= (int)offs;
  /src/lib/libusbhid/
data.c 43 int i, end, offs; local in function:hid_get_data
54 offs = hpos / 8;
55 end = (hpos + hsize + 7) / 8 - offs;
58 data |= ((uint32_t)buf[offs + i]) << (i*8);
76 int i, end, offs, mask; local in function:hid_set_data
95 offs = hpos / 8;
96 end = (hpos + hsize) / 8 - offs;
99 buf[offs + i] = (buf[offs + i] & ((uint32_t)mask >> (i*8))) |
  /src/sys/arch/hp300/hp300/
leds.c 71 * `offs' is a mask of LEDs to turn off,
78 ledcontrol(int ons, int offs, int togs)
86 : "d" (ons), "d" (~offs), "d" (togs));
  /src/lib/libexecinfo/
backtrace.c 97 rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...)
103 if (*buf && offs < *bufsiz) {
108 len = vsnprintf(*buf + offs, *bufsiz - offs, fmt, ap);
111 if (len < 0 || (size_t)len + 1 < *bufsiz - offs)
115 nbufsiz = MAX(offs, *bufsiz) + 512;
134 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt,
139 size_t o = offs;
173 return o - offs;
177 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs,
215 size_t offs = len * sizeof(char *); local in function:backtrace_symbols_fmt
    [all...]
  /src/sys/miscfs/procfs/
procfs_fd.c 51 off_t offs; local in function:procfs_dofd
56 offs = fp->f_offset;
60 error = (*fp->f_ops->fo_read)(fp, &offs, uio, curl->l_cred, 0);
63 error = (*fp->f_ops->fo_write)(fp, &offs, uio, curl->l_cred, 0);
  /src/sys/dev/pci/
sti_pci.c 146 bus_addr_t selected, offs, suboffs; local in function:sti_check_rom
180 for (offs = 0; offs < romsize; offs += subsize) {
185 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0);
189 if (offs == 0) {
201 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4);
205 if (offs == 0) {
214 offs + 0x0c);
220 (u_int)offs, (u_int)subsize, tmp))
    [all...]
  /src/sys/arch/evbppc/pmppc/dev/
if_cs_mainbus.c 139 cs_io_read_1(struct cs_softc *sc, bus_size_t offs)
143 a = sc->sc_ioh + (offs << 2);
149 cs_io_read_2(struct cs_softc *sc, bus_size_t offs)
153 a = sc->sc_ioh + (offs << 2);
159 cs_io_read_multi_2(struct cs_softc *sc, bus_size_t offs, u_int16_t *buf,
164 a = sc->sc_ioh + (offs << 2);
172 cs_io_write_2(struct cs_softc *sc, bus_size_t offs, u_int16_t data)
177 a = sc->sc_ioh + (offs << 2);
185 cs_io_write_multi_2(struct cs_softc *sc, bus_size_t offs,
197 dp = (double *)(sc->sc_ioh + (offs << 2))
    [all...]
  /src/sys/arch/atari/stand/tostools/libtos/
ahdi.c 69 u_int offs = part->ap_st + esec; local in function:ahdi_getparts
70 rv = ahdi_getparts(dd, ptable, offs,
71 esec == AHDI_BBLOCK ? offs : esec);
  /src/sys/arch/alpha/pci/
tsreg.h 54 #define TSFIELD(r,offs,len) (((r) >> (offs)) & (~0UL >> (64 - (len))))
246 #define TS_P0(offs) (0x100##0000##0000UL + (offs))
247 #define TS_P1(offs) (0x102##0000##0000UL + (offs))
248 #define TS_Pn(n, offs) (0x100##0000##0000UL + 0x2##0000##0000UL * (n) + (offs))
  /src/sys/dev/cardbus/
cardbusvar.h 67 * pcitag_t tag, int offs);
69 * pcitag_t tag, int offs, pcireg_t val);
295 #define Cardbus_conf_read(ct, tag, offs) (*(ct)->ct_cf->cardbus_conf_read)((ct)->ct_cc, (tag), (offs))
296 #define cardbus_conf_read(cc, cf, tag, offs) ((cf)->cardbus_conf_read)((cc), (tag), (offs))
297 #define Cardbus_conf_write(ct, tag, offs, val) (*(ct)->ct_cf->cardbus_conf_write)((ct)->ct_cc, (tag), (offs), (val))
298 #define cardbus_conf_write(cc, cf, tag, offs, val) ((cf)->cardbus_conf_write)((cc), (tag), (offs), (val)
    [all...]
  /src/sys/dev/ic/
oplvar.h 48 int offs; member in struct:opl_softc
78 int offs; member in struct:opl_attach_arg
  /src/sys/external/bsd/gnu-efi/dist/inc/
efifs.h 99 #define EFI_LBAL_ARRAY_SIZE(lbal,offs,blks) \
100 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
  /src/common/dist/zlib/contrib/infback9/
inftree9.c 54 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local in function:inflate_table9
130 offs[1] = 0;
132 offs[len + 1] = offs[len] + count[len];
136 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
  /src/common/dist/zlib/
inftrees.c 56 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local in function:inflate_table
138 offs[1] = 0;
140 offs[len + 1] = offs[len] + count[len];
144 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
  /src/sys/dev/usb/
uhci.c 413 pqh->offs + offsetof(uhci_qh_t, qh_hlink),
484 usb_syncmem(&std->dma, std->offs, sizeof(std->td),
496 usb_syncmem(&lsqh->dma, lsqh->offs, sizeof(lsqh->qh),
508 usb_syncmem(&bsqh->dma, bsqh->offs, sizeof(bsqh->qh),
520 usb_syncmem(&chsqh->dma, chsqh->offs, sizeof(chsqh->qh),
532 usb_syncmem(&clsqh->dma, clsqh->offs, sizeof(clsqh->qh),
550 usb_syncmem(&std->dma, std->offs, sizeof(std->td),
556 usb_syncmem(&sqh->dma, sqh->offs, sizeof(sqh->qh),
807 usb_syncmem(&p->dma, p->offs, sizeof(p->td),
848 usb_syncmem(&sqh->dma, sqh->offs, sizeof(sqh->qh)
1826 int i, offs; local in function:uhci_alloc_std
1892 int i, offs; local in function:uhci_alloc_sqh
2080 size_t i, offs; local in function:uhci_reset_std_chain
2842 uint32_t buf, len, status, offs; local in function:uhci_device_isoc_transfer
3325 u_int bestbw, bw, bestoffs, offs; local in function:uhci_device_setintr
    [all...]
ohcivar.h 43 int offs; member in struct:ohci_soft_ed
54 int offs; member in struct:ohci_soft_td
73 int offs; member in struct:ohci_soft_itd
ohci.c 398 int i, offs; local in function:ohci_alloc_sed
422 offs = i * OHCI_ED_SIZE;
425 sed->ed = KERNADDR(&dma, offs);
426 sed->physaddr = DMAADDR(&dma, offs);
428 sed->offs = offs;
466 int i, offs; local in function:ohci_alloc_std
490 offs = i * OHCI_TD_SIZE;
493 std->td = KERNADDR(&dma, offs);
494 std->physaddr = DMAADDR(&dma, offs);
728 int i, offs; local in function:ohci_alloc_sitd
3573 ohci_physaddr_t buf, offs, bp0, bp1; local in function:ohci_device_isoc_enter
    [all...]
  /src/sys/arch/atari/stand/installboot/
disklabel.c 106 bsd_label(int fd, off_t offs, struct disklabel *label)
111 if (lseek(fd, offs, SEEK_SET) != offs)
117 if ((offs == 0 && bb.bb_magic != NBDAMAGIC) ||
118 (offs != 0 && bb.bb_magic != AHDIMAGIC) ||
179 off_t offs = pd->ap_st * AHDI_BSIZE; local in function:ahdi_label
180 if ((e = bsd_label(fd, offs, label)) < 0)
  /src/lib/libkvm/
kvm_powerpc.c 273 int offs; local in function:_kvm_kvatop
290 if (_kvm_match_601bat(kd, va, pa, &offs)) {
291 return offs;
295 if (_kvm_match_sr(kd, va, pa, &offs)) {
296 return offs;
313 if (_kvm_match_bat(kd, va, pa, &offs)) {
314 return offs;
318 if (_kvm_match_sr(kd, va, pa, &offs)) {
319 return offs;
  /src/sys/arch/atari/stand/tostools/aptck/
disklbl.c 174 u_int offs = pd->start; local in function:ahdi_label
175 if ((e = bsd_label(dd, offs)) < 0) {
179 dd->bblock = offs; /* got it */
183 dd->bblock = offs;
324 u_int offs = part->ap_offs + esec; local in function:ahdi_getparts
327 dd->roots[--i] = offs;
328 rv = ahdi_getparts(dd, offs,
329 esec == AHDI_BBLOCK ? offs : esec);
  /src/libexec/ld.elf_so/arch/aarch64/
mdreloc.c 134 _rtld_tlsdesc_alloc(size_t tlsindex, Elf_Addr offs)
140 tlsdesc->td_tlsoffs = offs;
150 Elf_Addr offs = 0; local in function:_rtld_tlsdesc_fill
169 offs = def->st_value;
173 offs += rela->r_addend;
178 where[1] = defobj->tlsoffset + offs +
186 where[1] = (Elf_Addr)_rtld_tlsdesc_alloc(defobj->tlsindex, offs);
190 obj->path, (void *)where[1], defobj->tlsindex, (void *)offs));
  /src/sys/arch/mvme68k/stand/installboot/
installboot.c 182 u_long marks[MARK_MAX], bp, offs; local in function:loadprotoblocks
200 offs = marks[MARK_START];
201 marks[MARK_START] = bp - offs;
208 block_size_p = (int *)(bp + (nl[X_BLOCK_SIZE ].n_value - offs));
209 block_count_p = (int *)(bp + (nl[X_BLOCK_COUNT].n_value - offs));
211 block_table = (int32_t *)(bp + (nl[X_BLOCK_TABLE].n_value - offs));
  /src/lib/libc/time/
strptime.c 162 day_offset = -1, week_offset = 0, offs, mandatory; local in function:strptime_l
605 offs = 0;
608 offs = offs * 10 + (*bp++ - '0');
622 offs *= SECSPERHOUR;
625 i = offs % 100;
626 offs /= 100;
630 offs = offs * SECSPERHOUR + i * SECSPERMIN;
640 if (offs >= (HOURSPERDAY * SECSPERHOUR)
    [all...]
  /src/sys/arch/evbppc/virtex/dev/
tft_plb.c 172 plb_tft_mmap(void *arg, void *scr, off_t offs, int prot)
179 if (offs < psc->psc_sc.sc_size)
181 offs, prot, BUS_DMA_WAITOK | BUS_DMA_COHERENT);
183 if (offs < psc->psc_sc.sc_size)
184 pa = (paddr_t)(intptr_t)psc->psc_sc.sc_image + offs;
  /src/sys/arch/vax/uba/
qv.c 314 qv_ic_write(struct uba_attach_args *ua, bus_size_t offs, uint16_t value)
316 bus_space_write_2(ua->ua_iot, ua->ua_ioh, offs, value);
320 qv_ic_init(struct uba_attach_args *ua, bus_size_t offs)
327 qv_ic_write(ua, QV_IC_SR + offs, QV_IC_RESET);
329 qv_ic_write(ua, QV_IC_SR + offs, QV_IC_CLRIRR);
331 qv_ic_write(ua, QV_IC_SR + offs, QV_IC_MODE);
333 qv_ic_write(ua, QV_IC_SR + offs, QV_IC_ACREG);
335 qv_ic_write(ua, QV_IC_DR + offs, 0xff);
339 qv_ic_setvec(ua, offs, i, 0);
346 qv_ic_setvec(struct uba_attach_args *ua, bus_size_t offs, int ic_vec
    [all...]

Completed in 24 milliseconds

1 2 3 4