| /onnv-gate/usr/src/lib/libntfs/common/include/ntfs/ |
| H A D | list.h | 37 struct list_head { struct 38 struct list_head *next, *prev; argument 44 struct list_head name = LIST_HEAD_INIT(name) 59 static __inline__ void __list_add(struct list_head * new, in __list_add() 60 struct list_head * prev, struct list_head * next) in __list_add() 76 static __inline__ void list_add(struct list_head *new, struct list_head *head) in list_add() 89 static __inline__ void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() 104 static __inline__ void __list_del(struct list_head * prev, in __list_del() 105 struct list_head * next) in __list_del() 118 static __inline__ void list_del(struct list_head *entry) in list_del() [all …]
|
| /onnv-gate/usr/src/common/list/ |
| H A D | list.c | 46 #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 …]
|
| /onnv-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
| H A D | cmd_opl.c | 44 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()
|
| /onnv-gate/usr/src/uts/common/io/drm/ |
| H A D | drm_mm.c | 56 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 D | drm_linux_list.h | 43 struct list_head { struct 44 struct list_head *next, *prev; argument
|
| /onnv-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
| H A D | xge-queue.c | 52 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 …]
|
| /onnv-gate/usr/src/lib/udapl/udapl_tavor/common/ |
| H A D | dapl_llist.c | 80 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 D | dapl_ia_util.c | 907 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()
|
| /onnv-gate/usr/src/cmd/ntfsprogs/ |
| H A D | ntfsundelete.h | 64 struct list_head list; /* Previous/Next links */ 81 struct list_head list; /* Previous/Next links */ 100 struct list_head name; /* A list of filenames */ 101 struct list_head data; /* A list of data streams */
|
| H A D | ntfsls.c | 65 struct list_head list; 80 struct list_head list; 102 static struct list_head *dir_list_insert_pos = NULL; 347 static void free_dirs(struct list_head *dir_list) in free_dirs() 350 struct list_head *walker = NULL; in free_dirs() 397 struct list_head *dir_walker = NULL; in readdir_recursive() 398 struct list_head *comp_walker = NULL; in readdir_recursive()
|
| /onnv-gate/usr/src/cmd/sgs/link_audit/common/ |
| H A D | perfcnt.c | 65 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()
|
| /onnv-gate/usr/src/uts/common/fs/zfs/ |
| H A D | zio_inject.c | 109 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_panic_injection() 147 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_fault_injection() 195 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_label_injection() 246 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_device_injection() 315 for (handler = list_head(&inject_handlers); handler != NULL; in zio_handle_ignored_writes() 355 for (handler = list_head(&inject_handlers); handler != NULL; in spa_handle_ignored_writes() 451 for (handler = list_head(&inject_handlers); handler != NULL; in zio_inject_list_next() 482 for (handler = list_head(&inject_handlers); handler != NULL; in zio_clear_fault()
|
| H A D | dsl_synctask.c | 89 for (dst = list_head(&dstg->dstg_tasks); dst; in dsl_sync_task_group_wait() 150 while (dst = list_head(&dstg->dstg_tasks)) { in dsl_sync_task_group_destroy() 185 for (dst = list_head(&dstg->dstg_tasks); dst; in dsl_sync_task_group_sync() 197 for (dst = list_head(&dstg->dstg_tasks); dst; in dsl_sync_task_group_sync()
|
| /onnv-gate/usr/src/uts/common/inet/ilb/ |
| H A D | ilb_alg_rr.c | 69 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()
|
| /onnv-gate/usr/src/uts/common/io/ |
| H A D | dcopy.c | 259 ASSERT(list_head(&dcopy_statep->d_globalchan_list.dl_list) == NULL); in dcopy_fini() 260 ASSERT(list_head(&dcopy_statep->d_device_list.dl_list) == NULL); in dcopy_fini() 303 channel = list_head(&list->dl_list); in dcopy_alloc() 586 list_node = list_head(&list->dl_list); in dcopy_list_pop() 681 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_register() 699 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_register() 742 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_unregister() 789 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_cleanup() 797 channel = list_head(&device->dc_devchan_list.dl_list); in dcopy_device_cleanup() 846 priv = list_head(&poll_list->dl_list); in dcopy_device_channel_notify() [all …]
|
| /onnv-gate/usr/src/lib/libc/port/gen/ |
| H A D | select_large_fdset.c | 373 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()
|
| /onnv-gate/usr/src/uts/common/os/ |
| H A D | retire_store.c | 153 ASSERT(list_head(nvf_list(rio_store_handle)) == NULL); in retire_store_read() 185 while (rsp = list_head(listp)) { in retire_list_free() 268 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in rio_store_encode() 337 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_retire_persist() 383 for (rsp = list_head(listp); rsp; rsp = next) { in e_ddi_retire_unpersist() 419 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_device_retired()
|
| H A D | ddi_timer.c | 208 for (next = list_head(&tid->req); next != NULL; in add_req() 419 while ((kern_req = list_head(&kern_queue)) == NULL) { in timeout_taskq_thread() 510 for (intr_req = list_head(&intr_queue); intr_req != NULL; in timer_softintr() 526 intr_req = list_head(&intr_queue); in timer_softintr() 576 for (req = list_head(&tw->req); req != NULL; req = next) { in cyclic_timer() 865 for (req = list_head(&tid->req); req != NULL; in i_untimeout()
|
| /onnv-gate/usr/src/uts/common/sys/agp/ |
| H A D | agpgart_impl.h | 129 struct list_head { struct 130 struct list_head *next, *prev; argument 159 struct list_head mapped_list;
|
| /onnv-gate/usr/src/uts/i86pc/io/ |
| H A D | immu_dmar.c | 256 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 …]
|
| /onnv-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
| H A D | smb_quota.c | 242 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()
|
| /onnv-gate/usr/src/lib/smbsrv/libsmb/common/ |
| H A D | smb_domain.c | 177 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_name() 234 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_sid() 271 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_lookup_type() 340 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_update() 345 dcnode = list_head(&smb_dcache.dc_cache); in smb_domain_update() 394 domain = list_head(&smb_dcache.dc_cache); in smb_domain_save() 599 while ((di = list_head(&smb_dcache.dc_cache)) != NULL) in smb_dcache_flush()
|
| /onnv-gate/usr/src/uts/common/fs/smbsrv/ |
| H A D | smb_net.c | 260 while ((txr = list_head(&local)) != NULL) { in smb_net_txr_send() 274 while ((txr = list_head(&local)) != NULL) { in smb_net_txr_send() 285 while ((txr = list_head(&txl->tl_list)) != NULL) { in smb_net_txr_send()
|
| /onnv-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_misc.c | 99 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()
|
| H A D | sctp_addr.c | 189 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 …]
|