Searched refs:ofs (Results 101 - 125 of 133) sorted by relevance

123456

/freebsd-11-stable/sys/dev/drm/
H A Dmach64_dma.c1516 u32 head, tail, ofs; local
1545 ofs = entry->ring_ofs;
1547 ((head < tail && (ofs < head || ofs >= tail)) ||
1548 (head > tail && (ofs < head && ofs >= tail)))) {
1574 "buf ring ofs=%d).\n",
1575 head, tail, ofs);
/freebsd-11-stable/sys/dev/puc/
H A Dpuc.c218 bus_addr_t ofs, start; local
291 ofs = res;
298 port->p_rres = rman_reserve_resource(rm, start + ofs,
299 start + ofs + size - 1, size, 0, NULL);
303 bus_space_subregion(bst, bsh, ofs, size, &bsh);
H A Dpucdata.c1550 int efir, idx, ofs; local
1576 ofs = base[idx] & 0x300;
1578 bus_write_1(bar->b_res, efir + 1, (ofs + 0x78) >> 2);
1580 bus_write_1(bar->b_res, efir + 1, (ofs + 0xf8) >> 2);
1582 bus_write_1(bar->b_res, efir + 1, (ofs + 0xe8) >> 2);
/freebsd-11-stable/sys/dev/hyperv/netvsc/
H A Dhn_rndis.c327 int error, ofs; local
386 /* ofs is the offset from the beginning of comp. */
387 ofs = RNDIS_QUERY_COMP_INFOBUFOFFSET_ABS(comp->rm_infobufoffset);
388 if (ofs < sizeof(*comp) || ofs + comp->rm_infobuflen > comp_len) {
400 memcpy(odata, ((const uint8_t *)comp) + ofs, odlen);
H A Dif_hn.c2882 hn_rndis_pktmsg_offset(uint32_t ofs) argument
2885 KASSERT(ofs >= sizeof(struct rndis_packet_msg),
2886 ("invalid RNDIS packet msg offset %u", ofs));
2887 return (ofs - __offsetof(struct rndis_packet_msg, rm_dataoffset));
4227 int ofs = arg2, i, error; local
4234 stat += *((int *)((uint8_t *)rxr + ofs));
4244 *((int *)((uint8_t *)rxr + ofs)) = 0;
4253 int ofs = arg2, i, error; local
4260 stat += *((uint64_t *)((uint8_t *)rxr + ofs));
4270 *((uint64_t *)((uint8_t *)rxr + ofs))
4281 int ofs = arg2, i, error; local
4307 int ofs = arg2, i, error; local
4333 int ofs = arg2, i, error, conf; local
6944 int ofs; local
7337 int ofs, len; local
[all...]
/freebsd-11-stable/sys/geom/part/
H A Dg_part_ebr.c500 off_t ofs, msize; local
510 ofs = (off_t)lba * pp->sectorsize;
511 buf = g_read_data(cp, ofs, pp->sectorsize, &error);
/freebsd-11-stable/usr.bin/mkimg/
H A Dmkimg.c327 off_t ofs; local
350 ofs = lseek(fd, len, SEEK_CUR);
351 if (ofs < 0)
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dpkt_rx0.asm102 @noWrap: cmp ax, _rxOutOfs ;; in-ofs = out-ofs ?
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_dn_io.c273 int l, ofs; local
275 ofs = m->m_data - m->__m_extbuf;
279 m, m->__m_extbuf, m->__m_extlen, ofs, m_new);
290 m_new->m_data = p + ofs;
/freebsd-11-stable/sys/kern/
H A Dvfs_mountroot.c922 off_t ofs; local
933 ofs = 0;
936 error = vn_rdwr(UIO_READ, nd.ni_vp, buf, len, ofs,
945 ofs += len - resid;
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_fat.c71 static void fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp,
88 fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep, argument
93 bn = ofs / pmp->pm_fatblocksize * pmp->pm_fatblocksec;
103 *bop = ofs % pmp->pm_fatblocksize;
/freebsd-11-stable/sys/dev/ncr/
H A Dncr.c1352 #define FADDR(label,ofs)(RELOC_REGISTER | ((REG(label))+(ofs)))
5810 u_char chg, ofs, per, fak, wide; local
6041 ofs = np->msgin[4];
6042 if (ofs==0) per=255;
6051 if (ofs > tp->tinfo.user.offset)
6052 {chg = 1; ofs = tp->tinfo.user.offset;}
6060 if (ofs != 0) {
6064 ofs = 0;
6067 if (ofs
[all...]
/freebsd-11-stable/contrib/atf/atf-sh/
H A Datf-check.cpp660 std::ofstream ofs(oc.value.c_str(), std::fstream::binary
662 std::ostream_iterator <char> obegin(ofs);
/freebsd-11-stable/tools/bus_space/
H A Dbusdma.c539 bd_sync(int mdid, u_int op, u_long ofs, u_long len) argument
552 ioc.u.sync.base = ofs;
/freebsd-11-stable/sys/dev/nsp/
H A Dnsp.c183 nsp_cr_read_1(struct resource *res, bus_addr_t ofs) argument
186 bus_write_1(res, nsp_idxr, ofs);
191 nsp_cr_write_1(struct resource *res, bus_addr_t ofs, uint8_t va) argument
194 bus_write_1(res, nsp_idxr, ofs);
/freebsd-11-stable/contrib/tcpdump/
H A Dsmbutil.c169 const u_char *buf, int ofs, const u_char *maxbuf)
174 p = buf + ofs;
209 const u_char *buf, int ofs, const u_char *maxbuf, char *name)
211 const u_char *p = name_ptr(ndo, buf, ofs, maxbuf);
168 name_ptr(netdissect_options *ndo, const u_char *buf, int ofs, const u_char *maxbuf) argument
208 name_extract(netdissect_options *ndo, const u_char *buf, int ofs, const u_char *maxbuf, char *name) argument
/freebsd-11-stable/sys/dev/sound/isa/
H A Dsb16.c293 int ofs; member in struct:sb16_mixent
359 sb_setmixer(sb, e->reg, left << e->ofs);
361 sb_setmixer(sb, e->reg + 1, right << e->ofs);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_generic.c970 int ofs = 0; local
989 m_copydata(m, ofs, copy, nmaddr);
990 ofs += copy;
/freebsd-11-stable/usr.sbin/mountd/
H A Dmountd.c2057 struct statfs fs, ofs; local
2129 if (statfs(oep->ex_fsdir, &ofs) >= 0 &&
2130 oep->ex_fs.val[0] == ofs.f_fsid.val[0] &&
2131 oep->ex_fs.val[1] == ofs.f_fsid.val[1]) {
2144 delete_export(iov, iovlen, &ofs,
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbio.h528 # define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
/freebsd-11-stable/sys/dev/sound/pci/
H A Demu10k1.c1348 u_int32_t blksz, start, idx, ofs, tmp, found; local
1385 ofs = 0;
1388 tmp = (uint32_t)(blk->buf_addr + ofs);
1391 ((u_int32_t)buf) + ofs);
1394 ofs += EMUPAGESIZE;
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf64-alpha.c3058 bfd_vma ofs;
3080 ofs = (symval - info->tsec->output_section->vma
3085 (tsec_relocs, tsec_relend, ofs, R_ALPHA_GPDISP));
4872 int ofs;
4876 ofs = gotplt_vma - (plt_vma + PLT_HEADER_SIZE);
4881 insn = INSN_ABO (INSN_LDAH, 28, 28, (ofs + 0x8000) >> 16);
4887 insn = INSN_ABO (INSN_LDA, 28, 28, ofs);
3049 bfd_vma ofs; local
4862 int ofs; local
/freebsd-11-stable/contrib/file/src/
H A Dcdf.c890 size_t ofs; local
900 ofs = CDF_GETUINT32(p, tail);
902 ofs - 2 * sizeof(uint32_t)));
/freebsd-11-stable/contrib/binutils/gas/
H A Ddwarf2dbg.c304 dwarf2_gen_line_info (addressT ofs, struct dwarf2_line_info *loc)
326 sym = symbol_temp_new (now_seg, ofs, frag_now);
302 dwarf2_gen_line_info(addressT ofs, struct dwarf2_line_info *loc) argument
/freebsd-11-stable/sys/powerpc/booke/
H A Dpmap.c2684 vm_offset_t ofs; local
2697 ofs = pa - ppa;
2701 if (sz > (gran - ofs))
2710 vm_offset_t ofs; local
2735 ofs = pa - ppa;
2736 if (sz > (gran - ofs)) {

Completed in 515 milliseconds

123456