/freebsd-current/sys/dev/gem/ |
H A D | if_gemvar.h | 179 #define GEM_BARRIER(sc, offs, len, flags) \ 180 bus_barrier((sc)->sc_res[GEM_RES_MEM], (offs), (len), (flags)) 182 #define GEM_READ_N(n, sc, offs) \ 183 bus_read_ ## n((sc)->sc_res[GEM_RES_MEM], (offs)) 184 #define GEM_READ_1(sc, offs) \ 185 GEM_READ_N(1, (sc), (offs)) 186 #define GEM_READ_2(sc, offs) \ 187 GEM_READ_N(2, (sc), (offs)) 188 #define GEM_READ_4(sc, offs) \ 189 GEM_READ_N(4, (sc), (offs)) [all...] |
/freebsd-current/contrib/mandoc/ |
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); 74 man_descope(struct roff_man *man, int line, int offs, char *start) argument 96 roff_body_alloc(man, line, offs, man->last->tok); 101 man_ptext(struct roff_man *man, int line, char *buf, int offs) argument 109 roff_word_alloc(man, line, offs, buf + offs); 110 man_descope(man, line, offs, bu 177 man_pmacro(struct roff_man *man, int ln, char *buf, int offs) argument [all...] |
H A D | mdoc.c | 62 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) argument 79 return roff_getcontrol(mdoc->roff, buf, &offs) ? 80 mdoc_pmacro(mdoc, ln, buf, offs) : 81 mdoc_ptext(mdoc, ln, buf, offs); 165 mdoc_ptext(struct roff_man *mdoc, int line, char *buf, int offs) argument 186 line, offs, &offs, buf); 197 for (c = end = buf + offs; *c; c++) { 240 if (buf[offs] == '\0' && (mdoc->flags & ROFF_NOFILL) == 0) { 257 roff_elem_alloc(mdoc, line, offs, ROFF_s 307 mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) argument [all...] |
H A D | mdoc.h | 114 const char *offs; /* -offset */ member in struct:mdoc_bd 121 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-current/lib/libusbhid/ |
H A D | data.c | 46 int i, end, offs; local 63 offs = hpos / 8; 64 end = (hpos + hsize) / 8 - offs; 67 data |= buf[offs + i] << (i*8); 91 int offs; local 112 offs = hpos / 8; 113 end = (hpos + hsize) / 8 - offs; 116 buf[offs + i] = (buf[offs + i] & (mask >> (i*8))) |
|
/freebsd-current/sys/dev/cas/ |
H A D | if_casvar.h | 200 #define CAS_BARRIER(sc, offs, len, flags) \ 201 bus_barrier((sc)->sc_res[CAS_RES_MEM], (offs), (len), (flags)) 203 #define CAS_READ_N(n, sc, offs) \ 204 bus_read_ ## n((sc)->sc_res[CAS_RES_MEM], (offs)) 205 #define CAS_READ_1(sc, offs) CAS_READ_N(1, (sc), (offs)) 206 #define CAS_READ_2(sc, offs) CAS_READ_N(2, (sc), (offs)) 207 #define CAS_READ_4(sc, offs) CAS_READ_N(4, (sc), (offs)) [all...] |
/freebsd-current/contrib/libexecinfo/ |
H A D | backtrace.c | 77 rasprintf(char **buf, size_t *bufsiz, size_t offs, const char *fmt, ...) argument 83 if (*buf && offs < *bufsiz) { 88 len = vsnprintf(*buf + offs, *bufsiz - offs, fmt, ap); 91 if (len < 0 || (size_t)len + 1 < *bufsiz - offs) 95 nbufsiz = MAX(offs, *bufsiz) + 512; 114 format_string(char **buf, size_t *bufsiz, size_t offs, const char *fmt, argument 118 size_t o = offs; 152 return o - offs; 156 format_address(symtab_t *st, char **buf, size_t *bufsiz, size_t offs, argument 194 size_t offs = len * sizeof(char *); local [all...] |
/freebsd-current/usr.sbin/dumpcis/ |
H A D | readcis.c | 197 off_t offs; local 214 offs = (uint32_t)tpl32(tp->data); 217 offs, flag ? "Attribute" : "Common"); 222 if (offs > 0 && offs < 32 * 1024 && ck_linktarget(fd, offs, flag)) { 223 tl = read_one_tuplelist(fd, flag, offs); 248 read_one_tuplelist(int fd, int flags, off_t offs) argument 258 if (tl->offs == offs 333 ck_linktarget(int fd, off_t offs, int flag) argument [all...] |
H A D | readcis.h | 39 off_t offs; member in struct:tuple_list
|
/freebsd-current/sys/dev/xdma/controller/ |
H A D | pl330.c | 477 uint32_t offs; local 495 offs = 0; 509 offs += emit_mov(&chan->ibuf[offs], R_CCR, reg); 518 offs += emit_mov(&ibuf[offs], R_SAR, src_addr_lo); 519 offs += emit_mov(&ibuf[offs], R_DAR, dst_addr_lo); 526 offs += emit_lp(&ibuf[offs], [all...] |
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitops.h | 172 int offs; local 177 offs = size % BITS_PER_LONG; 180 if (offs) { 181 mask = (*addr) & BITMAP_LAST_WORD_MASK(offs); 198 int offs; local 205 offs = offset % BITS_PER_LONG; 208 if (offs) { 209 mask = (*addr) & ~BITMAP_LAST_WORD_MASK(offs); 238 int offs; local 245 offs [all...] |
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | io.cc | 277 void do_ftruncate(off_t offs) argument 279 ASSERT_EQ(0, ftruncate(m_test_fd, offs)) << strerror(errno); 280 ASSERT_EQ(0, ftruncate(m_control_fd, offs)) << strerror(errno); 281 m_filesize = offs; 284 void do_mapread(off_t offs, ssize_t size) argument 292 pg_offset = offs & page_mask; 296 offs - pg_offset); 301 ASSERT_EQ(size, pread(m_control_fd, control_buf, size, offs)) 304 compare((void*)((char*)p + pg_offset), control_buf, offs, size); 310 void do_read(off_t offs, ssize_ argument 332 do_mapwrite(off_t offs, ssize_t size) argument 368 do_write(off_t offs, ssize_t size) argument [all...] |
/freebsd-current/contrib/ntp/scripts/ |
H A D | summary.in | 135 my ($freq, $offs); 150 ($offs, $freq) = ($Fld[2], $Fld[3]); 151 $loop_tmax = max($loop_tmax, $offs); 152 $loop_tmin = min($loop_tmin, $offs); 155 $loop_time += $offs; 156 $loop_time_rms += $offs * $offs; 212 my ($dist, $offs); 224 $offs = $Fld[4]; 225 if ($offs > [all...] |
/freebsd-current/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; 293 if (offs + tlen > nbytes) 295 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); 299 return CAST(int32_t, offs); 307 size_t offs local [all...] |
/freebsd-current/contrib/llvm-project/clang/include/clang/Edit/ |
H A D | FileOffset.h | 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} argument
|
/freebsd-current/stand/efi/include/ |
H A D | efifs.h | 104 #define EFI_LBAL_ARRAY_SIZE(lbal,offs,blks) \ 105 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
|
/freebsd-current/sys/cddl/dev/dtrace/aarch64/ |
H A D | dtrace_subr.c | 268 int offs; local 281 offs = (data >> OFFSET_SHIFT) & OFFSET_MASK; 285 if (offs >> (OFFSET_SIZE - 1)) 286 sp -= (~offs & OFFSET_MASK) + 1; 288 sp += (offs); 295 if (offs >> (OFFSET_SIZE - 1)) 296 sp -= (~offs & OFFSET_MASK) + 1; 298 sp += (offs);
|
/freebsd-current/sys/contrib/zlib/ |
H A D | inftrees.c | 54 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local 136 offs[1] = 0; 138 offs[len + 1] = offs[len] + count[len]; 142 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac3_mac.c | 17 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; local 24 offs = ru; 28 offs = ru - 37; 32 offs = ru - 53; 36 offs = ru - 61; 40 offs = ru - 65; 52 le16_encode_bits(offs,
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 13 u32 offs; local 26 offs = is_mt7915(&dev->mt76) ? MT_EE_PRECAL : MT_EE_PRECAL_V2; 28 return mt76_get_of_eeprom(mdev, dev->cal, offs, val); 322 u32 val, offs; local 327 offs = is_7976 ? MT_EE_RATE_DELTA_2G_V2 : MT_EE_RATE_DELTA_2G; 329 offs = is_7976 ? MT_EE_RATE_DELTA_5G_V2 : MT_EE_RATE_DELTA_5G; 331 offs = is_7976 ? MT_EE_RATE_DELTA_6G_V2 : 0; 333 val = eeprom[offs]; 335 if (!offs || !(val & MT_EE_RATE_DELTA_EN))
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_ppmd8_private.h | 102 #define Ppmd8_GetPtr(p, offs) ((void *)((p)->Base + (offs))) 103 #define Ppmd8_GetContext(p, offs) ((CPpmd8_Context *)Ppmd8_GetPtr((p), (offs)))
|
/freebsd-current/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 92 int offs; local 179 offs = (*instr & B_DATA_MASK); 180 offs *= 4; 181 target = (instr + offs);
|
/freebsd-current/sys/dev/beri/virtio/ |
H A D | virtio.c | 107 _vq_record(uint32_t offs, int i, volatile struct vring_desc *vd, argument 112 iov[i].iov_base = paddr_map(offs, be64toh(vd->addr), 120 vq_getchain(uint32_t offs, struct vqueue_info *vq, argument 139 _vq_record(offs, i, vdir, iov, n_iov, flags); 143 vindir = paddr_map(offs, be64toh(vdir->addr), 148 _vq_record(offs, i, vp, iov, n_iov, flags);
|
/freebsd-current/sys/dev/iwm/ |
H A D | if_iwm_pcie_trans.c | 212 int offs, ret = 0; local 217 for (offs = 0; offs < dwords; offs++) 218 vals[offs] = IWM_READ(sc, IWM_HBUS_TARG_MEM_RDAT); 231 int offs; local 237 for (offs = 0; offs < dwords; offs++) { 238 uint32_t val = vals ? vals[offs] [all...] |