Home
last modified time | relevance | path

Searched refs:uh (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/boot/libsa/
H A Dudp.c64 struct udphdr *uh; in sendudp() local
82 len += sizeof (*uh); in sendudp()
112 struct udphdr *uh; in readudp() local
120 uh = NULL; in readudp()
123 if (n == -1 || n < sizeof (*uh) || n != ntohs(uh->uh_ulen)) { in readudp()
139 if (uh->uh_sum) { in readudp()
169 if (ntohs(uh->uh_ulen) < sizeof (*uh)) { in readudp()
173 ntohs(uh->uh_ulen), (int)sizeof (*uh)); in readudp()
179 n = (n > (ntohs(uh->uh_ulen) - sizeof (*uh))) ? in readudp()
180 ntohs(uh->uh_ulen) - sizeof (*uh) : n; in readudp()
[all …]
H A Dip.c187 struct udphdr *uh; in readipv4() local
201 if (n == -1 || n < sizeof(*ip) + sizeof(*uh)) { in readipv4()
275 uh = (struct udphdr *)((uintptr_t)ip + sizeof (*ip)); in readipv4()
278 bcopy(((u_char *)ip) + hlen, uh, uh->uh_ulen - hlen); in readipv4()
H A Dtftp.c224 struct udphdr *uh; in recvtftp() local
225 uh = (struct udphdr *)t - 1; in recvtftp()
226 d->destport = uh->uh_sport; in recvtftp()
246 struct udphdr *uh; in recvtftp() local
262 uh = (struct udphdr *)t - 1; in recvtftp()
263 d->destport = uh->uh_sport; in recvtftp()
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_impl.h55 #define _IDMAP_RESET_UDT_HANDLE(uh) \ argument
56 xdr_free(xdr_idmap_update_batch, (caddr_t)&uh->batch);\
57 uh->next = 0;\
58 uh->error_index = -1;\
59 xdr_free(xdr_idmap_namerule, (caddr_t)&uh->error_rule);\
60 xdr_free(xdr_idmap_namerule, (caddr_t)&uh->conflict_rule);
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode_amd.c222 ucode_header_amd_t *uh; in ucode_match_amd() local
227 uh = &ucodefp->uf_header; in ucode_match_amd()
233 if (uh->uh_cpu_rev < 0x5000 && in ucode_match_amd()
239 if (eq_sig != uh->uh_cpu_rev) in ucode_match_amd()
242 if (uh->uh_nb_id) { in ucode_match_amd()
244 "chipset id %x, revision %x", uh->uh_nb_id, uh->uh_nb_rev); in ucode_match_amd()
248 if (uh->uh_sb_id) { in ucode_match_amd()
250 "chipset id %x, revision %x", uh->uh_sb_id, uh->uh_sb_rev); in ucode_match_amd()
254 if (uh->uh_patch_id <= uinfop->cui_rev && !ucode_force_update) in ucode_match_amd()
/illumos-gate/usr/src/uts/common/sys/
H A Decppvar.h143 } uh; member
480 #define SET_DMAC_CSR(pp, val) ddi_put32(pp->uh.ebus.d_handle, \
481 ((uint32_t *)&pp->uh.ebus.dmac->csr), \
483 #define GET_DMAC_CSR(pp) ddi_get32(pp->uh.ebus.d_handle, \
484 (uint32_t *)&(pp->uh.ebus.dmac->csr))
487 ((uint32_t *)&pp->uh.ebus.dmac->acr), \
490 #define GET_DMAC_ACR(pp) ddi_get32(pp->uh.ebus.d_handle, \
491 (uint32_t *)&pp->uh.ebus.dmac->acr)
494 ((uint32_t *)&pp->uh.ebus.dmac->bcr), \
497 #define GET_DMAC_BCR(pp) ddi_get32(pp->uh.ebus.d_handle, \
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dsystm.h35 void delete_unrhdr(struct unrhdr *uh);
36 int alloc_unr(struct unrhdr *uh);
37 void free_unr(struct unrhdr *uh, u_int item);
/illumos-gate/usr/src/uts/common/io/
H A Decpp.c956 pp->uh.x86.chn = 0xff; in ecpp_get_props()
5442 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_read_config_reg()
5443 retval = PP_GETB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data); in pc87332_read_config_reg()
5451 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_write_config_reg()
5452 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val); in pc87332_write_config_reg()
5460 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val); in pc87332_write_config_reg()
5580 PP_PUTB(pp->uh.ebus.c2_handle, &pp->uh.ebus.c2_reg->edr, 0x80); in pc97317_config_chip()
5694 AND_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()
5698 OR_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()
5944 chn = pp->uh.m1553.chn; in dma8237_dma_start()
[all …]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c301 ucode_header_amd_t *uh; in ucode_gen_files_amd() local
359 uh = (ucode_header_amd_t *)ptr; in ucode_gen_files_amd()
361 if (uh->uh_cpu_rev != last_cpu_rev) { in ucode_gen_files_amd()
362 last_cpu_rev = uh->uh_cpu_rev; in ucode_gen_files_amd()
367 uh->uh_cpu_rev, counter++); in ucode_gen_files_amd()
598 ucode_header_amd_t *uh; in ucode_list_amd() local
630 uh = (ucode_header_amd_t *)(buf + 8); in ucode_list_amd()
632 if (uh->uh_cpu_rev == 0) in ucode_list_amd()
636 uh->uh_cpu_rev, uh->uh_patch_id, uh->uh_date, tsz); in ucode_list_amd()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_fflp.c909 #define fspec_key (flow_spec->uh.udpip4spec) in nxge_fill_tcam_entry_udp()
937 #define fspec_key (flow_spec->uh.udpip6spec) in nxge_fill_tcam_entry_udp_ipv6()
969 #define fspec_key (flow_spec->uh.tcpip4spec) in nxge_fill_tcam_entry_tcp()
995 #define fspec_key (flow_spec->uh.tcpip4spec) in nxge_fill_tcam_entry_sctp()
1021 #define fspec_key (flow_spec->uh.tcpip6spec) in nxge_fill_tcam_entry_tcp_ipv6()
1053 #define fspec_key (flow_spec->uh.tcpip6spec) in nxge_fill_tcam_entry_sctp_ipv6()
1086 #define fspec_key (flow_spec->uh.ahip4spec) in nxge_fill_tcam_entry_ah_esp()
1119 #define fspec_key (flow_spec->uh.ahip6spec) in nxge_fill_tcam_entry_ah_esp_ipv6()
1300 #define uspec (flow_spec->uh.ip_usr_spec) in nxge_add_tcam_entry()
2434 #define fspec_key (fspec->uh.tcpip4spec) in nxge_get_tcam_entry()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_flow.h127 } uh, um; /* entry, mask */ member
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dddi_v9_asm.S275 DDI_REP_GET(2,uh)
368 DDI_REP_PUT(2,uh)
863 DDI_REP_GET(2,uh)
905 DDI_REP_PUT(2,uh)
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_flow.h147 } uh, um; /* entry, mask */ member
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_section.c1025 Dwarf_Half uh = cur->dfe_index; in determine_file_content_size() local
1026 memcpy(data,&uh,DWARF_HALF_SIZE); in determine_file_content_size()
1116 Dwarf_Half uh = cur->dfe_index; in determine_file_content_size() local
1117 memcpy(data,&uh,DWARF_HALF_SIZE); in determine_file_content_size()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsftable.c389 else fp[n].argv.i = fp[n].argv.uh;
H A Dsfhdr.h723 ushort uh; member
H A Dsfvprintf.c566 else argv.i = argv.uh;