Lines Matching refs:zep_llist
501 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_init() local
503 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_init()
505 sys_dlist_init(&zep_llist->head); in zep_shim_llist_init()
510 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_add_node_tail() local
513 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_add_node_tail()
516 sys_dlist_append(&zep_llist->head, &zep_node->head); in zep_shim_llist_add_node_tail()
518 zep_llist->len += 1; in zep_shim_llist_add_node_tail()
523 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_add_node_head() local
526 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_add_node_head()
529 sys_dlist_prepend(&zep_llist->head, &zep_node->head); in zep_shim_llist_add_node_head()
531 zep_llist->len += 1; in zep_shim_llist_add_node_head()
537 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_get_node_head() local
539 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_get_node_head()
541 if (!zep_llist->len) { in zep_shim_llist_get_node_head()
545 zep_head_node = (struct zep_shim_llist_node *)sys_dlist_peek_head(&zep_llist->head); in zep_shim_llist_get_node_head()
554 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_get_node_nxt() local
556 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_get_node_nxt()
559 zep_nxt_node = (struct zep_shim_llist_node *)sys_dlist_peek_next(&zep_llist->head, in zep_shim_llist_get_node_nxt()
568 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_del_node() local
570 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_del_node()
575 zep_llist->len -= 1; in zep_shim_llist_del_node()
580 struct zep_shim_llist *zep_llist = NULL; in zep_shim_llist_len() local
582 zep_llist = (struct zep_shim_llist *)llist; in zep_shim_llist_len()
584 return zep_llist->len; in zep_shim_llist_len()