Lines Matching refs:tail
70 ll->tail = NULL; in ramfs_ll_init()
102 if (ll->tail == NULL) { /* If there is no tail, set the tail too */ in ramfs_ll_ins_head()
103 ll->tail = new; in ramfs_ll_ins_head()
137 void *tail = NULL; in ramfs_ll_get_tail() local
139 if (ll->tail != NULL) { in ramfs_ll_get_tail()
140 tail = ll->tail; in ramfs_ll_get_tail()
143 return tail; in ramfs_ll_get_tail()
205 ll->tail = NULL; in ramfs_ll_remove()
211 ll->tail = ramfs_ll_get_prev(ll, node); in ramfs_ll_remove()
213 if (ll->tail == NULL) { in ramfs_ll_remove()
216 ramfs_node_set_next(ll, ll->tail, NULL); in ramfs_ll_remove()