Searched refs:bitfield (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/osfmk/i386/vmx/ |
H A D | vmx_cpu.c | 141 #define bitfield(x,f) ((x >> f##_BIT) & f##_MASK) macro 145 specs->vmcs_mem_type = bitfield(msr_image, VMX_VCR_VMCS_MEM_TYPE) != 0; 146 specs->vmcs_size = bitfield(msr_image, VMX_VCR_VMCS_SIZE); 170 specs->act_halt = bitfield(msr_image, VMX_VCR_ACT_HLT) != 0; 171 specs->act_shutdown = bitfield(msr_image, VMX_VCR_ACT_SHUTDOWN) != 0; 172 specs->act_SIPI = bitfield(msr_image, VMX_VCR_ACT_SIPI) != 0; 173 specs->act_CSTATE = bitfield(msr_image, VMX_VCR_ACT_CSTATE) != 0; 174 specs->cr3_targs = bitfield(msr_image, VMX_VCR_CR3_TARGS); 175 specs->max_msrs = (uint32_t)(512 * (1 + bitfield(msr_image, VMX_VCR_MAX_MSRS))); 176 specs->mseg_id = (uint32_t)bitfield(msr_imag [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | tsc.c | 82 #define bitfield(x,h,l) (((x) & bitmask(h,l)) >> l) macro 179 flex_ratio_min = (uint32_t)bitfield(msr_platform_info, 47, 40); 180 flex_ratio_max = (uint32_t)bitfield(msr_platform_info, 15, 8); 185 flex_ratio = (uint32_t)bitfield(msr_flex_ratio, 15, 8); 202 tscGranularity = (uint32_t)bitfield(prfsts, 44, 40);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_pcblist.c | 388 inpcb_get_ports_used(unsigned int ifindex, uint8_t *bitfield, struct inpcbinfo *pcbinfo) argument 398 bitfield[port / 8] |= 1 << (port & 0x7);
|
H A D | udp_usrreq.c | 1203 udp_get_ports_used(unsigned int ifindex, uint8_t *bitfield) argument 1205 inpcb_get_ports_used(ifindex, bitfield, &udbinfo);
|
H A D | tcp_subr.c | 1694 tcp_get_ports_used(unsigned int ifindex, uint8_t *bitfield) argument 1696 inpcb_get_ports_used(ifindex, bitfield, &tcbinfo);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | kpi_interface.c | 2155 extern void udp_get_ports_used(unsigned int ifindex, uint8_t *bitfield); 2156 extern void tcp_get_ports_used(unsigned int ifindex, uint8_t *bitfield); 2159 ifnet_get_local_ports(ifnet_t ifp, uint8_t *bitfield) argument 2161 if (bitfield == NULL) 2164 bzero(bitfield, 8192); 2166 udp_get_ports_used(ifp ? ifp->if_index : 0, bitfield); 2167 tcp_get_ports_used(ifp ? ifp->if_index : 0, bitfield);
|
H A D | kpi_interface.h | 1642 @discussion Sets a bitfield to indicate special hardware offload 2681 @discussion Returns a bitfield indicating which ports have sockets 2688 @param bitfield A pointer to 8192 bytes. 2691 extern errno_t ifnet_get_local_ports(ifnet_t ifp, uint8_t *bitfield);
|
Completed in 48 milliseconds