/titanic_44/usr/src/lib/gss_mechs/mech_krb5/et/ |
H A D | error_message.c | 34 int offset; local 41 offset = (int) l_offset; 45 cp = strerror(offset); 51 if (offset < sys_nerr) 52 return(sys_errlist[offset]); 62 return(ggss_error_table(offset)); 64 return(kadm_error_table(offset)); 66 return(kdb5_error_table(offset)); 68 return(kdc5_error_table(offset)); 70 return(kpws_error_table(offset)); [all …]
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 842 int offset; in fcoei_initiate_ct_req() local 877 offset = 0; in fcoei_initiate_ct_req() 878 FCOE_V2B_1(ct->ct_rev, FPLD + offset); in fcoei_initiate_ct_req() 880 offset = 1; in fcoei_initiate_ct_req() 881 FCOE_V2B_3(ct->ct_inid, FPLD + offset); in fcoei_initiate_ct_req() 883 offset = 4; in fcoei_initiate_ct_req() 884 FCOE_V2B_1(ct->ct_fcstype, FPLD + offset); in fcoei_initiate_ct_req() 886 offset = 5; in fcoei_initiate_ct_req() 887 FCOE_V2B_1(ct->ct_fcssubtype, FPLD + offset); in fcoei_initiate_ct_req() 889 offset = 6; in fcoei_initiate_ct_req() [all …]
|
H A D | fcoei_eth.c | 217 int offset; in fcoei_process_unsol_xfer_rdy() local 237 offset = FCOE_B2V_4(frm->frm_payload); in fcoei_process_unsol_xfer_rdy() 261 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data, in fcoei_process_unsol_xfer_rdy() 272 FFM_PARAM(offset, nfrm); in fcoei_process_unsol_xfer_rdy() 283 offset += data_size; in fcoei_process_unsol_xfer_rdy() 303 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data, in fcoei_process_unsol_xfer_rdy() 322 FFM_PARAM(offset, nfrm); in fcoei_process_unsol_xfer_rdy() 356 uint32_t offset; in fcoei_process_unsol_els_req() local 404 offset = 4; in fcoei_process_unsol_els_req() 407 offset) = FCOE_B2V_4(frm->frm_payload + offset); in fcoei_process_unsol_els_req() [all …]
|
/titanic_44/usr/src/cmd/auditstat/ |
H A D | auditstat.c | 124 int offset[12]; /* used to line the header up correctly */ local 129 s->as_generated, &(offset[0]), 130 s->as_nonattrib, &(offset[1]), 131 s->as_kernel, &(offset[2]), 132 s->as_audit, &(offset[3]), 133 s->as_auditctl, &(offset[4]), 134 s->as_enqueue, &(offset[5]), 135 s->as_written, &(offset[6]), 136 s->as_wblocked, &(offset[7]), 137 s->as_rblocked, &(offset[8]), [all …]
|
/titanic_44/usr/src/cmd/mdb/sun4u/modules/serengeti/sgsbbc/ |
H A D | sgsbbc.c | 55 uint_t offset = 0; /* offset into soft state structure */ in display_sbbc_softstate_t() local 73 offset = (int)(uintptr_t)&softp.dip - (int)(uintptr_t)&softp; in display_sbbc_softstate_t() 74 mdb_printf("%p: dip: %31ll#r\n", addr + offset, softp.dip); in display_sbbc_softstate_t() 76 offset = (int)(uintptr_t)&softp.sram - (int)(uintptr_t)&softp; in display_sbbc_softstate_t() 77 mdb_printf("%p: sram: %30ll#r\n", addr + offset, softp.sram); in display_sbbc_softstate_t() 79 offset = (int)(uintptr_t)&softp.sbbc_regs - (int)(uintptr_t)&softp; in display_sbbc_softstate_t() 80 mdb_printf("%p: sbbc_regs: %25ll#r\n", addr + offset, softp.sbbc_regs); in display_sbbc_softstate_t() 82 offset = (int)(uintptr_t)&softp.port_int_regs - (int)(uintptr_t)&softp; in display_sbbc_softstate_t() 83 mdb_printf("%p: port_int_regs: %21ll#r\n", addr + offset, in display_sbbc_softstate_t() 86 offset = (int)(uintptr_t)&softp.epld_regs - (int)(uintptr_t)&softp; in display_sbbc_softstate_t() [all …]
|
/titanic_44/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 187 #define NXGE_PIO_READ8(handle, devaddr, offset) \ argument 188 (ddi_get8(handle, (uint8_t *)((caddr_t)devaddr + offset))) 190 #define NXGE_PIO_READ16(handle, devaddr, offset) \ argument 191 (ddi_get16(handle, (uint16_t *)((caddr_t)devaddr + offset))) 193 #define NXGE_PIO_READ32(handle, devaddr, offset) \ argument 194 (ddi_get32(handle, (uint32_t *)((caddr_t)devaddr + offset))) 196 #define NXGE_PIO_READ64(handle, devaddr, offset) \ argument 197 (ddi_get64(handle, (uint64_t *)((caddr_t)devaddr + offset))) 199 #define NXGE_PIO_WRITE8(handle, devaddr, offset, data) \ argument 200 (ddi_put8(handle, (uint8_t *)((caddr_t)devaddr + offset), data)) [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | vuid_store.h | 65 ushort_t offset; /* Offset of value from seg addr */ member 95 #define vuid_set_boolean_bit(seg, offset) \ argument 96 (seg)->booleans[(offset)/BITSPERBYTE] |= \ 97 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE))) 98 #define vuid_clear_boolean_bit(seg, offset) \ argument 99 (seg)->booleans[(offset)/BITSPERBYTE] &= \ 100 (~(1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE)))) 101 #define vuid_get_boolean_bit(seg, offset) \ argument 102 ((seg)->booleans[(offset)/BITSPERBYTE] & \ 103 (1<<((BITSPERBYTE-1)-((offset)%BITSPERBYTE)))) [all …]
|
/titanic_44/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 173 uint64_t offset; in hpi_pfc_set_config() local 175 offset = PFC_CONFIG; in hpi_pfc_set_config() 176 REG_PIO_WRITE64(handle, offset, config.value); in hpi_pfc_set_config() 184 uint64_t offset; in hpi_pfc_get_config() local 186 offset = PFC_CONFIG; in hpi_pfc_get_config() 187 REG_PIO_READ64(handle, offset, &configp->value); in hpi_pfc_get_config() 326 int offset; in hpi_pfc_cfg_vlan_table_clear() local 333 offset = PFC_VLAN_TABLE + i * step; in hpi_pfc_cfg_vlan_table_clear() 334 REG_PIO_WRITE64(handle, offset, table_entry.value); in hpi_pfc_cfg_vlan_table_clear() 343 uint64_t offset; in hpi_pfc_cfg_vlan_table_entry_clear() local [all …]
|
H A D | hxge_common_impl.h | 142 #define HXGE_HPI_PIO_READ32(hpi_handle, offset) \ argument 144 (uint32_t *)(HPI_REGP(hpi_handle) + offset))) 147 #define HXGE_HPI_PIO_READ64(hpi_handle, offset) \ argument 149 (uint64_t *)(HPI_REGP(hpi_handle) + (uint32_t)offset))) 151 #define HXGE_HPI_PIO_READ64(hpi_handle, offset) \ argument 153 (uint64_t *)(HPI_REGP(hpi_handle) + offset))) 158 #define HXGE_HPI_PIO_WRITE32(hpi_handle, offset, data) { \ argument 162 (uint32_t)offset), data); \ 165 #define HXGE_HPI_PIO_WRITE64(hpi_handle, offset, data) { \ argument 169 (uint32_t)offset), data); \ [all …]
|
/titanic_44/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 71 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, in inet6_opt_append() argument 94 remainder = (offset + 2 + len) % align; in inet6_opt_append() 101 endlen = offset + padbytes + 2 + len; in inet6_opt_append() 110 p = (uint8_t *)extbuf + offset; in inet6_opt_append() 143 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) in inet6_opt_finish() argument 158 padbytes = 8 - (offset % 8); in inet6_opt_finish() 162 if ((offset + padbytes > extlen) || !extbuf) { in inet6_opt_finish() 166 return (offset + padbytes); in inet6_opt_finish() 170 p = (uint8_t *)extbuf + offset; in inet6_opt_finish() 189 return (offset + padbytes); in inet6_opt_finish() [all …]
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | buffer.c | 40 buffer->offset = 0; in buffer_init() 64 buffer->offset = 0; in buffer_clear() 85 if (buffer->offset > MIN(buffer->alloc, BUFFER_MAX_CHUNK)) { in buffer_compact() 86 memmove(buffer->buf, buffer->buf + buffer->offset, in buffer_compact() 87 buffer->end - buffer->offset); in buffer_compact() 88 buffer->end -= buffer->offset; in buffer_compact() 89 buffer->offset = 0; in buffer_compact() 111 if (buffer->offset == buffer->end) { in buffer_append_space() 112 buffer->offset = 0; in buffer_append_space() 145 if (buffer->offset == buffer->end) { in buffer_check_alloc() [all …]
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 841 CK_ULONG buf_len, offset, len, field_len; in ber_decode_PrivateKeyInfo() local 851 offset = 0; in ber_decode_PrivateKeyInfo() 852 rc = ber_decode_INTEGER(buf + offset, &ver, &len, &field_len); in ber_decode_PrivateKeyInfo() 856 offset += field_len; in ber_decode_PrivateKeyInfo() 858 rc = ber_decode_SEQUENCE(buf + offset, &alg, &len, &field_len); in ber_decode_PrivateKeyInfo() 897 CK_ULONG len, offset; in ber_encode_RSAPrivateKey() local 901 offset = 0; in ber_encode_RSAPrivateKey() 906 offset += len; in ber_encode_RSAPrivateKey() 909 offset += len; in ber_encode_RSAPrivateKey() 912 offset += len; in ber_encode_RSAPrivateKey() [all …]
|
/titanic_44/usr/src/common/crypto/modes/ |
H A D | modes.c | 43 offset_t offset; in crypto_init_ptrs() local 54 offset = out->cd_offset; in crypto_init_ptrs() 56 offset >= uiop->uio_iov[vec_idx].iov_len; in crypto_init_ptrs() 57 offset -= uiop->uio_iov[vec_idx++].iov_len) in crypto_init_ptrs() 60 *current_offset = offset; in crypto_init_ptrs() 68 offset = out->cd_offset; in crypto_init_ptrs() 69 for (mp = out->cd_mp; mp != NULL && offset >= MBLKL(mp); in crypto_init_ptrs() 70 offset -= MBLKL(mp), mp = mp->b_cont) in crypto_init_ptrs() 73 *current_offset = offset; in crypto_init_ptrs() 91 offset_t offset; in crypto_get_ptrs() local [all …]
|
/titanic_44/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.h | 288 uint32_t offset; /* in bytes */ member 324 #define GET8(dev, offset) \ argument 325 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset))) 326 #define GET16(dev, offset) \ argument 327 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset))) 328 #define GET32(dev, offset) \ argument 329 ddi_get32(dev->acch, (uint32_t *)(void *)(dev->regs + (offset))) 330 #define PUT8(dev, offset, v) \ argument 331 ddi_put8(dev->acch, (uint8_t *)(dev->regs + (offset)), v) 332 #define PUT16(dev, offset, v) \ argument [all …]
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | srvsvc_sd.c | 267 int offset, len, i; in srvsvc_sd_set_relative() local 283 offset = sizeof (mslm_security_descriptor_t) - SRVSVC_SD_OFFSET_SZ; in srvsvc_sd_set_relative() 288 msd->offset_owner = offset; in srvsvc_sd_set_relative() 294 bcopy(sd->sd_owner, &sdbuf[offset], len); in srvsvc_sd_set_relative() 295 offset += len; in srvsvc_sd_set_relative() 299 msd->offset_group = offset; in srvsvc_sd_set_relative() 305 bcopy(sd->sd_group, &sdbuf[offset], len); in srvsvc_sd_set_relative() 306 offset += len; in srvsvc_sd_set_relative() 310 msd->offset_sacl = offset; in srvsvc_sd_set_relative() 311 msd->sacl = srvsvc_acl_set_relative(&sdbuf[offset], in srvsvc_sd_set_relative() [all …]
|
/titanic_44/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) in getmapping() argument 85 static struct map *getmapping(dp, offset, whence) in getmapping() 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); 230 static Sfoff_t cur_offset(Dosdisc_t *dp, Sfoff_t offset,Sfio_t *iop,register int whence) in cur_offset() argument 232 static Sfoff_t cur_offset(dp, offset, iop, whence) in cur_offset() 234 Sfoff_t offset; 245 n = offset - dp->plast; [all …]
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_loc.c | 81 Dwarf_Unsigned offset = 0; in _dwarf_get_locdesc() local 108 offset = 0; in _dwarf_get_locdesc() 110 while (offset < loc_len) { in _dwarf_get_locdesc() 118 offset++; in _dwarf_get_locdesc() 127 curr_loc->lc_offset = offset; in _dwarf_get_locdesc() 168 offset = offset + leb128_length; in _dwarf_get_locdesc() 210 offset += address_size; in _dwarf_get_locdesc() 216 offset = offset + 1; in _dwarf_get_locdesc() 223 offset = offset + 1; in _dwarf_get_locdesc() 229 offset = offset + 2; in _dwarf_get_locdesc() [all …]
|
/titanic_44/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 181 uint64_t offset; in npi_fflp_vlan_tbl_dump() local 193 offset = FFLP_VLAN_OFFSET(vlan_id, FFLP_ENET_VLAN_TBL_REG); in npi_fflp_vlan_tbl_dump() 194 REG_PIO_READ64(handle, offset, &value); in npi_fflp_vlan_tbl_dump() 196 "%x\t %llx\t %llx\n", vlan_id, offset, value)); in npi_fflp_vlan_tbl_dump() 971 uint64_t offset; in npi_fflp_cfg_fcram_partition() local 982 offset = FFLP_PART_OFFSET(partid, FFLP_FLW_PRT_SEL_REG); in npi_fflp_cfg_fcram_partition() 987 REG_PIO_WRITE64(handle, offset, sel.value); in npi_fflp_cfg_fcram_partition() 1011 uint64_t offset; in npi_fflp_cfg_fcram_partition_enable() local 1022 offset = FFLP_PART_OFFSET(partid, FFLP_FLW_PRT_SEL_REG); in npi_fflp_cfg_fcram_partition_enable() 1024 REG_PIO_READ64(handle, offset, &sel.value); in npi_fflp_cfg_fcram_partition_enable() [all …]
|
/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_debug.c | 51 off_t offset; in pci_dump() local 149 offset = cap_ptr; in pci_dump() 153 pci_config_get8(handle, offset)); in pci_dump() 155 next_ptr = pci_config_get8(handle, offset + 1); in pci_dump() 161 pci_config_get16(handle, offset + PCI_PMCAP)); in pci_dump() 164 pci_config_get16(handle, offset + PCI_PMCSR)); in pci_dump() 167 pci_config_get8(handle, offset + PCI_PMCSR_BSE)); in pci_dump() 170 pci_config_get8(handle, offset + PCI_PMDATA)); in pci_dump() 173 offset = next_ptr; in pci_dump() 177 pci_config_get8(handle, offset)); in pci_dump() [all …]
|
/titanic_44/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, u16 data); [all …]
|
/titanic_44/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 57 uint32_t offset; member 168 int i, ret, sign, size, lines, offset = 0; in eeprom_dump() local 204 if (ret = e1000_read_nvm(hw, offset, WPL, eeprom)) { in eeprom_dump() 212 offset, in eeprom_dump() 215 offset += WPL; in eeprom_dump() 231 int32_t offset[] = in phy_dump() local 243 for (i = 0; i < ((sizeof (offset)) / sizeof (offset[0])); i++) { in phy_dump() 245 stat = e1000_read_phy_reg(hw, offset[i], &value); in phy_dump() 249 offset[i], value); in phy_dump() 253 offset[i], stat); in phy_dump() [all …]
|
/titanic_44/usr/src/cmd/truss/ |
H A D | expound.c | 155 show_utimens(private_t *pri, long offset) in show_utimens() argument 162 if (offset == 0) in show_utimens() 166 if (Pread(Proc, &utimbuf, sizeof (utimbuf), offset) in show_utimens() 175 if (Pread(Proc, &utimbuf32, sizeof (utimbuf32), offset) in show_utimens() 202 long offset; in show_timeofday() local 204 if (pri->sys_nargs < 1 || (offset = pri->sys_args[0]) == NULL) in show_timeofday() 208 if (Pread(Proc, &tod, sizeof (tod), offset) in show_timeofday() 214 if (Pread(Proc, &tod32, sizeof (tod32), offset) in show_timeofday() 225 show_itimerval(private_t *pri, long offset, const char *name) in show_itimerval() argument 229 if (offset == 0) in show_itimerval() [all …]
|
/titanic_44/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-os-pal.h | 54 volatile int offset; /* offset within the tracebuf */ member 69 int offset = tb->offset; \ 71 int leftsize = tb->size - offset; \ 73 xge_os_memzero(tb->data + offset, leftsize); \ 74 offset = 0; \ 77 xge_os_memcpy(tb->data + offset, tb->msg, msgsize-1); \ 78 *(tb->data + offset + msgsize-1) = '\n'; \ 79 *(tb->data + offset + msgsize) = 0; \ 80 offset += msgsize; \ 81 tb->offset = offset; \ [all …]
|
/titanic_44/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_gen.c | 78 v[def->offset] = dp->value; in nsc_decode_param() 83 if ((!dp || !dp->name) && !v[def->offset]) in nsc_decode_param() 84 v[def->offset] = def->value; in nsc_decode_param() 171 int nslot, size_t size, ulong_t offset) in _nsc_rmmap_init() argument 187 if (!map->offset) in _nsc_rmmap_init() 188 map->offset = offset; in _nsc_rmmap_init() 200 (uint32_t)size != map->size || (int32_t)offset != map->offset) { in _nsc_rmmap_init() 230 ulong_t offset; in _nsc_rmmap_alloc() local 252 return (map[i].offset); in _nsc_rmmap_alloc() 259 offset = map[0].offset; in _nsc_rmmap_alloc() [all …]
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/posix/ |
H A D | setenv.c | 68 int l_value, offset; 73 if ((c = __findenv(name, &offset))) { /* find if already exists */ 100 offset = cnt; 103 if (!(environ[offset] = /* name + `=' + value */ 107 for (c = environ[offset]; (*c = *name++) && (*c != '='); ++c); 126 int offset; 128 while (__findenv(name, &offset)) /* if set multiple times */ 129 for (p = &environ[offset];; ++p) 147 int offset; 149 return (__findenv(name, &offset)); [all …]
|