/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_bootcfg.c | 69 size_t offset = 0; local 74 for (offset = 1; offset < size; ) { 79 tag = data[offset]; 81 offset++; 82 used = offset; 86 offset++; 91 if (offset + 1 >= size) { 95 length = data[offset + 1]; 98 if (offset 252 size_t offset; local [all...] |
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcdos.c | 83 static struct map *getmapping(Dosdisc_t *dp, Sfoff_t offset, register int whence) argument 85 static struct map *getmapping(dp, offset, whence) 87 Sfoff_t offset; 93 if(offset <= dp->begin) 95 dummy.logical = dummy.physical = offset; 104 while((++mp)->logical && (whence==SEEK_CUR?mp->physical:mp->logical) <= offset); 224 * returns the current offset 225 * <offset> must be in the current buffer 226 * if <whence> is SEEK_CUR, physical offset converted to logical offset 230 cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) argument 276 dos_seek(Sfio_t *iop, Sfoff_t offset, register int whence, Sfdisc_t* disc) argument [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 35 offset_t full; /* full 64 bit offset value */ 43 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) argument 54 return (lseek(filedes, offset, whence)); 63 adp++; /* offset argument */ 67 adp->arg_value = offset; 75 off.full = offset; 104 offset = rval.sys_rval1; 108 offset = (off_t)off.full; 111 return (offset); 118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, in argument [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | stat.c | 50 show_stat(private_t *pri, long offset) argument 54 show_stat64(pri, offset); 56 show_stat32(pri, offset); 58 show_stat32(pri, offset); 63 show_stat32(private_t *pri, long offset) argument 68 if (offset != NULL && 69 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) { 108 show_stat64_32(private_t *pri, long offset) argument 113 if (offset != NULL && 114 Pread(Proc, &statb, sizeof (statb), offset) 153 show_stat64(private_t *pri, long offset) argument [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_addr.c | 218 int offset, c; local 223 offset = 0; 232 addr += offset; 233 offset = getnum(); 235 addr += offset; 237 addr -= offset; 239 offset = 0; 250 if (addr || offset) 253 offset += lastsign; 364 if (offset) { [all...] |
/illumos-gate/usr/src/uts/sun4v/io/pciex/ |
H A D | pci_cfgacc_4v.c | 52 if (IS_P2ALIGNED(req->offset, sz) && 53 (req->offset + sz - 1 < PCIE_CFG_SPACE_SIZE) && 57 cmn_err(CE_WARN, "illegal PCI request: offset = %x, size = %d", 58 req->offset, sz); 66 pci_cfgacc_get(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size) argument 80 offset, size, (pci_cfg_data_t *)&data); 86 pci_cfgacc_set(dev_info_t *dip, uint16_t bdf, uint16_t offset, uint8_t size, argument 101 (void) hvio_config_put(devhdl, devaddr, offset, size, wdata); 114 pci_cfgacc_set(req->rcdip, req->bdf, req->offset, 118 req->offset, re [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pr_to_salt.c | 42 unsigned int size = 0, offset=0; local 65 offset = krb5_princ_realm(context, pr)->length; 66 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset); 70 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data, 72 offset += krb5_princ_component(context, pr, i)->length;
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | fseeko.c | 57 fseeko64(FILE *iop, off64_t offset, int ptrname) argument 73 offset -= iop->_cnt; 86 p = lseek64(FILENO(iop), offset, ptrname); 93 fseeko(FILE *iop, off_t offset, int ptrname) argument 95 return (fseek(iop, offset, ptrname));
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_store.c | 67 register ushort_t offset = vuid_id_offset(event->id); local 82 int_bit = vuid_get_int_bit(seg, offset); 85 (void) vuid_add_value(seg, offset); 91 vuid_set_boolean_bit(seg, offset); 93 vuid_clear_boolean_bit(seg, offset); 96 val_node = vuid_find_value(seg, offset); 145 register ushort_t offset = vuid_id_offset(id); local 151 if (!vuid_get_int_bit(seg, offset)) 152 return (vuid_get_boolean_bit(seg, offset) != 0); 155 val_node = vuid_find_value(seg, offset); [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.h | 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 73 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data); 74 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data); 76 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data); 77 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data); 78 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data); 81 s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data); 82 s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data); 83 s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u1 [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 841 CK_ULONG buf_len, offset, len, field_len; local 851 offset = 0; 852 rc = ber_decode_INTEGER(buf + offset, &ver, &len, &field_len); 856 offset += field_len; 858 rc = ber_decode_SEQUENCE(buf + offset, &alg, &len, &field_len); 897 CK_ULONG len, offset; local 901 offset = 0; 906 offset += len; 909 offset += len; 912 offset 1077 CK_ULONG offset, buf_len, field_len, len; local [all...] |
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | Ancestor.cc | 84 Ancestor::addInstance(const char *path, uint32_t offset) argument 95 offsets[numInstances] = offset; 200 uint32_t offset = 0; local 208 offset, rc, path); 210 offset += tmp->payloadLen; 226 uint32_t offset, 232 offset += 4; 236 ant->addInstance(tmp.peak(), offset); 237 offset += (parent_def->payloadLen - 4) / 242 ant->addInstance(path.peak(), offset); 223 definitionContains(const fru_regdef_t *def, const fru_regdef_t *parent_def, Str element, uint32_t offset, Ancestor *ant, Str path) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/ |
H A D | timezone.c | 40 int offset; member in struct:zone 85 for (zp=zonetab; zp->offset!=-1; zp++) 86 if (zp->offset==zone) {
|
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmweek.c | 32 static unsigned char offset[7][3] = variable 63 week = (tm->tm_yday + offset[day][type]) / 7; 79 tm->tm_mday = week * 7 - offset[d][type] + ((day || type != 2) ? day : 7);
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_marshal.c | 504 unsigned long offset; local 518 offset = 24UL; 534 NDR_MEMBER(_ushort, sec_addr.length, offset); 536 offset+2UL, val->sec_addr.length); 538 offset += 2; 539 offset += val->sec_addr.length; 540 offset += NDR_ALIGN4(offset); 542 NDR_MEMBER(_ndr_p_result_list, p_result_list, offset); 553 unsigned offset; local 596 unsigned long offset; local 641 unsigned offset; local [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_hardlink.c | 115 * Return 0 if a list node has the same inode, and initialize offset and path 121 unsigned long long *offset, char **path) 140 if (offset) 141 *offset = hl->offset; 159 unsigned long long offset, char *path, int is_tmp_file) 182 hl->offset = offset; 211 "\t node = %lu, offset = %llu, path = %s, is_tmp = %d\n", 212 hl->inode, hl->offset, h 120 hardlink_q_get(struct hardlink_q *hl_q, unsigned long inode, unsigned long long *offset, char **path) argument 158 hardlink_q_add(struct hardlink_q *hl_q, unsigned long inode, unsigned long long offset, char *path, int is_tmp_file) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/md/ |
H A D | snarf.c | 126 size_t offset = 0; local 160 offset = setsym.st_value; 163 if (mdb_vread(&mdset[i], sizeof (md_set_t), offset) == -1) { 165 (uintptr_t)(setsym.st_value + offset)); 171 i, (uintptr_t)(setsym.st_value + offset)); 173 offset += sizeof (md_set_t); 190 mdset_addrs[i] = (uintptr_t)(offset); 195 offset += sizeof (md_set_t);
|
/illumos-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_gen.c | 78 v[def->offset] = dp->value; 83 if ((!dp || !dp->name) && !v[def->offset]) 84 v[def->offset] = def->value; 158 * size_t size, ulong_t offset) 171 int nslot, size_t size, ulong_t offset) 187 if (!map->offset) 188 map->offset = offset; 200 (uint32_t)size != map->size || (int32_t)offset != map->offset) { 170 _nsc_rmmap_init(nsc_rmmap_t *map, char *name, int nslot, size_t size, ulong_t offset) argument 230 ulong_t offset; local 393 ulong_t offset; local 436 ulong_t offset = (*offsetp); local 879 ulong_t offset = 0UL; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 57 uint32_t offset; member in struct:__anon5365 168 int i, ret, sign, size, lines, offset = 0; local 204 if (ret = e1000_read_nvm(hw, offset, WPL, eeprom)) { 212 offset, 215 offset += WPL; 230 /* offset to each phy register */ 231 int32_t offset[] = local 243 for (i = 0; i < ((sizeof (offset)) / sizeof (offset[0])); i++) { 245 stat = e1000_read_phy_reg(hw, offset[ 259 e1000_read_reg(struct e1000_hw *hw, uint32_t offset) argument 375 off_t offset; local 538 pciconfig_bar(void *instance, uint32_t offset, char *name) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_debug.c | 176 off_t offset; local 274 offset = cap_ptr; 278 pci_config_get8(handle, offset)); 280 next_ptr = pci_config_get8(handle, offset + 1); 286 pci_config_get16(handle, offset + PCI_PMCAP)); 289 pci_config_get16(handle, offset + PCI_PMCSR)); 292 pci_config_get8(handle, offset + PCI_PMCSR_BSE)); 295 pci_config_get8(handle, offset + PCI_PMDATA)); 298 offset = next_ptr; 302 pci_config_get8(handle, offset)); [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_term.c | 45 size_t offset; /* default offset to visible page */ member in struct:mtermp 154 mt.offset = term_len(p, p->defindent); 251 p->offset = p->rmargin; 407 p->offset = mt->offset; 427 p->offset -= p->offset > v ? v : p->offset; 429 p->offset [all...] |
/illumos-gate/usr/src/lib/librsm/inc/ |
H A D | rsmapi.h | 178 off_t offset, 182 off_t offset, 186 off_t offset, 190 off_t offset, 194 off_t offset, 206 off_t offset, 210 off_t offset, 214 off_t offset, 218 off_t offset, 222 off_t offset, [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pic8259.c | 36 previous_handler->offset = irq_vector->offset; 39 handler->segment, handler->offset, irq, 42 previous_handler->segment, previous_handler->offset ); 44 irq_vector->offset = handler->offset; 65 ( irq_vector->offset != handler->offset ) ) { 73 irq_vector->offset = previous_handler->offset; [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | md4_mod.c | 237 off_t offset = data->cd_offset; local 251 offset >= data->cd_uio->uio_iov[vec_idx].iov_len; 252 offset -= data->cd_uio->uio_iov[vec_idx++].iov_len) 256 * The caller specified an offset that is larger than the 267 offset, length); 270 offset, cur_len); 274 offset = 0; 300 off_t offset = digest->cd_offset; local 311 for (vec_idx = 0; offset >= digest->cd_uio->uio_iov[vec_idx].iov_len && 313 offset 392 off_t offset = data->cd_offset; local 445 off_t offset = digest->cd_offset; local [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_loc.c | 81 Dwarf_Unsigned offset = 0; local 108 offset = 0; 110 while (offset < loc_len) { 118 offset++; 127 curr_loc->lc_offset = offset; 168 offset = offset + leb128_length; 210 offset += address_size; 216 offset = offset 591 Dwarf_Off offset = loclist_offset; local 1035 dwarf_get_loclist_entry(Dwarf_Debug dbg, Dwarf_Unsigned offset, Dwarf_Addr * hipc_offset, Dwarf_Addr * lopc_offset, Dwarf_Ptr * data, Dwarf_Unsigned * entry_len, Dwarf_Unsigned * next_entry, Dwarf_Error * error) argument [all...] |