Lines Matching refs:head
183 static void RemoveOldSandboxMountListNode(ListNode *head, const char *targetMount) in RemoveOldSandboxMountListNode() argument
185 if ((head == NULL) || (targetMount == NULL)) { in RemoveOldSandboxMountListNode()
188 ListNode *node = OH_ListFind(head, (void *)targetMount, CompareSandboxListForMountTarget); in RemoveOldSandboxMountListNode()
209 static void RemoveOldSandboxLinkListNode(ListNode *head, const char *linkName) in RemoveOldSandboxLinkListNode() argument
211 if ((head == NULL) || (linkName == NULL)) { in RemoveOldSandboxLinkListNode()
214 ListNode *node = OH_ListFind(head, (void *)linkName, CompareSandboxListForLinkName); in RemoveOldSandboxLinkListNode()
492 static int MountSandboxInfo(struct ListNode *head, const char *rootPath, SandboxTag tag) in MountSandboxInfo() argument
494 if ((head == NULL) || (rootPath == NULL)) { in MountSandboxInfo()
497 int ret = OH_ListTraversal(head, (void *)rootPath, MountSandboxNode, 1); in MountSandboxInfo()
523 static int LinkSandboxInfo(struct ListNode *head, const char *rootPath) in LinkSandboxInfo() argument
525 if ((head == NULL) || (rootPath == NULL)) { in LinkSandboxInfo()
528 int ret = OH_ListTraversal(head, (void *)rootPath, LinkSandboxNode, 1); in LinkSandboxInfo()