/illumos-gate/usr/src/boot/libsa/ |
H A D | pkgfs.c | 331 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 D | md.c | 91 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 D | subr.c | 278 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 D | biosacpi.c | 241 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 D | rtwreg.h | 1219 #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 D | rtwvar.h | 130 #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 D | fastlz.c | 459 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 D | ws.sh | 104 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 D | framebuffer.c | 144 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 D | awk2.c | 491 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 D | strcmp.S | 88 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 D | tg3.c | 1412 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 D | compile-i386.c | 408 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 D | stop | 776 ofs
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | queue.c | 7795 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 D | system-test-utiltest.p5m | 63 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
|