Home
last modified time | relevance | path

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

/titanic_53/usr/src/boot/lib/libstand/
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 …]
/titanic_53/usr/src/boot/sys/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()
/titanic_53/usr/src/boot/sys/boot/i386/libi386/
H A Dbiosacpi.c112 int ofs, idx; in biosacpi_search_rsdp() local
115 for (ofs = 0; ofs < length; ofs += 16) { in biosacpi_search_rsdp()
116 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs); in biosacpi_search_rsdp()
/titanic_53/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()
/titanic_53/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.h128 #define RTW_SR_GET(sr, ofs) \ argument
129 (((sr)->sr_content[(ofs)/2] >> (((ofs) % 2 == 0) ? 0 : 8)) & 0xff)
131 #define RTW_SR_GET16(sr, ofs) \ argument
132 (RTW_SR_GET((sr), (ofs)) | (RTW_SR_GET((sr), (ofs) + 1) << 8))
/titanic_53/usr/src/cmd/fs.d/smbclnt/test/
H A Dsrvinfo.c220 int ofs = 0; in hexdump() local
223 if (ofs % 16 == 0) in hexdump()
224 printf("\n%02X: ", ofs); in hexdump()
226 ofs++; in hexdump()
/titanic_53/usr/src/boot/sys/boot/efi/loader/arch/amd64/
H A Dframebuffer.c119 ssize_t ofs; in efifb_uga_find_pixel() local
141 ofs = 0; in efifb_uga_find_pixel()
146 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2, in efifb_uga_find_pixel()
159 EFI_PCI_IO_PASS_THROUGH_BAR, addr + ofs, count >> 2, in efifb_uga_find_pixel()
174 return (ofs + (idx & ~3)); in efifb_uga_find_pixel()
177 ofs += count; in efifb_uga_find_pixel()
/titanic_53/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
/titanic_53/usr/src/cmd/awk_xpg4/
H A Dawk2.c493 char *ofs; in s_print() local
500 ofs = wcstombsdup((isstring(varOFS->n_flags)) ? in s_print()
506 (void) fputs(ofs, fp); in s_print()
517 free(ofs); in s_print()
/titanic_53/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
/titanic_53/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()
/titanic_53/usr/src/cmd/spell/
H A Dstop776 ofs
/titanic_53/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))