Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 1869) sorted by relevance

12345678910>>...75

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_message.c34 int offset; local
41 offset = (int) l_offset;
45 cp = strerror(offset);
51 if (offset < sys_nerr)
52 return(sys_errlist[offset]);
98 if (offset >= 100) {
99 *cp++ = '0' + offset / 100;
100 offset %= 100;
104 *cp++ = '0' + offset / 10;
105 offset %= 10;
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_locationop_read.c263 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 Dfcoei_lv.c877 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 Dfcoei_eth.c217 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 Dauditstat.c151 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 Dnxge_common_impl.h213 (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/cmd/mdb/sun4u/modules/serengeti/sgsbbc/
H A Dsgsbbc.c55 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()
83 mdb_printf("%p: port_int_regs: %21ll#r\n", addr + offset, in display_sbbc_softstate_t()
92 offset = (int)(uintptr_t)&softp.sbbc_reg_handle1 - in display_sbbc_softstate_t()
94 mdb_printf("%p: sbbc_reg_handle1: %18ll#r\n", addr + offset, in display_sbbc_softstate_t()
97 offset = (int)(uintptr_t)&softp.sbbc_reg_handle2 - in display_sbbc_softstate_t()
99 mdb_printf("%p: sbbc_reg_handle2: %18ll#r\n", addr + offset, in display_sbbc_softstate_t()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_pfc.c173 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 Dhxge_common_impl.h142 #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 Dvuid_store.h95 #define vuid_set_boolean_bit(seg, offset) \ argument
96 (seg)->booleans[(offset)/BITSPERBYTE] |= \
99 (seg)->booleans[(offset)/BITSPERBYTE] &= \
101 #define vuid_get_boolean_bit(seg, offset) \ argument
102 ((seg)->booleans[(offset)/BITSPERBYTE] & \
105 #define vuid_set_int_bit(seg, offset) \ argument
106 (seg)->ints[(offset)/BITSPERBYTE] |= \
108 #define vuid_clear_int_bit(seg, offset) \ argument
109 (seg)->ints[(offset)/BITSPERBYTE] &= \
111 #define vuid_get_int_bit(seg, offset) \ argument
[all …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c110 p = (uint8_t *)extbuf + offset; in inet6_opt_append()
158 padbytes = 8 - (offset % 8); in inet6_opt_finish()
166 return (offset + padbytes); in inet6_opt_finish()
189 return (offset + padbytes); in inet6_opt_finish()
200 return (offset + vallen); in inet6_opt_set_val()
226 if (offset == 0) { in inet6_opt_next()
227 offset = 2; in inet6_opt_next()
279 offset = inet6_opt_next(extbuf, extlen, offset, &newtype, lenp, in inet6_opt_find()
282 if (offset == -1) in inet6_opt_find()
287 return (offset); in inet6_opt_find()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c851 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 Dmodes.c47 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/cmd/bhyve/
H A Dpci_emul.h64 struct pci_devinst *pi, int offset,
67 struct pci_devinst *pi, int offset,
73 uint64_t offset, int size, uint64_t value);
76 uint64_t offset, int size);
256 assert(offset <= PCI_REGMAX); in pci_set_cfgdata8()
257 *(uint8_t *)(pi->pi_cfgdata + offset) = val; in pci_set_cfgdata8()
263 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_set_cfgdata16()
270 assert(offset <= (PCI_REGMAX - 3) && (offset & 3) == 0); in pci_set_cfgdata32()
277 assert(offset <= PCI_REGMAX); in pci_get_cfgdata8()
284 assert(offset <= (PCI_REGMAX - 1) && (offset & 1) == 0); in pci_get_cfgdata16()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c2000 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 Daudiocmi.h324 #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 Dsrvsvc_sd.c271 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 Dnpi_fflp.c181 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 Dsfdcdos.c87 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/uts/common/io/igb/
H A Digb_debug.c51 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 De1000_phy.h39 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 De1000g_debug.c57 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/cmd/truss/
H A Dexpound.c163 if (offset == 0) in show_utimens()
203 long offset; in show_timeofday() local
330 long offset; in show_times() local
1514 long offset; in show_statvfs() local
1560 long offset; in show_statvfs32() local
1606 long offset; in show_statvfs64() local
1651 long offset; in show_statfs() local
1677 long offset; in show_statfs32() local
1858 long offset; in show_fcntl() local
1952 long offset; in show_gp_msg() local
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/
H A Dnvm_meta.txt115 … 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 Defx_vpd.c470 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 …]

12345678910>>...75