Home
last modified time | relevance | path

Searched refs:bd_list (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_ep.c54 struct bd_list *bd_list = &ep->bd_list; in ep_bd_list_free() local
62 if (!bd_list->bd_table_array) { in ep_bd_list_free()
72 bd_table = bd_list->bd_table_array[index]; in ep_bd_list_free()
95 kfree(ep->bd_list.bd_table_array); in ep_bd_list_free()
141 ep->bd_list.bd_table_array = kzalloc_objs(struct bd_table *, num_tabs, in ep_bd_list_alloc()
143 if (!ep->bd_list.bd_table_array) in ep_bd_list_alloc()
168 ep->bd_list.bd_table_array[index] = bd_table; in ep_bd_list_alloc()
174 chain_table(prev_table, ep->bd_list.bd_table_array[0], bd_p_tab); in ep_bd_list_alloc()
176 ep->bd_list.num_tabs = num_tabs; in ep_bd_list_alloc()
177 ep->bd_list.max_bdi = (num_tabs * bd_p_tab) - 1; in ep_bd_list_alloc()
[all …]
H A Dbdc_dbg.c87 struct bd_list *bd_list = &ep->bd_list; in bdc_dbg_bd_list() local
100 bd_list->num_tabs, bd_list->max_bdi, bd_list->eqp_bdi, in bdc_dbg_bd_list()
101 bd_list->hwd_bdi, bd_list->num_bds_table); in bdc_dbg_bd_list()
103 for (tbi = 0; tbi < bd_list->num_tabs; tbi++) { in bdc_dbg_bd_list()
104 bd_table = bd_list->bd_table_array[tbi]; in bdc_dbg_bd_list()
105 for (bdi = 0; bdi < bd_list->num_bds_table; bdi++) { in bdc_dbg_bd_list()
H A Dbdc_cmd.c125 ep->bd_list.eqp_bdi = 0; in ep_bd_list_reinit()
126 ep->bd_list.hwd_bdi = 0; in ep_bd_list_reinit()
127 bd = ep->bd_list.bd_table_array[0]->start_bd; in ep_bd_list_reinit()
145 param0 = lower_32_bits(ep->bd_list.bd_table_array[0]->dma); in bdc_config_ep()
146 param1 = upper_32_bits(ep->bd_list.bd_table_array[0]->dma); in bdc_config_ep()
H A Dbdc.h301 struct bd_list { struct
362 struct bd_list bd_list; member
/linux/fs/gfs2/
H A Dtrans.c176 INIT_LIST_HEAD(&bd->bd_list); in gfs2_alloc_bufdata()
222 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data()
227 list_add_tail(&bd->bd_list, &tr->tr_databuf); in gfs2_trans_add_data()
285 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta()
309 list_add(&bd->bd_list, &tr->tr_buf); in gfs2_trans_add_meta()
321 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke()
333 list_for_each_entry_safe(bd, tmp, &sdp->sd_log_revokes, bd_list) { in gfs2_trans_remove_revoke()
335 list_del_init(&bd->bd_list); in gfs2_trans_remove_revoke()
H A Dlops.c630 bda = list_entry(a, struct gfs2_bufdata, bd_list); in blocknr_cmp()
631 bdb = list_entry(b, struct gfs2_bufdata, bd_list); in blocknr_cmp()
653 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit()
667 list_for_each_entry_continue(bd1, blist, bd_list) { in gfs2_before_commit()
682 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit()
732 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in buf_lo_after_commit()
733 list_del_init(&bd->bd_list); in buf_lo_after_commit()
864 list_for_each_entry(bd, head, bd_list) { in revoke_lo_before_commit()
893 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in gfs2_drain_revokes()
894 list_del_init(&bd->bd_list); in gfs2_drain_revokes()
[all …]
H A Daops.c589 if (!list_empty(&bd->bd_list) && !buffer_pinned(bh)) in gfs2_discard()
590 list_del_init(&bd->bd_list); in gfs2_discard()
693 if (!bd->bd_blkno && !list_empty(&bd->bd_list)) in gfs2_release_folio()
694 list_del_init(&bd->bd_list); in gfs2_release_folio()
695 if (list_empty(&bd->bd_list)) in gfs2_release_folio()
H A Dlog.c333 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one()
775 list_add(&bd->bd_list, &sdp->sd_log_revokes); in gfs2_add_revoke()
1004 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain()
1005 list_del_init(&bd->bd_list); in trans_drain()
1012 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain()
1013 list_del_init(&bd->bd_list); in trans_drain()
H A Dmeta_io.c352 list_del_init(&bd->bd_list); in gfs2_remove_from_journal()
H A Dincore.h145 struct list_head bd_list; member