Lines Matching refs:first
391 PolicyItem *first;
393 first = hashmap_get(p->user_items, UID_TO_PTR(i->uid));
394 item_append(i, &first);
397 r = hashmap_replace(p->user_items, UID_TO_PTR(i->uid), first);
399 LIST_REMOVE(items, first, i);
423 PolicyItem *first;
425 first = hashmap_get(p->group_items, GID_TO_PTR(i->gid));
426 item_append(i, &first);
429 r = hashmap_replace(p->group_items, GID_TO_PTR(i->gid), first);
431 LIST_REMOVE(items, first, i);
1041 PolicyItem *i, *first;
1066 while ((first = hashmap_steal_first(p->user_items))) {
1068 while ((i = first)) {
1069 LIST_REMOVE(items, first, i);
1074 while ((first = hashmap_steal_first(p->group_items))) {
1076 while ((i = first)) {
1077 LIST_REMOVE(items, first, i);