/freebsd-11-stable/sys/mips/include/ |
H A D | pcb.h | 94 #define SAVE_U_PCB_REG(reg, offs, base) \ 95 REG_S reg, U_PCB_REGS + (SZREG * offs) (base) 97 #define RESTORE_U_PCB_REG(reg, offs, base) \ 98 REG_L reg, U_PCB_REGS + (SZREG * offs) (base) 100 #define SAVE_U_PCB_FPREG(reg, offs, base) \ 101 FP_S reg, U_PCB_FPREGS + (SZFPREG * offs) (base) 103 #define RESTORE_U_PCB_FPREG(reg, offs, base) \ 104 FP_L reg, U_PCB_FPREGS + (SZFPREG * offs) (base) 106 #define SAVE_U_PCB_FPSR(reg, offs, base) \ 107 REG_S reg, U_PCB_FPREGS + (SZFPREG * offs) (bas [all...] |
/freebsd-11-stable/sys/dev/gem/ |
H A D | if_gemvar.h | 182 #define GEM_BANKN_BARRIER(n, sc, offs, len, flags) \ 183 bus_barrier((sc)->sc_res[(n)], (offs), (len), (flags)) 184 #define GEM_BANK1_BARRIER(sc, offs, len, flags) \ 185 GEM_BANKN_BARRIER(GEM_RES_BANK1, (sc), (offs), (len), (flags)) 186 #define GEM_BANK2_BARRIER(sc, offs, len, flags) \ 187 GEM_BANKN_BARRIER(GEM_RES_BANK2, (sc), (offs), (len), (flags)) 189 #define GEM_BANKN_READ_M(n, m, sc, offs) \ 190 bus_read_ ## m((sc)->sc_res[(n)], (offs)) 191 #define GEM_BANK1_READ_1(sc, offs) \ 192 GEM_BANKN_READ_M(GEM_RES_BANK1, 1, (sc), (offs)) [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | mdoc.c | 60 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) argument 77 return roff_getcontrol(mdoc->roff, buf, &offs) ? 78 mdoc_pmacro(mdoc, ln, buf, offs) : 79 mdoc_ptext(mdoc, ln, buf, offs); 179 mdoc_ptext(struct roff_man *mdoc, int line, char *buf, int offs) argument 199 mdoc_macro(mdoc, MDOC_It, line, offs, &offs, buf); 210 for (c = end = buf + offs; *c; c++) { 254 if (buf[offs] == '\0' && ! (mdoc->flags & MDOC_LITERAL)) { 272 roff_elem_alloc(mdoc, line, offs, ROFF_s 323 mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) argument [all...] |
H A D | man.c | 44 man_parseln(struct roff_man *man, int ln, char *buf, int offs) argument 50 return roff_getcontrol(man->roff, buf, &offs) ? 51 man_pmacro(man, ln, buf, offs) : 52 man_ptext(man, ln, buf, offs); 56 man_descope(struct roff_man *man, int line, int offs) argument 72 roff_body_alloc(man, line, offs, man->last->tok); 76 man_ptext(struct roff_man *man, int line, char *buf, int offs) argument 85 roff_word_alloc(man, line, offs, buf + offs); 86 man_descope(man, line, offs); 165 man_pmacro(struct roff_man *man, int ln, char *buf, int offs) argument [all...] |
H A D | mdoc.h | 111 const char *offs; /* -offset */ member in struct:mdoc_bd 118 const char *offs; /* -offset */ member in struct:mdoc_bl
|
H A D | tbl_opts.c | 123 tbl_option(struct tbl_node *tbl, int ln, const char *p, int *offs) argument 127 pos = *offs; 133 *offs = pos + 1;
|
/freebsd-11-stable/lib/libusbhid/ |
H A D | data.c | 47 int i, end, offs; local 64 offs = hpos / 8; 65 end = (hpos + hsize) / 8 - offs; 68 data |= buf[offs + i] << (i*8); 92 int offs; local 113 offs = hpos / 8; 114 end = (hpos + hsize) / 8 - offs; 117 buf[offs + i] = (buf[offs + i] & (mask >> (i*8))) |
|
/freebsd-11-stable/sys/dev/cas/ |
H A D | if_casvar.h | 204 #define CAS_BARRIER(sc, offs, len, flags) \ 205 bus_barrier((sc)->sc_res[CAS_RES_MEM], (offs), (len), (flags)) 207 #define CAS_READ_N(n, sc, offs) \ 208 bus_read_ ## n((sc)->sc_res[CAS_RES_MEM], (offs)) 209 #define CAS_READ_1(sc, offs) CAS_READ_N(1, (sc), (offs)) 210 #define CAS_READ_2(sc, offs) CAS_READ_N(2, (sc), (offs)) 211 #define CAS_READ_4(sc, offs) CAS_READ_N(4, (sc), (offs)) [all...] |
/freebsd-11-stable/contrib/libexecinfo/ |
H A D | backtrace.c | 78 rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...) argument 84 if (*buf && offs < *bufsiz) { 89 len = vsnprintf(*buf + offs, *bufsiz - offs, fmt, ap); 92 if (len < 0 || (size_t)len + 1 < *bufsiz - offs) 96 nbufsiz = MAX(offs, *bufsiz) + 512; 115 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, argument 119 size_t o = offs; 153 return o - offs; 157 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs, argument 195 size_t offs = len * sizeof(char *); local [all...] |
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | sbbc.c | 165 #define SBBC_READ_N(wdth, offs) \ 166 bus_space_read_ ## wdth((bst), (bsh), (offs)) 167 #define SBBC_WRITE_N(wdth, offs, val) \ 168 bus_space_write_ ## wdth((bst), (bsh), (offs), (val)) 170 #define SBBC_READ_1(offs) \ 171 SBBC_READ_N(1, (offs)) 172 #define SBBC_READ_2(offs) \ 173 bswap16(SBBC_READ_N(2, (offs))) 174 #define SBBC_READ_4(offs) \ 175 bswap32(SBBC_READ_N(4, (offs))) [all...] |
H A D | schizo.c | 178 #define SCHIZO_SPC_BARRIER(spc, sc, offs, len, flags) \ 179 bus_barrier((sc)->sc_mem_res[(spc)], (offs), (len), (flags)) 180 #define SCHIZO_SPC_READ_8(spc, sc, offs) \ 181 bus_read_8((sc)->sc_mem_res[(spc)], (offs)) 182 #define SCHIZO_SPC_WRITE_8(spc, sc, offs, v) \ 183 bus_write_8((sc)->sc_mem_res[(spc)], (offs), (v)) 186 #define SCHIZO_SPC_SET(spc, sc, offs, reg, v) \ 187 SCHIZO_SPC_WRITE_8((spc), (sc), (offs), (v)) 189 #define SCHIZO_SPC_SET(spc, sc, offs, reg, v) do { \ 191 (unsigned long long)SCHIZO_SPC_READ_8((spc), (sc), (offs)), \ [all...] |
/freebsd-11-stable/usr.sbin/dumpcis/ |
H A D | readcis.c | 199 off_t offs; local 213 offs = tpl32(tp->data); 216 offs, flag ? "Attribute" : "Common"); 219 if (ck_linktarget(fd, offs, flag)) { 220 tl = read_one_tuplelist(fd, flag, offs); 235 offs = 0; 238 offs, flag ? "Attribute" : "Common"); 240 tlist->next = read_one_tuplelist(fd, 0, offs); 249 read_one_tuplelist(int fd, int flags, off_t offs) argument 259 if (tl->offs 324 ck_linktarget(int fd, off_t offs, int flag) argument [all...] |
H A D | readcis.h | 41 off_t offs; member in struct:tuple_list
|
/freebsd-11-stable/sys/sparc64/isa/ |
H A D | ofw_isa.c | 102 uint64_t offs, cstart, cend; local 116 offs = ISA_RANGE_PHYS(r); 117 *start = *start + offs - cstart; 118 *end = *end + offs - cstart;
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_stropts.h | 137 long offs; /* Address offset */ member in struct:svr4_strmcmd 174 #define SVR4_ADDROF(sc) (void *) (((char *) (sc)) + (sc)->offs) 175 #define SVR4_C_ADDROF(sc) (const void *) (((const char *) (sc)) + (sc)->offs)
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitops.h | 162 int offs; local 167 offs = size % BITS_PER_LONG; 170 if (offs) { 171 mask = (*addr) & BITMAP_LAST_WORD_MASK(offs); 188 int offs; local 195 offs = offset % BITS_PER_LONG; 198 if (offs) { 199 mask = (*addr) & ~BITMAP_LAST_WORD_MASK(offs); 228 int offs; local 235 offs [all...] |
/freebsd-11-stable/contrib/ntp/scripts/ |
H A D | summary.in | 134 my ($freq, $offs); 149 ($offs, $freq) = ($Fld[2], $Fld[3]); 150 $loop_tmax = max($loop_tmax, $offs); 151 $loop_tmin = min($loop_tmin, $offs); 154 $loop_time += $offs; 155 $loop_time_rms += $offs * $offs; 211 my ($dist, $offs); 223 $offs = $Fld[4]; 224 if ($offs > [all...] |
/freebsd-11-stable/contrib/file/src/ |
H A D | der.c | 267 size_t offs = 0, len = ms->search.s_len ? ms->search.s_len : nbytes; local 269 if (gettag(b, &offs, len) == DER_BAD) { 274 offs, m->offset)); 276 uint32_t tlen = getlength(b, &offs, len); 282 offs, tlen)); 284 offs += ms->offset + m->offset; 292 if (offs + tlen > nbytes) 294 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); 298 return CAST(int32_t, offs); 306 size_t offs local [all...] |
/freebsd-11-stable/sys/sparc64/include/ |
H A D | in_cksum.h | 127 #define __LD_ADD(addr, tmp, sum, offs, mod) \ 128 "lduw [" #addr " + " #offs "], " #tmp "\n" \
|
/freebsd-11-stable/sys/cddl/dev/dtrace/aarch64/ |
H A D | dtrace_subr.c | 240 int offs; local 253 offs = (data >> OFFSET_SHIFT) & OFFSET_MASK; 257 if (offs >> (OFFSET_SIZE - 1)) 258 sp -= (~offs & OFFSET_MASK) + 1; 260 sp += (offs); 267 if (offs >> (OFFSET_SIZE - 1)) 268 sp -= (~offs & OFFSET_MASK) + 1; 270 sp += (offs);
|
/freebsd-11-stable/stand/efi/include/ |
H A D | efifs.h | 105 #define EFI_LBAL_ARRAY_SIZE(lbal,offs,blks) \ 106 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Edit/ |
H A D | FileOffset.h | 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} argument
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | inftrees.c | 59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local 141 offs[1] = 0; 143 offs[len + 1] = offs[len] + count[len]; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
|
/freebsd-11-stable/sys/dev/ct/ |
H A D | ct_machdep.h | 147 ct_cr_read_1(struct ct_bus_access_handle *chp, bus_addr_t offs) argument 151 bus_write_1(chp->ch_io, addr_port, offs); 159 ct_cr_write_1(struct ct_bus_access_handle *chp, bus_addr_t offs, u_int8_t val) argument 162 bus_write_1(chp->ch_io, addr_port, offs);
|
/freebsd-11-stable/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 90 int offs; local 134 offs = (*instr & B_DATA_MASK); 135 offs *= 4; 136 target = (instr + offs);
|