Home
last modified time | relevance | path

Searched refs:free_list (Results 1 – 25 of 43) sorted by relevance

12

/titanic_51/usr/src/lib/libtecla/common/
H A Dfreelist.c52 void *free_list; /* The free-list of nodes */ member
108 fl->free_list = NULL; in _new_FreeList()
120 fl->free_list = fl->block->nodes; in _new_FreeList()
147 fl->free_list = NULL; in _rst_FreeList()
159 *(void **)last_node = fl->free_list; in _rst_FreeList()
160 fl->free_list = block->nodes; in _rst_FreeList()
206 fl->free_list = NULL; in _del_FreeList()
238 if(!fl->free_list) { in _new_FreeListNode()
250 fl->free_list = fl->block->nodes; in _new_FreeListNode()
255 node = fl->free_list; in _new_FreeListNode()
[all...]
/titanic_51/usr/src/lib/libc/port/threads/
H A Dalloc.c126 ASSERT(bp->free_list == NULL); in initial_allocation()
127 bp->free_list = ptr; in initial_allocation()
137 ASSERT(bp->free_list == NULL); in initial_allocation()
138 bp->free_list = ptr; in initial_allocation()
142 ASSERT(bp->free_list == NULL); in initial_allocation()
143 bp->free_list = ptr; in initial_allocation()
222 if ((ptr = bp->free_list) == NULL) { in lmalloc()
248 bp->free_list = ptr; in lmalloc()
255 ptr = bp->free_list; in lmalloc()
257 bp->free_list in lmalloc()
[all...]
/titanic_51/usr/src/lib/libnisdb/
H A Ddb_table_c.x78 % STRUCTRWLOCK(free_list);
83 % INITRW(free_list);
111 % return (WLOCK(free_list));
115 % return (WULOCK(free_list));
119 % return (RLOCK(free_list));
123 % return (RULOCK(free_list));
/titanic_51/usr/src/uts/common/io/ixgbe/
H A Dixgbe_buf.c240 rx_data->free_list = kmem_zalloc(sizeof (rx_control_block_t *) * in ixgbe_alloc_rx_ring_data()
243 if (rx_data->free_list == NULL) { in ixgbe_alloc_rx_ring_data()
295 if (rx_data->free_list != NULL) { in ixgbe_free_rx_ring_data()
296 kmem_free(rx_data->free_list, in ixgbe_free_rx_ring_data()
298 rx_data->free_list = NULL; in ixgbe_free_rx_ring_data()
680 tx_ring->free_list = kmem_zalloc(sizeof (tx_control_block_t *) * in ixgbe_alloc_tcb_lists()
683 if (tx_ring->free_list == NULL) { in ixgbe_alloc_tcb_lists()
705 kmem_free(tx_ring->free_list, in ixgbe_alloc_tcb_lists()
707 tx_ring->free_list = NULL; in ixgbe_alloc_tcb_lists()
721 tx_ring->free_list[ in ixgbe_alloc_tcb_lists()
[all...]
H A Dixgbe_rx.c94 ASSERT(rx_data->free_list[free_index] == NULL); in ixgbe_rx_recycle()
96 rx_data->free_list[free_index] = recycle_rcb; in ixgbe_rx_recycle()
250 free_rcb = rx_data->free_list[free_index]; in ixgbe_rx_bind()
252 rx_data->free_list[free_index] = NULL; in ixgbe_rx_bind()
359 free_rcb = rx_data->free_list[free_index]; in ixgbe_lro_bind()
361 rx_data->free_list[free_index] = NULL; in ixgbe_lro_bind()
H A Dixgbe_tx.c1571 tcb = tx_ring->free_list[tx_ring->tcb_head]; in ixgbe_get_free_list()
1573 tx_ring->free_list[tx_ring->tcb_head] = NULL; in ixgbe_get_free_list()
1605 ASSERT(tx_ring->free_list[index] == NULL); in ixgbe_put_free_list()
1606 tx_ring->free_list[index] = tcb; in ixgbe_put_free_list()
/titanic_51/usr/src/uts/common/io/igb/
H A Digb_buf.c373 rx_data->free_list = kmem_zalloc(sizeof (rx_control_block_t *) * in igb_alloc_rx_ring_data()
376 if (rx_data->free_list == NULL) { in igb_alloc_rx_ring_data()
428 if (rx_data->free_list != NULL) { in igb_free_rx_ring_data()
429 kmem_free(rx_data->free_list, in igb_free_rx_ring_data()
431 rx_data->free_list = NULL; in igb_free_rx_ring_data()
686 tx_ring->free_list = kmem_zalloc(sizeof (tx_control_block_t *) * in igb_alloc_tcb_lists()
689 if (tx_ring->free_list == NULL) { in igb_alloc_tcb_lists()
711 kmem_free(tx_ring->free_list, in igb_alloc_tcb_lists()
713 tx_ring->free_list = NULL; in igb_alloc_tcb_lists()
727 tx_ring->free_list[ in igb_alloc_tcb_lists()
[all...]
H A Digb_rx.c86 ASSERT(rx_data->free_list[free_index] == NULL); in igb_rx_recycle()
88 rx_data->free_list[free_index] = recycle_rcb; in igb_rx_recycle()
242 free_rcb = rx_data->free_list[free_index]; in igb_rx_bind()
244 rx_data->free_list[free_index] = NULL; in igb_rx_bind()
H A Digb_tx.c1425 tcb = tx_ring->free_list[tx_ring->tcb_head]; in igb_get_free_list()
1427 tx_ring->free_list[tx_ring->tcb_head] = NULL; in igb_get_free_list()
1459 ASSERT(tx_ring->free_list[index] == NULL); in igb_put_free_list()
1460 tx_ring->free_list[index] = tcb; in igb_put_free_list()
/titanic_51/usr/src/cmd/dis/
H A Ddis_list.c303 free_list(uu_list_t *list) in free_list() function
323 * section data. Pass the list onto to free_list() to clean up the rest of the
340 free_list(list); in dis_scnlist_destroy()
345 * function data. Pass the list onto to free_list() to clean up the rest of the
362 free_list(list); in dis_funclist_destroy()
371 free_list(list); in dis_namelist_destroy()
/titanic_51/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c120 free_list(plist_t *list) in free_list() function
224 free_list(scsi_list); in scsi_info_fini()
291 free_list(&list); in get_scsislot_name()
304 free_list(&list); in get_scsislot_name()
311 free_list(&list); in get_scsislot_name()
861 free_list(&list); in probe_for_scsi_frus()
870 free_list(&list); in probe_for_scsi_frus()
883 free_list(&list); in probe_for_scsi_frus()
H A Dpicllibdevinfo.c79 free_list(plist_t *listptr) in free_list() function
442 free_list(&list); in probe_libdevinfo()
449 free_list(&list); in probe_libdevinfo()
456 free_list(&list); in probe_libdevinfo()
463 free_list(&list); in probe_libdevinfo()
469 free_list(&list); in probe_libdevinfo()
474 free_list(&list); in probe_libdevinfo()
/titanic_51/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c111 static void free_list(char **);
331 free_list(dependents); in mnt_offline()
388 free_list(dependents); in mnt_getinfo()
404 free_list(dependents); in mnt_getinfo()
436 free_list(dependents); in mnt_suspend()
449 free_list(dependents); in mnt_suspend()
487 free_list(dependents); in mnt_resume()
828 free_list((*entryp)->mountps); in free_entry()
836 * free_list()
841 free_list(cha function
[all...]
/titanic_51/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c251 handle = pool->free_list; in qlt_dma_handle_pool_fini()
517 tmp_handle->next = pool->free_list; in qlt_dma_alloc_handle_list()
518 pool->free_list = tmp_handle; in qlt_dma_alloc_handle_list()
528 first_handle = pool->free_list; in qlt_dma_alloc_handle_list()
534 pool->free_list = tmp_handle; in qlt_dma_alloc_handle_list()
577 last_handle->next = pool->free_list; in qlt_dma_free_handles()
578 pool->free_list = first_handle; in qlt_dma_free_handles()
H A Dqlt_dma.h84 qlt_dma_handle_t *free_list; member
/titanic_51/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c48 free_list(char **list) in free_list() function
88 free_list(newlist); in copy_list()
250 free_list(idopts->anchors); in pkinit_fini_identity_opts()
251 free_list(idopts->intermediates); in pkinit_fini_identity_opts()
252 free_list(idopts->crls); in pkinit_fini_identity_opts()
253 free_list(idopts->identity_alt); in pkinit_fini_identity_opts()
/titanic_51/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c176 QUEUE_INIT_LIST(&rx_data->free_list); in e1000g_rx_setup()
203 QUEUE_PUSH_TAIL(&rx_data->free_list, in e1000g_rx_setup()
381 * e1000g_get_buf - get an rx sw packet from the free_list
393 QUEUE_POP_HEAD(&rx_data->free_list); in e1000g_get_buf()
404 QUEUE_SWITCH(&rx_data->free_list, &rx_data->recycle_list); in e1000g_get_buf()
408 packet = (p_rx_sw_packet_t)QUEUE_POP_HEAD(&rx_data->free_list); in e1000g_get_buf()
417 QUEUE_POP_HEAD(&rx_data->free_list); in e1000g_get_buf()
H A De1000g_tx.c353 QUEUE_POP_HEAD(&tx_ring->free_list); in e1000g_send()
456 QUEUE_APPEND(&tx_ring->free_list, &pending_list); in e1000g_send()
920 QUEUE_INIT_LIST(&tx_ring->free_list); in e1000g_tx_setup()
928 QUEUE_PUSH_TAIL(&tx_ring->free_list, in e1000g_tx_setup()
1157 QUEUE_APPEND(&tx_ring->free_list, &pending_list); in e1000g_recycle()
/titanic_51/usr/src/uts/common/rpc/
H A Dclnt_clts.c1840 list_t free_list; in endpnt_reclaim() local
1843 list_create(&free_list, sizeof (endpnt_t), offsetof(endpnt_t, e_node)); in endpnt_reclaim()
1884 list_insert_head(&free_list, e); in endpnt_reclaim()
1905 while ((e = list_head(&free_list)) != NULL) { in endpnt_reclaim()
1906 list_remove(&free_list, e); in endpnt_reclaim()
1914 list_destroy(&free_list); in endpnt_reclaim()
1930 struct endpnt_type *free_list = NULL; in endpnt_destructor() local
1972 np->e_next = free_list; in endpnt_destructor()
1973 free_list = np; in endpnt_destructor()
1977 while (free_list ! in endpnt_destructor()
[all...]
/titanic_51/usr/src/uts/common/io/nge/
H A Dnge_rx.c167 * First check the free_list, if it is NULL, in nge_recv_packet()
168 * make the recycle_list be free_list. in nge_recv_packet()
170 if (brp->free_list == NULL) { in nge_recv_packet()
172 brp->free_list = brp->recycle_list; in nge_recv_packet()
176 bufp = brp->free_list; in nge_recv_packet()
187 * or there is no available buffer in free_list or recycle list, in nge_recv_packet()
220 /* Fill the buffer from free_list */ in nge_recv_packet()
222 brp->free_list = bufp->next; in nge_recv_packet()
H A Dnge_main.c670 while (brp->free_list != NULL) { in nge_fini_buff_ring()
671 bufp = brp->free_list; in nge_fini_buff_ring()
672 brp->free_list = bufp->next; in nge_fini_buff_ring()
725 brp->free_list = NULL; in nge_init_buff_ring()
751 bufp->next = brp->free_list; in nge_init_buff_ring()
752 brp->free_list = bufp; in nge_init_buff_ring()
762 bufp = brp->free_list; in nge_init_buff_ring()
763 brp->free_list = bufp->next; in nge_init_buff_ring()
831 brp->free_list = NULL; in nge_init_ring_param_lock()
/titanic_51/usr/src/cmd/svr4pkg/libinst/
H A Dlistmgr.c98 free_list(int list_handle) in free_list() function
356 free_list(cur_handle); in bl_free()
362 free_list(list_handle); in bl_free()
/titanic_51/usr/src/cmd/ldap/common/
H A Dldaptest.c25 static void free_list( char **list );
30 static void free_list();
83 free_list( char **list ) in free_list() function
745 free_list( types ); in main()
781 free_list( types ); in main()
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c162 #define free_list krb5int_free_addrlist macro
882 free_list (&al); in krb5int_locate_server()
932 free_list (&al); in krb5int_locate_server()
1036 free_list (&al); in krb5int_locate_server()
/titanic_51/usr/src/cmd/zonecfg/
H A Dzonecfg.h222 extern void free_list(list_property_ptr_t list);

12