/linux/drivers/staging/media/ipu3/ |
A D | ipu3-css-fw.c | 19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary() 24 bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode, in imgu_css_fw_show_binary() 28 bi->info.isp.num_output_pins); in imgu_css_fw_show_binary() 31 bi->info.isp.sp.input.min_width, in imgu_css_fw_show_binary() 32 bi->info.isp.sp.input.min_height, in imgu_css_fw_show_binary() 33 bi->info.isp.sp.input.max_width, in imgu_css_fw_show_binary() 78 struct imgu_fw_info *bi = in imgu_css_fw_pipeline_params() local 158 if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size in imgu_css_fw_init() 159 + bi->blob.data_size + bi->blob.padding_size) in imgu_css_fw_init() 161 if (bi->blob.offset + bi->blob.size > css->fw->size) in imgu_css_fw_init() [all …]
|
A D | ipu3-css.c | 418 struct imgu_fw_info *bi = in imgu_css_hw_init() local 475 + bi->blob.data_source, in imgu_css_hw_start_sp() 479 .bss_size = bi->blob.bss_size, in imgu_css_hw_start_sp() 492 + bi->info.sp.sw_state, in imgu_css_hw_start_sp() 586 + bi->info.sp.host_sp_com in imgu_css_hw_start() 693 const struct imgu_fw_info *bi = in imgu_css_pipeline_init() local 1063 bi->info.sp.host_sp_queue; in imgu_css_queue_pos() 1077 bi->info.sp.host_sp_queue; in imgu_css_queue_data() 1659 bi->info.isp.sp.id); in imgu_css_find_binary() 2109 const struct imgu_fw_info *bi; in imgu_css_set_parameters() local [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
A D | bootx_init.c | 40 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) argument 41 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) argument 195 tmp = bi->dispDeviceRect[2] - bi->dispDeviceRect[0]; in bootx_add_display_props() 197 tmp = bi->dispDeviceRect[3] - bi->dispDeviceRect[1]; in bootx_add_display_props() 204 tmp += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; in bootx_add_display_props() 368 base = ((unsigned long)bi) + bi->deviceTreeOffset; in bootx_flatten_dt() 483 bi->logicalDisplayBase = bi->dispDeviceBase; in bootx_init() 495 bi->dispDeviceRect[3] - bi->dispDeviceRect[1], in bootx_init() 496 bi->dispDeviceDepth, bi->dispDeviceRowBytes, in bootx_init() 549 space = bi->deviceTreeOffset + bi->deviceTreeSize; in bootx_init() [all …]
|
/linux/crypto/ |
A D | aes_generic.c | 1155 f_rn(bo, bi, 0, k); \ 1156 f_rn(bo, bi, 1, k); \ 1157 f_rn(bo, bi, 2, k); \ 1158 f_rn(bo, bi, 3, k); \ 1170 f_rl(bo, bi, 0, k); \ 1171 f_rl(bo, bi, 1, k); \ 1172 f_rl(bo, bi, 2, k); \ 1173 f_rl(bo, bi, 3, k); \ 1225 i_rn(bo, bi, 0, k); \ 1226 i_rn(bo, bi, 1, k); \ [all …]
|
/linux/fs/ubifs/ |
A D | budget.c | 97 liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; in get_liability() 171 idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; in ubifs_calc_min_idx_lebs() 339 outstanding = c->bi.data_growth + c->bi.dd_growth; in do_budget_space() 453 if (unlikely(c->bi.nospace) && (c->bi.nospace_rp || !can_use_rp(c))) { in ubifs_budget_space() 461 c->bi.dd_growth += dd_growth; in ubifs_budget_space() 495 c->bi.nospace = 1; in ubifs_budget_space() 497 c->bi.nospace_rp = 1; in ubifs_budget_space() 542 c->bi.nospace = c->bi.nospace_rp = 0; in ubifs_release_budget() 577 c->bi.data_growth -= c->bi.page_budget; in ubifs_convert_page_budget() 579 c->bi.dd_growth += c->bi.page_budget; in ubifs_convert_page_budget() [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_binding.c | 391 memcpy(loc, bi, vmw_binding_infos[bi->bt].size); in vmw_binding_transfer() 553 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_shader() 585 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_render_target() 621 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_texture() 655 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_dx_shader() 684 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_cb() 777 ((!biv->bi.ctx || biv->bi.scrubbed) ? in vmw_collect_dirty_view_ids() 993 container_of(bi, struct vmw_ctx_bindinfo_vb, bi); in vmw_collect_dirty_vbs() 1004 if (!biv->bi.ctx || biv->bi.scrubbed) { in vmw_collect_dirty_vbs() 1258 container_of(bi, typeof(*binding), bi); in vmw_binding_scrub_ib() [all …]
|
A D | vmwgfx_binding.h | 90 struct vmw_ctx_bindinfo bi; member 101 struct vmw_ctx_bindinfo bi; member 115 struct vmw_ctx_bindinfo bi; member 130 struct vmw_ctx_bindinfo bi; member 144 struct vmw_ctx_bindinfo bi; member 159 struct vmw_ctx_bindinfo bi; member 173 struct vmw_ctx_bindinfo bi; member 213 struct vmw_ctx_bindinfo bi; member
|
/linux/tools/perf/util/ |
A D | block-info.c | 48 if (bi) in block_info__get() 50 return bi; in block_info__get() 55 if (bi && refcount_dec_and_test(&bi->refcnt)) in block_info__put() 56 free(bi); in block_info__put() 61 struct block_info *bi = zalloc(sizeof(*bi)); in block_info__new() local 63 if (bi) in block_info__new() 65 return bi; in block_info__new() 146 cycles += bi->cycles_aggr / bi->num_aggr; in block_info__process_sym() 261 avg = bi->cycles_aggr / bi->num_aggr; in block_cycles_pct_entry() 305 bi->start, bi->end); in block_range_entry() [all …]
|
A D | block-info.h | 54 struct block_info *block_info__get(struct block_info *bi); 55 void block_info__put(struct block_info *bi); 57 static inline void __block_info__zput(struct block_info **bi) in __block_info__zput() argument 59 block_info__put(*bi); in __block_info__zput() 60 *bi = NULL; in __block_info__zput() 63 #define block_info__zput(bi) __block_info__zput(&bi) argument
|
/linux/drivers/scsi/ |
A D | sd_dif.c | 32 struct blk_integrity bi; in sd_dif_config_host() local 45 memset(&bi, 0, sizeof(bi)); in sd_dif_config_host() 50 bi.profile = &t10_pi_type3_ip; in sd_dif_config_host() 52 bi.profile = &t10_pi_type1_ip; in sd_dif_config_host() 54 bi.flags |= BLK_INTEGRITY_IP_CHECKSUM; in sd_dif_config_host() 57 bi.profile = &t10_pi_type3_crc; in sd_dif_config_host() 59 bi.profile = &t10_pi_type1_crc; in sd_dif_config_host() 66 bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE; in sd_dif_config_host() 74 bi.tag_size = sizeof(u16); in sd_dif_config_host() 77 bi.tag_size); in sd_dif_config_host() [all …]
|
/linux/block/ |
A D | blk-integrity.c | 229 return entry->show(bi, page); in integrity_attr_show() 243 ret = entry->store(bi, page, count); in integrity_attr_store() 250 if (bi->profile && bi->profile->name) in integrity_format_show() 264 bi->interval_exp ? 1 << bi->interval_exp : 0); in integrity_interval_show() 274 bi->flags |= BLK_INTEGRITY_VERIFY; in integrity_verify_store() 276 bi->flags &= ~BLK_INTEGRITY_VERIFY; in integrity_verify_store() 293 bi->flags |= BLK_INTEGRITY_GENERATE; in integrity_generate_store() 295 bi->flags &= ~BLK_INTEGRITY_GENERATE; in integrity_generate_store() 407 bi->tag_size = template->tag_size; in blk_integrity_register() 431 if (!bi->profile) in blk_integrity_unregister() [all …]
|
A D | bio-integrity.c | 167 iter.interval = 1 << bi->interval_exp; in bio_integrity_process() 209 if (!bi) in bio_integrity_prep() 223 if (!bi->profile->verify_fn || in bio_integrity_prep() 224 !(bi->flags & BLK_INTEGRITY_VERIFY)) in bio_integrity_prep() 227 if (!bi->profile->generate_fn || in bio_integrity_prep() 228 !(bi->flags & BLK_INTEGRITY_GENERATE)) in bio_integrity_prep() 231 intervals = bio_integrity_intervals(bi, bio_sectors(bio)); in bio_integrity_prep() 234 len = intervals * bi->tuple_size; in bio_integrity_prep() 259 if (bi->flags & BLK_INTEGRITY_IP_CHECKSUM) in bio_integrity_prep() 294 bi->profile->generate_fn); in bio_integrity_prep() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 165 if (!bi->xdp) { in ixgbe_alloc_rx_buffers_zc() 178 bi++; in ixgbe_alloc_rx_buffers_zc() 212 unsigned int metasize = bi->xdp->data - bi->xdp->data_meta; in ixgbe_construct_skb_zc() 213 unsigned int datasize = bi->xdp->data_end - bi->xdp->data; in ixgbe_construct_skb_zc() 218 bi->xdp->data_end - bi->xdp->data_hard_start, in ixgbe_construct_skb_zc() 223 skb_reserve(skb, bi->xdp->data - bi->xdp->data_hard_start); in ixgbe_construct_skb_zc() 229 bi->xdp = NULL; in ixgbe_construct_skb_zc() 284 bi->xdp = NULL; in ixgbe_clean_rx_irq_zc() 300 bi->xdp->data_end = bi->xdp->data + size; in ixgbe_clean_rx_irq_zc() 374 if (!bi->xdp) in ixgbe_xsk_clean_rx_ring() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | sh_css_firmware.c | 117 if (!bi) in sh_css_load_blob_info() 118 bi = (const struct ia_css_fw_info *)fw; in sh_css_load_blob_info() 120 name = fw + bi->blob.prog_name_offset; in sh_css_load_blob_info() 124 if (bi->blob.size != in sh_css_load_blob_info() 125 bi->blob.text_size + bi->blob.icache_size + in sh_css_load_blob_info() 126 bi->blob.data_size + bi->blob.padding_size) { in sh_css_load_blob_info() 135 bd->header = *bi; in sh_css_load_blob_info() 137 if (bi->type == ia_css_isp_firmware || bi->type == ia_css_sp_firmware) { in sh_css_load_blob_info() 148 if (bi->type == ia_css_isp_firmware) { in sh_css_load_blob_info() 295 if (bi->blob.offset + bi->blob.size > fw_size) in sh_css_load_firmware() [all …]
|
/linux/drivers/net/hamradio/ |
A D | hdlcdrv.c | 490 struct hdlcdrv_ioctl bi; in hdlcdrv_siocdevprivate() local 498 if (copy_from_user(&bi, data, sizeof(bi))) in hdlcdrv_siocdevprivate() 501 switch (bi.cmd) { in hdlcdrv_siocdevprivate() 528 bi.data.mp.irq = dev->irq; in hdlcdrv_siocdevprivate() 529 bi.data.mp.dma = dev->dma; in hdlcdrv_siocdevprivate() 540 dev->irq = bi.data.mp.irq; in hdlcdrv_siocdevprivate() 541 dev->dma = bi.data.mp.dma; in hdlcdrv_siocdevprivate() 580 bi.data.bits = in hdlcdrv_siocdevprivate() 593 bi.data.bits = in hdlcdrv_siocdevprivate() 606 bi.data.drivername[0] = '\0'; in hdlcdrv_siocdevprivate() [all …]
|
/linux/fs/reiserfs/ |
A D | do_balan.c | 22 bi->tb = tb; in buffer_info_init_left() 23 bi->bi_bh = tb->L[0]; in buffer_info_init_left() 31 bi->tb = tb; in buffer_info_init_right() 40 bi->tb = tb; in buffer_info_init_tbS0() 50 bi->tb = tb; in buffer_info_init_bh() 51 bi->bi_bh = bh; in buffer_info_init_bh() 52 bi->bi_parent = NULL; in buffer_info_init_bh() 53 bi->bi_position = 0; in buffer_info_init_bh() 81 struct buffer_info bi; in balance_leaf_when_delete_del() local 115 struct buffer_info bi; in balance_leaf_when_delete_cut() local [all …]
|
A D | lbalance.c | 964 if (bi->bi_parent) { in leaf_insert_into_buf() 966 t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_insert_into_buf() 970 do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); in leaf_insert_into_buf() 1001 if (bi && bi->tb) in leaf_paste_in_buffer() 1058 if (bi->bi_parent) { in leaf_paste_in_buffer() 1060 B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_paste_in_buffer() 1062 do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); in leaf_paste_in_buffer() 1233 t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_cut_from_buffer() 1235 do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); in leaf_cut_from_buffer() 1302 B_N_CHILD(bi->bi_parent, bi->bi_position); in leaf_delete_items_entirely() [all …]
|
A D | ibalance.c | 638 struct buffer_info bi; in balance_internal_when_delete() local 643 bi.tb = tb; in balance_internal_when_delete() 644 bi.bi_bh = tbSh; in balance_internal_when_delete() 812 struct buffer_info bi; in balance_internal() local 871 bi.tb = tb; in balance_internal() 872 bi.bi_bh = tb->L[h]; in balance_internal() 892 bi.tb = tb; in balance_internal() 940 bi.tb = tb; in balance_internal() 958 bi.tb = tb; in balance_internal() 1146 bi.tb = tb; in balance_internal() [all …]
|
/linux/fs/gfs2/ |
A D | rgrp.c | 102 end = bi->bi_bh->b_data + bi->bi_offset + buflen; in gfs2_setbit() 117 bi->bi_offset, bi->bi_bytes, in gfs2_setbit() 318 bi++; in gfs2_rbm_add() 827 bi->bi_start, bi->bi_bytes, bi->bi_offset); in compute_bitstructs() 1152 for (i = 0, bi = rgd->rd_bits; i < length; i++, bi++) { in count_unlinked() 1154 buffer = bi->bi_bh->b_data + bi->bi_offset; in count_unlinked() 1322 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; in gfs2_rgrp_send_discards() 1767 buffer = bi->bi_clone + bi->bi_offset; in gfs2_rbm_find() 2274 bi->bi_clone = kmalloc(bi->bi_bh->b_size, in rgblk_free() 2276 memcpy(bi->bi_clone + bi->bi_offset, in rgblk_free() [all …]
|
/linux/fs/bfs/ |
A D | file.c | 71 struct bfs_inode_info *bi = BFS_I(inode); in bfs_get_block() local 73 phys = bi->i_sblock + block; in bfs_get_block() 75 if (phys <= bi->i_eblock) { in bfs_get_block() 87 if (bi->i_sblock && (phys <= bi->i_eblock)) { in bfs_get_block() 106 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block() 110 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block() 124 if (bi->i_sblock) { in bfs_get_block() 126 bi->i_eblock, phys); in bfs_get_block() 137 bi->i_sblock = phys; in bfs_get_block() 139 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block() [all …]
|
/linux/drivers/net/ethernet/brocade/bna/ |
A D | bnad_ethtool.c | 743 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 745 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 758 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 760 buf[bi++] = rcb->rxq-> in bnad_per_q_stats_fill() 784 return bi; in bnad_per_q_stats_fill() 792 int i, j, bi = 0; in bnad_get_ethtool_stats() local 835 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 843 buf[bi++] = stats64[i]; in bnad_get_ethtool_stats() 853 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() 866 buf[bi++] = stats64[j]; in bnad_get_ethtool_stats() [all …]
|
/linux/arch/x86/mm/ |
A D | numa.c | 250 bi->start, bi->end - bi->start)) { in numa_cleanup_meminfo() 256 bi->start = max(bi->start, low); in numa_cleanup_meminfo() 260 numa_add_memblk_to(bi->nid, high, bi->end, in numa_cleanup_meminfo() 262 bi->end = high; in numa_cleanup_meminfo() 266 if (bi->start >= bi->end) in numa_cleanup_meminfo() 283 if (bi->end > bj->start && bi->start < bj->end) { in numa_cleanup_meminfo() 286 bi->nid, bi->start, bi->end - 1, in numa_cleanup_meminfo() 291 bi->nid, bi->start, bi->end - 1, in numa_cleanup_meminfo() 315 bi->nid, bi->start, bi->end - 1, bj->start, in numa_cleanup_meminfo() 317 bi->start = start; in numa_cleanup_meminfo() [all …]
|
/linux/include/linux/ |
A D | blk-integrity.h | 47 struct blk_integrity *bi = &disk->queue->integrity; in blk_get_integrity() local 49 if (!bi->profile) in blk_get_integrity() 52 return bi; in blk_get_integrity() 89 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals() argument 92 return sectors >> (bi->interval_exp - 9); in bio_integrity_intervals() 95 static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, in bio_integrity_bytes() argument 98 return bio_integrity_intervals(bi, sectors) * bi->tuple_size; in bio_integrity_bytes() 162 static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, in bio_integrity_intervals() argument 168 static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, in bio_integrity_bytes() argument
|
/linux/arch/m68k/kernel/ |
A D | bootinfo_proc.c | 34 void __init save_bootinfo(const struct bi_record *bi) in save_bootinfo() argument 36 const void *start = bi; in save_bootinfo() 37 size_t size = sizeof(bi->tag); in save_bootinfo() 39 while (be16_to_cpu(bi->tag) != BI_LAST) { in save_bootinfo() 40 uint16_t n = be16_to_cpu(bi->size); in save_bootinfo() 42 bi = (struct bi_record *)((unsigned long)bi + n); in save_bootinfo()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | subr.c | 282 u32 clkdiv = bi->clock_elmer0 / (2 * bi->mdio_mdc) - 1; in mi1_mdio_init() 948 switch (bi->board) { in board_init() 993 if (!bi->clock_mc4) { in t1_init_hw_modules() 1002 bi->espi_nports)) in t1_init_hw_modules() 1059 lc->supported = bi->caps; in init_link_config() 1105 board_init(adapter, bi); in t1_init_sw_modules() 1106 bi->mdio_ops->init(adapter, bi); in t1_init_sw_modules() 1107 if (bi->gphy->reset) in t1_init_sw_modules() 1108 bi->gphy->reset(adapter); in t1_init_sw_modules() 1109 if (bi->gmac->reset) in t1_init_sw_modules() [all …]
|