Home
last modified time | relevance | path

Searched refs:work_list (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/cmd/format/
H A Dmenu_defect.c43 struct defect_list work_list; variable
71 if (!(work_list.flags & LIST_DIRTY)) { in d_restore()
87 kill_deflist(&work_list); in d_restore()
93 work_list.header = cur_list.header; in d_restore()
94 work_list.list = (struct defect_entry *)zalloc( in d_restore()
95 deflist_size(cur_blksz, work_list.header.count) * in d_restore()
97 for (i = 0; i < work_list.header.count; i++) in d_restore()
98 *(work_list.list + i) = *(cur_list.list + i); in d_restore()
103 work_list.flags = 0; in d_restore()
104 if (work_list.list == NULL) in d_restore()
[all …]
H A Dmenu_command.c1414 kill_deflist(&work_list); in c_repair()
1816 if ((work_list.list == NULL) && (cur_list.list != NULL)) { in c_defect()
1817 work_list.header = cur_list.header; in c_defect()
1818 work_list.list = (struct defect_entry *)zalloc( in c_defect()
1819 deflist_size(cur_blksz, work_list.header.count) * in c_defect()
1821 for (i = 0; i < work_list.header.count; i++) in c_defect()
1822 *(work_list.list + i) = *(cur_list.list + i); in c_defect()
1823 work_list.flags = cur_list.flags & LIST_PGLIST; in c_defect()
1836 if (work_list.flags & LIST_DIRTY) { in c_defect()
H A Ddefect.h37 extern struct defect_list work_list;
H A Dmain.c348 kill_deflist(&work_list);
H A Danalyze.c563 kill_deflist(&work_list);
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_rx.c153 current_rcb = rx_data->work_list[index]; in ixgbe_rx_copy()
206 current_rcb = rx_data->work_list[index]; in ixgbe_rx_bind()
258 rx_data->work_list[index] = free_rcb; in ixgbe_rx_bind()
292 current_rcb = rx_data->work_list[lro_start]; in ixgbe_lro_bind()
334 current_rcb = rx_data->work_list[lro_next]; in ixgbe_lro_bind()
341 current_rcb = rx_data->work_list[lro_next]; in ixgbe_lro_bind()
368 rx_data->work_list[lro_next] = free_rcb; in ixgbe_lro_bind()
377 current_rcb = rx_data->work_list[lro_next]; in ixgbe_lro_bind()
412 current_rcb = rx_data->work_list[lro_start]; in ixgbe_lro_copy()
428 current_rcb = rx_data->work_list[lro_next]; in ixgbe_lro_copy()
[all …]
H A Dixgbe_buf.c228 rx_data->work_list = kmem_zalloc(sizeof (rx_control_block_t *) * in ixgbe_alloc_rx_ring_data()
231 if (rx_data->work_list == NULL) { in ixgbe_alloc_rx_ring_data()
289 if (rx_data->work_list != NULL) { in ixgbe_free_rx_ring_data()
290 kmem_free(rx_data->work_list, in ixgbe_free_rx_ring_data()
292 rx_data->work_list = NULL; in ixgbe_free_rx_ring_data()
668 tx_ring->work_list = kmem_zalloc(sizeof (tx_control_block_t *) * in ixgbe_alloc_tcb_lists()
671 if (tx_ring->work_list == NULL) { in ixgbe_alloc_tcb_lists()
684 kmem_free(tx_ring->work_list, in ixgbe_alloc_tcb_lists()
686 tx_ring->work_list = NULL; in ixgbe_alloc_tcb_lists()
701 kmem_free(tx_ring->work_list, in ixgbe_alloc_tcb_lists()
[all …]
H A Dixgbe_tx.c1066 ASSERT(tx_ring->work_list[tcb_index] == NULL); in ixgbe_tx_fill_ring()
1067 tx_ring->work_list[tcb_index] = tcb; in ixgbe_tx_fill_ring()
1247 tcb = tx_ring->work_list[index]; in ixgbe_tx_recycle_legacy()
1284 tx_ring->work_list[index] = NULL; in ixgbe_tx_recycle_legacy()
1296 tcb = tx_ring->work_list[index]; in ixgbe_tx_recycle_legacy()
1425 tcb = tx_ring->work_list[index]; in ixgbe_tx_recycle_head_wb()
1441 tx_ring->work_list[index] = NULL; in ixgbe_tx_recycle_head_wb()
H A Dixgbe_sw.h484 tx_control_block_t **work_list; member
545 rx_control_block_t **work_list; /* Work list of rcbs */ member
H A Dixgbe_main.c1682 tcb = tx_ring->work_list[j]; in ixgbe_tx_clean()
1686 tx_ring->work_list[j] = NULL; in ixgbe_tx_clean()
2320 rcb = rx_data->work_list[i]; in ixgbe_setup_rx_ring()
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_buf.c361 rx_data->work_list = kmem_zalloc(sizeof (rx_control_block_t *) * in igb_alloc_rx_ring_data()
364 if (rx_data->work_list == NULL) { in igb_alloc_rx_ring_data()
422 if (rx_data->work_list != NULL) { in igb_free_rx_ring_data()
423 kmem_free(rx_data->work_list, in igb_free_rx_ring_data()
425 rx_data->work_list = NULL; in igb_free_rx_ring_data()
674 tx_ring->work_list = kmem_zalloc(sizeof (tx_control_block_t *) * in igb_alloc_tcb_lists()
677 if (tx_ring->work_list == NULL) { in igb_alloc_tcb_lists()
690 kmem_free(tx_ring->work_list, in igb_alloc_tcb_lists()
692 tx_ring->work_list = NULL; in igb_alloc_tcb_lists()
707 kmem_free(tx_ring->work_list, in igb_alloc_tcb_lists()
[all …]
H A Digb_rx.c144 current_rcb = rx_data->work_list[index]; in igb_rx_copy()
198 current_rcb = rx_data->work_list[index]; in igb_rx_bind()
250 rx_data->work_list[index] = free_rcb; in igb_rx_bind()
423 current_rcb = rx_data->work_list[rx_next]; in igb_rx()
H A Digb_tx.c952 ASSERT(tx_ring->work_list[tcb_index] == NULL); in igb_tx_fill_ring()
953 tx_ring->work_list[tcb_index] = tcb; in igb_tx_fill_ring()
1115 tcb = tx_ring->work_list[index]; in igb_tx_recycle_legacy()
1150 tx_ring->work_list[index] = NULL; in igb_tx_recycle_legacy()
1165 tcb = tx_ring->work_list[index]; in igb_tx_recycle_legacy()
1285 tcb = tx_ring->work_list[index]; in igb_tx_recycle_head_wb()
1301 tx_ring->work_list[index] = NULL; in igb_tx_recycle_head_wb()
H A Digb_sw.h434 tx_control_block_t **work_list; member
500 rx_control_block_t **work_list; /* Work list of rcbs */ member
H A Digb_main.c1701 tcb = tx_ring->work_list[j]; in igb_tx_clean()
1705 tx_ring->work_list[j] = NULL; in igb_tx_clean()
2112 rcb = rx_data->work_list[i]; in igb_setup_rx_ring()