/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_whatis.c | 92 uint_t offset, cur; local 113 cur = offset = f - w->w_addrs; 134 for (cur = offset + 1; cur < w->w_naddrs; cur++) { 151 size_t offset; local 170 if ((offset = w->w_match_next) != 0 && 176 offset = 0; 179 if (offset == 0) { 185 offset = (f - w->w_addrs); 188 while (offset > 0 && w->w_addrs[offset [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | isadma.c | 416 off_t offset = (caddr_t)addr - hdlp->ahi_common.ah_addr; local 419 if (IN_CHILD_SPACE(offset)) { /* Pass to parent */ 432 if (IN_16BIT_SPACE(offset)) 436 if (IS_SEQREG(offset)) 457 off_t offset = (caddr_t)addr - hdlp->ahi_common.ah_addr; local 460 if (IN_CHILD_SPACE(offset)) { /* Pass to parent */ 473 if (!IN_16BIT_SPACE(offset)) 477 ddi_put8(phdl, (uint8_t *)HDL_TO_SEQREG_ADDR(hdlp, offset), 0); 516 off_t offset = (caddr_t)addr - hdlp->ahi_common.ah_addr; local 518 if (IN_CHILD_SPACE(offset)) { /* Pas 574 off_t offset = (caddr_t)addr - hdlp->ahi_common.ah_addr; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/amd64/ |
H A D | framebuffer.c | 274 ssize_t offset; local 305 * offset within the frame buffer of the visible region, nor 310 offset = -1; 320 offset = 0x10000; 328 offset = 0x0; 337 if (offset >= 0 && efifb->fb_width == horiz && 339 efifb->fb_addr += offset; 340 efifb->fb_size -= offset; 343 } else if (offset >= 0) { 372 * offset [all...] |
/illumos-gate/usr/src/lib/librsm/inc/ |
H A D | rsmndi.h | 95 off_t offset, 101 off_t offset, 107 off_t offset, 113 off_t offset, 119 off_t offset, 128 off_t offset, 134 off_t offset, 140 off_t offset, 146 off_t offset, 152 off_t offset, [all...] |
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 291 /* pass offset to relative name from FTW_CHDIR */ 301 long offset = 0; local 344 if ((ptrend = memchr(ptr + offset, '\n', count)) == NULL) { 345 offset += count; 351 (void) memmove(prntbuf, ptr, offset); 358 if (offset + GBUFSIZ > fw_lPrntBufLen) { 380 p = prntbuf + offset; 384 if (offset == 0) 389 ptrend = ptr + offset; 393 next_count = offset [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ctf.h | 66 * flags, and the byte offset of each of the sections relative to the end of the 87 * Strings are recorded as a string table ID (0 or 1) and a byte offset into the 101 #define CTF_MAX_NAME 0x7fffffff /* max offset into a string table */ 103 #define CTF_MAX_INTOFF 0xff /* max offset of intrinsic value in bits */ 121 uint_t cth_lbloff; /* offset of label section */ 122 uint_t cth_objtoff; /* offset of object section */ 123 uint_t cth_funcoff; /* offset of function section */ 124 uint_t cth_typeoff; /* offset of type section */ 125 uint_t cth_stroff; /* offset of string section */ 204 * offset [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000_osdep.h | 144 #define E1000_WRITE_REG_ARRAY(hw, reg, offset, value) \ 149 reg + ((offset) << 2)),\ 155 ((offset) << 2)), value); \ 158 #define E1000_READ_REG_ARRAY(hw, reg, offset) (\ 162 ((offset) << 2))) : \ 166 ((offset) << 2)))) 169 #define E1000_WRITE_REG_ARRAY_DWORD(a, reg, offset, value) \ 170 E1000_WRITE_REG_ARRAY(a, reg, offset, value) 171 #define E1000_READ_REG_ARRAY_DWORD(a, reg, offset) \ 172 E1000_READ_REG_ARRAY(a, reg, offset) [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 266 * header + the language tag (i.e. the offset at which the rest of 309 * Retrieves the 24 bit int stored at 'off' offset into 'header'. 324 * offset into the header. 334 * Retrieves the 16 bit integer stored at 'off' offset into 'header'. 345 * offset into the header. 441 size_t offset = 0; local 446 offset = *piOffset; 450 *piByte = (int)pcBuf[offset]; 456 size_t offset = 0; local 461 offset 476 size_t offset = 0; local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_form.c | 243 A global offset cannot be returned by this interface: 247 for this call because DW_FORM_ref_addr is a global-offset into 254 from this function, DW_FORM_sec_offset is a global offset 255 (to various sections, not a CU relative offset. 258 DWARF2 as address-size but which was always an offset 259 so should have always been offset size (wording 269 Dwarf_Unsigned offset = 0; local 293 offset = *(Dwarf_Small *) attr->ar_debug_info_ptr; 297 READ_UNALIGNED(dbg, offset, Dwarf_Unsigned, 302 READ_UNALIGNED(dbg, offset, Dwarf_Unsigne 403 Dwarf_Unsigned offset = 0; local 858 Dwarf_Unsigned offset = 0; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 316 off_t offset = input->cd_offset; local 326 offset >= uiop->uio_iov[vec_idx].iov_len; 327 offset -= uiop->uio_iov[vec_idx++].iov_len) 340 cur_len = MIN(iovp->iov_len - offset, length); 342 start = (uchar_t *)(iovp->iov_base + offset); 343 arcfour_crypt(key, start + offset, 344 start + offset, cur_len); 348 offset = 0; 433 off_t offset = input->cd_offset; local 443 offset > 590 off_t offset = out->cd_offset; local 642 advance_position(mblk_t *mp, off_t offset, uchar_t **cpp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_vir.c | 145 uint64_t value = 0, offset = 0; local 155 offset = fzc_pio_ldgnum_offset[i] + 8 * ldv; 156 NXGE_REG_RD64(handle, offset, &value); 160 ldv, offset, 174 uint64_t value, offset; local 184 offset = pio_ldsv_offset[i] + 8192 * ldg; 185 NXGE_REG_RD64(handle, offset, &value); 189 ldg, offset, 203 uint64_t value, offset; local 213 offset 247 uint64_t value, offset; local 813 int offset; local 962 uint64_t offset; local 1020 uint64_t offset; local 1148 uint64_t offset; local 1186 uint64_t offset; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | object.c | 521 CK_ULONG_32 offset; local 541 offset = 0; 543 (void) memcpy(buf + offset, &obj->class, sizeof (CK_OBJECT_CLASS_32)); 544 offset += sizeof (CK_OBJECT_CLASS_32); 546 (void) memcpy(buf + offset, &count, sizeof (CK_ULONG_32)); 547 offset += sizeof (CK_ULONG_32); 549 (void) memcpy(buf + offset, &obj->name, sizeof (CK_BYTE) * 8); 550 offset += 8; 551 rc = template_flatten(obj->template, buf + offset); 759 CK_ULONG offset local [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 53 static int create_dirents(struct autofs_rddir_cache *rdcp, ulong_t offset, 224 ulong_t offset, 246 this_bucket = (offset < next->offset); 251 assert(offset >= offtp->offset); 260 for (l = list; l != NULL && l->offset < offset; l = l->next) 272 trace_prt(1, "%s: offset searches (%d, %d)\n", rdcp->map, x, y); 296 * get the next elements offset 222 create_dirents( struct autofs_rddir_cache *rdcp, ulong_t offset, autofs_rddirres *res) argument 514 ulong_t offset = AUTOFS_DAEMONCOOKIE, offset_list = AUTOFS_DAEMONCOOKIE; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_extvnops.c | 64 u_offset_t offset, 75 u_offset_t offset1 = offset; /* Initial offset */ 150 fdb_add_hole(fdbp, offset1 - offset, nbytes); 163 bp = fdb_iosetup(fdbp, offset1 - offset, contig, vnodep, flags); 226 * space for the specified offset and length. 236 u_offset_t offset, 290 uoff = offset; 291 io_off = offset; 310 DEBUGF((CE_CONT, "?ufs_alloc_data: offset 62 ufs_rdwr_data( vnode_t *vnodep, u_offset_t offset, size_t len, fdbuffer_t *fdbp, int flags, cred_t *credp) argument 234 ufs_alloc_data( vnode_t *vnodep, u_offset_t offset, size_t *len, fdbuffer_t *fdbp, int flags, cred_t *credp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_nt_transact_security.c | 228 uint32_t offset = SMB_SD_HDRSIZE; local 234 /* owner offset */ 237 (void) smb_mbc_encodef(mbc, "l", offset); 238 offset += smb_sid_len(sd->sd_owner); 243 /* group offset */ 246 (void) smb_mbc_encodef(mbc, "l", offset); 247 offset += smb_sid_len(sd->sd_group); 252 /* SACL offset */ 254 (void) smb_mbc_encodef(mbc, "l", offset); 255 offset 445 smb_decode_sid(mbuf_chain_t *mbc, uint32_t offset) argument 498 smb_decode_acl(mbuf_chain_t *mbc, uint32_t offset) argument [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_nvm.c | 434 * @offset: offset of word in the EEPROM to read 440 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 450 /* A check for invalid values: offset too large, too many words, 453 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || 469 if ((nvm->address_bits == 8) && (offset >= 128)) 474 e1000_shift_out_eec_bits(hw, (u16)(offset*2), nvm->address_bits); 478 * us to read the whole NVM from any offset 494 * @offset 500 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 555 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 603 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 683 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 773 u16 offset; local [all...] |
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_generic.c | 127 diskaddr_t offset, caddr_t buffer, size_t size) 133 r_p.offset = (uint32_t)offset; 143 diskaddr_t offset, caddr_t buffer, size_t size) 149 r_p.offset = (uint32_t)offset; 126 smedia_raw_read(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument 142 smedia_raw_write(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_memory.c | 156 off_t offset; local 160 iomap->size, &offset); 170 (caddr_t *)&(iomap->drm_base), (offset_t)offset, 174 " offset=0x%x", regnum, offset); 191 iomap.physical = map->offset; 197 map->offset, map->size);
|
/illumos-gate/usr/src/uts/intel/io/vgatext/ |
H A D | bdf_to_c.awk | 63 offset += length($0)/2; 75 offset = 0; 220 encoding[$2] = offset;
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x550.h | 52 u16 offset, u16 words, u16 *data); 53 s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, 56 u16 offset, u16 words, u16 *data); 57 s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, 59 s32 ixgbe_read_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset, 61 s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | fake_shdr.c | 288 Off offset; /* File offset of data. Ignored unless */ member in struct:__anon1430 390 * segment that contains it and return the offset within the ELF file 408 * to program header that contains offset. 411 * is non-NULL, it is updated. The file offset is returned. 415 * offset for a virtual address, and is therefore unambiguous as 422 Off offset; local 436 * offset relative to the segment (not the file). 438 offset = addr - phdr->p_vaddr; 439 avail_file = phdr->p_filesz - offset; 479 map_offset_to_addr(FSTATE *fstate, Off offset, size_t size, size_t *zero_bytes, Phdr **phdr_ret) argument 580 read_data(FSTATE *fstate, Off offset, void *buf, size_t nbyte, Elf_Type xlate_type) argument 613 Off offset; local 637 read_verdef(FSTATE *fstate, Off offset, Half *cnt, Word *aux, Word *next) argument 672 read_verdaux(FSTATE *fstate, Off offset, Word *next) argument 697 read_verneed(FSTATE *fstate, Off offset, Half *cnt, Word *aux, Word *next) argument 732 read_vernaux(FSTATE *fstate, Off offset, Word *next) argument 786 Off offset, aux_offset; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | hercules.c | 48 unsigned offset = herc_y * HERCULES_WIDTH + herc_x; local 52 outb (HERCULES_DATA_REG, offset & 0xFF); 57 outb (HERCULES_DATA_REG, offset >> 8);
|
/illumos-gate/usr/src/tools/stabs/ |
H A D | genassym.c | 230 ((mlp->size % 8) != 0 || (mlp->offset % mlp->size) != 0)) { 231 int offset, shift, mask; local 233 offset = (mlp->offset / 32) * 4; 234 shift = 32 - ((mlp->offset % 32) + mlp->size); 239 printf("#define\t%s_OFFSET 0x%x\n", format, offset); 241 printf("#define\t%s 0x%x\n", format, mlp->offset / 8); 264 printf("#define\t%s 0x%x\n", format, mlp->offset / 8); 277 printf("#define\t%s 0x%x\n", format, mlp->offset / 8); 295 printf("#define\t%s 0x%x\n", format, mlp->offset / [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netlogon.c | 275 int offset, announce_len, data_length, name_lengths; local 293 offset = smb_browser_load_transact_header(buffer, 297 if (offset < 0) 300 smb_msgbuf_init(&mb, buffer + offset, sizeof (buffer) - offset, 0); 317 smb_netlogon_send(server, domain, buffer, offset + announce_len); 356 int offset; local 393 offset = smb_browser_load_transact_header(buffer, 397 if (offset < 0) { 405 smb_msgbuf_init(&mb, buffer + offset, sizeo [all...] |
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_pci.c | 195 gfxp_pci_read_byte(gfxp_acc_handle_t handle, uint16_t offset) argument 207 val = (*pci_getb_func)(bus, dev, func, offset); 212 gfxp_pci_read_word(gfxp_acc_handle_t handle, uint16_t offset) argument 224 val = (*pci_getw_func)(bus, dev, func, offset); 229 gfxp_pci_read_dword(gfxp_acc_handle_t handle, uint16_t offset) argument 241 val = (*pci_getl_func)(bus, dev, func, offset); 246 gfxp_pci_write_byte(gfxp_acc_handle_t handle, uint16_t offset, uint8_t value) argument 257 (*pci_putb_func)(bus, dev, func, offset, value); 261 gfxp_pci_write_word(gfxp_acc_handle_t handle, uint16_t offset, uint16_t value) argument 272 (*pci_putw_func)(bus, dev, func, offset, valu 276 gfxp_pci_write_dword(gfxp_acc_handle_t handle, uint16_t offset, uint32_t value) argument [all...] |