Lines Matching defs:list
30 #include <sys/list.h>
33 uintptr_t lw_head; /* address of list head */
34 size_t lw_size; /* size of list element */
35 size_t lw_offset; /* list element linkage offset */
36 void *lw_obj; /* buffer of lw_size to hold list element */
44 * Initialize a forward walk through a list.
47 * objects in the list; either or both may be NULL (defaulting to first and
51 * "list_t" and "list element" for use in error messages.
63 list_t list;
68 element_name = "list element";
70 if (mdb_vread(&list, sizeof (list_t), wsp->walk_addr) == -1) {
76 if (list.list_size < list.list_offset + sizeof (list_node_t)) {
84 lwd->lw_size = list.list_size;
85 lwd->lw_offset = list.list_offset;
86 lwd->lw_obj = mdb_alloc(list.list_size, UM_SLEEP);
94 ? (uintptr_t)list.list_head.list_next