Lines Matching defs:listpp
1849 * ipgpc_list_insert(listpp, id)
1854 ipgpc_list_insert(linked_list *listpp, key_t id)
1858 if (*listpp == NULL) {
1859 *listpp = kmem_cache_alloc(element_node_cache, KM_SLEEP);
1860 (*listpp)->element_refcnt = 1;
1861 (*listpp)->next = NULL;
1862 (*listpp)->id = id;
1864 for (p = *listpp; p->next != NULL; p = p->next) {
1886 * ipgpc_list_remove(listpp, id)
1892 ipgpc_list_remove(element_node_t **listpp, key_t id)
1897 if (*listpp == NULL) {
1900 if ((*listpp)->id == id) {
1901 p = *listpp;
1902 if ((*listpp)->element_refcnt == 1) {
1903 *listpp = (*listpp)->next;
1907 } else if ((*listpp)->next != NULL) {
1909 for (p = *listpp; p->next != NULL; p = p->next) {