Searched refs:list_head (Results 1 - 25 of 251) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/common/sys/
H A Dlist_impl.h46 struct list_node list_head; member in struct:list
H A Dlist.h52 void *list_head(list_t *);
/illumos-gate/usr/src/common/list/
H A Dlist.c46 #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head)
78 list->list_head.list_next = list->list_head.list_prev =
79 &list->list_head;
85 list_node_t *node = &list->list_head;
88 ASSERT(list->list_head.list_next == node);
89 ASSERT(list->list_head.list_prev == node);
119 list_node_t *lold = &list->list_head;
126 list_node_t *lold = &list->list_head;
160 list_head(list_t *list) function
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_opl.c44 cmd_list_t *list_head = NULL; local
52 list_head = &opl_cpu_list;
67 list_head = &opl_cpu_list;
71 list_head, opl_cpu);
90 list_head = &opl_cpu_list;
93 list_head, opl_cpu);
99 list_head = NULL;
103 return (list_head);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_mm.c56 struct list_head *tail_node;
70 struct list_head *tail_node;
113 struct list_head *tail_node;
162 struct list_head *cur_head = &cur->ml_entry;
163 struct list_head *root_head = &mm->ml_entry;
242 struct list_head *list;
243 const struct list_head *free_stack = &mm->fl_entry;
282 struct list_head *head = &mm->ml_entry;
300 struct list_head *bnode = mm->fl_entry.next;
320 const struct list_head *mlstac
[all...]
H A Ddrm_linux_list.h43 struct list_head { struct
44 struct list_head *next, *prev;
48 /* Cheat, assume the list_head is at the start of the struct */
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c80 entry->list_head = NULL;
120 entry->list_head = head;
148 entry->list_head = head;
180 new_entry->list_head = head;
206 first->list_head = NULL;
232 last->list_head = NULL;
280 dapl_os_assert(entry->list_head == head);
281 entry->list_head = NULL;
H A Ddapl_ia_util.c907 DAPL_LLIST_HEAD *list_head; local
910 list_head = &ia_ptr->psp_list_head;
914 list_head = &ia_ptr->rsp_list_head;
918 (void) dapl_llist_remove_entry(list_head,
946 DAPL_LLIST_HEAD *list_head; local
949 list_head = &ia_ptr->psp_list_head;
951 list_head = &ia_ptr->rsp_list_head;
956 sp_ptr = (dapl_llist_is_empty(list_head) ? NULL :
957 dapl_llist_peek_head(list_head));
963 sp_ptr = dapl_llist_next_entry(list_head,
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c52 if (xge_list_is_empty(&queue->list_head))
55 elem = (xge_queue_item_t *)queue->list_head.next;
109 if (xge_list_is_empty(&queue->list_head)) {
227 xge_list_insert_before(&elem->item, &queue->list_head);
281 xge_list_init(&queue->list_head);
298 if (!xge_list_is_empty(&queue->list_head)) {
348 xge_assert(!xge_list_is_empty(&queue->list_head));
349 queue->list_head.next = (xge_list_t *) (void *)((char *)newbuf +
350 ((char *)queue->list_head.next - (char *)oldbuf));
351 queue->list_head
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c65 static List *list_head = NULL; variable
85 if (list_head == NULL) {
86 list_head = new_list;
90 for (cur = list_head, prev = NULL;
98 new_list->l_next = list_head;
99 list_head = new_list;
261 for (cur = list_head; cur; cur = cur->l_next) {
/illumos-gate/usr/src/uts/common/sys/agp/
H A Dagpgart_impl.h129 struct list_head { struct
130 struct list_head *next, *prev;
159 struct list_head mapped_list;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drefcount.c91 while (ref = list_head(&rc->rc_list)) {
97 while (ref = list_head(&rc->rc_removed)) {
168 for (ref = list_head(&rc->rc_list); ref;
250 for (ref = list_head(&rc->rc_list); ref;
279 for (ref = list_head(&rc->rc_list); ref;
307 for (ref = list_head(&rc->rc_list); ref;
H A Dzio_inject.c148 for (handler = list_head(&inject_handlers); handler != NULL;
186 for (handler = list_head(&inject_handlers); handler != NULL;
228 for (handler = list_head(&inject_handlers); handler != NULL;
276 for (handler = list_head(&inject_handlers); handler != NULL;
339 for (handler = list_head(&inject_handlers); handler != NULL;
377 for (handler = list_head(&inject_handlers); handler != NULL;
459 for (inject_handler_t *handler = list_head(&inject_handlers);
675 for (handler = list_head(&inject_handlers); handler != NULL;
706 for (handler = list_head(&inject_handlers); handler != NULL;
H A Dbplist.c68 while (bpe = list_head(&bpl->bpl_list)) {
H A Dzfs_debug.c108 for (zdm = list_head(&zfs_dbgmsgs); zdm;
H A Dzfs_onexit.c93 while ((ap = list_head(&zo->zo_actions)) != NULL) {
183 for (ap = list_head(l); ap != NULL; ap = list_next(l, ap)) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect_large_fdset.c373 realloc_fds(int *num, struct pollfd **list_head, struct pollfd *orig) argument
384 (void) memcpy(b, *list_head, nta / 2);
385 if (*list_head != orig)
386 free(*list_head);
387 *list_head = b;
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_alg_rr.c69 rr_alg->rr_next = list_head(servers);
74 rr_alg->rr_next = list_head(servers);
95 for (tmp_server = list_head(servers); tmp_server != NULL;
143 for (tmp_server = list_head(servers); tmp_server != NULL;
223 while ((tmp_server = list_head(servers)) != NULL) {
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_misc.c99 for (sctp_walker = list_head(&sctps->sctps_g_list);
119 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL;
139 while ((sl = list_head(&sctps->sctps_listener_conf)) != NULL) {
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c151 ASSERT(list_head(nvf_list(rio_store_handle)) == NULL);
183 while (rsp = list_head(listp)) {
266 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) {
334 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) {
380 for (rsp = list_head(listp); rsp; rsp = next) {
416 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) {
/illumos-gate/usr/src/uts/common/io/
H A Ddcopy.c257 ASSERT(list_head(&dcopy_statep->d_globalchan_list.dl_list) == NULL);
258 ASSERT(list_head(&dcopy_statep->d_device_list.dl_list) == NULL);
301 channel = list_head(&list->dl_list);
583 list_node = list_head(&list->dl_list);
678 channel = list_head(&device->dc_devchan_list.dl_list);
696 channel = list_head(&device->dc_devchan_list.dl_list);
739 channel = list_head(&device->dc_devchan_list.dl_list);
786 channel = list_head(&device->dc_devchan_list.dl_list);
794 channel = list_head(&device->dc_devchan_list.dl_list);
843 priv = list_head(
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-queue.h107 * @list_head: Points to the list of queue elements that are produced, but yet
133 xge_list_t list_head; member in struct:xge_queue_t
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c256 idt = list_head(&ioapic_drhd_list);
544 for (scope = list_head(scope_list); scope;
567 for (drhd = list_head(drhd_list); drhd;
594 for (rmrr = list_head(rmrr_list); rmrr;
713 drhd = list_head(drhd_list);
755 drhd = list_head(drhd_list);
961 rmrr = list_head(&(tbl->tbl_rmrr_list)[seg]);
968 scope = list_head(&(rmrr->rm_scope_list));
1070 drhd = list_head(&(tbl->tbl_drhd_list)[seg]);
1084 scope = list_head(
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlist.c87 lwd->lw_head = (uintptr_t)&((list_t *)wsp->walk_addr)->list_head;
94 ? (uintptr_t)list.list_head.list_next
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_quota.c113 while ((sid = list_head(sid_list)) != NULL) {
274 while ((quota = list_head(list)) != NULL) {
306 quota = list_head(list);
411 q = list_head(&reply.qr_quota_list);

Completed in 2591 milliseconds

1234567891011