Lines Matching defs:head
183 static void RemoveOldSandboxMountListNode(ListNode *head, const char *targetMount)
185 if ((head == NULL) || (targetMount == NULL)) {
188 ListNode *node = OH_ListFind(head, (void *)targetMount, CompareSandboxListForMountTarget);
209 static void RemoveOldSandboxLinkListNode(ListNode *head, const char *linkName)
211 if ((head == NULL) || (linkName == NULL)) {
214 ListNode *node = OH_ListFind(head, (void *)linkName, CompareSandboxListForLinkName);
494 static int MountSandboxInfo(struct ListNode *head, const char *rootPath, SandboxTag tag)
496 if ((head == NULL) || (rootPath == NULL)) {
499 int ret = OH_ListTraversal(head, (void *)rootPath, MountSandboxNode, 1);
525 static int LinkSandboxInfo(struct ListNode *head, const char *rootPath)
527 if ((head == NULL) || (rootPath == NULL)) {
530 int ret = OH_ListTraversal(head, (void *)rootPath, LinkSandboxNode, 1);