Searched refs:field (Results 1 - 24 of 24) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dqueue.h196 #define SLIST_FOREACH(var, head, field) \
199 (var) = SLIST_NEXT((var), field))
201 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \
203 (var) && ((tvar) = SLIST_NEXT((var), field), 1); \
206 #define SLIST_FOREACH_PREVPTR(var, varp, head, field) \
209 (varp) = &SLIST_NEXT((var), field))
215 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
216 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
217 SLIST_NEXT((slistelm), field)
[all...]
H A Dvnode_internal.h269 * and in places where no such field exists.
314 #define VOPARG_OFFSET(p_type,field) \
315 ((int) (((char *) (&(((p_type)NULL)->field))) - ((char *) NULL)))
316 #define VOPARG_OFFSETOF(s_type,field) \
317 VOPARG_OFFSET(s_type*,field)
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dqueue.h80 * In the "*foo_t" type, you must have a field of
329 * void queue_enter(q, elt, type, field)
333 * <field> is the chain field in (*<type>)
335 #define queue_enter(head, elt, type, field) \
344 ((type)__prev)->field.next = (queue_entry_t)(elt);\
346 (elt)->field.prev = __prev; \
347 (elt)->field.next = head; \
356 * void queue_enter_first(q, elt, type, field)
360 * <field> i
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_perfmon.c171 mmcr0_reg.field.disable_counters_always = TRUE;
172 mmcr0_reg.field.disable_counters_supervisor = TRUE; /* no choice */
181 mmcr0_reg.field.disable_counters_always = TRUE;
182 mmcr0_reg.field.disable_counters_supervisor = TRUE; /* no choice */
327 mmcr0_reg.field.disable_counters_always = FALSE;
329 mmcr0_reg.field.on_pmi_stop_counting = FALSE;
330 mmcr0_reg.field.enable_pmi = FALSE;
331 mmcr0_reg.field.enable_pmi_on_pmc1 = FALSE;
332 mmcr0_reg.field.enable_pmi_on_pmcn = FALSE;
340 mmcr0_reg.field
[all...]
H A Dhw_perfmon_mmcr.h56 ppc32_mmcr0_bits_t field; member in union:__anon923
69 ppc32_mmcr1_bits_t field; member in union:__anon925
79 ppc32_mmcr2_bits_t field; member in union:__anon927
106 ppc64_mmcr0_bits_t field; member in union:__anon929
142 ppc64_mmcr1_bits_t field; member in union:__anon931
168 ppc64_mmcra_bits_t field; member in union:__anon933
183 ppc_func_bits_t field; member in union:__anon935
H A Dhw_lock.s187 lckspin: li r6,lgKillResv ; Get killing field
335 mbitspin: li r11,lgKillResv ; Point to killing field
512 li r6,lgKillResv ; Killing field
562 csfail: li r3,lgKillResv ; Killing field
723 hdcFail: li r4,lgKillResv ; Killing field
966 li r5,lgKillResv ; Killing field
1020 li r5,lgKillResv ; Killing field
1138 ; hold the interlock lock and no one can touch this field unless they
1141 lwz r4,MUTEX_DATA(r3) ; Get the mutex's lock field
1281 li r5,lgKillResv ; Killing field
[all...]
H A Dsavearea_asm.s535 bl saveunlock ; Update the adjust field and unlock
551 bl saveunlock ; Update the adjust field and unlock
675 bl saveunlock ; Update the adjust field and unlock
691 bl saveunlock ; Update the adjust field and unlock
1226 stdone: bl saveunlock ; Unlock the saveanchor and set adjust field
1369 bl saveunlock ; Unlock the save and set adjust field
1480 savelock1: li r8,lgKillResv ; Point to killing field
1491 * This is the common routine that sets the saveadjust field and unlocks the savearea
H A Dvmachmon_asm.s414 lwz r6,vmmCntrl(r5) ; Get the control field
419 stw r6,vmmCntrl(r5) ; Set the control field
423 stwcx. r4,r8,r2 ; Save the updated field
477 lwz r22,famintercepts(r20) ; Load intercept bit field
480 lwz r22,faminterceptsX(r20) ; Load intercept bit field
790 lwz r6,vmmCntrl(r5) ; Get the control field
795 stw r6,vmmCntrl(r5) ; Store the control field
857 lwz r6,vmmCntrl(r5) ; Get the control field
861 stw r6,vmmCntrl(r5) ; Store the control field
H A Dlowmem_vectors.s921 ; We select a trace entry using a compare and swap on the next entry field.
1014 ctdisa32: mtcrf 0x80,r25 ; Restore the used condition register field
1024 ctbail32: mtcrf 0x80,r25 ; Restore the used condition register field
1058 ; We select a trace entry using a compare and swap on the next entry field.
1132 ctdisa64: mtcrf 0x80,r25 ; Restore the used condition register field
1142 ctbail64: mtcrf 0x80,r25 ; Restore the used condition register field
1475 ; We select a trace entry using a compare and swap on the next entry field.
1617 li r2,lgKillResv ; Point to the killing field
1804 ; We select a trace entry using a compare and swap on the next entry field.
3095 ; post-inject context. The field ijsav
[all...]
H A Dcswtch.s444 fssync0: li r7,lgKillResv ; Get killing field
629 fswsync0: li r19,lgKillResv ; Get killing field
735 fsnsync0: li r19,lgKillResv ; Get killing field
1158 vssync0: li r7,lgKillResv ; Get killing field
1362 vswsync0: li r19,lgKillResv ; Get killing field
1491 vswnsync0: li r19,lgKillResv ; Get killing field
H A Dhw_vm.s3220 stb r5,mpVAddr+7(r31) ; Set the new pp field (do not muck with the rest)
3245 stb r5,mpVAddr+7(r31) ; Set the new pp field (do not muck with the rest)
3394 lwz r12,mpVAddr+4(r31) ; Get the bottom of the mapping vaddr field
3425 lwz r12,mpVAddr+4(r31) ; Get the bottom of the mapping vaddr field
3596 la r5,ppLink+4(r3) ; Point to the RC field
4228 hpfPteMiss: lwarx r0,0,r31 ; Load the mapping flag field
4931 cntlzw r10,r5 ; Get first free field in second word
4981 cntlzw r10,r7 ; Get first free field in second word
5015 and. r0,r4,r7 ; is the 2-bit field that spans the 2 words free?
5019 li r3,31 ; get index of this field
[all...]
H A Dstart.s224 lwz r19,ptPatch(r26) ; Get ptPatch field
/macosx-10.5.8/xnu-1228.15.4/bsd/i386/
H A Dtypes.h128 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
/macosx-10.5.8/xnu-1228.15.4/bsd/ppc/
H A Dtypes.h131 #define __offsetof(type, field) ((size_t)(&((type *)0)->field))
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dperfmon.h37 #define field(n,m) ((bit((m)+1)-1) & ~(bit(n)-1)) macro
64 #define PMC_COUNTER_COUNTER field(0,39)
65 #define PMC_COUNTER_RESERVED field(40,64)
296 #define PMC_ECSR_NOHTT_RESERVED field(0,1)
304 #define PMC_ECSR_TAG_VALUE field(5,8)
305 #define PMC_ECSR_EVENT_MASK field(9,24)
306 #define PMC_ECSR_EVENT_SELECT field(25,30)
307 #define PMC_ECSR_RESERVED2 field(30,64)
339 #define PMC_CCCR_RESERVED1 field(1,11)
341 #define PMC_CCCR_ECSR_SELECT field(1
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ppc/
H A DIODBDMA.h181 #define IOSetDBDMAChannelRegister(registerSetPtr,field,value) \
182 OSWriteSwapInt32(registerSetPtr,offsetof(IODBDMAChannelRegisters,field),value)
184 #define IOGetDBDMAChannelRegister(registerSetPtr, field) \
185 OSReadSwapInt32(registerSetPtr,offsetof(IODBDMAChannelRegisters, field))
260 #define IOSetDBDMADescriptor(descPtr,field,value) \
261 OSWriteSwapInt32( descPtr, offsetof( IODBDMADescriptor, field), value)
263 #define IOGetDBDMADescriptor(descPtr,field) \
264 OSReadSwapInt32( descPtr, offsetof( IODBDMADescriptor, field))
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_subr.c140 register int field, subfield; local
148 field = around[siz];
151 if ((fragmap & field) == subfield) {
154 field <<= siz;
157 field <<= 1;
H A Dffs_alloc.c1596 int blk, field, subfield, pos; local
1632 field = around[allocsiz];
1635 if ((blk & field) == subfield)
1637 field <<= 1;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h106 * The OFFSET_OF macro is used to return the offset of a field within
109 #define OFFSET_OF(type, field) ((int)&( ((type *)0)->field) )
126 * field (int) which contains the index of the object itself into the
127 * heap. When the object is moved, the field must also be updated.
129 * field in the heap descriptor. The assumption is that this offset
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c22 #define offsetof(type, field) ((size_t)(&((type *)0)->field))
H A Dgenimage.c66 #define offsetof(type, field) ((size_t)(&((type *)0)->field))
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_object.c113 * back data (the memory object, field "pager"), etc...
134 * "pager_initialized" field is asserted, indicating
145 * "internal". The "pager_created" field is provided to
153 * field refers to the virtual memory object that contains
155 * field indicates where in the "shadow" these contents begin.
156 * The "copy" field refers to a virtual memory object
165 * field is used in the implementation of the persistence
223 * When adding a new field to the virtual memory
2982 * When initialization is complete, the "initialized" field
2998 * use the "pager" field a
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkey.c133 * following value in reference count field. they cannot be freed and are
136 * in reference count field. they are ready to be freed. reference from
138 * field hits 0 (= no external reference other than from SA header.
299 #define LIST_FOREACH(elm, head, field) \
300 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
304 #define LIST_INSERT_TAIL(head, elm, type, field) \
308 LIST_INSERT_HEAD(head, elm, field); \
310 while (LIST_NEXT(curelm, field)) \
311 curelm = LIST_NEXT(curelm, field);\
312 LIST_INSERT_AFTER(curelm, elm, field);\
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOService.cpp179 #define queue_element(entry, element, type, field) do { \
181 __ele -= -4 + ((size_t)(&((type) 4)->field)); \

Completed in 177 milliseconds