Home
last modified time | relevance | path

Searched refs:list_head (Results 1 – 25 of 253) sorted by relevance

1234567891011

/titanic_44/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 = in list_create()
79 &list->list_head; in list_create()
85 list_node_t *node = &list->list_head; in list_destroy()
88 ASSERT(list->list_head.list_next == node); in list_destroy()
89 ASSERT(list->list_head.list_prev == node); in list_destroy()
119 list_node_t *lold = &list->list_head; in list_insert_head()
126 list_node_t *lold = &list->list_head; in list_insert_tail()
142 list_node_t *head = list->list_head.list_next; in list_remove_head()
143 if (head == &list->list_head) in list_remove_head()
[all …]
/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_mm.c56 struct list_head *tail_node; in drm_mm_tail_space()
70 struct list_head *tail_node; in drm_mm_remove_space_from_tail()
113 struct list_head *tail_node; in drm_mm_add_space_to_tail()
162 struct list_head *cur_head = &cur->ml_entry; in drm_mm_put_block()
163 struct list_head *root_head = &mm->ml_entry; in drm_mm_put_block()
242 struct list_head *list; in drm_mm_search_free()
243 const struct list_head *free_stack = &mm->fl_entry; in drm_mm_search_free()
282 struct list_head *head = &mm->ml_entry; in drm_mm_clean()
300 struct list_head *bnode = mm->fl_entry.next; in drm_mm_takedown()
320 const struct list_head *mlstack = &mm->ml_entry; in drm_mm_clean_ml()
[all …]
H A Ddrm_linux_list.h43 struct list_head { struct
44 struct list_head *next, *prev; argument
/titanic_44/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_opl.c44 cmd_list_t *list_head = NULL; in opl_cpulist_insert() local
52 list_head = &opl_cpu_list; in opl_cpulist_insert()
67 list_head = &opl_cpu_list; in opl_cpulist_insert()
71 list_head, opl_cpu); in opl_cpulist_insert()
90 list_head = &opl_cpu_list; in opl_cpulist_insert()
93 list_head, opl_cpu); in opl_cpulist_insert()
99 list_head = NULL; in opl_cpulist_insert()
103 return (list_head); in opl_cpulist_insert()
/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c52 if (xge_list_is_empty(&queue->list_head)) in __queue_consume()
55 elem = (xge_queue_item_t *)queue->list_head.next; in __queue_consume()
109 if (xge_list_is_empty(&queue->list_head)) { in __queue_consume()
227 xge_list_insert_before(&elem->item, &queue->list_head); in xge_queue_produce()
281 xge_list_init(&queue->list_head); in xge_queue_create()
298 if (!xge_list_is_empty(&queue->list_head)) { in xge_queue_destroy()
348 xge_assert(!xge_list_is_empty(&queue->list_head)); in __io_queue_grow()
349 queue->list_head.next = (xge_list_t *) (void *)((char *)newbuf + in __io_queue_grow()
350 ((char *)queue->list_head.next - (char *)oldbuf)); in __io_queue_grow()
351 queue->list_head.prev = (xge_list_t *) (void *)((char *)newbuf + in __io_queue_grow()
[all …]
/titanic_44/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_llist.c80 entry->list_head = NULL; in dapl_llist_init_entry()
120 entry->list_head = head; in dapl_llist_add_head()
148 entry->list_head = head; in dapl_llist_add_tail()
180 new_entry->list_head = head; in dapl_llist_add_entry()
206 first->list_head = NULL; in dapl_llist_remove_head()
232 last->list_head = NULL; in dapl_llist_remove_tail()
280 dapl_os_assert(entry->list_head == head); in dapl_llist_remove_entry()
281 entry->list_head = NULL; in dapl_llist_remove_entry()
H A Ddapl_ia_util.c907 DAPL_LLIST_HEAD *list_head; in dapls_ia_unlink_sp() local
910 list_head = &ia_ptr->psp_list_head; in dapls_ia_unlink_sp()
914 list_head = &ia_ptr->rsp_list_head; in dapls_ia_unlink_sp()
918 (void) dapl_llist_remove_entry(list_head, in dapls_ia_unlink_sp()
946 DAPL_LLIST_HEAD *list_head; in dapls_ia_sp_search() local
949 list_head = &ia_ptr->psp_list_head; in dapls_ia_sp_search()
951 list_head = &ia_ptr->rsp_list_head; in dapls_ia_sp_search()
956 sp_ptr = (dapl_llist_is_empty(list_head) ? NULL : in dapls_ia_sp_search()
957 dapl_llist_peek_head(list_head)); in dapls_ia_sp_search()
963 sp_ptr = dapl_llist_next_entry(list_head, in dapls_ia_sp_search()
/titanic_44/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c65 static List *list_head = NULL; variable
85 if (list_head == NULL) { in list_insert()
86 list_head = new_list; in list_insert()
90 for (cur = list_head, prev = NULL; in list_insert()
98 new_list->l_next = list_head; in list_insert()
99 list_head = new_list; in list_insert()
261 for (cur = list_head; cur; cur = cur->l_next) { in cleanup()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzio_inject.c110 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_panic_injection()
148 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_fault_injection()
190 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_label_injection()
238 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_device_injection()
301 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_ignored_writes()
339 for (handler = list_head(&inject_handlers); handler != NULL; in spa_handle_ignored_writes()
375 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_io_delay()
464 for (handler = list_head(&inject_handlers); handler != NULL; in zio_inject_list_next()
495 for (handler = list_head(&inject_handlers); handler != NULL; in zio_clear_fault()
H A Drefcount.c84 while (ref = list_head(&rc->rc_list)) { in refcount_destroy_many()
90 while (ref = list_head(&rc->rc_removed)) { in refcount_destroy_many()
161 for (ref = list_head(&rc->rc_list); ref; in refcount_remove_many()
/titanic_44/usr/src/uts/common/inet/ilb/
H A Dilb_alg_rr.c69 rr_alg->rr_next = list_head(servers); in rr_lb()
74 rr_alg->rr_next = list_head(servers); in rr_lb()
95 for (tmp_server = list_head(servers); tmp_server != NULL; in rr_server_del()
143 for (tmp_server = list_head(servers); tmp_server != NULL; in rr_server_toggle()
223 while ((tmp_server = list_head(servers)) != NULL) { in rr_fini()
/titanic_44/usr/src/uts/common/io/
H A Ddcopy.c257 ASSERT(list_head(&dcopy_statep->d_globalchan_list.dl_list) == NULL); in dcopy_fini()
258 ASSERT(list_head(&dcopy_statep->d_device_list.dl_list) == NULL); in dcopy_fini()
301 channel = list_head(&list->dl_list); in dcopy_alloc()
583 list_node = list_head(&list->dl_list); in dcopy_list_pop()
678 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_register()
696 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_register()
739 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_unregister()
786 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_cleanup()
794 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_cleanup()
843 priv = list_head(&poll_list->dl_list); in dcopy_device_channel_notify()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dselect_large_fdset.c373 realloc_fds(int *num, struct pollfd **list_head, struct pollfd *orig) in realloc_fds() argument
384 (void) memcpy(b, *list_head, nta / 2); in realloc_fds()
385 if (*list_head != orig) in realloc_fds()
386 free(*list_head); in realloc_fds()
387 *list_head = b; in realloc_fds()
/titanic_44/usr/src/uts/common/os/
H A Dretire_store.c151 ASSERT(list_head(nvf_list(rio_store_handle)) == NULL); in retire_store_read()
183 while (rsp = list_head(listp)) { in retire_list_free()
266 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in rio_store_encode()
334 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_retire_persist()
380 for (rsp = list_head(listp); rsp; rsp = next) { in e_ddi_retire_unpersist()
416 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_device_retired()
/titanic_44/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c256 idt = list_head(&ioapic_drhd_list); in ioapic_drhd_lookup()
544 for (scope = list_head(scope_list); scope; in print_scope_list()
567 for (drhd = list_head(drhd_list); drhd; in print_drhd_list()
594 for (rmrr = list_head(rmrr_list); rmrr; in print_rmrr_list()
713 drhd = list_head(drhd_list); in dmar_devinfos_create()
755 drhd = list_head(drhd_list); in dmar_devi_destroy()
961 rmrr = list_head(&(tbl->tbl_rmrr_list)[seg]); in immu_dmar_rmrr_map()
968 scope = list_head(&(rmrr->rm_scope_list)); in immu_dmar_rmrr_map()
1070 drhd = list_head(&(tbl->tbl_drhd_list)[seg]); in immu_dmar_get_immu()
1084 scope = list_head(&(drhd->dr_scope_list)); in immu_dmar_get_immu()
[all …]
/titanic_44/usr/src/uts/common/sys/agp/
H A Dagpgart_impl.h129 struct list_head { struct
130 struct list_head *next, *prev; argument
159 struct list_head mapped_list;
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_quota.c242 qtree = list_head(&smb_quota_fs_list); in smb_quota_fini()
296 qtree = list_head(&smb_quota_fs_list); in smb_quota_add_fs()
340 qtree = list_head(&smb_quota_fs_list); in smb_quota_remove_fs()
448 while ((quota = list_head(list)) != NULL) { in smb_quota_free()
490 sid = list_head(sid_list); in smb_quota_query_all()
501 sid = list_head(sid_list); in smb_quota_query_all()
554 sid = list_head(sid_list); in smb_quota_query_list()
606 quota = list_head(quota_list); in smb_quota_zfs_set_quotas()
745 qtree = list_head(&smb_quota_fs_list); in smb_quota_tree_lookup()
765 qtree = list_head(&smb_quota_fs_list); in smb_quota_tree_lookup()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_net.c257 while ((txr = list_head(&local)) != NULL) { in smb_net_txr_send()
271 while ((txr = list_head(&local)) != NULL) { in smb_net_txr_send()
282 while ((txr = list_head(&txl->tl_list)) != NULL) { in smb_net_txr_send()
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_domain.c179 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_name()
236 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_sid()
273 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_type()
352 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_update()
357 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_update()
406 domain = list_head(&smb_dcache.dc_cache); in smb_domain_save()
611 while ((di = list_head(&smb_dcache.dc_cache)) != NULL) in smb_dcache_flush()
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c189 sctp_ipif = list_head(&sctps->sctps_g_ipifs[hindex].sctp_ipif_list); in sctp_lookup_ipif_addr()
246 sctp_ipif = list_head(&sctps->sctps_g_ipifs[i].sctp_ipif_list); in sctp_get_all_ipifs()
465 ipif_obj = list_head(&sctp->sctp_saddrs[hindex].sctp_ipif_list); in sctp_ipif_hash_insert()
534 ipif_obj = list_head(&sctp->sctp_saddrs[hindex].sctp_ipif_list); in sctp_ipif_hash_remove()
565 obj1 = list_head(&list1->sctp_ipif_list); in sctp_compare_ipif_list()
567 obj2 = list_head(&list2->sctp_ipif_list); in sctp_compare_ipif_list()
618 obj = list_head(&list1->sctp_ipif_list); in sctp_copy_ipifs()
707 sctp_ill = list_head(&sctps->sctps_g_ills[index].sctp_ill_list); in sctp_update_ill()
799 sctp_ill = list_head(&sctps->sctps_g_ills[indx].sctp_ill_list); in sctp_ill_reindex()
845 fsctp_ill = list_head(&sctps->sctps_g_ills[hindex].sctp_ill_list); in sctp_move_ipif()
[all …]
H A Dsctp_misc.c99 for (sctp_walker = list_head(&sctps->sctps_g_list); in sctp_display_all()
119 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL; in sctp_find_listener_conf()
139 while ((sl = list_head(&sctps->sctps_listener_conf)) != NULL) { in sctp_listener_conf_cleanup()
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dsockparams.c366 for (sp = list_head(list); sp != NULL; sp = list_next(list, sp)) { in sockparams_find()
685 for (sp = list_head(&sphead); sp != NULL; in solookup()
774 for (sp = list_head(list); sp != NULL; in sockparams_filter_cleanup_impl()
778 for (fil = list_head(flist); fil != NULL; in sockparams_filter_cleanup_impl()
807 for (sp = list_head(list); sp != NULL; in sockparams_new_filter_impl()
855 for (sp = list_head(&sphead); sp != NULL; in sockparams_copyout_socktable()
871 for (sp = list_head(&sphead); sp != NULL; in sockparams_copyout_socktable()
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_hash.c127 for (lp = list_head(&hp->rh_buckets[bucket]); lp != NULL; in refhash_lookup()
145 for (lp = list_head(&hp->rh_objs); lp != NULL; in refhash_linear_search()
179 lp = list_head(&hp->rh_objs); in refhash_first()
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_browser.c867 hinfo = list_head(&smb_binfo.bi_hlist); in smb_browser_process_AnnouncementRequest()
1070 hinfo = list_head(&smb_binfo.bi_hlist); in smb_browser_config()
1089 hinfo = list_head(&smb_binfo.bi_hlist); in smb_browser_config()
1257 hinfo = list_head(&smb_binfo.bi_hlist); in smb_browser_service()
1308 hinfo = list_head(&smb_binfo.bi_hlist); in smb_browser_netlogon()
1385 while ((hinfo = list_head(&smb_binfo.bi_hlist)) != NULL) { in smb_browser_infofree()
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_ncache.c214 if ((dp = list_head(listp)) != NULL) { in sdev_ncache_list_free()
303 if ((np = list_head(listp)) != NULL) { in sdev_ncache_pack_list()
370 for (np = list_head(listp); np; np = list_next(listp, np)) { in sdev_ncache_process_store()
455 for (lp = list_head(&ncl->ncl_list); lp; in sdev_ncache_write()
528 for (lp = list_head(&ncl->ncl_list); lp; lp = next) { in sdev_state_boot_complete()
755 for (lp = list_head(&ncl->ncl_list); lp; in sdev_nc_findpath()
898 for (lp = list_head(&ncl->ncl_list); lp; lp = next) { in sdev_nc_free_bootonly()

1234567891011