Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/boot/libsa/
H A Dpkgfs.c331 pkg_seek(struct open_file *f, off_t ofs, int whence) in pkg_seek() argument
347 delta = ofs - tf->tf_fp; in pkg_seek()
350 delta = ofs; in pkg_seek()
353 delta = tf->tf_size - tf->tf_fp + ofs; in pkg_seek()
617 off_t ofs; in new_package() local
631 ofs = 0; in new_package()
634 if (get_byte(pkg, &ofs) != 0x1f || get_byte(pkg, &ofs) != 0x8b) in new_package()
637 if (get_byte(pkg, &ofs) != Z_DEFLATED) in new_package()
640 flags = get_byte(pkg, &ofs); in new_package()
646 if (get_byte(pkg, &ofs) == -1) in new_package()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dmd.c91 size_t ofs; in md_strategy() local
102 ofs = blk * MD_BLOCK_SIZE; in md_strategy()
103 if ((ofs + size) > MD_IMAGE_SIZE) in md_strategy()
104 size = MD_IMAGE_SIZE - ofs; in md_strategy()
111 bcopy(md_image.start + ofs, buf, size); in md_strategy()
114 bcopy(buf, md_image.start + ofs, size); in md_strategy()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dsubr.c278 int ofs = 0; in smb_hexdump() local
281 if (ofs % 16 == 0) in smb_hexdump()
282 fprintf(stderr, "%02X: ", ofs); in smb_hexdump()
284 ofs++; in smb_hexdump()
285 if (ofs % 16 == 0) in smb_hexdump()
288 if (ofs % 16 != 0) in smb_hexdump()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosacpi.c241 int ofs, idx; in biosacpi_search_rsdp() local
244 for (ofs = 0; ofs < length; ofs += 16) { in biosacpi_search_rsdp()
245 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs); in biosacpi_search_rsdp()
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwreg.h1219 #define RTW_READ8(regs, ofs) \ argument
1221 (uint8_t *)((regs)->r_base + (ofs)))
1223 #define RTW_READ16(regs, ofs) \ argument
1225 (uint16_t *)((uintptr_t)(regs)->r_base + (ofs)))
1227 #define RTW_READ(regs, ofs) \ argument
1229 (uint32_t *)((uintptr_t)(regs)->r_base + (ofs)))
1231 #define RTW_WRITE8(regs, ofs, val) \ argument
1233 (uint8_t *)((regs)->r_base + (ofs)), val)
1235 #define RTW_WRITE16(regs, ofs, val) \ argument
1237 (uint16_t *)((uintptr_t)(regs)->r_base + (ofs)), val)
[all …]
H A Drtwvar.h130 #define RTW_SR_GET(sr, ofs) \ argument
131 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff)
133 #define RTW_SR_GET16(sr, ofs) \ argument
134 (RTW_SR_GET((sr), (ofs)) | (RTW_SR_GET((sr), (ofs) + 1) << 8))
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dfastlz.c459 unsigned int ofs = (ctrl & 31) << 8; in FASTLZ_DECOMPRESSOR() local
466 ref -= ofs; in FASTLZ_DECOMPRESSOR()
482 if (FASTLZ_EXPECT_CONDITIONAL(ofs == in FASTLZ_DECOMPRESSOR()
484 ofs = (*ip++) << 8; in FASTLZ_DECOMPRESSOR()
485 ofs += *ip++; in FASTLZ_DECOMPRESSOR()
486 ref = op - ofs - MAX_DISTANCE; in FASTLZ_DECOMPRESSOR()
/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/boot/efi/loader/
H A Dframebuffer.c144 ssize_t ofs; in efifb_uga_find_pixel() local
166 ofs = 0; in efifb_uga_find_pixel()
171 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2, in efifb_uga_find_pixel()
184 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2, in efifb_uga_find_pixel()
199 return (ofs + (idx & ~3)); in efifb_uga_find_pixel()
202 ofs += count; in efifb_uga_find_pixel()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c491 char *ofs; in s_print() local
498 ofs = wcstombsdup((isstring(varOFS->n_flags)) ? in s_print()
504 (void) fputs(ofs, fp); in s_print()
515 free(ofs); in s_print()
/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) in tg3_stop_block() argument
1418 switch(ofs) { in tg3_stop_block()
1432 val = tr32(ofs); in tg3_stop_block()
1434 tw32(ofs, val); in tg3_stop_block()
1435 tr32(ofs); in tg3_stop_block()
1439 val = tr32(ofs); in tg3_stop_block()
1446 ofs, enable_bit); in tg3_stop_block()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompile-i386.c408 static const char *pretty_offset(int ofs) in pretty_offset() argument
412 if (ofs) in pretty_offset()
413 sprintf(esp_buf, "%d(%%esp)", ofs); in pretty_offset()
/illumos-gate/usr/src/cmd/spell/
H A Dstop776 ofs
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c7795 int ofs, nfs, r; local
7836 ofs = Queue[old->e_dfqgrp]->qg_qpaths[old->e_dfqdir].qp_fsysidx;
7838 if (FILE_SYS_DEV(ofs) == FILE_SYS_DEV(nfs))
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-test-utiltest.p5m63 file path=opt/util-tests/tests/awk/bugs-fixed/ofs-rebuild.awk mode=0444
64 file path=opt/util-tests/tests/awk/bugs-fixed/ofs-rebuild.ok mode=0444
251 file path=opt/util-tests/tests/awk/examples/awk/t.ofs mode=0444
476 file path=opt/util-tests/tests/awk/examples/out/t.ofs mode=0444