Searched refs:type (Results 76 - 100 of 288) sorted by relevance

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbridge.h166 #define BDG_STAT(ifp, type) bdg_stats.s[ifp->if_index].p_in[(int)type]++
H A Dif_disc.c116 disc_modevent(module_t mod, int type, void *data) argument
118 switch (type) {
123 printf("if_disc module unload - not possible for this module type\n");
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dkpi_socket.h292 @param type The socket type (SOCK_STREAM, SOCK_DGRAM, etc...).
300 errno_t sock_socket(int domain, int type, int protocol, sock_upcall callback,
376 @param type The socket type (SOCK_STREAM, SOCK_DGRAM, etc...). May be NULL.
380 errno_t sock_gettype(socket_t so, int *domain, int *type, int *protocol);
H A Dmbuf.h112 * Macros for type conversion
113 * mtod(m,t) - convert mbuf pointer to data pointer of correct type
125 short mh_type; /* type of data in this mbuf */
134 u_int16_t m_tag_type; /* Module specific type */
284 * MGET(struct mbuf *m, int how, int type)
287 * MGETHDR(struct mbuf *m, int how, int type)
298 #define MGET(m, how, type) ((m) = m_get((how), (type)))
300 #define MGETHDR(m, how, type) ((m) = m_gethdr((how), (type)))
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOServicePrivate.h151 int type; member in class:_IOServiceJob
155 static _IOServiceJob * startJob( IOService * nub, int type,
H A DRootDomainUserClient.cpp49 UInt32 type, OSDictionary * properties)
54 if (!super::initWithTask(owningTask, security_id, type, properties))
146 unsigned long type,
161 *return_code = fOwner->setAggressiveness(type, newLevel);
48 initWithTask(task_t owningTask, void *security_id, UInt32 type, OSDictionary * properties) argument
145 secureSetAggressiveness( unsigned long type, unsigned long newLevel, int *return_code ) argument
H A DIOMemoryDescriptor.cpp304 UInt32 type, IOGeneralMemoryDescriptor::Ranges r, UInt32 ind)
306 assert(kIOMemoryTypeUIO == type
307 || kIOMemoryTypeVirtual == type || kIOMemoryTypeVirtual64 == type
308 || kIOMemoryTypePhysical == type || kIOMemoryTypePhysical64 == type);
309 if (kIOMemoryTypeUIO == type) {
313 else if ((kIOMemoryTypeVirtual64 == type) || (kIOMemoryTypePhysical64 == type)) {
556 IOOptionBits type local
303 getAddrLenForInd(user_addr_t &addr, IOPhysicalLength &len, UInt32 type, IOGeneralMemoryDescriptor::Ranges r, UInt32 ind) argument
711 IOOptionBits type = options & kIOMemoryTypeMask; local
781 IOOptionBits type = _flags & kIOMemoryTypeMask; local
1001 IOOptionBits type = _flags & kIOMemoryTypeMask; local
[all...]
H A DIOUserClient.cpp71 ipc_kobject_type_t type );
76 io_object_t obj, ipc_kobject_type_t type );
89 extern kern_return_t iokit_switch_object_port( ipc_port_t port, io_object_t obj, ipc_kobject_type_t type );
111 ipc_kobject_type_t type );
113 ipc_kobject_type_t type, mach_port_mscount_t * mscount );
115 ipc_kobject_type_t type );
116 static void setHoldDestroy( OSObject * obj, ipc_kobject_type_t type );
118 static OSDictionary * dictForType( ipc_kobject_type_t type );
121 io_object_t obj, ipc_kobject_type_t type );
137 OSDictionary * IOMachPort::dictForType( ipc_kobject_type_t type )
199 noMoreSendersForObject( OSObject * obj, ipc_kobject_type_t type, mach_port_mscount_t * mscount ) argument
370 iokit_client_died( io_object_t obj, ipc_port_t , ipc_kobject_type_t type, mach_port_mscount_t * mscount ) argument
533 init( mach_port_t port, natural_t type, void * reference, vm_size_t referenceSize, bool clientIs64 ) argument
668 init( mach_port_t port, natural_t type, void * reference, vm_size_t referenceSize, vm_size_t extraSize, bool client64 ) argument
925 initWithTask(task_t owningTask, void * securityID, UInt32 type, OSDictionary * properties ) argument
980 clientMemoryForType( UInt32 type, IOOptionBits * options, IOMemoryDescriptor ** memory ) argument
987 mapClientMemory( IOOptionBits type, task_t task, IOOptionBits mapFlags, IOVirtualAddress atAddress ) argument
1011 mapClientMemory64( IOOptionBits type, task_t task, IOOptionBits mapFlags, mach_vm_address_t atAddress ) argument
2466 is_io_connect_map_memory( io_object_t connect, uint32_t type, task_t task, vm_address_t * mapAddr, vm_size_t * mapSize, uint32_t flags ) argument
2568 is_io_connect_unmap_memory( io_object_t connect, uint32_t type, task_t task, vm_address_t mapAddr ) argument
3586 is_io_make_matching( mach_port_t master_port, uint32_t type, uint32_t options, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_string_t matching ) argument
[all...]
H A DIOPMrootDomain.cpp155 void setPMSetting(const OSSymbol *type, OSObject *obj);
508 OSSymbol *type; local
636 type = (OSSymbol *)allowedPMSettings->getObject(i);
637 if(!type) continue;
639 obj = dict->getObject(type);
642 if ((gIOPMSettingAutoWakeSecondsKey == type) && ((n = OSDynamicCast(OSNumber, obj))))
661 return_value = setPMSetting(type, obj);
716 void IOPMrootDomain::broadcast_it (unsigned long type, unsigned long value) argument
718 super::setAggressiveness(type,value);
721 if( type
849 setAggressiveness( unsigned long type, unsigned long newLevel ) argument
1410 setPMSetting( const OSSymbol *type, OSObject *obj) argument
1606 informCPUStateChange( uint32_t type, uint32_t value ) argument
3173 setPMSetting(const OSSymbol *type, OSObject *obj) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/
H A Dvm_param.h139 * associated with the specific VM type should be used.
156 * unsigned long type first. Look for invalid operands to binary + error
242 #define CAST_DOWN( type, addr ) ( ((type)((uintptr_t) (addr))) )
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dlocks.h45 #define disLkType 0x80000000 /* Disable type checking */
104 unsigned int type; member in struct:__anon941
172 unsigned int type; member in struct:__anon948
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c88 errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf) argument
91 *mbuf = m_get(how, type);
96 errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf) argument
99 *mbuf = m_gethdr(how, type);
105 mbuf_attachcluster(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf, argument
112 if ((*mbuf = m_clattach(mbuf != NULL ? *mbuf : NULL, type, extbuf,
166 mbuf_getcluster(mbuf_how_t how, mbuf_type_t type, size_t size, mbuf_t* mbuf) argument
175 *mbuf = m_get(how, type);
210 errno_t mbuf_mclget(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf) argument
217 error = mbuf_get(how, type, mbu
865 mbuf_tag_allocate( mbuf_t mbuf, mbuf_tag_id_t id, mbuf_tag_type_t type, size_t length, mbuf_how_t how, void** data_p) argument
905 mbuf_tag_find( mbuf_t mbuf, mbuf_tag_id_t id, mbuf_tag_type_t type, size_t* length, void** data_p) argument
939 mbuf_tag_free( mbuf_t mbuf, mbuf_tag_id_t id, mbuf_tag_type_t type) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOEventSource.h89 @discussion Placeholder type for C++ function overloading discrimination.
91 and be of some type, this is that type.
100 @discussion Backward compatibilty define for the old non-class scoped type definition. See $link IOEventSource::Action */
193 /* inline */ int sleepGate(void *event, UInt32 type);
194 /* { return workLoop->sleepGate(event, type); }; */
201 @param action Pointer to a C function of type IOEventSource::Action. */
H A DIOPlatformExpert.h60 extern int (*PE_halt_restart)(unsigned int type);
61 extern int PEHaltRestart(unsigned int type);
135 virtual int haltRestart(unsigned int type);
220 virtual int haltRestart(unsigned int type);
H A DIOService.h156 @param messageArgument An argument for message, dependent on its type.
539 @discussion Registering an IOService object informs possible clients of its existance and instantiates drivers that may be used with it; <code>terminate</code> involves the opposite process of informing clients that an IOService object is no longer able to be used and will be destroyed. By default, if any client has the service open, <code>terminate</code> fails. If the <code>kIOServiceRequired</code> flag is passed however, <code>terminate</code> will be successful though further progress in the destruction of the IOService object will not proceed until the last client has closed it. The service will be made inactive immediately upon successful termination, and all its clients will be notified via their @link message message@/link method with a message of type <code>kIOMessageServiceIsTerminated</code>. Both these actions take place on the caller's thread. After the IOService object is made inactive, further matching or attach calls will fail on it. Each client has its @link stop stop@/link method called upon their close of an inactive IOService object , or on its termination if they do not have it open. After <code>stop</code>, @link detach detach@/link is called in each client. When all clients have been detached, the @link finalize finalize@/link method is called in the inactive service. The termination process is inherently asynchronous because it will be deferred until all clients have chosen to close.
648 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler will be called with each of any currently existing IOService objects that are in the correct state (eg. registered) and match the supplied matching dictionary, avoiding races between finding preexisting and new IOService events. The notification request is identified by an instance of an IONotifier object, through which it can be enabled, disabled, or removed. <code>addNotification</code> consumes a retain count on the matching dictionary when the notification is removed.
649 @param type An OSSymbol identifying the type of notification and IOService state:
659 @param priority A constant ordering all notifications of a each type.
663 const OSSymbol * type, OSDictionary * matching,
689 @param type See <code>addNotification</code>.
699 const OSSymbol * type, OSDictionary * matching,
1005 @abstract Returns the type o
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Datp_read.c122 if (((AT_DDP_HDR(m))->type != DDP_ATP) ||
505 register int type; local
515 type = AT_ATP_ISSUE_REQUEST_NOTE;
517 type = ((ioc_t *)(gbuf_rptr(m)))->ioc_cmd;
524 dPrintf(D_M_ATP_LOW, D_L_INPUT, ("atp_trans_comp: trp=0x%x type = %s\n",
526 (type==AT_ATP_ISSUE_REQUEST)? "AT_ATP_ISSUE_REQUEST":
527 (type==AT_ATP_ISSUE_REQUEST_NOTE)? "AT_ATP_ISSUE_REQUEST_NOTE" :
530 switch(type) {
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Di386_vm_init.c261 kprintf("EFI region: type = %u/%d, base = 0x%x, top = 0x%x\n", mptr->Type, pmap_type, base, top);
299 pmptr->type = pmap_type;
309 pmptr->type = pmap_type;
317 pmptr->type = pmap_type;
325 pmptr->type = pmap_type;
338 pmptr->type == prev_pmptr->type &&
358 kprintf("type %d base 0x%x alloc 0x%x top 0x%x\n", p->type,
H A Dcpuid.c108 cache_type_t type = Lnone; local
135 /* Map type/levels returned by CPUID into cache_type_t */
138 type = cache_type == 1 ? L1D :
143 type = cache_type == 3 ? L2U :
147 type = cache_type == 3 ? L3U :
151 type = Lnone;
157 if (type != Lnone) {
159 info_p->cache_size[type] = cache_size;
160 info_p->cache_sharing[type] = cache_sharing;
161 info_p->cache_partitions[type]
[all...]
H A Didt.s70 #define IDT_BASE_ENTRY(vec,seg,type) \
75 .byte type ;\
78 #define IDT_BASE_ENTRY_INT(vec,seg,type) \
83 .byte type ;\
86 #define IDT_BASE_ENTRY_TG(vec,seg,type) \
91 .byte type ;\
94 #define IDT_ENTRY(vec,type) IDT_BASE_ENTRY(vec,KERNEL_CS,type)
95 #define IDT_ENTRY_INT(vec,type) IDT_BASE_ENTRY_INT(vec,KERNEL_CS,type)
[all...]
H A Dcpuid.h261 cache_type_t type; /* Cache type */ member in struct:__anon702
270 #define CACHE_DESC(value,type,size,linesize,text) \
271 { value, type, size, linesize, text }
273 #define CACHE_DESC(value,type,size,linesize,text) \
274 { value, type, size, linesize }
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_object.c326 mach_port_type_t type,
336 assert((type & MACH_PORT_TYPE_ALL_RIGHTS) == type);
337 assert(type != MACH_PORT_TYPE_NONE);
366 entry->ie_bits |= type | urefs;
397 mach_port_type_t type,
407 assert((type & MACH_PORT_TYPE_ALL_RIGHTS) == type);
408 assert(type != MACH_PORT_TYPE_NONE);
441 entry->ie_bits |= type | uref
323 ipc_object_alloc( ipc_space_t space, ipc_object_type_t otype, mach_port_type_t type, mach_port_urefs_t urefs, mach_port_name_t *namep, ipc_object_t *objectp) argument
394 ipc_object_alloc_name( ipc_space_t space, ipc_object_type_t otype, mach_port_type_t type, mach_port_urefs_t urefs, mach_port_name_t name, ipc_object_t *objectp) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-md.c237 acontext_type_t type);
307 acontext_type_t type)
320 _profile_printf("_profile_md_acontext: pv= 0x%lx, ptr= 0x%lx, len= %6ld, type= %d\n",
324 (int)type);
328 context->next = pv->acontext[type];
340 pv->stats.num_context[type]++;
341 pv->stats.wasted[type] += plist->bytes_free;
342 pv->stats.overhead[type] += len - plist->bytes_free;
345 pv->acontext[type] = context;
358 profile_type_t type,
302 _profile_md_acontext(struct profile_vars *pv, void *ptr, size_t len, acontext_type_t type) argument
354 _profile_md_init(struct profile_vars *pv, profile_type_t type, profile_alloc_mem_t alloc_mem) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMPMMtest.c49 mach_msg_type_t type; member in struct:__anon1010
109 fprintf(stderr, " -type trivial|inline|complex\ttype of messages to send\n");
122 fprintf(stderr, " . inline message type\n");
168 } else if (0 == strcmp("-type", argv[0])) {
538 ((ipc_inline_message *)req)->type.msgt_name = MACH_MSG_TYPE_INTEGER_32;
539 ((ipc_inline_message *)req)->type.msgt_size = 32;
540 ((ipc_inline_message *)req)->type.msgt_number = num_ints;
541 ((ipc_inline_message *)req)->type.msgt_inline = TRUE;
542 ((ipc_inline_message *)req)->type.msgt_longform = FALSE;
543 ((ipc_inline_message *)req)->type
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_forward.c96 int error, type = 0, code = 0; local
466 * type/code is based on suggestion by Rich Draves.
478 type = ND_REDIRECT;
548 if (type)
561 if (type == ND_REDIRECT) {
581 type = ICMP6_DST_UNREACH;
587 icmp6_error(mcopy, type, code, 0);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dipc_kobject.c436 * Make a port represent a kernel object of the given type.
448 ipc_kobject_type_t type)
451 ipc_kobject_set_atomically(port, kobject, type);
454 mac_port_label_update_kobject (&port->ip_label, type);
464 ipc_kobject_type_t type)
466 assert(type == IKOT_NONE || ip_active(port));
470 port->ip_bits = (port->ip_bits &~ IO_BITS_KOTYPE) | type;
445 ipc_kobject_set( ipc_port_t port, ipc_kobject_t kobject, ipc_kobject_type_t type) argument
461 ipc_kobject_set_atomically( ipc_port_t port, ipc_kobject_t kobject, ipc_kobject_type_t type) argument

Completed in 289 milliseconds

1234567891011>>