Home
last modified time | relevance | path

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

/openbmc/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
217 struct bd_list *bd_list = &ep->bd_list; in bd_add_to_bdi() local
290 struct bd_list *bd_list = &ep->bd_list; in bd_available_ep() local
298 if (bd_list->eqp_bdi == bd_list->hwd_bdi) in bd_available_ep()
299 return bd_list->max_bdi - bd_list->num_tabs; in bd_available_ep()
305 if (bd_list->hwd_bdi < bd_list->eqp_bdi) { in bd_available_ep()
318 if ((bd_list->hwd_bdi - bd_list->eqp_bdi) in bd_available_ep()
430 struct bd_list *bd_list; in setup_bd_list_xfr() local
437 bd_list = &ep->bd_list; in setup_bd_list_xfr()
518 ep->bd_list.eqp_bdi, ep->bd_list.hwd_bdi); in bdc_queue_xfr()
[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
/openbmc/linux/fs/gfs2/
H A Dtrans.c171 INIT_LIST_HEAD(&bd->bd_list); in gfs2_alloc_bufdata()
217 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data()
222 list_add_tail(&bd->bd_list, &tr->tr_databuf); in gfs2_trans_add_data()
260 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta()
284 list_add(&bd->bd_list, &tr->tr_buf); in gfs2_trans_add_meta()
298 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke()
310 list_for_each_entry_safe(bd, tmp, &sdp->sd_log_revokes, bd_list) { in gfs2_trans_remove_revoke()
312 list_del_init(&bd->bd_list); in gfs2_trans_remove_revoke()
H A Dlops.c641 bda = list_entry(a, struct gfs2_bufdata, bd_list); in blocknr_cmp()
642 bdb = list_entry(b, struct gfs2_bufdata, bd_list); in blocknr_cmp()
664 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit()
678 list_for_each_entry_continue(bd1, blist, bd_list) { in gfs2_before_commit()
693 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit()
743 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in buf_lo_after_commit()
744 list_del_init(&bd->bd_list); in buf_lo_after_commit()
875 list_for_each_entry(bd, head, bd_list) { in revoke_lo_before_commit()
904 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in gfs2_drain_revokes()
905 list_del_init(&bd->bd_list); in gfs2_drain_revokes()
[all …]
H A Daops.c622 if (!list_empty(&bd->bd_list) && !buffer_pinned(bh)) in gfs2_discard()
623 list_del_init(&bd->bd_list); in gfs2_discard()
726 if (!bd->bd_blkno && !list_empty(&bd->bd_list)) in gfs2_release_folio()
727 list_del_init(&bd->bd_list); in gfs2_release_folio()
728 if (list_empty(&bd->bd_list)) in gfs2_release_folio()
H A Dlog.c340 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one()
786 list_add(&bd->bd_list, &sdp->sd_log_revokes); in gfs2_add_revoke()
1010 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain()
1011 list_del_init(&bd->bd_list); in trans_drain()
1018 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain()
1019 list_del_init(&bd->bd_list); in trans_drain()
H A Dmeta_io.c349 list_del_init(&bd->bd_list); in gfs2_remove_from_journal()
H A Dincore.h145 struct list_head bd_list; member