Searched refs:ofs (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmd.c91 size_t ofs; local
102 ofs = blk * MD_BLOCK_SIZE;
103 if ((ofs + size) > MD_IMAGE_SIZE)
104 size = MD_IMAGE_SIZE - ofs;
111 bcopy(md_image.start + ofs, buf, size);
114 bcopy(buf, md_image.start + ofs, size);
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiosacpi.c112 int ofs, idx; local
115 for (ofs = 0; ofs < length; ofs += 16) {
116 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dpkgfs.c331 pkg_seek(struct open_file *f, off_t ofs, int whence) argument
347 delta = ofs - tf->tf_fp;
350 delta = ofs;
353 delta = tf->tf_size - tf->tf_fp + ofs;
617 off_t ofs; local
631 ofs = 0;
634 if (get_byte(pkg, &ofs) != 0x1f || get_byte(pkg, &ofs) != 0x8b)
637 if (get_byte(pkg, &ofs) != Z_DEFLATED)
640 flags = get_byte(pkg, &ofs);
709 off_t ofs; local
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dsubr.c278 int ofs = 0; local
281 if (ofs % 16 == 0)
282 fprintf(stderr, "%02X: ", ofs);
284 ofs++;
285 if (ofs % 16 == 0)
288 if (ofs % 16 != 0)
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwvar.h128 #define RTW_SR_GET(sr, ofs) \
129 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff)
131 #define RTW_SR_GET16(sr, ofs) \
132 (RTW_SR_GET((sr), (ofs)) | (RTW_SR_GET((sr), (ofs) + 1) << 8))
H A Drtwreg.h1219 #define RTW_READ8(regs, ofs) \
1221 (uint8_t *)((regs)->r_base + (ofs)))
1223 #define RTW_READ16(regs, ofs) \
1225 (uint16_t *)((uintptr_t)(regs)->r_base + (ofs)))
1227 #define RTW_READ(regs, ofs) \
1229 (uint32_t *)((uintptr_t)(regs)->r_base + (ofs)))
1231 #define RTW_WRITE8(regs, ofs, val) \
1233 (uint8_t *)((regs)->r_base + (ofs)), val)
1235 #define RTW_WRITE16(regs, ofs, val) \
1237 (uint16_t *)((uintptr_t)(regs)->r_base + (ofs)), va
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/
H A Dsrvinfo.c220 int ofs = 0; local
223 if (ofs % 16 == 0)
224 printf("\n%02X: ", ofs);
226 ofs++;
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/
H A Dframebuffer.c119 ssize_t ofs; local
141 ofs = 0;
146 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2,
159 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2,
174 return (ofs + (idx & ~3));
177 ofs += count;
/illumos-gate/usr/src/tools/scripts/
H A Dws.sh104 unset setenv osbld_flag os_rev wsosdir protofile wsname ofs proto \
165 ofs=$IFS
174 IFS=$ofs
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c493 char *ofs; local
500 ofs = wcstombsdup((isstring(varOFS->n_flags)) ?
506 (void) fputs(ofs, fp);
517 free(ofs);
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dstrcmp.s88 sllx %o3, 3, %g5 ! leftshift = 8*ofs
94 sub %g0, %g5, %g4 ! rightshift = -(8*ofs) mod 64
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c1412 static int tg3_stop_block(struct tg3 *tp, unsigned long ofs, uint32_t enable_bit) argument
1418 switch(ofs) {
1432 val = tr32(ofs);
1434 tw32(ofs, val);
1435 tr32(ofs);
1439 val = tr32(ofs);
1445 printf("tg3_stop_block timed out, ofs=%lx enable_bit=%x\n",
1446 ofs, enable_bit);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c7794 int ofs, nfs, r; local
7835 ofs = Queue[old->e_dfqgrp]->qg_qpaths[old->e_dfqdir].qp_fsysidx;
7837 if (FILE_SYS_DEV(ofs) == FILE_SYS_DEV(nfs))

Completed in 122 milliseconds