/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/ |
H A D | error_message.c | 33 int offset; local 40 offset = (int) l_offset; 44 cp = strerror(offset); 50 if (offset < sys_nerr) 51 return(sys_errlist[offset]); 97 if (offset >= 100) { 98 *cp++ = '0' + offset / 100; 99 offset %= 100; 103 *cp++ = '0' + offset / 10; 104 offset %= 10; [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_locationop_read.c | 263 offset = offset + 1; in _dwarf_read_loc_expr_op() 278 offset = offset + 1; in _dwarf_read_loc_expr_op() 285 offset = offset + 2; in _dwarf_read_loc_expr_op() 293 offset = offset + 2; in _dwarf_read_loc_expr_op() 300 offset = offset + 4; in _dwarf_read_loc_expr_op() 308 offset = offset + 4; in _dwarf_read_loc_expr_op() 315 offset = offset + 8; in _dwarf_read_loc_expr_op() 322 offset = offset + 8; in _dwarf_read_loc_expr_op() 406 offset = offset + 1; in _dwarf_read_loc_expr_op() 426 offset = offset + 1; in _dwarf_read_loc_expr_op() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_lv.c | 877 offset = 0; in fcoei_initiate_ct_req() 880 offset = 1; in fcoei_initiate_ct_req() 883 offset = 4; in fcoei_initiate_ct_req() 886 offset = 5; in fcoei_initiate_ct_req() 889 offset = 6; in fcoei_initiate_ct_req() 930 bcopy(bp + offset, FPLD + offset, 8); in fcoei_initiate_ct_req() 940 bcopy(bp + offset, FPLD + offset, 8); in fcoei_initiate_ct_req() 949 bcopy(bp + offset, FPLD + offset, bp[20] + 1); in fcoei_initiate_ct_req() 954 bcopy(bp + offset, FPLD + offset, 8); in fcoei_initiate_ct_req() 957 bcopy(bp + offset, FPLD + offset, bp[24] + 1); in fcoei_initiate_ct_req() [all …]
|
H A D | fcoei_eth.c | 217 int offset; in fcoei_process_unsol_xfer_rdy() 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() 954 offset = 4; in fcoei_fill_els_fpkt_resp() 1014 offset = 5; in fcoei_fill_els_fpkt_resp() 1026 offset = 4; in fcoei_fill_els_fpkt_resp() 1029 offset = 8; in fcoei_fill_els_fpkt_resp() 1048 offset = 4; in fcoei_fill_els_fpkt_resp() 1050 offset = 5; in fcoei_fill_els_fpkt_resp() 1052 offset = 7; in fcoei_fill_els_fpkt_resp() [all …]
|
/illumos-gate/usr/src/cmd/auditstat/ |
H A D | auditstat.c | 151 offset[1] - offset[0] - 1, "nona", in display_stats() 152 offset[2] - offset[1] - 1, "kern", in display_stats() 153 offset[3] - offset[2] - 1, "aud", in display_stats() 154 offset[4] - offset[3] - 1, "ctl", in display_stats() 155 offset[5] - offset[4] - 1, "enq", in display_stats() 156 offset[6] - offset[5] - 1, "wrtn", in display_stats() 157 offset[7] - offset[6] - 1, "wblk", in display_stats() 158 offset[8] - offset[7] - 1, "rblk", in display_stats() 159 offset[9] - offset[8] - 1, "drop", in display_stats() 160 offset[10] - offset[9] - 1, "tot", in display_stats() [all …]
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 213 (uint8_t *)(NPI_REGP(npi_handle) + offset))) 217 (uint16_t *)(NPI_REGP(npi_handle) + offset))) 221 (uint32_t *)(NPI_REGP(npi_handle) + offset))) 230 (uint64_t *)(NPI_REGP(npi_handle) + offset))) 314 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument 324 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument 329 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument 335 #define NXGE_REG_WR64(handle, offset, val) {\ argument 345 #define NXGE_REG_WR64(handle, offset, val) {\ argument 346 NXGE_NPI_PIO_WRITE64(handle, offset, (val));\ [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 173 uint64_t offset; in hpi_pfc_set_config() local 184 uint64_t offset; in hpi_pfc_get_config() local 326 int offset; in hpi_pfc_cfg_vlan_table_clear() local 343 uint64_t offset; in hpi_pfc_cfg_vlan_table_entry_clear() local 414 uint64_t offset; in hpi_pfc_get_vlan_parity_log() local 471 uint64_t offset; in hpi_pfc_clear_multicast_hash_table() local 486 uint64_t offset; in hpi_pfc_set_multicast_hash_table() local 580 uint64_t offset; in hpi_pfc_set_tcam_control() local 655 uint64_t offset; in hpi_pfc_get_tcam_parity_log() local 666 uint64_t offset; in hpi_pfc_get_tcam_auto_init() 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 151 #define HXGE_HPI_PIO_READ64(hpi_handle, offset) \ argument 153 (uint64_t *)(HPI_REGP(hpi_handle) + offset))) 162 (uint32_t)offset), data); \ 169 (uint32_t)offset), data); \ 184 #define HXGE_REG_RD64(handle, offset, val_p) { \ argument 189 #define HXGE_REG_RD32(handle, offset, val_p) { \ argument 219 #define HXGE_REG_WR64(handle, offset, val) { \ argument [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vuid_store.h | 93 #define vuid_set_boolean_bit(seg, offset) \ argument 94 (seg)->booleans[(offset)/BITSPERBYTE] |= \ 97 (seg)->booleans[(offset)/BITSPERBYTE] &= \ 99 #define vuid_get_boolean_bit(seg, offset) \ argument 100 ((seg)->booleans[(offset)/BITSPERBYTE] & \ 103 #define vuid_set_int_bit(seg, offset) \ argument 104 (seg)->ints[(offset)/BITSPERBYTE] |= \ 106 #define vuid_clear_int_bit(seg, offset) \ argument 107 (seg)->ints[(offset)/BITSPERBYTE] &= \ 109 #define vuid_get_int_bit(seg, offset) \ argument [all …]
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 108 p = (uint8_t *)extbuf + offset; in inet6_opt_append() 156 padbytes = 8 - (offset % 8); in inet6_opt_finish() 164 return (offset + padbytes); in inet6_opt_finish() 187 return (offset + padbytes); in inet6_opt_finish() 198 return (offset + vallen); in inet6_opt_set_val() 224 if (offset == 0) { in inet6_opt_next() 225 offset = 2; in inet6_opt_next() 277 offset = inet6_opt_next(extbuf, extlen, offset, &newtype, lenp, in inet6_opt_find() 280 if (offset == -1) in inet6_opt_find() 285 return (offset); in inet6_opt_find() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | asn1.c | 851 offset = 0; in ber_decode_PrivateKeyInfo() 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() 915 offset += len; in ber_encode_RSAPrivateKey() 918 offset += len; in ber_encode_RSAPrivateKey() 921 offset += len; in ber_encode_RSAPrivateKey() 952 offset = 0; in ber_encode_RSAPrivateKey() 1091 offset = 0; in ber_decode_RSAPrivateKey() [all …]
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | modes.c | 47 offset_t offset; in crypto_init_ptrs() local 58 offset = out->cd_offset; in crypto_init_ptrs() 64 *current_offset = offset; in crypto_init_ptrs() 72 offset = out->cd_offset; in crypto_init_ptrs() 77 *current_offset = offset; in crypto_init_ptrs() 95 offset_t offset; in crypto_get_ptrs() local 116 offset_t offset; in crypto_get_ptrs() local 277 offset, length); in crypto_uio_data() 280 offset); in crypto_uio_data() 305 offset = 0; in crypto_uio_data() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_dbg_fw_funcs.c | 2000 offset++; in ecore_dump_str_param() 2006 offset += ecore_dump_align(char_buf + offset, dump, offset); in ecore_dump_str_param() 2028 offset++; in ecore_dump_num_param() 2031 offset += ecore_dump_align(char_buf + offset, dump, offset); in ecore_dump_num_param() 2034 offset = BYTES_TO_DWORDS(offset); in ecore_dump_num_param() 2037 offset++; in ecore_dump_num_param() 2039 return offset; in ecore_dump_num_param() 2090 return offset; in ecore_dump_fw_ver_param() 2167 return offset; in ecore_dump_common_global_params() 2187 offset++; in ecore_dump_last_section() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.h | 324 #define GET8(dev, offset) \ argument 326 #define GET16(dev, offset) \ argument 328 #define GET32(dev, offset) \ argument 330 #define PUT8(dev, offset, v) \ argument 332 #define PUT16(dev, offset, v) \ argument 337 #define CLR8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) & ~(v)) argument 338 #define SET8(dev, offset, v) PUT8(dev, offset, GET8(dev, offset) | (v)) argument 339 #define CLR16(dev, offset, v) PUT16(dev, offset, GET16(dev, offset) & ~(v)) argument 340 #define SET16(dev, offset, v) PUT16(dev, offset, GET16(dev, offset) | (v)) argument 341 #define CLR32(dev, offset, v) PUT32(dev, offset, GET32(dev, offset) & ~(v)) argument [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | srvsvc_sd.c | 271 int offset, len, i; in srvsvc_sd_set_relative() local 292 msd->offset_owner = offset; in srvsvc_sd_set_relative() 299 offset += len; in srvsvc_sd_set_relative() 303 msd->offset_group = offset; in srvsvc_sd_set_relative() 310 offset += len; in srvsvc_sd_set_relative() 314 msd->offset_sacl = offset; in srvsvc_sd_set_relative() 339 msd->offset_dacl = offset; in srvsvc_sd_set_relative() 409 *offset += 2; in srvsvc_acl_set_absolute() 432 int offset, i, sid_size; in srvsvc_sd_set_absolute() local 465 offset = msd->offset_sacl; in srvsvc_sd_set_absolute() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_fflp.c | 181 uint64_t offset; in npi_fflp_vlan_tbl_dump() local 970 uint64_t offset; in npi_fflp_cfg_fcram_partition() local 1047 uint64_t offset; in npi_fflp_cfg_fcram_partition_disable() local 1074 uint64_t offset; in npi_fflp_cfg_cam_errorcheck_disable() local 1095 uint64_t offset; in npi_fflp_cfg_cam_errorcheck_enable() local 1117 uint64_t offset; in npi_fflp_cfg_llcsnap_enable() local 1140 uint64_t offset; in npi_fflp_cfg_llcsnap_disable() local 1178 uint64_t offset; in npi_fflp_cfg_fcram_refresh_time() local 1264 uint64_t offset; in npi_fflp_fcram_get_pio_err_log() local 1312 uint64_t offset; in npi_fflp_fcram_clr_pio_err_log() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcdos.c | 87 Sfoff_t offset; 234 Sfoff_t offset; 253 offset = dp->plast; 255 offset +=n; 272 return(offset+m); 280 Sfoff_t offset; 295 return(offset); 301 else if(offset<dp->plast || offset>dp->phere) 306 if(offset<dp->llast || offset > dp->lhere) 361 offset = physical; [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_emul.h | 73 uint64_t offset, int size, uint64_t value); 75 uint64_t offset, int size); 270 assert(offset <= PCI_REGMAX); in pci_set_cfgdata8() 271 *(uint8_t *)(pi->pi_cfgdata + offset) = val; in pci_set_cfgdata8() 277 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_set_cfgdata16() 278 *(uint16_t *)(pi->pi_cfgdata + offset) = val; in pci_set_cfgdata16() 284 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_set_cfgdata32() 285 *(uint32_t *)(pi->pi_cfgdata + offset) = val; in pci_set_cfgdata32() 291 assert(offset <= PCI_REGMAX); in pci_get_cfgdata8() 298 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_get_cfgdata16() [all …]
|
/illumos-gate/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() 173 offset = next_ptr; in pci_dump() 177 pci_config_get8(handle, offset)); in pci_dump() 191 pci_config_get32(handle, offset + 0x8)); in pci_dump() 194 pci_config_get16(handle, offset + 0xC)); in pci_dump() 197 offset = next_ptr; in pci_dump() 201 pci_config_get8(handle, offset)); in pci_dump() [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); 76 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data); 91 s32 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data); 92 s32 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data); 105 s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data); 164 #define BM_PHY_REG_PAGE(offset) \ argument 165 ((u16)(((offset) >> PHY_PAGE_SHIFT) & 0xFFFF)) 166 #define BM_PHY_REG_NUM(offset) \ argument 167 ((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\ [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.c | 57 uint32_t offset; member 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() 249 offset[i], value); in phy_dump() 253 offset[i], stat); in phy_dump() 375 off_t offset; in pciconfig_dump() local 456 offset = cap_ptr; in pciconfig_dump() 480 offset = next_ptr; in pciconfig_dump() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | nvm_meta.txt | 115 … 12,group_name "pcie" 12,entity_name "glob" 12,struct_name "nvm_cfg1" 12,offset 32 12,size 96 12,e… 116 … 13,group_name "pcie" 13,entity_name "glob" 13,struct_name "nvm_cfg1" 13,offset 128 13,size 32 13,… 117 … 14,group_name "pcie" 14,entity_name "glob" 14,struct_name "nvm_cfg1" 14,offset 160 14,size 128 14… 121 …group_name "features" 20,entity_name "port" 20,struct_name "nvm_cfg1" 20,offset 72 20,size 8 20,el… 158 …group_name "pre-boot" 61,entity_name "port" 61,struct_name "nvm_cfg1" 61,offset 323 61,size 4 61,e… 165 …F" 74,group_name "VF" 74,entity_name "func" 74,struct_name "nvm_cfg1" 74,offset 192 74,size 7 74,e… 184 …group_name "features" 95,entity_name "func" 95,struct_name "nvm_cfg1" 95,offset 183 95,size 8 95,e… 185 …group_name "features" 96,entity_name "func" 96,struct_name "nvm_cfg1" 96,offset 210 96,size 8 96,e… 199 …roup_name "mng_fw" 110,entity_name "glob" 110,struct_name "nvm_cfg1" 110,offset 317 110,size 2 110… 220 …up_name "pre-boot" 133,entity_name "func" 133,struct_name "nvm_cfg1" 133,offset 368 133,size 1 133… [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_vpd.c | 470 offset = 0; in efx_vpd_hunk_length() 476 offset += taglen; in efx_vpd_hunk_length() 481 *lengthp = offset; in efx_vpd_hunk_length() 512 offset = 0; in efx_vpd_hunk_verify() 549 offset += taglen; in efx_vpd_hunk_verify() 631 offset++; in efx_vpd_hunk_reinit() 698 offset += taglen; in efx_vpd_hunk_next() 737 offset = 0; in efx_vpd_hunk_get() 768 offset += taglen; in efx_vpd_hunk_get() 833 offset = 0; in efx_vpd_hunk_set() [all …]
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 163 if (offset == 0) in show_utimens() 203 long offset; in show_timeofday() local 330 long offset; in show_times() local 1480 long offset; in show_statvfs() local 1525 long offset; in show_statvfs32() local 1570 long offset; in show_statvfs64() local 1615 long offset; in show_statfs() local 1640 long offset; in show_statfs32() local 1820 long offset; in show_fcntl() local 1888 long offset; in show_gp_msg() local [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | utf_to_njh_main.c | 134 short int offset; in _icv_iconv() local 137 offset = 2; in _icv_iconv() 139 offset = 3; in _icv_iconv() 141 offset = 4; in _icv_iconv() 143 offset = 5; in _icv_iconv() 145 offset = 6; in _icv_iconv() 147 offset = 1; in _icv_iconv() 163 ib += offset; in _icv_iconv() 166 offset = (offset > 2) ? 2 : 1; in _icv_iconv() 174 if (offset > 1) in _icv_iconv() [all …]
|