Home
last modified time | relevance | path

Searched refs:Node (Results 1 – 25 of 119) sorted by relevance

12345

/titanic_41/usr/src/cmd/awk/
H A Dparse.c37 Node *
40 register Node *x; in nodealloc()
42 x = (Node *)malloc(sizeof (Node) + (n - 1) * sizeof (Node *)); in nodealloc()
50 Node *
51 exptostat(Node *a) in exptostat()
57 Node *
58 node1(int a, Node *b) in node1()
60 register Node *x; in node1()
68 Node *
69 node2(int a, Node *b, Node *c) in node2()
[all …]
H A Dawk.h165 typedef struct Node { struct
167 struct Node *nnext; argument
170 struct Node *narg[1]; argument
172 } Node; typedef
174 #define NIL ((Node *)0)
176 extern Node *winner;
177 extern Node *nullstat;
178 extern Node *nullnode;
211 extern Cell *(*proctab[])(Node **, int);
212 extern Cell *nullproc(Node **, int);
[all …]
H A Dawk.g.y42 Node *beginloc = 0, *endloc = 0;
45 Node *arglist = 0; /* list of args for current function */
47 static int constnode(Node *);
48 static uchar *strnode(Node *);
49 static Node *notnull();
53 Node *p;
109 winner = (Node *)stat3(PROGRAM, beginloc, $1, endloc); }
218 | ppattern MATCHOP reg_expr { $$ = op3($2, NIL, $1, (Node*)makedfa($3, 0)); }
221 $$ = op3($2, NIL, $1, (Node*)makedfa(strnode($3), 0));
223 $$ = op3($2, (Node *)1, $1, $3); }
[all …]
H A Db.c61 Node *point[MAXLIN];
81 static void penter(Node *);
82 static void freetr(Node *);
84 static void cfoll(fa *, Node *);
85 static void follow(Node *);
86 static Node *reparse(uchar *);
130 Node *p, *p1; in mkdfa()
194 penter(Node *p) /* set up parent pointers and leaf indices */ in penter()
198 left(p) = (Node *) poscnt; in penter()
219 freetr(Node *p) /* free parse tree */ in freetr()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/namespace/
H A Dnsobject.c77 ACPI_NAMESPACE_NODE *Node, in AcpiNsAttachObject() argument
92 if (!Node) in AcpiNsAttachObject()
109 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED) in AcpiNsAttachObject()
114 Node, AcpiUtGetDescriptorName (Node))); in AcpiNsAttachObject()
120 if (Node->Object == Object) in AcpiNsAttachObject()
124 Object, Node)); in AcpiNsAttachObject()
166 ObjDesc, Node, AcpiUtGetNodeName (Node))); in AcpiNsAttachObject()
170 if (Node->Object) in AcpiNsAttachObject()
172 AcpiNsDetachObject (Node); in AcpiNsAttachObject()
195 LastObjDesc->Common.NextObject = Node->Object; in AcpiNsAttachObject()
[all …]
H A Dnsalloc.c69 ACPI_NAMESPACE_NODE *Node; in AcpiNsCreateNode() local
78 Node = AcpiOsAcquireObject (AcpiGbl_NamespaceCache); in AcpiNsCreateNode()
79 if (!Node) in AcpiNsCreateNode()
95 Node->Name.Integer = Name; in AcpiNsCreateNode()
96 ACPI_SET_DESCRIPTOR_TYPE (Node, ACPI_DESC_TYPE_NAMED); in AcpiNsCreateNode()
97 return_PTR (Node); in AcpiNsCreateNode()
118 ACPI_NAMESPACE_NODE *Node) in AcpiNsDeleteNode() argument
129 AcpiNsDetachObject (Node); in AcpiNsDeleteNode()
137 ObjDesc = Node->Object; in AcpiNsDeleteNode()
145 ObjDesc->Data.Handler (Node, ObjDesc->Data.Pointer); in AcpiNsDeleteNode()
[all …]
H A Dnssearch.c60 ACPI_NAMESPACE_NODE *Node,
104 ACPI_NAMESPACE_NODE *Node; in AcpiNsSearchOneScope() local
132 Node = ParentNode->Child; in AcpiNsSearchOneScope()
133 while (Node) in AcpiNsSearchOneScope()
137 if (Node->Name.Integer == TargetName) in AcpiNsSearchOneScope()
141 if (AcpiNsGetType (Node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) in AcpiNsSearchOneScope()
143 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object); in AcpiNsSearchOneScope()
151 AcpiUtGetTypeName (Node->Type), in AcpiNsSearchOneScope()
152 Node, AcpiUtGetNodeName (ParentNode), ParentNode)); in AcpiNsSearchOneScope()
154 *ReturnNode = Node; in AcpiNsSearchOneScope()
[all …]
H A Dnsnames.c71 ACPI_NAMESPACE_NODE *Node) in AcpiNsGetExternalPathname() argument
76 ACPI_FUNCTION_TRACE_PTR (NsGetExternalPathname, Node); in AcpiNsGetExternalPathname()
79 NameBuffer = AcpiNsGetNormalizedPathname (Node, FALSE); in AcpiNsGetExternalPathname()
98 ACPI_NAMESPACE_NODE *Node) in AcpiNsGetPathnameLength() argument
106 Size = AcpiNsBuildNormalizedPath (Node, NULL, 0, FALSE); in AcpiNsGetPathnameLength()
134 ACPI_NAMESPACE_NODE *Node; in AcpiNsHandleToPathname() local
141 Node = AcpiNsValidateHandle (TargetHandle); in AcpiNsHandleToPathname()
142 if (!Node) in AcpiNsHandleToPathname()
149 RequiredSize = AcpiNsBuildNormalizedPath (Node, NULL, 0, NoTrailing); in AcpiNsHandleToPathname()
165 (void) AcpiNsBuildNormalizedPath (Node, Buffer->Pointer, in AcpiNsHandleToPathname()
[all …]
H A Dnsxfname.c91 ACPI_NAMESPACE_NODE *Node = NULL; in AcpiGetHandle() local
144 Status = AcpiNsGetNode (PrefixNode, Pathname, ACPI_NS_NO_UPSEARCH, &Node); in AcpiGetHandle()
147 *RetHandle = ACPI_CAST_PTR (ACPI_HANDLE, Node); in AcpiGetHandle()
179 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
216 Node = AcpiNsValidateHandle (Handle); in ACPI_EXPORT_SYMBOL()
217 if (!Node) in ACPI_EXPORT_SYMBOL()
233 NodeName = AcpiUtGetNodeName (Node); in ACPI_EXPORT_SYMBOL()
312 ACPI_NAMESPACE_NODE *Node; in AcpiGetObjectInfo() local
341 Node = AcpiNsValidateHandle (Handle); in AcpiGetObjectInfo()
342 if (!Node) in AcpiGetObjectInfo()
[all …]
H A Dnsxfobj.c73 ACPI_NAMESPACE_NODE *Node; in AcpiGetType() local
100 Node = AcpiNsValidateHandle (Handle); in AcpiGetType()
101 if (!Node) in AcpiGetType()
107 *RetType = Node->Type; in AcpiGetType()
135 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
160 Node = AcpiNsValidateHandle (Handle); in ACPI_EXPORT_SYMBOL()
161 if (!Node) in ACPI_EXPORT_SYMBOL()
169 ParentNode = Node->Parent; in ACPI_EXPORT_SYMBOL()
215 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
261 Node = AcpiNsGetNextNodeTyped (Type, ParentNode, ChildNode); in ACPI_EXPORT_SYMBOL()
[all …]
H A Dnseval.c103 if (!Info->Node) in AcpiNsEvaluate()
114 ACPI_NS_NO_UPSEARCH, &Info->Node); in AcpiNsEvaluate()
125 if (AcpiNsGetType (Info->Node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) in AcpiNsEvaluate()
127 Info->Node = ACPI_CAST_PTR ( in AcpiNsEvaluate()
128 ACPI_NAMESPACE_NODE, Info->Node->Object); in AcpiNsEvaluate()
134 Info->NodeFlags = Info->Node->Flags; in AcpiNsEvaluate()
135 Info->ObjDesc = AcpiNsGetAttachedObject (Info->Node); in AcpiNsEvaluate()
138 Info->RelativePathname, Info->Node, in AcpiNsEvaluate()
139 AcpiNsGetAttachedObject (Info->Node))); in AcpiNsEvaluate()
143 Info->Predefined = AcpiUtMatchPredefinedMethod (Info->Node->Name.Ascii); in AcpiNsEvaluate()
[all …]
H A Dnsxfeval.c314 switch (AcpiNsGetType (Info->Node)) in ACPI_EXPORT_SYMBOL()
528 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
554 Node = Info->ReturnObject->Reference.Object; in ACPI_EXPORT_SYMBOL()
555 if (Node) in ACPI_EXPORT_SYMBOL()
557 ObjDesc = Node->Object; in ACPI_EXPORT_SYMBOL()
712 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
727 Node = AcpiNsValidateHandle (ObjHandle); in ACPI_EXPORT_SYMBOL()
734 if (!Node) in ACPI_EXPORT_SYMBOL()
755 Status = AcpiUtExecute_HID (Node, &Hid); in ACPI_EXPORT_SYMBOL()
774 Status = AcpiUtExecute_CID (Node, &Cid); in ACPI_EXPORT_SYMBOL()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/dispatcher/
H A Ddsargs.c59 ACPI_NAMESPACE_NODE *Node,
82 ACPI_NAMESPACE_NODE *Node, in AcpiDsExecuteArguments() argument
105 Op->Common.Node = ScopeNode; in AcpiDsExecuteArguments()
127 WalkState->DeferredNode = Node; in AcpiDsExecuteArguments()
139 Op->Common.Node = Node; in AcpiDsExecuteArguments()
150 Op->Common.Node = ScopeNode; in AcpiDsExecuteArguments()
173 WalkState->DeferredNode = Node; in AcpiDsExecuteArguments()
200 ACPI_NAMESPACE_NODE *Node; in AcpiDsGetBufferFieldArguments() local
215 Node = ObjDesc->BufferField.Node; in AcpiDsGetBufferFieldArguments()
218 ACPI_TYPE_BUFFER_FIELD, Node, NULL)); in AcpiDsGetBufferFieldArguments()
[all …]
H A Ddswload2.c76 ACPI_NAMESPACE_NODE *Node; in AcpiDsLoad2BeginOp() local
151 Node = NULL; in AcpiDsLoad2BeginOp()
163 WalkState, &(Node)); in AcpiDsLoad2BeginOp()
170 if (Op && (Op->Named.Node == AcpiGbl_RootNode)) in AcpiDsLoad2BeginOp()
172 Node = Op->Named.Node; in AcpiDsLoad2BeginOp()
174 Status = AcpiDsScopeStackPush (Node, ObjectType, WalkState); in AcpiDsLoad2BeginOp()
189 WalkState, &(Node)); in AcpiDsLoad2BeginOp()
212 switch (Node->Type) in AcpiDsLoad2BeginOp()
238 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type))); in AcpiDsLoad2BeginOp()
240 Node->Type = ACPI_TYPE_ANY; in AcpiDsLoad2BeginOp()
[all …]
H A Ddswload.c152 ACPI_NAMESPACE_NODE *Node; in AcpiDsLoad1BeginOp() local
177 if (Op->Common.Node) in AcpiDsLoad1BeginOp()
203 ACPI_IMODE_EXECUTE, ACPI_NS_SEARCH_PARENT, WalkState, &(Node)); in AcpiDsLoad1BeginOp()
215 WalkState, &Node); in AcpiDsLoad1BeginOp()
228 switch (Node->Type) in AcpiDsLoad1BeginOp()
256 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type))); in AcpiDsLoad1BeginOp()
258 Node->Type = ACPI_TYPE_ANY; in AcpiDsLoad1BeginOp()
267 if ((Node == AcpiGbl_RootNode) && in AcpiDsLoad1BeginOp()
282 AcpiUtGetTypeName (Node->Type), AcpiUtGetNodeName (Node))); in AcpiDsLoad1BeginOp()
309 Node = WalkState->DeferredNode; in AcpiDsLoad1BeginOp()
[all …]
H A Ddsmthdat.c279 ACPI_NAMESPACE_NODE **Node) in AcpiDsMethodDataGetNode() argument
301 *Node = &WalkState->LocalVariables[Index]; in AcpiDsMethodDataGetNode()
316 *Node = &WalkState->Arguments[Index]; in AcpiDsMethodDataGetNode()
354 ACPI_NAMESPACE_NODE *Node; in AcpiDsMethodDataSetValue() local
367 Status = AcpiDsMethodDataGetNode (Type, Index, WalkState, &Node); in AcpiDsMethodDataSetValue()
383 Node->Object = Object; in AcpiDsMethodDataSetValue()
413 ACPI_NAMESPACE_NODE *Node; in AcpiDsMethodDataGetValue() local
430 Status = AcpiDsMethodDataGetNode (Type, Index, WalkState, &Node); in AcpiDsMethodDataGetValue()
438 Object = Node->Object; in AcpiDsMethodDataGetValue()
462 Node->Object = Object; in AcpiDsMethodDataGetValue()
[all …]
H A Ddsobject.c102 if (!Op->Common.Node) in AcpiDsBuildInternalObject()
108 ACPI_CAST_INDIRECT_PTR (ACPI_NAMESPACE_NODE, &(Op->Common.Node))); in AcpiDsBuildInternalObject()
129 WalkState->ScopeInfo->Scope.Node->Name.Ascii)); in AcpiDsBuildInternalObject()
161 ObjDesc = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Op->Common.Node); in AcpiDsBuildInternalObject()
176 Type = Op->Common.Node->Type; in AcpiDsBuildInternalObject()
180 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, in AcpiDsBuildInternalObject()
181 Op->Common.Node->Object); in AcpiDsBuildInternalObject()
195 AcpiUtAddReference (Op->Common.Node->Object); in AcpiDsBuildInternalObject()
357 Op->Common.Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, ObjDesc); in AcpiDsBuildInternalBufferObj()
433 ObjDesc->Package.Node = Parent->Common.Node; in AcpiDsBuildInternalPackageObj()
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/events/
H A Devhandler.c167 ACPI_NAMESPACE_NODE *Node, in AcpiEvHasDefaultHandler() argument
176 ObjDesc = AcpiNsGetAttachedObject (Node); in AcpiEvHasDefaultHandler()
229 ACPI_NAMESPACE_NODE *Node; in AcpiEvInstallHandler() local
247 Node = AcpiNsValidateHandle (ObjHandle); in AcpiEvInstallHandler()
248 if (!Node) in AcpiEvInstallHandler()
257 if ((Node->Type != ACPI_TYPE_DEVICE) && in AcpiEvInstallHandler()
258 (Node->Type != ACPI_TYPE_REGION) && in AcpiEvInstallHandler()
259 (Node != AcpiGbl_RootNode)) in AcpiEvInstallHandler()
266 ObjDesc = AcpiNsGetAttachedObject (Node); in AcpiEvInstallHandler()
390 ACPI_NAMESPACE_NODE *Node, in AcpiEvInstallSpaceHandler() argument
[all …]
H A Devxfregn.c86 ACPI_NAMESPACE_NODE *Node; in AcpiInstallAddressSpaceHandler() local
108 Node = AcpiNsValidateHandle (Device); in AcpiInstallAddressSpaceHandler()
109 if (!Node) in AcpiInstallAddressSpaceHandler()
118 Node, SpaceId, Handler, Setup, Context); in AcpiInstallAddressSpaceHandler()
126 AcpiEvExecuteRegMethods (Node, SpaceId, ACPI_REG_CONNECT); in AcpiInstallAddressSpaceHandler()
161 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
183 Node = AcpiNsValidateHandle (Device); in ACPI_EXPORT_SYMBOL()
184 if (!Node || in ACPI_EXPORT_SYMBOL()
185 ((Node->Type != ACPI_TYPE_DEVICE) && in ACPI_EXPORT_SYMBOL()
186 (Node->Type != ACPI_TYPE_PROCESSOR) && in ACPI_EXPORT_SYMBOL()
[all …]
H A Devmisc.c76 ACPI_NAMESPACE_NODE *Node) in AcpiEvIsNotifyObject() argument
79 switch (Node->Type) in AcpiEvIsNotifyObject()
112 ACPI_NAMESPACE_NODE *Node, in AcpiEvQueueNotifyRequest() argument
127 if (!AcpiEvIsNotifyObject (Node)) in AcpiEvQueueNotifyRequest()
145 ObjDesc = AcpiNsGetAttachedObject (Node); in AcpiEvQueueNotifyRequest()
161 AcpiUtGetNodeName (Node), NotifyValue, Node)); in AcpiEvQueueNotifyRequest()
176 Info->Notify.Node = Node; in AcpiEvQueueNotifyRequest()
184 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type), in AcpiEvQueueNotifyRequest()
185 NotifyValue, AcpiUtGetNotifyName (NotifyValue, ACPI_TYPE_ANY), Node)); in AcpiEvQueueNotifyRequest()
226 Info->Notify.Global->Handler (Info->Notify.Node, in AcpiEvNotifyDispatch()
[all …]
H A Devrgnini.c56 ACPI_NAMESPACE_NODE *Node);
222 ParentNode = RegionObj->Region.Node->Parent; in AcpiEvPciConfigRegionSetup()
237 if (HandlerObj->AddressSpace.Node == AcpiGbl_RootNode) in AcpiEvPciConfigRegionSetup()
283 PciRootNode = HandlerObj->AddressSpace.Node; in AcpiEvPciConfigRegionSetup()
310 PciDeviceNode = RegionObj->Region.Node; in AcpiEvPciConfigRegionSetup()
359 Status = AcpiHwDerivePciId (PciId, PciRootNode, RegionObj->Region.Node); in AcpiEvPciConfigRegionSetup()
386 ACPI_NAMESPACE_NODE *Node) in AcpiEvIsPciRootBridge() argument
397 Status = AcpiUtExecute_HID (Node, &Hid); in AcpiEvIsPciRootBridge()
413 Status = AcpiUtExecute_CID (Node, &Cid); in AcpiEvIsPciRootBridge()
568 ACPI_NAMESPACE_NODE *Node; in AcpiEvInitializeRegion() local
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/executer/
H A Dexresnte.c90 ACPI_NAMESPACE_NODE *Node; in AcpiExResolveNodeToValue() local
101 Node = *ObjectPtr; in AcpiExResolveNodeToValue()
102 SourceDesc = AcpiNsGetAttachedObject (Node); in AcpiExResolveNodeToValue()
103 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); in AcpiExResolveNodeToValue()
106 Node, SourceDesc, AcpiUtGetTypeName (EntryType))); in AcpiExResolveNodeToValue()
113 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object); in AcpiExResolveNodeToValue()
114 SourceDesc = AcpiNsGetAttachedObject (Node); in AcpiExResolveNodeToValue()
115 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); in AcpiExResolveNodeToValue()
116 *ObjectPtr = Node; in AcpiExResolveNodeToValue()
128 (Node->Flags & (ANOBJ_METHOD_ARG | ANOBJ_METHOD_LOCAL))) in AcpiExResolveNodeToValue()
[all …]
H A Dexresolv.c269 if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) || in AcpiExResolveObjectToValue()
270 (StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL)) in AcpiExResolveObjectToValue()
274 *StackPtr = (void *) StackDesc->Reference.Node; in AcpiExResolveObjectToValue()
280 *StackPtr = (StackDesc->Reference.Node)->Object; in AcpiExResolveObjectToValue()
357 ACPI_NAMESPACE_NODE *Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Operand); in AcpiExResolveMultiple() local
377 ObjDesc = AcpiNsGetAttachedObject (Node); in AcpiExResolveMultiple()
392 AcpiUtGetNodeName (Node))); in AcpiExResolveMultiple()
425 Node = ObjDesc->Reference.Object; in AcpiExResolveMultiple()
429 Node = ObjDesc->Reference.Node; in AcpiExResolveMultiple()
434 if (ACPI_GET_DESCRIPTOR_TYPE (Node) != ACPI_DESC_TYPE_NAMED) in AcpiExResolveMultiple()
[all …]
/titanic_41/usr/src/uts/intel/sys/acpi/
H A Dacnamesp.h110 ACPI_NAMESPACE_NODE *Node);
180 ACPI_NAMESPACE_NODE *Node);
184 ACPI_NAMESPACE_NODE *Node);
196 ACPI_NAMESPACE_NODE *Node);
312 ACPI_NAMESPACE_NODE *Node,
319 ACPI_NAMESPACE_NODE *Node,
332 ACPI_NAMESPACE_NODE *Node,
364 ACPI_NAMESPACE_NODE *Node);
368 ACPI_NAMESPACE_NODE *Node,
375 ACPI_NAMESPACE_NODE *Node,
[all …]
/titanic_41/usr/src/uts/intel/io/acpica/resources/
H A Drsxface.c107 ACPI_NAMESPACE_NODE *Node; in AcpiRsValidateParameters() local
121 Node = AcpiNsValidateHandle (DeviceHandle); in AcpiRsValidateParameters()
122 if (!Node) in AcpiRsValidateParameters()
127 if (Node->Type != ACPI_TYPE_DEVICE) in AcpiRsValidateParameters()
145 *ReturnNode = Node; in AcpiRsValidateParameters()
179 ACPI_NAMESPACE_NODE *Node; in AcpiGetIrqRoutingTable() local
187 Status = AcpiRsValidateParameters (DeviceHandle, RetBuffer, &Node); in AcpiGetIrqRoutingTable()
193 Status = AcpiRsGetPrtMethodData (Node, RetBuffer); in AcpiGetIrqRoutingTable()
230 ACPI_NAMESPACE_NODE *Node; in ACPI_EXPORT_SYMBOL() local
238 Status = AcpiRsValidateParameters (DeviceHandle, RetBuffer, &Node); in ACPI_EXPORT_SYMBOL()
[all …]

12345