/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | bpf_compat.h | 74 #define malloc(size, type, canwait) _MALLOC(size, type, canwait) 75 #define free(cp, type) m_free(*(struct mbuf **)(cp - 8))
|
H A D | if_atm.h | 119 u_int8_t type[2]; /* "ethernet" type */ member in struct:atmllc 122 /* ATM_LLC macros: note type code in host byte order */ 123 #define ATM_LLC_TYPE(X) (((X)->type[0] << 8) | ((X)->type[1])) 125 (X)->type[1] = ((V) >> 8) & 0xff; \ 126 (X)->type[0] = ((V) & 0xff); \
|
H A D | ether_if_module.c | 125 u_int16_t type; /* Type of protocol stored in data */ member in struct:en_desc 168 * Setting the type to 0 releases the entry. Eventually we should compact-out 186 desc_blk->block_ptr[current - 1].type = 0; 197 for (; desc_blk->n_max_used > 0 && desc_blk->block_ptr[desc_blk->n_max_used - 1].type == 0; desc_blk->n_max_used--) 215 switch (demux->type) { 242 switch (demux->type) { 245 if (desc_blk->block_ptr[i].type == DLIL_DESC_ETYPE2 && 255 if (desc_blk->block_ptr[i].type == demux->type && 302 if (desc_blk->block_ptr[i].type 374 u_int16_t type; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_trap.h | 69 int type, 74 int type,
|
H A D | makedis.c | 274 - Clean up type handling, which is somewhat haphazard. It works but there 299 enum type {T_ERROR, T_UNKNOWN, T_INTEGER, T_STRING}; enum 339 enum type makestring(struct function *fp, struct string **stringlink, 340 char **stringp, char *magic, enum type targettype); 348 enum type t); 370 void compiletype(FILE *f, enum type *tp); 372 int compilestring(int assignto, struct string *sp, enum type type); 373 int compilecheckedstring(int assignto, struct string *sp, enum type type); 568 enum type type; member in struct:function 649 enum type type; local 775 enum type type; member in struct:arg 915 } type; member in struct:string 939 enum type type; /* the type of each element */ member in struct:array 947 enum type type; member in struct:stringlist 1142 enum elementtype type; member in struct:bitsplicebits 1984 compilestring(int assignto, struct string *sp, enum type type) argument 2007 compilecheckedstring(int assignto, struct string *sp, enum type type) argument 2048 compileconcat(struct string *sp, enum type type) argument 2078 compilenull(enum type type) argument 2088 compilesimple(struct string *sp, enum type type) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/sys/ |
H A D | varargs.h | 152 # define va_arg(pvar, type) ((type *)(pvar = \ 153 (va_list) (sizeof(type) > 4 ? ((int)pvar + 2*8 - 1) & -8 \ 156 #define va_arg(pvar,type) ( \ 157 (pvar) += ((sizeof(type)+3) & ~0x3), \ 158 *((type *)((pvar) - ((sizeof(type)+3) & ~0x3))) ) 171 * n = va_arg(*list, type) 212 #define va_arg(pvar, type) ( \ 220 *((type *)((pva [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ppc/ |
H A D | interrupts.h | 33 extern void (PE_incoming_interrupt)(int type, ppc_saved_state_t *ssp,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | malloc.h | 202 #define M_LAST 109 /* Must be last type + 1 */ 223 long ks_inuse; /* # of packets of this type currently 225 long ks_calls; /* total packets of this type ever allocated */ 244 #define MALLOC(space, cast, size, type, flags) \ 245 (space) = (cast)_MALLOC(size, type, flags) 247 #define FREE(addr, type) \ 248 _FREE((void *)addr, type) 250 #define MALLOC_ZONE(space, cast, size, type, flags) \ 251 (space) = (cast)_MALLOC_ZONE(size, type, flags) 253 #define FREE_ZONE(addr, size, type) \ [all...] |
H A D | queue.h | 176 #define SLIST_HEAD(name, type) \ 178 struct type *slh_first; /* first element */ \ 184 #define SLIST_ENTRY(type) \ 186 struct type *sle_next; /* next element */ \ 227 #define SLIST_REMOVE(head, elm, type, field) do { \ 232 struct type *curelm = SLIST_FIRST((head)); \ 248 #define STAILQ_HEAD(name, type) \ 250 struct type *stqh_first;/* first element */ \ 251 struct type **stqh_last;/* addr of last next element */ \ 257 #define STAILQ_ENTRY(type) \ [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_icmp.h | 85 u_char icmp_type; /* type of message, see below */ 86 u_char icmp_code; /* type sub code */ 163 * Definition of type and code field values. 208 #define ICMP_INFOTYPE(type) \ 209 ((type) == ICMP_ECHOREPLY || (type) == ICMP_ECHO || \ 210 (type) == ICMP_ROUTERADVERT || (type) == ICMP_ROUTERSOLICIT || \ 211 (type) == ICMP_TSTAMP || (type) [all...] |
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/ |
H A D | desc.h | 47 unsigned char type :5, member in struct:code_desc 71 unsigned char type :5, member in struct:data_desc 93 unsigned char type :5, member in struct:ldt_desc 114 type :5, member in struct:call_gate 129 type :5, member in struct:trap_gate 145 type :5, member in struct:intr_gate
|
H A D | reg_help.h | 58 # define REG_ADDR(type, addr) (addr) 60 # define REG_ADDR(type, addr) (*(volatile type *)(addr))
|
H A D | tss.h | 97 unsigned char type :5, member in struct:tss_desc 115 type :5, member in struct:task_gate
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_vfsops.c | 129 int cmd, type, error; local 151 type = cmds & SUBCMDMASK; 152 if ((u_int)type >= MAXQUOTAS) 160 error = quotaon(context, mp, type, datap); 164 error = quotaoff(mp, type); 168 error = setquota(mp, uid, type, datap); 172 error = setuse(mp, uid, type, datap); 176 error = getquota(mp, uid, type, datap); 184 error = quotastat(mp, type, datap);
|
H A D | ufs_quota.c | 196 chkdqchg(struct inode *ip, int64_t change, kauth_cred_t cred, int type) argument 198 register struct dquot *dq = ip->i_dquot[type]; 213 quotatypes[type]); 231 VFSTOUFS(ITOV(ip)->v_mount)->um_qfiles[type].qf_btime; 236 quotatypes[type], "disk quota exceeded"); 248 quotatypes[type], 332 chkiqchg(struct inode *ip, long change, kauth_cred_t cred, int type) argument 334 register struct dquot *dq = ip->i_dquot[type]; 349 quotatypes[type]); 367 VFSTOUFS(ITOV(ip)->v_mount)->um_qfiles[type] 528 int type; member in struct:ufs_quotaoff_cargs 554 quotaoff(struct mount *mp, register int type) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_quota.c | 210 hfs_chkdqchg(cp, change, cred, type) 214 int type; 216 register struct dquot *dq = cp->c_dquot[type]; 231 quotatypes[type]); 249 VTOHFS(vp)->hfs_qfiles[type].qf_btime; 253 quotatypes[type], "disk quota exceeded"); 264 quotatypes[type], 355 hfs_chkiqchg(cp, change, cred, type) 359 int type; 361 register struct dquot *dq = cp->c_dquot[type]; 559 int type; member in struct:hfs_quotaoff_cargs 582 hfs_quotaoff(__unused struct proc *p, struct mount *mp, register int type) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | queue.h | 79 * How to declare a queue of elements of type "foo_t": 80 * In the "*foo_t" type, you must have a field of 81 * type "queue_chain_t" to hold together this queue. 85 * Declare the queue as a "queue_t" type. 87 * Elements of the queue (of type "foo_t", that is) 88 * are referred to by reference, and cast to type 329 * void queue_enter(q, elt, type, field) 331 * <type> elt; 332 * <type> is what's in our queue 333 * <field> is the chain field in (*<type>) [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/headers/ |
H A D | port_obj.h | 34 * to server-defined "type" and "value" data to be associated 59 #define port_set_obj_value_type(pname, value, type) \ 67 port_obj_table[ndx].pos_type = (type); \ 78 #define port_set_obj_value_type(pname, value, type) \ 88 port_obj_table[ndx].pos_type = (type); \
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | adsp_Init.c | 125 sp->ProbeTimer.type = kProbeTimerType; 126 sp->FlushTimer.type = kFlushTimerType; 127 sp->RetryTimer.type = kRetryTimerType; 128 sp->AttnTimer.type = kAttnTimerType; 129 sp->ResetTimer.type = kResetTimerType;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | interrupt.c | 78 int type, 91 if(perfIntHook(type, ssp, dsisr, dar) == KERN_SUCCESS) return ssp; /* If it succeeds, we are done... */ 96 if(tempDTraceIntHook(type, ssp, dsisr, dar) == KERN_SUCCESS) return ssp; /* If it succeeds, we are done... */ 111 switch (type) { 179 if (!Call_Debugger(type, ssp)) 180 unresolved_kernel_trap(type, ssp, dsisr, dar, NULL); 77 interrupt( int type, struct savearea *ssp, unsigned int dsisr, unsigned int dar) argument
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_space.c | 265 mach_port_type_t type; local 267 type = IE_BITS_TYPE(entry->ie_bits); 268 if (type != MACH_PORT_TYPE_NONE) { 284 mach_port_type_t type; local 287 type = IE_BITS_TYPE(tentry->ite_bits); 292 if(type != MACH_PORT_TYPE_NONE) { 356 mach_port_type_t type; local 358 type = IE_BITS_TYPE(entry->ie_bits); 359 if (type != MACH_PORT_TYPE_NONE) { 374 mach_port_type_t type; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | mtrr.c | 45 uint64_t types; /* fixed-range type octet */ 80 uint64_t length, uint32_t type, int valid); 82 uint64_t length, uint32_t type); 399 * with a given memory caching type. 402 mtrr_range_add(addr64_t address, uint64_t length, uint32_t type) argument 410 DBG("mtrr_range_add base = 0x%llx, size = 0x%llx, type = %d\n", 411 address, length, type); 417 /* check memory type (GPF exception for undefined types) */ 418 if ((type != MTRR_TYPE_UNCACHEABLE) && 419 (type ! 502 mtrr_range_remove(addr64_t address, uint64_t length, uint32_t type) argument 553 var_range_encode(mtrr_var_range_t * range, addr64_t address, uint64_t length, uint32_t type, int valid) argument 564 var_range_overlap(mtrr_var_range_t * range, addr64_t address, uint64_t length, uint32_t type) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/i386/ |
H A D | types.h | 128 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ppc/ |
H A D | types.h | 114 /* in size depending on the type of process (currently 32 or 64-bit, but */ 131 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | RootDomainUserClient.h | 58 IOReturn secureSetAggressiveness( unsigned long type, 71 UInt32 type, OSDictionary * properties);
|