/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;
|
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))) |
|
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/hppa/dev/ |
sti_pci_machdep.c | 156 bus_addr_t selected, offs, suboffs; local in function:sti_pci_check_rom 190 for (offs = 0; offs < romsize; offs += subsize) { 195 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 199 if (offs == 0) { 211 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 215 if (offs == 0) { 224 offs + 0x0c); 230 (u_int)offs, (u_int)subsize, tmp) [all...] |
sti_pci_machdep.c | 156 bus_addr_t selected, offs, suboffs; local in function:sti_pci_check_rom 190 for (offs = 0; offs < romsize; offs += subsize) { 195 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 199 if (offs == 0) { 211 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 215 if (offs == 0) { 224 offs + 0x0c); 230 (u_int)offs, (u_int)subsize, tmp) [all...] |
/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));
|
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...] |
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);
|
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...] |
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...] |
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);
|
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))
|
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...] |
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
|
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))
|