/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_ep.c | 54 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 = kcalloc(num_tabs, in ep_bd_list_alloc() 144 if (!ep->bd_list.bd_table_array) in ep_bd_list_alloc() 169 ep->bd_list.bd_table_array[index] = bd_table; in ep_bd_list_alloc() 175 chain_table(prev_table, ep->bd_list in ep_bd_list_alloc() 217 struct bd_list *bd_list = &ep->bd_list; bd_add_to_bdi() local 290 struct bd_list *bd_list = &ep->bd_list; bd_available_ep() local 430 struct bd_list *bd_list; setup_bd_list_xfr() local 956 struct bd_list *bd_list = &ep->bd_list; handle_xsr_succ_status() local [all...] |
H A D | bdc_dbg.c | 87 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 in bdc_dbg_bd_list() [all...] |
H A D | bdc_cmd.c | 125 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 D | bdc.h | 301 struct bd_list { struct 362 struct bd_list bd_list; member
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_ep.c | 54 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 = kcalloc(num_tabs, in ep_bd_list_alloc() 144 if (!ep->bd_list.bd_table_array) in ep_bd_list_alloc() 169 ep->bd_list.bd_table_array[index] = bd_table; in ep_bd_list_alloc() 175 chain_table(prev_table, ep->bd_list in ep_bd_list_alloc() 217 struct bd_list *bd_list = &ep->bd_list; bd_add_to_bdi() local 290 struct bd_list *bd_list = &ep->bd_list; bd_available_ep() local 430 struct bd_list *bd_list; setup_bd_list_xfr() local 956 struct bd_list *bd_list = &ep->bd_list; handle_xsr_succ_status() local [all...] |
H A D | bdc_dbg.c | 87 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 in bdc_dbg_bd_list() [all...] |
H A D | bdc_cmd.c | 125 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 D | bdc.h | 301 struct bd_list { struct 362 struct bd_list bd_list; member
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | trans.c | 136 INIT_LIST_HEAD(&bd->bd_list); in gfs2_alloc_bufdata() 182 if (list_empty(&bd->bd_list)) { in gfs2_trans_add_data() 187 list_add_tail(&bd->bd_list, &tr->tr_databuf); in gfs2_trans_add_data() 224 if (!list_empty(&bd->bd_list)) in gfs2_trans_add_meta() 246 list_add(&bd->bd_list, &tr->tr_buf); in gfs2_trans_add_meta() 258 BUG_ON(!list_empty(&bd->bd_list)); in gfs2_trans_add_revoke() 271 list_for_each_entry_safe(bd, tmp, &sdp->sd_log_revokes, bd_list) { in gfs2_trans_remove_revoke() 273 list_del_init(&bd->bd_list); in gfs2_trans_remove_revoke()
|
H A D | lops.c | 635 bda = list_entry(a, struct gfs2_bufdata, bd_list); in blocknr_cmp() 636 bdb = list_entry(b, struct gfs2_bufdata, bd_list); in blocknr_cmp() 658 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit() 672 list_for_each_entry_continue(bd1, blist, bd_list) { in gfs2_before_commit() 687 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit() 739 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in buf_lo_after_commit() 740 list_del_init(&bd->bd_list); in buf_lo_after_commit() 857 list_for_each_entry(bd, head, bd_list) { in revoke_lo_before_commit() 887 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in revoke_lo_after_commit() 888 list_del_init(&bd->bd_list); in revoke_lo_after_commit() [all...] |
H A D | aops.c | 664 if (!list_empty(&bd->bd_list) && !buffer_pinned(bh)) in gfs2_discard() 665 list_del_init(&bd->bd_list); in gfs2_discard() 765 if (!bd->bd_blkno && !list_empty(&bd->bd_list)) in gfs2_releasepage() 766 list_del_init(&bd->bd_list); in gfs2_releasepage() 767 if (list_empty(&bd->bd_list)) in gfs2_releasepage()
|
H A D | log.c | 287 if (*max_revokes && list_empty(&bd->bd_list)) { in gfs2_ail1_empty_one() 689 list_add(&bd->bd_list, &sdp->sd_log_revokes); in gfs2_add_revoke() 936 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain() 937 list_del_init(&bd->bd_list); in trans_drain() 944 bd = list_first_entry(head, struct gfs2_bufdata, bd_list); in trans_drain() 945 list_del_init(&bd->bd_list); in trans_drain()
|
H A D | meta_io.c | 341 list_del_init(&bd->bd_list); in gfs2_remove_from_journal()
|
H A D | incore.h | 168 struct list_head bd_list; member
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | trans.c | 171 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 D | lops.c | 641 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 D | aops.c | 624 if (!list_empty(&bd->bd_list) && !buffer_pinned(bh)) in gfs2_discard() 625 list_del_init(&bd->bd_list); in gfs2_discard() 728 if (!bd->bd_blkno && !list_empty(&bd->bd_list)) in gfs2_release_folio() 729 list_del_init(&bd->bd_list); in gfs2_release_folio() 730 if (list_empty(&bd->bd_list)) in gfs2_release_folio()
|
H A D | log.c | 340 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 D | meta_io.c | 346 list_del_init(&bd->bd_list); in gfs2_remove_from_journal()
|
H A D | incore.h | 145 struct list_head bd_list; member
|