bi 48 arch/m68k/bvme6000/config.c int __init bvme6000_parse_bootinfo(const struct bi_record *bi) bi 50 arch/m68k/bvme6000/config.c if (be16_to_cpu(bi->tag) == BI_VME_TYPE) bi 20 arch/m68k/include/asm/bootinfo.h extern void save_bootinfo(const struct bi_record *bi); bi 22 arch/m68k/include/asm/bootinfo.h static inline void save_bootinfo(const struct bi_record *bi) {} bi 34 arch/m68k/kernel/bootinfo_proc.c void __init save_bootinfo(const struct bi_record *bi) bi 36 arch/m68k/kernel/bootinfo_proc.c const void *start = bi; bi 37 arch/m68k/kernel/bootinfo_proc.c size_t size = sizeof(bi->tag); bi 39 arch/m68k/kernel/bootinfo_proc.c while (be16_to_cpu(bi->tag) != BI_LAST) { bi 40 arch/m68k/kernel/bootinfo_proc.c uint16_t n = be16_to_cpu(bi->size); bi 42 arch/m68k/kernel/bootinfo_proc.c bi = (struct bi_record *)((unsigned long)bi + n); bi 49 arch/m68k/mvme147/config.c int __init mvme147_parse_bootinfo(const struct bi_record *bi) bi 51 arch/m68k/mvme147/config.c uint16_t tag = be16_to_cpu(bi->tag); bi 58 arch/m68k/mvme16x/config.c int __init mvme16x_parse_bootinfo(const struct bi_record *bi) bi 60 arch/m68k/mvme16x/config.c uint16_t tag = be16_to_cpu(bi->tag); bi 3714 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t bi:1; bi 3724 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t bi:1; bi 4129 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t bi:1; bi 4139 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t bi:1; bi 688 arch/powerpc/include/asm/opal-api.h }bi; bi 87 arch/powerpc/lib/sstep.c unsigned int bi; bi 97 arch/powerpc/lib/sstep.c bi = (instr >> 16) & 0x1f; bi 98 arch/powerpc/lib/sstep.c if (((regs->ccr >> (31 - bi)) & 1) != ((bo >> 3) & 1)) bi 38 arch/powerpc/platforms/powermac/bootx_init.c #define BOOT_INFO_IS_COMPATIBLE(bi) \ bi 39 arch/powerpc/platforms/powermac/bootx_init.c ((bi)->compatible_version <= BOOT_INFO_VERSION) bi 40 arch/powerpc/platforms/powermac/bootx_init.c #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) bi 41 arch/powerpc/platforms/powermac/bootx_init.c #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) bi 184 arch/powerpc/platforms/powermac/bootx_init.c boot_infos_t *bi = bootx_info; bi 193 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceDepth; bi 195 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRect[2] - bi->dispDeviceRect[0]; bi 197 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRect[3] - bi->dispDeviceRect[1]; bi 199 arch/powerpc/platforms/powermac/bootx_init.c tmp = bi->dispDeviceRowBytes; bi 201 arch/powerpc/platforms/powermac/bootx_init.c tmp = (u32)bi->dispDeviceBase; bi 203 arch/powerpc/platforms/powermac/bootx_init.c tmp = (u32)bi->logicalDisplayBase; bi 204 arch/powerpc/platforms/powermac/bootx_init.c tmp += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; bi 205 arch/powerpc/platforms/powermac/bootx_init.c tmp += bi->dispDeviceRect[0] * ((bi->dispDeviceDepth + 7) / 8); bi 350 arch/powerpc/platforms/powermac/bootx_init.c boot_infos_t *bi = bootx_info; bi 359 arch/powerpc/platforms/powermac/bootx_init.c mem_start = mem_end = _ALIGN_UP(((unsigned long)bi) + start, 4); bi 368 arch/powerpc/platforms/powermac/bootx_init.c base = ((unsigned long)bi) + bi->deviceTreeOffset; bi 426 arch/powerpc/platforms/powermac/bootx_init.c static void __init btext_welcome(boot_infos_t *bi) bi 433 arch/powerpc/platforms/powermac/bootx_init.c bootx_printf("\nframe buffer at : 0x%x", bi->dispDeviceBase); bi 434 arch/powerpc/platforms/powermac/bootx_init.c bootx_printf(" (phys), 0x%x", bi->logicalDisplayBase); bi 437 arch/powerpc/platforms/powermac/bootx_init.c bootx_printf("\nboot_info at : 0x%x", bi); bi 454 arch/powerpc/platforms/powermac/bootx_init.c bi->deviceTreeOffset); bi 456 arch/powerpc/platforms/powermac/bootx_init.c bi->deviceTreeSize); bi 464 arch/powerpc/platforms/powermac/bootx_init.c boot_infos_t *bi = (boot_infos_t *) r4; bi 473 arch/powerpc/platforms/powermac/bootx_init.c bootx_info = bi; bi 482 arch/powerpc/platforms/powermac/bootx_init.c if (!BOOT_INFO_IS_V2_COMPATIBLE(bi)) bi 483 arch/powerpc/platforms/powermac/bootx_init.c bi->logicalDisplayBase = bi->dispDeviceBase; bi 486 arch/powerpc/platforms/powermac/bootx_init.c if (bi->dispDeviceDepth == 16) bi 487 arch/powerpc/platforms/powermac/bootx_init.c bi->dispDeviceDepth = 15; bi 491 arch/powerpc/platforms/powermac/bootx_init.c ptr = (unsigned long)bi->logicalDisplayBase; bi 492 arch/powerpc/platforms/powermac/bootx_init.c ptr += bi->dispDeviceRect[1] * bi->dispDeviceRowBytes; bi 493 arch/powerpc/platforms/powermac/bootx_init.c ptr += bi->dispDeviceRect[0] * ((bi->dispDeviceDepth + 7) / 8); bi 494 arch/powerpc/platforms/powermac/bootx_init.c btext_setup_display(bi->dispDeviceRect[2] - bi->dispDeviceRect[0], bi 495 arch/powerpc/platforms/powermac/bootx_init.c bi->dispDeviceRect[3] - bi->dispDeviceRect[1], bi 496 arch/powerpc/platforms/powermac/bootx_init.c bi->dispDeviceDepth, bi->dispDeviceRowBytes, bi 497 arch/powerpc/platforms/powermac/bootx_init.c (unsigned long)bi->logicalDisplayBase); bi 511 arch/powerpc/platforms/powermac/bootx_init.c if (!BOOT_INFO_IS_COMPATIBLE(bi)) { bi 517 arch/powerpc/platforms/powermac/bootx_init.c if (bi->architecture != BOOT_ARCH_PCI) { bi 525 arch/powerpc/platforms/powermac/bootx_init.c btext_welcome(bi); bi 531 arch/powerpc/platforms/powermac/bootx_init.c if (bi->version < 4) { bi 535 arch/powerpc/platforms/powermac/bootx_init.c model = (char *) bootx_early_getprop(r4 + bi->deviceTreeOffset, bi 548 arch/powerpc/platforms/powermac/bootx_init.c if (bi->version < 5) { bi 549 arch/powerpc/platforms/powermac/bootx_init.c space = bi->deviceTreeOffset + bi->deviceTreeSize; bi 550 arch/powerpc/platforms/powermac/bootx_init.c if (bi->ramDisk >= space) bi 551 arch/powerpc/platforms/powermac/bootx_init.c space = bi->ramDisk + bi->ramDiskSize; bi 553 arch/powerpc/platforms/powermac/bootx_init.c space = bi->totalParamsSize; bi 560 arch/powerpc/platforms/powermac/bootx_init.c if (bi->version < 4) { bi 571 arch/powerpc/platforms/powermac/bootx_init.c ptr < (unsigned long)bi + space; ptr += PAGE_SIZE) bi 1347 arch/powerpc/platforms/powernv/eeh-powernv.c data->bi.biDownbound ? "Downbound" : "Upbound"); bi 1349 arch/powerpc/platforms/powernv/eeh-powernv.c if (data->bi.biLdcp0 || data->bi.biLdcp1 || bi 1350 arch/powerpc/platforms/powernv/eeh-powernv.c data->bi.biLdcp2 || data->bi.biFenceStatus) bi 1352 arch/powerpc/platforms/powernv/eeh-powernv.c be64_to_cpu(data->bi.biLdcp0), bi 1353 arch/powerpc/platforms/powernv/eeh-powernv.c be64_to_cpu(data->bi.biLdcp1), bi 1354 arch/powerpc/platforms/powernv/eeh-powernv.c be64_to_cpu(data->bi.biLdcp2), bi 1355 arch/powerpc/platforms/powernv/eeh-powernv.c be64_to_cpu(data->bi.biFenceStatus)); bi 2354 arch/powerpc/xmon/ppc-opc.c #define EBD8IO(op, bo, bi) (BD8IO ((op)) | ((bo) << 10) | ((bi) << 8)) bi 2371 arch/powerpc/xmon/ppc-opc.c #define EBD15BI(op, aa, bo, bi, lk) (((op) & 0x3f) << 26) \ bi 2374 arch/powerpc/xmon/ppc-opc.c | (((bi) & 0x3) << 16) \ bi 385 arch/x86/boot/compressed/eboot.c struct apm_bios_info *bi; bi 426 arch/x86/boot/compressed/eboot.c bi = &boot_params->apm_bios_info; bi 454 arch/x86/boot/compressed/eboot.c memset(bi, 0, sizeof(*bi)); bi 238 arch/x86/mm/numa.c struct numa_memblk *bi = &mi->blk[i]; bi 241 arch/x86/mm/numa.c bi->start = max(bi->start, low); bi 242 arch/x86/mm/numa.c bi->end = min(bi->end, high); bi 245 arch/x86/mm/numa.c if (bi->start >= bi->end || bi 247 arch/x86/mm/numa.c bi->start, bi->end - bi->start)) bi 253 arch/x86/mm/numa.c struct numa_memblk *bi = &mi->blk[i]; bi 264 arch/x86/mm/numa.c if (bi->end > bj->start && bi->start < bj->end) { bi 265 arch/x86/mm/numa.c if (bi->nid != bj->nid) { bi 267 arch/x86/mm/numa.c bi->nid, bi->start, bi->end - 1, bi 272 arch/x86/mm/numa.c bi->nid, bi->start, bi->end - 1, bi 281 arch/x86/mm/numa.c if (bi->nid != bj->nid) bi 283 arch/x86/mm/numa.c start = min(bi->start, bj->start); bi 284 arch/x86/mm/numa.c end = max(bi->end, bj->end); bi 288 arch/x86/mm/numa.c if (bi->nid == bk->nid) bi 296 arch/x86/mm/numa.c bi->nid, bi->start, bi->end - 1, bj->start, bi 298 arch/x86/mm/numa.c bi->start = start; bi 299 arch/x86/mm/numa.c bi->end = end; bi 156 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 166 block/bio-integrity.c iter.interval = 1 << bi->interval_exp; bi 202 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 211 block/bio-integrity.c if (!bi) bi 225 block/bio-integrity.c if (!bi->profile->verify_fn || bi 226 block/bio-integrity.c !(bi->flags & BLK_INTEGRITY_VERIFY)) bi 229 block/bio-integrity.c if (!bi->profile->generate_fn || bi 230 block/bio-integrity.c !(bi->flags & BLK_INTEGRITY_GENERATE)) bi 233 block/bio-integrity.c intervals = bio_integrity_intervals(bi, bio_sectors(bio)); bi 236 block/bio-integrity.c len = intervals * bi->tuple_size; bi 261 block/bio-integrity.c if (bi->flags & BLK_INTEGRITY_IP_CHECKSUM) bi 297 block/bio-integrity.c bi->profile->generate_fn); bi 324 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 332 block/bio-integrity.c bi->profile->verify_fn); bi 350 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 354 block/bio-integrity.c (bip->bip_flags & BIP_BLOCK_INTEGRITY) && bi->profile->verify_fn) { bi 376 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 377 block/bio-integrity.c unsigned bytes = bio_integrity_bytes(bi, bytes_done >> 9); bi 392 block/bio-integrity.c struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); bi 394 block/bio-integrity.c bip->bip_iter.bi_size = bio_integrity_bytes(bi, bio_sectors(bio)); bi 227 block/blk-integrity.c struct blk_integrity *bi = &disk->queue->integrity; bi 231 block/blk-integrity.c return entry->show(bi, page); bi 239 block/blk-integrity.c struct blk_integrity *bi = &disk->queue->integrity; bi 245 block/blk-integrity.c ret = entry->store(bi, page, count); bi 250 block/blk-integrity.c static ssize_t integrity_format_show(struct blk_integrity *bi, char *page) bi 252 block/blk-integrity.c if (bi->profile && bi->profile->name) bi 253 block/blk-integrity.c return sprintf(page, "%s\n", bi->profile->name); bi 258 block/blk-integrity.c static ssize_t integrity_tag_size_show(struct blk_integrity *bi, char *page) bi 260 block/blk-integrity.c return sprintf(page, "%u\n", bi->tag_size); bi 263 block/blk-integrity.c static ssize_t integrity_interval_show(struct blk_integrity *bi, char *page) bi 266 block/blk-integrity.c bi->interval_exp ? 1 << bi->interval_exp : 0); bi 269 block/blk-integrity.c static ssize_t integrity_verify_store(struct blk_integrity *bi, bi 276 block/blk-integrity.c bi->flags |= BLK_INTEGRITY_VERIFY; bi 278 block/blk-integrity.c bi->flags &= ~BLK_INTEGRITY_VERIFY; bi 283 block/blk-integrity.c static ssize_t integrity_verify_show(struct blk_integrity *bi, char *page) bi 285 block/blk-integrity.c return sprintf(page, "%d\n", (bi->flags & BLK_INTEGRITY_VERIFY) != 0); bi 288 block/blk-integrity.c static ssize_t integrity_generate_store(struct blk_integrity *bi, bi 295 block/blk-integrity.c bi->flags |= BLK_INTEGRITY_GENERATE; bi 297 block/blk-integrity.c bi->flags &= ~BLK_INTEGRITY_GENERATE; bi 302 block/blk-integrity.c static ssize_t integrity_generate_show(struct blk_integrity *bi, char *page) bi 304 block/blk-integrity.c return sprintf(page, "%d\n", (bi->flags & BLK_INTEGRITY_GENERATE) != 0); bi 307 block/blk-integrity.c static ssize_t integrity_device_show(struct blk_integrity *bi, char *page) bi 310 block/blk-integrity.c (bi->flags & BLK_INTEGRITY_DEVICE_CAPABLE) != 0); bi 401 block/blk-integrity.c struct blk_integrity *bi = &disk->queue->integrity; bi 403 block/blk-integrity.c bi->flags = BLK_INTEGRITY_VERIFY | BLK_INTEGRITY_GENERATE | bi 405 block/blk-integrity.c bi->interval_exp = template->interval_exp ? : bi 407 block/blk-integrity.c bi->profile = template->profile ? template->profile : &nop_profile; bi 408 block/blk-integrity.c bi->tuple_size = template->tuple_size; bi 409 block/blk-integrity.c bi->tag_size = template->tag_size; bi 1153 crypto/aes_generic.c #define f_rn(bo, bi, n, k) do { \ bi 1154 crypto/aes_generic.c bo[n] = crypto_ft_tab[0][byte(bi[n], 0)] ^ \ bi 1155 crypto/aes_generic.c crypto_ft_tab[1][byte(bi[(n + 1) & 3], 1)] ^ \ bi 1156 crypto/aes_generic.c crypto_ft_tab[2][byte(bi[(n + 2) & 3], 2)] ^ \ bi 1157 crypto/aes_generic.c crypto_ft_tab[3][byte(bi[(n + 3) & 3], 3)] ^ *(k + n); \ bi 1160 crypto/aes_generic.c #define f_nround(bo, bi, k) do {\ bi 1161 crypto/aes_generic.c f_rn(bo, bi, 0, k); \ bi 1162 crypto/aes_generic.c f_rn(bo, bi, 1, k); \ bi 1163 crypto/aes_generic.c f_rn(bo, bi, 2, k); \ bi 1164 crypto/aes_generic.c f_rn(bo, bi, 3, k); \ bi 1168 crypto/aes_generic.c #define f_rl(bo, bi, n, k) do { \ bi 1169 crypto/aes_generic.c bo[n] = crypto_fl_tab[0][byte(bi[n], 0)] ^ \ bi 1170 crypto/aes_generic.c crypto_fl_tab[1][byte(bi[(n + 1) & 3], 1)] ^ \ bi 1171 crypto/aes_generic.c crypto_fl_tab[2][byte(bi[(n + 2) & 3], 2)] ^ \ bi 1172 crypto/aes_generic.c crypto_fl_tab[3][byte(bi[(n + 3) & 3], 3)] ^ *(k + n); \ bi 1175 crypto/aes_generic.c #define f_lround(bo, bi, k) do {\ bi 1176 crypto/aes_generic.c f_rl(bo, bi, 0, k); \ bi 1177 crypto/aes_generic.c f_rl(bo, bi, 1, k); \ bi 1178 crypto/aes_generic.c f_rl(bo, bi, 2, k); \ bi 1179 crypto/aes_generic.c f_rl(bo, bi, 3, k); \ bi 1223 crypto/aes_generic.c #define i_rn(bo, bi, n, k) do { \ bi 1224 crypto/aes_generic.c bo[n] = crypto_it_tab[0][byte(bi[n], 0)] ^ \ bi 1225 crypto/aes_generic.c crypto_it_tab[1][byte(bi[(n + 3) & 3], 1)] ^ \ bi 1226 crypto/aes_generic.c crypto_it_tab[2][byte(bi[(n + 2) & 3], 2)] ^ \ bi 1227 crypto/aes_generic.c crypto_it_tab[3][byte(bi[(n + 1) & 3], 3)] ^ *(k + n); \ bi 1230 crypto/aes_generic.c #define i_nround(bo, bi, k) do {\ bi 1231 crypto/aes_generic.c i_rn(bo, bi, 0, k); \ bi 1232 crypto/aes_generic.c i_rn(bo, bi, 1, k); \ bi 1233 crypto/aes_generic.c i_rn(bo, bi, 2, k); \ bi 1234 crypto/aes_generic.c i_rn(bo, bi, 3, k); \ bi 1238 crypto/aes_generic.c #define i_rl(bo, bi, n, k) do { \ bi 1239 crypto/aes_generic.c bo[n] = crypto_il_tab[0][byte(bi[n], 0)] ^ \ bi 1240 crypto/aes_generic.c crypto_il_tab[1][byte(bi[(n + 3) & 3], 1)] ^ \ bi 1241 crypto/aes_generic.c crypto_il_tab[2][byte(bi[(n + 2) & 3], 2)] ^ \ bi 1242 crypto/aes_generic.c crypto_il_tab[3][byte(bi[(n + 1) & 3], 3)] ^ *(k + n); \ bi 1245 crypto/aes_generic.c #define i_lround(bo, bi, k) do {\ bi 1246 crypto/aes_generic.c i_rl(bo, bi, 0, k); \ bi 1247 crypto/aes_generic.c i_rl(bo, bi, 1, k); \ bi 1248 crypto/aes_generic.c i_rl(bo, bi, 2, k); \ bi 1249 crypto/aes_generic.c i_rl(bo, bi, 3, k); \ bi 174 drivers/gpu/drm/i915/display/intel_bw.c struct intel_bw_info *bi = &dev_priv->max_bw[i]; bi 179 drivers/gpu/drm/i915/display/intel_bw.c bi->num_planes = (ipqdepth - clpchgroup) / clpchgroup + 1; bi 181 drivers/gpu/drm/i915/display/intel_bw.c bi->num_qgv_points = qi.num_points; bi 197 drivers/gpu/drm/i915/display/intel_bw.c bi->deratedbw[j] = min(maxdebw, bi 201 drivers/gpu/drm/i915/display/intel_bw.c i, j, bi->num_planes, bi->deratedbw[j]); bi 204 drivers/gpu/drm/i915/display/intel_bw.c if (bi->num_planes == 1) bi 217 drivers/gpu/drm/i915/display/intel_bw.c const struct intel_bw_info *bi = bi 224 drivers/gpu/drm/i915/display/intel_bw.c if (qgv_point >= bi->num_qgv_points) bi 227 drivers/gpu/drm/i915/display/intel_bw.c if (num_planes >= bi->num_planes) bi 228 drivers/gpu/drm/i915/display/intel_bw.c return bi->deratedbw[qgv_point]; bi 111 drivers/gpu/drm/nouveau/dispnv50/headc57d.c u16 ri = 0, gi = 0, bi = 0, i; bi 116 drivers/gpu/drm/nouveau/dispnv50/headc57d.c bi = (drm_color_lut_extract(in-> blue, 16) - b) / 4; bi 122 drivers/gpu/drm/nouveau/dispnv50/headc57d.c writew(b + bi * i, mem + 4); bi 111 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind); bi 112 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi, bi 114 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi, bool rebind); bi 115 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind); bi 116 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind); bi 117 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind); bi 118 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_so(struct vmw_ctx_bindinfo *bi, bool rebind); bi 120 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi, bi 122 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind); bi 123 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind); bi 280 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static void vmw_binding_drop(struct vmw_ctx_bindinfo *bi) bi 282 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c list_del(&bi->ctx_list); bi 283 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (!list_empty(&bi->res_list)) bi 284 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c list_del(&bi->res_list); bi 285 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c bi->ctx = NULL; bi 298 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi, bi 302 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_binding_loc(cbs, bi->bt, shader_slot, slot); bi 303 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_binding_info *b = &vmw_binding_infos[bi->bt]; bi 308 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c memcpy(loc, bi, b->size); bi 323 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi) bi 325 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c size_t offset = (unsigned long)bi - (unsigned long)from; bi 330 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c WARN_ON(bi->scrubbed); bi 335 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (bi->res != NULL) { bi 336 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c memcpy(loc, bi, vmw_binding_infos[bi->bt].size); bi 492 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind) bi 495 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 496 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 508 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.cid = bi->ctx->id; bi 510 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.shid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); bi 523 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi, bi 527 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 528 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 540 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.cid = bi->ctx->id; bi 542 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.target.sid = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); bi 559 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi, bi 563 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 564 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 579 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.c.cid = bi->ctx->id; bi 582 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.s1.value = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); bi 594 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi, bool rebind) bi 597 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 598 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 604 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd = VMW_FIFO_RESERVE_DX(dev_priv, sizeof(*cmd), bi->ctx->id); bi 611 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.shaderId = ((rebind) ? bi->res->id : SVGA3D_INVALID_ID); bi 623 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind) bi 626 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 627 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 633 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd = VMW_FIFO_RESERVE_DX(dev_priv, sizeof(*cmd), bi->ctx->id); bi 644 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.sid = bi->res->id; bi 670 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi, bi 674 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_view, bi); bi 681 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (!biv->bi.ctx) bi 685 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c ((biv->bi.scrubbed) ? bi 686 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c SVGA3D_INVALID_ID : biv->bi.res->id); bi 705 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi, bi 710 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_view, bi); bi 721 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c ((!biv->bi.ctx || biv->bi.scrubbed) ? bi 722 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c SVGA3D_INVALID_ID : biv->bi.res->id); bi 741 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c &cbs->per_shader[shader_slot].shader_res[0].bi; bi 782 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = &cbs->render_targets[0].bi; bi 800 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (cbs->ds_view.bi.ctx && !cbs->ds_view.bi.scrubbed) bi 801 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.depthStencilViewId = cbs->ds_view.bi.res->id; bi 828 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi, bi 832 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_so, bi); bi 841 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (!biso->bi.ctx) bi 844 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (!biso->bi.scrubbed) { bi 845 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c so_buffer->sid = biso->bi.res->id; bi 863 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *loc = &cbs->so_targets[0].bi; bi 933 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c const struct vmw_ctx_bindinfo *bi, bi 938 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_vb, bi); bi 949 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c if (!biv->bi.ctx || biv->bi.scrubbed) { bi 954 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vbs->sid = biv->bi.res->id; bi 976 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c &cbs->vertex_buffers[0].bi; bi 1059 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind) bi 1062 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_view, bi); bi 1064 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_context_binding_state(bi->ctx); bi 1081 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind) bi 1084 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_context_binding_state(bi->ctx); bi 1098 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_so(struct vmw_ctx_bindinfo *bi, bool rebind) bi 1101 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_context_binding_state(bi->ctx); bi 1115 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind) bi 1118 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, struct vmw_ctx_bindinfo_vb, bi); bi 1120 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c vmw_context_binding_state(bi->ctx); bi 1134 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind) bi 1137 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); bi 1138 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c struct vmw_private *dev_priv = bi->ctx->dev_priv; bi 1144 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd = VMW_FIFO_RESERVE_DX(dev_priv, sizeof(*cmd), bi->ctx->id); bi 1151 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c cmd->body.sid = bi->res->id; bi 85 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 96 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 110 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 125 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 139 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 154 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 168 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h struct vmw_ctx_bindinfo bi; bi 806 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 807 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = view; bi 808 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = binding_type; bi 811 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, bi 905 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx; bi 906 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 907 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_rt; bi 909 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(node->staged, &binding.bi, 0, binding.slot); bi 1666 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx; bi 1667 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 1668 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_tex; bi 1670 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(node->staged, &binding.bi, 0, bi 2049 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx; bi 2050 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2051 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_shader; bi 2053 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_info->staged, &binding.bi, binding.shader_slot, 0); bi 2134 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 2135 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2136 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_cb; bi 2150 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, binding.shader_slot, bi 2229 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 2230 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2231 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_dx_shader; bi 2234 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, binding.shader_slot, 0); bi 2281 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 2282 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_vb; bi 2283 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2288 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot); bi 2322 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 2323 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2324 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_ib; bi 2328 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, 0, 0); bi 2492 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.ctx = ctx_node->ctx; bi 2493 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.res = res; bi 2494 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c binding.bi.bt = vmw_ctx_binding_so, bi 2499 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot); bi 848 drivers/md/dm-crypt.c struct blk_integrity *bi = blk_get_integrity(cc->dev->bdev->bd_disk); bi 852 drivers/md/dm-crypt.c if (!bi || strcasecmp(bi->profile->name, "DM-DIF-EXT-TAG")) { bi 857 drivers/md/dm-crypt.c if (bi->tag_size != cc->on_disk_tag_size || bi 858 drivers/md/dm-crypt.c bi->tuple_size != cc->on_disk_tag_size) { bi 862 drivers/md/dm-crypt.c if (1 << bi->interval_exp != cc->sector_size) { bi 880 drivers/md/dm-crypt.c if ((cc->integrity_tag_size + cc->integrity_iv_size) != bi->tag_size) { bi 3133 drivers/md/dm-integrity.c struct blk_integrity bi; bi 3135 drivers/md/dm-integrity.c memset(&bi, 0, sizeof(bi)); bi 3136 drivers/md/dm-integrity.c bi.profile = &dm_integrity_profile; bi 3137 drivers/md/dm-integrity.c bi.tuple_size = ic->tag_size; bi 3138 drivers/md/dm-integrity.c bi.tag_size = bi.tuple_size; bi 3139 drivers/md/dm-integrity.c bi.interval_exp = ic->sb->log2_sectors_per_block + SECTOR_SHIFT; bi 3141 drivers/md/dm-integrity.c blk_integrity_register(disk, &bi); bi 510 drivers/md/md.c struct bio *bi; bi 514 drivers/md/md.c bi = bio_alloc_mddev(GFP_NOIO, 0, mddev); bi 515 drivers/md/md.c bi->bi_end_io = md_end_flush; bi 516 drivers/md/md.c bi->bi_private = rdev; bi 517 drivers/md/md.c bio_set_dev(bi, rdev->bdev); bi 518 drivers/md/md.c bi->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; bi 520 drivers/md/md.c submit_bio(bi); bi 8281 drivers/md/md.c bool md_write_start(struct mddev *mddev, struct bio *bi) bi 8285 drivers/md/md.c if (bio_data_dir(bi) != WRITE) bi 8338 drivers/md/md.c void md_write_inc(struct mddev *mddev, struct bio *bi) bi 8340 drivers/md/md.c if (bio_data_dir(bi) != WRITE) bi 698 drivers/md/md.h extern bool md_write_start(struct mddev *mddev, struct bio *bi); bi 699 drivers/md/md.h extern void md_write_inc(struct mddev *mddev, struct bio *bi); bi 2156 drivers/md/raid1.c struct bio_vec *bi; bi 2165 drivers/md/raid1.c bio_for_each_segment_all(bi, sbio, iter_all) bi 2166 drivers/md/raid1.c page_len[j++] = bi->bv_len; bi 609 drivers/md/raid5-cache.c struct bio *bi; bi 612 drivers/md/raid5-cache.c while ((bi = bio_list_pop(&io->flush_barriers)) != NULL) { bi 613 drivers/md/raid5-cache.c bio_endio(bi); bi 975 drivers/md/raid5.c raid5_end_read_request(struct bio *bi); bi 977 drivers/md/raid5.c raid5_end_write_request(struct bio *bi); bi 997 drivers/md/raid5.c struct bio *bi, *rbi; bi 1019 drivers/md/raid5.c bi = &sh->dev[i].req; bi 1096 drivers/md/raid5.c bio_set_dev(bi, rdev->bdev); bi 1097 drivers/md/raid5.c bio_set_op_attrs(bi, op, op_flags); bi 1098 drivers/md/raid5.c bi->bi_end_io = op_is_write(op) bi 1101 drivers/md/raid5.c bi->bi_private = sh; bi 1105 drivers/md/raid5.c bi->bi_opf, i); bi 1110 drivers/md/raid5.c bi->bi_iter.bi_sector = (sh->sector bi 1113 drivers/md/raid5.c bi->bi_iter.bi_sector = (sh->sector bi 1116 drivers/md/raid5.c bi->bi_opf |= REQ_NOMERGE; bi 1131 drivers/md/raid5.c bi->bi_vcnt = 1; bi 1132 drivers/md/raid5.c bi->bi_io_vec[0].bv_len = STRIPE_SIZE; bi 1133 drivers/md/raid5.c bi->bi_io_vec[0].bv_offset = 0; bi 1134 drivers/md/raid5.c bi->bi_iter.bi_size = STRIPE_SIZE; bi 1135 drivers/md/raid5.c bi->bi_write_hint = sh->dev[i].write_hint; bi 1143 drivers/md/raid5.c bi->bi_vcnt = 0; bi 1148 drivers/md/raid5.c trace_block_bio_remap(bi->bi_disk->queue, bi 1149 drivers/md/raid5.c bi, disk_devt(conf->mddev->gendisk), bi 1152 drivers/md/raid5.c bio_list_add(&pending_bios, bi); bi 1154 drivers/md/raid5.c generic_make_request(bi); bi 1210 drivers/md/raid5.c bi->bi_opf, i, (unsigned long long)sh->sector); bi 2461 drivers/md/raid5.c static void raid5_end_read_request(struct bio * bi) bi 2463 drivers/md/raid5.c struct stripe_head *sh = bi->bi_private; bi 2471 drivers/md/raid5.c if (bi == &sh->dev[i].req) bi 2476 drivers/md/raid5.c bi->bi_status); bi 2478 drivers/md/raid5.c bio_reset(bi); bi 2496 drivers/md/raid5.c if (!bi->bi_status) { bi 2529 drivers/md/raid5.c if (!(bi->bi_status == BLK_STS_PROTECTION)) bi 2586 drivers/md/raid5.c bio_reset(bi); bi 2592 drivers/md/raid5.c static void raid5_end_write_request(struct bio *bi) bi 2594 drivers/md/raid5.c struct stripe_head *sh = bi->bi_private; bi 2603 drivers/md/raid5.c if (bi == &sh->dev[i].req) { bi 2607 drivers/md/raid5.c if (bi == &sh->dev[i].rreq) { bi 2622 drivers/md/raid5.c bi->bi_status); bi 2624 drivers/md/raid5.c bio_reset(bi); bi 2630 drivers/md/raid5.c if (bi->bi_status) bi 2637 drivers/md/raid5.c if (bi->bi_status) { bi 2658 drivers/md/raid5.c if (sh->batch_head && bi->bi_status && !replacement) bi 2661 drivers/md/raid5.c bio_reset(bi); bi 3205 drivers/md/raid5.c static int add_stripe_bio(struct stripe_head *sh, struct bio *bi, int dd_idx, bi 3213 drivers/md/raid5.c (unsigned long long)bi->bi_iter.bi_sector, bi 3217 drivers/md/raid5.c sh->dev[dd_idx].write_hint = bi->bi_write_hint; bi 3227 drivers/md/raid5.c while (*bip && (*bip)->bi_iter.bi_sector < bi->bi_iter.bi_sector) { bi 3228 drivers/md/raid5.c if (bio_end_sector(*bip) > bi->bi_iter.bi_sector) bi 3232 drivers/md/raid5.c if (*bip && (*bip)->bi_iter.bi_sector < bio_end_sector(bi)) bi 3268 drivers/md/raid5.c BUG_ON(*bip && bi->bi_next && (*bip) != bi->bi_next); bi 3270 drivers/md/raid5.c bi->bi_next = *bip; bi 3271 drivers/md/raid5.c *bip = bi; bi 3272 drivers/md/raid5.c bio_inc_remaining(bi); bi 3273 drivers/md/raid5.c md_write_inc(conf->mddev, bi); bi 3278 drivers/md/raid5.c for (bi=sh->dev[dd_idx].towrite; bi 3280 drivers/md/raid5.c bi && bi->bi_iter.bi_sector <= sector; bi 3281 drivers/md/raid5.c bi = r5_next_bio(bi, sh->dev[dd_idx].sector)) { bi 3282 drivers/md/raid5.c if (bio_end_sector(bi) >= sector) bi 3283 drivers/md/raid5.c sector = bio_end_sector(bi); bi 3355 drivers/md/raid5.c struct bio *bi; bi 3379 drivers/md/raid5.c bi = sh->dev[i].towrite; bi 3383 drivers/md/raid5.c if (bi) bi 3391 drivers/md/raid5.c while (bi && bi->bi_iter.bi_sector < bi 3393 drivers/md/raid5.c struct bio *nextbi = r5_next_bio(bi, sh->dev[i].sector); bi 3396 drivers/md/raid5.c bio_io_error(bi); bi 3397 drivers/md/raid5.c bi = nextbi; bi 3404 drivers/md/raid5.c bi = sh->dev[i].written; bi 3411 drivers/md/raid5.c if (bi) bitmap_end = 1; bi 3412 drivers/md/raid5.c while (bi && bi->bi_iter.bi_sector < bi 3414 drivers/md/raid5.c struct bio *bi2 = r5_next_bio(bi, sh->dev[i].sector); bi 3417 drivers/md/raid5.c bio_io_error(bi); bi 3418 drivers/md/raid5.c bi = bi2; bi 3429 drivers/md/raid5.c bi = sh->dev[i].toread; bi 3434 drivers/md/raid5.c if (bi) bi 3436 drivers/md/raid5.c while (bi && bi->bi_iter.bi_sector < bi 3439 drivers/md/raid5.c r5_next_bio(bi, sh->dev[i].sector); bi 3441 drivers/md/raid5.c bio_io_error(bi); bi 3442 drivers/md/raid5.c bi = nextbi; bi 5135 drivers/md/raid5.c static void add_bio_to_retry(struct bio *bi,struct r5conf *conf) bi 5141 drivers/md/raid5.c bi->bi_next = conf->retry_read_aligned_list; bi 5142 drivers/md/raid5.c conf->retry_read_aligned_list = bi; bi 5151 drivers/md/raid5.c struct bio *bi; bi 5153 drivers/md/raid5.c bi = conf->retry_read_aligned; bi 5154 drivers/md/raid5.c if (bi) { bi 5157 drivers/md/raid5.c return bi; bi 5159 drivers/md/raid5.c bi = conf->retry_read_aligned_list; bi 5160 drivers/md/raid5.c if(bi) { bi 5161 drivers/md/raid5.c conf->retry_read_aligned_list = bi->bi_next; bi 5162 drivers/md/raid5.c bi->bi_next = NULL; bi 5166 drivers/md/raid5.c return bi; bi 5175 drivers/md/raid5.c static void raid5_align_endio(struct bio *bi) bi 5177 drivers/md/raid5.c struct bio* raid_bi = bi->bi_private; bi 5181 drivers/md/raid5.c blk_status_t error = bi->bi_status; bi 5183 drivers/md/raid5.c bio_put(bi); bi 5490 drivers/md/raid5.c static void make_discard_request(struct mddev *mddev, struct bio *bi) bi 5501 drivers/md/raid5.c logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); bi 5502 drivers/md/raid5.c last_sector = bio_end_sector(bi); bi 5504 drivers/md/raid5.c bi->bi_next = NULL; bi 5548 drivers/md/raid5.c sh->dev[d].towrite = bi; bi 5550 drivers/md/raid5.c bio_inc_remaining(bi); bi 5551 drivers/md/raid5.c md_write_inc(mddev, bi); bi 5574 drivers/md/raid5.c bio_endio(bi); bi 5577 drivers/md/raid5.c static bool raid5_make_request(struct mddev *mddev, struct bio * bi) bi 5584 drivers/md/raid5.c const int rw = bio_data_dir(bi); bi 5589 drivers/md/raid5.c if (unlikely(bi->bi_opf & REQ_PREFLUSH)) { bi 5590 drivers/md/raid5.c int ret = log_handle_flush_request(conf, bi); bi 5595 drivers/md/raid5.c if (md_flush_request(mddev, bi)) bi 5603 drivers/md/raid5.c do_flush = bi->bi_opf & REQ_PREFLUSH; bi 5606 drivers/md/raid5.c if (!md_write_start(mddev, bi)) bi 5615 drivers/md/raid5.c bi = chunk_aligned_read(mddev, bi); bi 5616 drivers/md/raid5.c if (!bi) bi 5620 drivers/md/raid5.c if (unlikely(bio_op(bi) == REQ_OP_DISCARD)) { bi 5621 drivers/md/raid5.c make_discard_request(mddev, bi); bi 5626 drivers/md/raid5.c logical_sector = bi->bi_iter.bi_sector & ~((sector_t)STRIPE_SECTORS-1); bi 5627 drivers/md/raid5.c last_sector = bio_end_sector(bi); bi 5628 drivers/md/raid5.c bi->bi_next = NULL; bi 5677 drivers/md/raid5.c (bi->bi_opf & REQ_RAHEAD), 0); bi 5712 drivers/md/raid5.c !add_stripe_bio(sh, bi, dd_idx, rw, previous)) { bi 5733 drivers/md/raid5.c (bi->bi_opf & REQ_SYNC) && bi 5739 drivers/md/raid5.c bi->bi_status = BLK_STS_IOERR; bi 5747 drivers/md/raid5.c bio_endio(bi); bi 106 drivers/media/pci/saa7164/saa7164-dvb.c struct i2c_board_info bi; bi 111 drivers/media/pci/saa7164/saa7164-dvb.c memset(&bi, 0, sizeof(bi)); bi 113 drivers/media/pci/saa7164/saa7164-dvb.c strscpy(bi.type, "si2157", I2C_NAME_SIZE); bi 114 drivers/media/pci/saa7164/saa7164-dvb.c bi.platform_data = cfg; bi 115 drivers/media/pci/saa7164/saa7164-dvb.c bi.addr = addr8bit >> 1; bi 117 drivers/media/pci/saa7164/saa7164-dvb.c request_module(bi.type); bi 119 drivers/media/pci/saa7164/saa7164-dvb.c tuner = i2c_new_device(adapter, &bi); bi 409 drivers/media/pci/ttpci/budget-core.c struct budget_info *bi = info->ext_priv; bi 417 drivers/media/pci/ttpci/budget-core.c budget->card = bi; bi 481 drivers/media/pci/ttpci/budget-core.c if (bi->type != BUDGET_FS_ACTIVY) bi 490 drivers/media/pci/ttpci/budget-core.c if (bi->type != BUDGET_FS_ACTIVY) bi 520 drivers/media/pci/ttpci/budget-core.c if (bi->type != BUDGET_FS_ACTIVY) bi 190 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_info *bi; bi 194 drivers/media/platform/qcom/venus/hfi_cmds.c (bd->num_buffers * sizeof(*bi)); bi 195 drivers/media/platform/qcom/venus/hfi_cmds.c bi = (struct hfi_buffer_info *)pkt->buffer_info; bi 197 drivers/media/platform/qcom/venus/hfi_cmds.c bi->buffer_addr = bd->device_addr; bi 198 drivers/media/platform/qcom/venus/hfi_cmds.c bi->extradata_addr = bd->extradata_addr; bi 228 drivers/media/platform/qcom/venus/hfi_cmds.c struct hfi_buffer_info *bi; bi 230 drivers/media/platform/qcom/venus/hfi_cmds.c bi = (struct hfi_buffer_info *)pkt->buffer_info; bi 232 drivers/media/platform/qcom/venus/hfi_cmds.c bi->buffer_addr = bd->device_addr; bi 233 drivers/media/platform/qcom/venus/hfi_cmds.c bi->extradata_addr = bd->extradata_addr; bi 237 drivers/media/platform/qcom/venus/hfi_cmds.c sizeof(u32) + (bd->num_buffers * sizeof(*bi)); bi 850 drivers/net/can/usb/peak_usb/pcan_usb_pro.c struct pcan_usb_pro_blinfo *bi = NULL; bi 859 drivers/net/can/usb/peak_usb/pcan_usb_pro.c bi = kmalloc(sizeof(struct pcan_usb_pro_blinfo), GFP_KERNEL); bi 860 drivers/net/can/usb/peak_usb/pcan_usb_pro.c if (!usb_if || !fi || !bi) { bi 885 drivers/net/can/usb/peak_usb/pcan_usb_pro.c bi, sizeof(*bi)); bi 901 drivers/net/can/usb/peak_usb/pcan_usb_pro.c bi->hw_rev, bi->serial_num_hi, bi->serial_num_lo, bi 913 drivers/net/can/usb/peak_usb/pcan_usb_pro.c kfree(bi); bi 919 drivers/net/can/usb/peak_usb/pcan_usb_pro.c kfree(bi); bi 753 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bnad_per_q_stats_fill(struct bnad *bnad, u64 *buf, int bi) bi 766 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i].rx_ctrl[j]. bi 768 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = 0; /* ccb->consumer_index */ bi 769 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = *(bnad->rx_info[i].rx_ctrl[j]. bi 772 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i]. bi 774 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i]. bi 776 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i]. bi 778 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i]. bi 780 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = bnad->rx_info[i]. bi 794 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rx_packets; bi 795 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rx_bytes; bi 796 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq-> bi 798 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq-> bi 800 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rxbuf_map_failed; bi 801 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->producer_index; bi 802 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->consumer_index; bi 809 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rx_packets; bi 810 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rx_bytes; bi 811 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq-> bi 813 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq-> bi 815 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->rxq->rxbuf_map_failed; bi 816 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->producer_index; bi 817 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = rcb->consumer_index; bi 829 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = tcb->txq->tx_packets; bi 830 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = tcb->txq->tx_bytes; bi 831 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = tcb->producer_index; bi 832 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = tcb->consumer_index; bi 833 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = *(tcb->hw_consumer_index); bi 837 drivers/net/ethernet/brocade/bna/bnad_ethtool.c return bi; bi 845 drivers/net/ethernet/brocade/bna/bnad_ethtool.c int i, j, bi = 0; bi 867 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_packets; bi 868 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.tx_packets; bi 869 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_bytes; bi 870 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.tx_bytes; bi 871 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_errors; bi 872 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.tx_errors; bi 873 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_dropped; bi 874 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.tx_dropped; bi 875 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.multicast; bi 876 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.collisions; bi 877 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_length_errors; bi 878 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_crc_errors; bi 879 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.rx_frame_errors; bi 880 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = net_stats64.tx_fifo_errors; bi 888 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = stats64[i]; bi 896 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = stats64[i]; bi 906 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = stats64[j]; bi 919 drivers/net/ethernet/brocade/bna/bnad_ethtool.c buf[bi++] = stats64[j]; bi 925 drivers/net/ethernet/brocade/bna/bnad_ethtool.c bi = bnad_per_q_stats_fill(bnad, buf, bi); bi 346 drivers/net/ethernet/chelsio/cxgb/common.h int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, bi 349 drivers/net/ethernet/chelsio/cxgb/common.h int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi); bi 44 drivers/net/ethernet/chelsio/cxgb/cphy.h void (*init)(adapter_t *adapter, const struct board_info *bi); bi 983 drivers/net/ethernet/chelsio/cxgb/cxgb2.c const struct board_info *bi; bi 1025 drivers/net/ethernet/chelsio/cxgb/cxgb2.c bi = t1_get_board_info(ent->driver_data); bi 1027 drivers/net/ethernet/chelsio/cxgb/cxgb2.c for (i = 0; i < bi->port_number; ++i) { bi 1051 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (t1_get_board_rev(adapter, bi, &adapter->params)) { bi 1095 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (!(is_T2(adapter)) || bi->port_number != 4) { bi 1109 drivers/net/ethernet/chelsio/cxgb/cxgb2.c switch (bi->board) { bi 1126 drivers/net/ethernet/chelsio/cxgb/cxgb2.c if (t1_init_sw_modules(adapter, bi) < 0) { bi 1137 drivers/net/ethernet/chelsio/cxgb/cxgb2.c for (i = 0; i < bi->port_number; ++i) { bi 1160 drivers/net/ethernet/chelsio/cxgb/cxgb2.c adapter->name, bi->desc, adapter->params.chip_revision, bi 1182 drivers/net/ethernet/chelsio/cxgb/cxgb2.c for (i = bi->port_number - 1; i >= 0; --i) bi 268 drivers/net/ethernet/chelsio/cxgb/subr.c static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) bi 270 drivers/net/ethernet/chelsio/cxgb/subr.c u32 clkdiv = bi->clock_elmer0 / (2 * bi->mdio_mdc) - 1; bi 271 drivers/net/ethernet/chelsio/cxgb/subr.c u32 val = F_MI1_PREAMBLE_ENABLE | V_MI1_MDI_INVERT(bi->mdio_mdiinv) | bi 272 drivers/net/ethernet/chelsio/cxgb/subr.c V_MI1_MDI_ENABLE(bi->mdio_mdien) | V_MI1_CLK_DIV(clkdiv); bi 274 drivers/net/ethernet/chelsio/cxgb/subr.c if (!(bi->caps & SUPPORTED_10000baseT_Full)) bi 894 drivers/net/ethernet/chelsio/cxgb/subr.c int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, bi 897 drivers/net/ethernet/chelsio/cxgb/subr.c p->chip_version = bi->chip_term; bi 920 drivers/net/ethernet/chelsio/cxgb/subr.c static int board_init(adapter_t *adapter, const struct board_info *bi) bi 922 drivers/net/ethernet/chelsio/cxgb/subr.c switch (bi->board) { bi 965 drivers/net/ethernet/chelsio/cxgb/subr.c const struct board_info *bi = board_info(adapter); bi 967 drivers/net/ethernet/chelsio/cxgb/subr.c if (!bi->clock_mc4) { bi 975 drivers/net/ethernet/chelsio/cxgb/subr.c if (adapter->espi && t1_espi_init(adapter->espi, bi->chip_mac, bi 976 drivers/net/ethernet/chelsio/cxgb/subr.c bi->espi_nports)) bi 979 drivers/net/ethernet/chelsio/cxgb/subr.c if (t1_tp_reset(adapter->tp, &adapter->params.tp, bi->clock_core)) bi 1031 drivers/net/ethernet/chelsio/cxgb/subr.c const struct board_info *bi) bi 1033 drivers/net/ethernet/chelsio/cxgb/subr.c lc->supported = bi->caps; bi 1051 drivers/net/ethernet/chelsio/cxgb/subr.c int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi) bi 1055 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->params.brd_info = bi; bi 1056 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->params.nports = bi->port_number; bi 1057 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->params.stats_update_period = bi->gmac->stats_update_period; bi 1066 drivers/net/ethernet/chelsio/cxgb/subr.c if (bi->espi_nports && !(adapter->espi = t1_espi_create(adapter))) { bi 1079 drivers/net/ethernet/chelsio/cxgb/subr.c board_init(adapter, bi); bi 1080 drivers/net/ethernet/chelsio/cxgb/subr.c bi->mdio_ops->init(adapter, bi); bi 1081 drivers/net/ethernet/chelsio/cxgb/subr.c if (bi->gphy->reset) bi 1082 drivers/net/ethernet/chelsio/cxgb/subr.c bi->gphy->reset(adapter); bi 1083 drivers/net/ethernet/chelsio/cxgb/subr.c if (bi->gmac->reset) bi 1084 drivers/net/ethernet/chelsio/cxgb/subr.c bi->gmac->reset(adapter); bi 1089 drivers/net/ethernet/chelsio/cxgb/subr.c int phy_addr = bi->mdio_phybaseaddr + i; bi 1091 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->port[i].phy = bi->gphy->create(adapter->port[i].dev, bi 1092 drivers/net/ethernet/chelsio/cxgb/subr.c phy_addr, bi->mdio_ops); bi 1099 drivers/net/ethernet/chelsio/cxgb/subr.c adapter->port[i].mac = mac = bi->gmac->create(adapter, i); bi 1110 drivers/net/ethernet/chelsio/cxgb/subr.c if (!t1_is_asic(adapter) || bi->chip_mac == CHBT_MAC_DUMMY) bi 1118 drivers/net/ethernet/chelsio/cxgb/subr.c init_link_config(&adapter->port[i].link_config, bi); bi 3972 drivers/net/ethernet/intel/e1000/e1000_main.c static void e1000_consume_page(struct e1000_rx_buffer *bi, struct sk_buff *skb, bi 3975 drivers/net/ethernet/intel/e1000/e1000_main.c bi->rxbuf.page = NULL; bi 175 drivers/net/ethernet/intel/e1000e/netdev.c struct e1000_buffer *bi) bi 181 drivers/net/ethernet/intel/e1000e/netdev.c ps_page = &bi->ps_pages[i]; bi 1490 drivers/net/ethernet/intel/e1000e/netdev.c static void e1000_consume_page(struct e1000_buffer *bi, struct sk_buff *skb, bi 1493 drivers/net/ethernet/intel/e1000e/netdev.c bi->page = NULL; bi 71 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_rx_buffer *bi) bi 73 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct page *page = bi->page; bi 100 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi->dma = dma; bi 101 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi->page = page; bi 102 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi->page_offset = 0; bi 115 drivers/net/ethernet/intel/fm10k/fm10k_main.c struct fm10k_rx_buffer *bi; bi 123 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi = &rx_ring->rx_buffer[i]; bi 127 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!fm10k_alloc_mapped_page(rx_ring, bi)) bi 133 drivers/net/ethernet/intel/fm10k/fm10k_main.c rx_desc->q.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 136 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi++; bi 140 drivers/net/ethernet/intel/fm10k/fm10k_main.c bi = rx_ring->rx_buffer; bi 122 drivers/net/ethernet/intel/i40e/i40e_adminq.c struct i40e_dma_mem *bi; bi 138 drivers/net/ethernet/intel/i40e/i40e_adminq.c bi = &hw->aq.arq.r.arq_bi[i]; bi 139 drivers/net/ethernet/intel/i40e/i40e_adminq.c ret_code = i40e_allocate_dma_mem(hw, bi, bi 156 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); bi 161 drivers/net/ethernet/intel/i40e/i40e_adminq.c cpu_to_le32(upper_32_bits(bi->pa)); bi 163 drivers/net/ethernet/intel/i40e/i40e_adminq.c cpu_to_le32(lower_32_bits(bi->pa)); bi 188 drivers/net/ethernet/intel/i40e/i40e_adminq.c struct i40e_dma_mem *bi; bi 200 drivers/net/ethernet/intel/i40e/i40e_adminq.c bi = &hw->aq.asq.r.asq_bi[i]; bi 201 drivers/net/ethernet/intel/i40e/i40e_adminq.c ret_code = i40e_allocate_dma_mem(hw, bi, bi 951 drivers/net/ethernet/intel/i40e/i40e_adminq.c struct i40e_dma_mem *bi; bi 1008 drivers/net/ethernet/intel/i40e/i40e_adminq.c bi = &hw->aq.arq.r.arq_bi[ntc]; bi 1014 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); bi 1015 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->params.external.addr_high = cpu_to_le32(upper_32_bits(bi->pa)); bi 1016 drivers/net/ethernet/intel/i40e/i40e_adminq.c desc->params.external.addr_low = cpu_to_le32(lower_32_bits(bi->pa)); bi 1519 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct i40e_rx_buffer *bi) bi 1521 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct page *page = bi->page; bi 1552 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi->dma = dma; bi 1553 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi->page = page; bi 1554 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi->page_offset = i40e_rx_offset(rx_ring); bi 1556 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi->pagecnt_bias = USHRT_MAX; bi 1572 drivers/net/ethernet/intel/i40e/i40e_txrx.c struct i40e_rx_buffer *bi; bi 1579 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi = &rx_ring->rx_bi[ntu]; bi 1582 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (!i40e_alloc_mapped_page(rx_ring, bi)) bi 1586 drivers/net/ethernet/intel/i40e/i40e_txrx.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 1587 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi->page_offset, bi 1594 drivers/net/ethernet/intel/i40e/i40e_txrx.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 1597 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi++; bi 1601 drivers/net/ethernet/intel/i40e/i40e_txrx.c bi = rx_ring->rx_bi; bi 246 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi) bi 249 drivers/net/ethernet/intel/i40e/i40e_xsk.c void *addr = bi->addr; bi 264 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma = xdp_umem_get_dma(umem, handle); bi 265 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma += hr; bi 267 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr = xdp_umem_get_data(umem, handle); bi 268 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr += hr; bi 270 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); bi 287 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi) bi 301 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma = xdp_umem_get_dma(umem, handle); bi 302 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma += hr; bi 304 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr = xdp_umem_get_data(umem, handle); bi 305 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr += hr; bi 307 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); bi 316 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi)) bi 320 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi; bi 324 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = &rx_ring->rx_bi[ntu]; bi 326 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (!alloc(rx_ring, bi)) { bi 331 drivers/net/ethernet/intel/i40e/i40e_xsk.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, 0, bi 335 drivers/net/ethernet/intel/i40e/i40e_xsk.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma); bi 338 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi++; bi 343 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = rx_ring->rx_bi; bi 403 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi; bi 405 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = &rx_ring->rx_bi[rx_ring->next_to_clean]; bi 409 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma, 0, bi 413 drivers/net/ethernet/intel/i40e/i40e_xsk.c return bi; bi 449 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi; bi 459 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = &rx_ring->rx_bi[nta]; bi 466 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma = xdp_umem_get_dma(rx_ring->xsk_umem, handle); bi 467 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->dma += hr; bi 469 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr = xdp_umem_get_data(rx_ring->xsk_umem, handle); bi 470 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr += hr; bi 472 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->handle = xsk_umem_adjust_offset(rx_ring->xsk_umem, (u64)handle, bi 487 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi, bi 506 drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_reuse_rx_buffer_zc(rx_ring, bi); bi 542 drivers/net/ethernet/intel/i40e/i40e_xsk.c struct i40e_rx_buffer *bi; bi 563 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = i40e_clean_programming_status(rx_ring, rx_desc, bi 565 drivers/net/ethernet/intel/i40e/i40e_xsk.c if (unlikely(bi)) { bi 566 drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_reuse_rx_buffer_zc(rx_ring, bi); bi 576 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi = i40e_get_rx_buffer_zc(rx_ring, size); bi 577 drivers/net/ethernet/intel/i40e/i40e_xsk.c xdp.data = bi->addr; bi 581 drivers/net/ethernet/intel/i40e/i40e_xsk.c xdp.handle = bi->handle; bi 587 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->addr = NULL; bi 589 drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_reuse_rx_buffer_zc(rx_ring, bi); bi 607 drivers/net/ethernet/intel/i40e/i40e_xsk.c skb = i40e_construct_skb_zc(rx_ring, bi, &xdp); bi 106 drivers/net/ethernet/intel/iavf/iavf_adminq.c struct iavf_dma_mem *bi; bi 124 drivers/net/ethernet/intel/iavf/iavf_adminq.c bi = &hw->aq.arq.r.arq_bi[i]; bi 125 drivers/net/ethernet/intel/iavf/iavf_adminq.c ret_code = iavf_allocate_dma_mem(hw, bi, bi 142 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); bi 147 drivers/net/ethernet/intel/iavf/iavf_adminq.c cpu_to_le32(upper_32_bits(bi->pa)); bi 149 drivers/net/ethernet/intel/iavf/iavf_adminq.c cpu_to_le32(lower_32_bits(bi->pa)); bi 173 drivers/net/ethernet/intel/iavf/iavf_adminq.c struct iavf_dma_mem *bi; bi 187 drivers/net/ethernet/intel/iavf/iavf_adminq.c bi = &hw->aq.asq.r.asq_bi[i]; bi 188 drivers/net/ethernet/intel/iavf/iavf_adminq.c ret_code = iavf_allocate_dma_mem(hw, bi, bi 852 drivers/net/ethernet/intel/iavf/iavf_adminq.c struct iavf_dma_mem *bi; bi 909 drivers/net/ethernet/intel/iavf/iavf_adminq.c bi = &hw->aq.arq.r.arq_bi[ntc]; bi 915 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->datalen = cpu_to_le16((u16)bi->size); bi 916 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->params.external.addr_high = cpu_to_le32(upper_32_bits(bi->pa)); bi 917 drivers/net/ethernet/intel/iavf/iavf_adminq.c desc->params.external.addr_low = cpu_to_le32(lower_32_bits(bi->pa)); bi 811 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct iavf_rx_buffer *bi) bi 813 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct page *page = bi->page; bi 844 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi->dma = dma; bi 845 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi->page = page; bi 846 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi->page_offset = iavf_rx_offset(rx_ring); bi 849 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi->pagecnt_bias = 1; bi 883 drivers/net/ethernet/intel/iavf/iavf_txrx.c struct iavf_rx_buffer *bi; bi 890 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi = &rx_ring->rx_bi[ntu]; bi 893 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (!iavf_alloc_mapped_page(rx_ring, bi)) bi 897 drivers/net/ethernet/intel/iavf/iavf_txrx.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 898 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi->page_offset, bi 905 drivers/net/ethernet/intel/iavf/iavf_txrx.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 908 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi++; bi 912 drivers/net/ethernet/intel/iavf/iavf_txrx.c bi = rx_ring->rx_bi; bi 159 drivers/net/ethernet/intel/ice/ice_controlq.c struct ice_dma_mem *bi; bi 161 drivers/net/ethernet/intel/ice/ice_controlq.c bi = &cq->rq.r.rq_bi[i]; bi 162 drivers/net/ethernet/intel/ice/ice_controlq.c bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), bi 163 drivers/net/ethernet/intel/ice/ice_controlq.c cq->rq_buf_size, &bi->pa, bi 165 drivers/net/ethernet/intel/ice/ice_controlq.c if (!bi->va) bi 167 drivers/net/ethernet/intel/ice/ice_controlq.c bi->size = cq->rq_buf_size; bi 179 drivers/net/ethernet/intel/ice/ice_controlq.c desc->datalen = cpu_to_le16(bi->size); bi 184 drivers/net/ethernet/intel/ice/ice_controlq.c cpu_to_le32(upper_32_bits(bi->pa)); bi 186 drivers/net/ethernet/intel/ice/ice_controlq.c cpu_to_le32(lower_32_bits(bi->pa)); bi 226 drivers/net/ethernet/intel/ice/ice_controlq.c struct ice_dma_mem *bi; bi 228 drivers/net/ethernet/intel/ice/ice_controlq.c bi = &cq->sq.r.sq_bi[i]; bi 229 drivers/net/ethernet/intel/ice/ice_controlq.c bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), bi 230 drivers/net/ethernet/intel/ice/ice_controlq.c cq->sq_buf_size, &bi->pa, bi 232 drivers/net/ethernet/intel/ice/ice_controlq.c if (!bi->va) bi 234 drivers/net/ethernet/intel/ice/ice_controlq.c bi->size = cq->sq_buf_size; bi 1041 drivers/net/ethernet/intel/ice/ice_controlq.c struct ice_dma_mem *bi; bi 1095 drivers/net/ethernet/intel/ice/ice_controlq.c bi = &cq->rq.r.rq_bi[ntc]; bi 1101 drivers/net/ethernet/intel/ice/ice_controlq.c desc->datalen = cpu_to_le16(bi->size); bi 1102 drivers/net/ethernet/intel/ice/ice_controlq.c desc->params.generic.addr_high = cpu_to_le32(upper_32_bits(bi->pa)); bi 1103 drivers/net/ethernet/intel/ice/ice_controlq.c desc->params.generic.addr_low = cpu_to_le32(lower_32_bits(bi->pa)); bi 414 drivers/net/ethernet/intel/ice/ice_txrx.c ice_alloc_mapped_page(struct ice_ring *rx_ring, struct ice_rx_buf *bi) bi 416 drivers/net/ethernet/intel/ice/ice_txrx.c struct page *page = bi->page; bi 445 drivers/net/ethernet/intel/ice/ice_txrx.c bi->dma = dma; bi 446 drivers/net/ethernet/intel/ice/ice_txrx.c bi->page = page; bi 447 drivers/net/ethernet/intel/ice/ice_txrx.c bi->page_offset = 0; bi 449 drivers/net/ethernet/intel/ice/ice_txrx.c bi->pagecnt_bias = USHRT_MAX; bi 471 drivers/net/ethernet/intel/ice/ice_txrx.c struct ice_rx_buf *bi; bi 479 drivers/net/ethernet/intel/ice/ice_txrx.c bi = &rx_ring->rx_buf[ntu]; bi 483 drivers/net/ethernet/intel/ice/ice_txrx.c if (!ice_alloc_mapped_page(rx_ring, bi)) bi 487 drivers/net/ethernet/intel/ice/ice_txrx.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 488 drivers/net/ethernet/intel/ice/ice_txrx.c bi->page_offset, bi 495 drivers/net/ethernet/intel/ice/ice_txrx.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 498 drivers/net/ethernet/intel/ice/ice_txrx.c bi++; bi 502 drivers/net/ethernet/intel/ice/ice_txrx.c bi = rx_ring->rx_buf; bi 8400 drivers/net/ethernet/intel/igb/igb_main.c struct igb_rx_buffer *bi) bi 8402 drivers/net/ethernet/intel/igb/igb_main.c struct page *page = bi->page; bi 8432 drivers/net/ethernet/intel/igb/igb_main.c bi->dma = dma; bi 8433 drivers/net/ethernet/intel/igb/igb_main.c bi->page = page; bi 8434 drivers/net/ethernet/intel/igb/igb_main.c bi->page_offset = igb_rx_offset(rx_ring); bi 8435 drivers/net/ethernet/intel/igb/igb_main.c bi->pagecnt_bias = 1; bi 8447 drivers/net/ethernet/intel/igb/igb_main.c struct igb_rx_buffer *bi; bi 8456 drivers/net/ethernet/intel/igb/igb_main.c bi = &rx_ring->rx_buffer_info[i]; bi 8462 drivers/net/ethernet/intel/igb/igb_main.c if (!igb_alloc_mapped_page(rx_ring, bi)) bi 8466 drivers/net/ethernet/intel/igb/igb_main.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 8467 drivers/net/ethernet/intel/igb/igb_main.c bi->page_offset, bufsz, bi 8473 drivers/net/ethernet/intel/igb/igb_main.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 8476 drivers/net/ethernet/intel/igb/igb_main.c bi++; bi 8480 drivers/net/ethernet/intel/igb/igb_main.c bi = rx_ring->rx_buffer_info; bi 70 drivers/net/ethernet/intel/igc/igc_main.c struct igc_rx_buffer *bi); bi 1496 drivers/net/ethernet/intel/igc/igc_main.c struct igc_rx_buffer *bi; bi 1504 drivers/net/ethernet/intel/igc/igc_main.c bi = &rx_ring->rx_buffer_info[i]; bi 1510 drivers/net/ethernet/intel/igc/igc_main.c if (!igc_alloc_mapped_page(rx_ring, bi)) bi 1514 drivers/net/ethernet/intel/igc/igc_main.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 1515 drivers/net/ethernet/intel/igc/igc_main.c bi->page_offset, bufsz, bi 1521 drivers/net/ethernet/intel/igc/igc_main.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 1524 drivers/net/ethernet/intel/igc/igc_main.c bi++; bi 1528 drivers/net/ethernet/intel/igc/igc_main.c bi = rx_ring->rx_buffer_info; bi 1654 drivers/net/ethernet/intel/igc/igc_main.c struct igc_rx_buffer *bi) bi 1656 drivers/net/ethernet/intel/igc/igc_main.c struct page *page = bi->page; bi 1686 drivers/net/ethernet/intel/igc/igc_main.c bi->dma = dma; bi 1687 drivers/net/ethernet/intel/igc/igc_main.c bi->page = page; bi 1688 drivers/net/ethernet/intel/igc/igc_main.c bi->page_offset = igc_rx_offset(rx_ring); bi 1689 drivers/net/ethernet/intel/igc/igc_main.c bi->pagecnt_bias = 1; bi 3687 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 bi; bi 3709 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c for (bi = 0; bi < dword_len; bi++) { bi 3710 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bp->u32arr[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); bi 3711 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c le32_to_cpus(&bp->u32arr[bi]); bi 3729 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c for (; bi <= dword_len; bi++) { bi 3730 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c bp->u32arr[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); bi 3731 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c le32_to_cpus(&bp->u32arr[bi]); bi 1531 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_rx_buffer *bi) bi 1533 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct page *page = bi->page; bi 1564 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi->dma = dma; bi 1565 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi->page = page; bi 1566 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi->page_offset = ixgbe_rx_offset(rx_ring); bi 1568 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi->pagecnt_bias = USHRT_MAX; bi 1582 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_rx_buffer *bi; bi 1591 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi = &rx_ring->rx_buffer_info[i]; bi 1597 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!ixgbe_alloc_mapped_page(rx_ring, bi)) bi 1601 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 1602 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi->page_offset, bufsz, bi 1609 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 1612 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi++; bi 1616 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c bi = rx_ring->rx_buffer_info; bi 193 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi; bi 195 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = &rx_ring->rx_buffer_info[rx_ring->next_to_clean]; bi 199 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma, 0, bi 203 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c return bi; bi 228 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi; bi 238 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = rx_ring->rx_buffer_info; bi 245 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma = xdp_umem_get_dma(rx_ring->xsk_umem, handle); bi 246 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma += hr; bi 248 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr = xdp_umem_get_data(rx_ring->xsk_umem, handle); bi 249 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr += hr; bi 251 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->handle = xsk_umem_adjust_offset(rx_ring->xsk_umem, (u64)handle, bi 256 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi) bi 259 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c void *addr = bi->addr; bi 272 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma = xdp_umem_get_dma(umem, handle); bi 273 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma += hr; bi 275 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr = xdp_umem_get_data(umem, handle); bi 276 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr += hr; bi 278 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); bi 285 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi) bi 299 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma = xdp_umem_get_dma(umem, handle); bi 300 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->dma += hr; bi 302 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr = xdp_umem_get_data(umem, handle); bi 303 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr += hr; bi 305 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); bi 314 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi)) bi 317 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi; bi 326 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = &rx_ring->rx_buffer_info[i]; bi 330 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (!alloc(rx_ring, bi)) { bi 336 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 337 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->page_offset, bi 344 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma); bi 347 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi++; bi 351 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = rx_ring->rx_buffer_info; bi 395 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi, bi 414 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_reuse_rx_buffer_zc(rx_ring, bi); bi 443 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi; bi 465 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = ixgbe_get_rx_buffer_zc(rx_ring, size); bi 471 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_reuse_rx_buffer_zc(rx_ring, bi); bi 479 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c if (unlikely(bi->skb)) { bi 480 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_reuse_rx_buffer_zc(rx_ring, bi); bi 485 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xdp.data = bi->addr; bi 489 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xdp.handle = bi->handle; bi 496 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->addr = NULL; bi 497 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->skb = NULL; bi 499 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_reuse_rx_buffer_zc(rx_ring, bi); bi 510 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c skb = ixgbe_construct_skb_zc(rx_ring, bi, &xdp); bi 563 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c struct ixgbe_rx_buffer *bi = &rx_ring->rx_buffer_info[i]; bi 566 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xsk_umem_fq_reuse(rx_ring->xsk_umem, bi->handle); bi 568 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi++; bi 571 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi = rx_ring->rx_buffer_info; bi 607 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c struct ixgbevf_rx_buffer *bi) bi 609 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c struct page *page = bi->page; bi 638 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi->dma = dma; bi 639 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi->page = page; bi 640 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi->page_offset = ixgbevf_rx_offset(rx_ring); bi 641 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi->pagecnt_bias = 1; bi 656 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c struct ixgbevf_rx_buffer *bi; bi 664 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi = &rx_ring->rx_buffer_info[i]; bi 668 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (!ixgbevf_alloc_mapped_page(rx_ring, bi)) bi 672 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c dma_sync_single_range_for_device(rx_ring->dev, bi->dma, bi 673 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi->page_offset, bi 680 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); bi 683 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi++; bi 687 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c bi = rx_ring->rx_buffer_info; bi 415 drivers/net/hamradio/baycom_par.c struct baycom_ioctl bi; bi 452 drivers/net/hamradio/baycom_par.c if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) bi 454 drivers/net/hamradio/baycom_par.c switch (bi.cmd) { bi 460 drivers/net/hamradio/baycom_par.c bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; bi 461 drivers/net/hamradio/baycom_par.c bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; bi 462 drivers/net/hamradio/baycom_par.c bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; bi 467 drivers/net/hamradio/baycom_par.c if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) bi 504 drivers/net/hamradio/baycom_ser_fdx.c struct baycom_ioctl bi; bi 543 drivers/net/hamradio/baycom_ser_fdx.c if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) bi 545 drivers/net/hamradio/baycom_ser_fdx.c switch (bi.cmd) { bi 551 drivers/net/hamradio/baycom_ser_fdx.c bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; bi 552 drivers/net/hamradio/baycom_ser_fdx.c bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; bi 553 drivers/net/hamradio/baycom_ser_fdx.c bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; bi 558 drivers/net/hamradio/baycom_ser_fdx.c if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) bi 558 drivers/net/hamradio/baycom_ser_hdx.c struct baycom_ioctl bi; bi 597 drivers/net/hamradio/baycom_ser_hdx.c if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) bi 599 drivers/net/hamradio/baycom_ser_hdx.c switch (bi.cmd) { bi 605 drivers/net/hamradio/baycom_ser_hdx.c bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; bi 606 drivers/net/hamradio/baycom_ser_hdx.c bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; bi 607 drivers/net/hamradio/baycom_ser_hdx.c bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; bi 612 drivers/net/hamradio/baycom_ser_hdx.c if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) bi 489 drivers/net/hamradio/hdlcdrv.c struct hdlcdrv_ioctl bi; bi 493 drivers/net/hamradio/hdlcdrv.c return s->ops->ioctl(dev, ifr, &bi, cmd); bi 496 drivers/net/hamradio/hdlcdrv.c if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) bi 499 drivers/net/hamradio/hdlcdrv.c switch (bi.cmd) { bi 502 drivers/net/hamradio/hdlcdrv.c return s->ops->ioctl(dev, ifr, &bi, cmd); bi 506 drivers/net/hamradio/hdlcdrv.c bi.data.cp.tx_delay = s->ch_params.tx_delay; bi 507 drivers/net/hamradio/hdlcdrv.c bi.data.cp.tx_tail = s->ch_params.tx_tail; bi 508 drivers/net/hamradio/hdlcdrv.c bi.data.cp.slottime = s->ch_params.slottime; bi 509 drivers/net/hamradio/hdlcdrv.c bi.data.cp.ppersist = s->ch_params.ppersist; bi 510 drivers/net/hamradio/hdlcdrv.c bi.data.cp.fulldup = s->ch_params.fulldup; bi 516 drivers/net/hamradio/hdlcdrv.c s->ch_params.tx_delay = bi.data.cp.tx_delay; bi 517 drivers/net/hamradio/hdlcdrv.c s->ch_params.tx_tail = bi.data.cp.tx_tail; bi 518 drivers/net/hamradio/hdlcdrv.c s->ch_params.slottime = bi.data.cp.slottime; bi 519 drivers/net/hamradio/hdlcdrv.c s->ch_params.ppersist = bi.data.cp.ppersist; bi 520 drivers/net/hamradio/hdlcdrv.c s->ch_params.fulldup = bi.data.cp.fulldup; bi 525 drivers/net/hamradio/hdlcdrv.c bi.data.mp.iobase = dev->base_addr; bi 526 drivers/net/hamradio/hdlcdrv.c bi.data.mp.irq = dev->irq; bi 527 drivers/net/hamradio/hdlcdrv.c bi.data.mp.dma = dev->dma; bi 528 drivers/net/hamradio/hdlcdrv.c bi.data.mp.dma2 = s->ptt_out.dma2; bi 529 drivers/net/hamradio/hdlcdrv.c bi.data.mp.seriobase = s->ptt_out.seriobase; bi 530 drivers/net/hamradio/hdlcdrv.c bi.data.mp.pariobase = s->ptt_out.pariobase; bi 531 drivers/net/hamradio/hdlcdrv.c bi.data.mp.midiiobase = s->ptt_out.midiiobase; bi 537 drivers/net/hamradio/hdlcdrv.c dev->base_addr = bi.data.mp.iobase; bi 538 drivers/net/hamradio/hdlcdrv.c dev->irq = bi.data.mp.irq; bi 539 drivers/net/hamradio/hdlcdrv.c dev->dma = bi.data.mp.dma; bi 540 drivers/net/hamradio/hdlcdrv.c s->ptt_out.dma2 = bi.data.mp.dma2; bi 541 drivers/net/hamradio/hdlcdrv.c s->ptt_out.seriobase = bi.data.mp.seriobase; bi 542 drivers/net/hamradio/hdlcdrv.c s->ptt_out.pariobase = bi.data.mp.pariobase; bi 543 drivers/net/hamradio/hdlcdrv.c s->ptt_out.midiiobase = bi.data.mp.midiiobase; bi 547 drivers/net/hamradio/hdlcdrv.c bi.data.cs.ptt = hdlcdrv_ptt(s); bi 548 drivers/net/hamradio/hdlcdrv.c bi.data.cs.dcd = s->hdlcrx.dcd; bi 549 drivers/net/hamradio/hdlcdrv.c bi.data.cs.ptt_keyed = s->ptt_keyed; bi 550 drivers/net/hamradio/hdlcdrv.c bi.data.cs.tx_packets = dev->stats.tx_packets; bi 551 drivers/net/hamradio/hdlcdrv.c bi.data.cs.tx_errors = dev->stats.tx_errors; bi 552 drivers/net/hamradio/hdlcdrv.c bi.data.cs.rx_packets = dev->stats.rx_packets; bi 553 drivers/net/hamradio/hdlcdrv.c bi.data.cs.rx_errors = dev->stats.rx_errors; bi 557 drivers/net/hamradio/hdlcdrv.c bi.data.ocs.ptt = hdlcdrv_ptt(s); bi 558 drivers/net/hamradio/hdlcdrv.c bi.data.ocs.dcd = s->hdlcrx.dcd; bi 559 drivers/net/hamradio/hdlcdrv.c bi.data.ocs.ptt_keyed = s->ptt_keyed; bi 567 drivers/net/hamradio/hdlcdrv.c if (bi.data.calibrate > INT_MAX / s->par.bitrate) bi 569 drivers/net/hamradio/hdlcdrv.c s->hdlctx.calibrate = bi.data.calibrate * s->par.bitrate / 16; bi 578 drivers/net/hamradio/hdlcdrv.c bi.data.bits = bi 591 drivers/net/hamradio/hdlcdrv.c bi.data.bits = bi 600 drivers/net/hamradio/hdlcdrv.c strncpy(bi.data.drivername, s->ops->drvname, bi 601 drivers/net/hamradio/hdlcdrv.c sizeof(bi.data.drivername)); bi 604 drivers/net/hamradio/hdlcdrv.c bi.data.drivername[0] = '\0'; bi 608 drivers/net/hamradio/hdlcdrv.c if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) bi 26 drivers/net/phy/mdio-boardinfo.c struct mdio_board_info *bi)) bi 30 drivers/net/phy/mdio-boardinfo.c struct mdio_board_info *bi; bi 35 drivers/net/phy/mdio-boardinfo.c bi = &be->board_info; bi 37 drivers/net/phy/mdio-boardinfo.c if (strcmp(bus->id, bi->bus_id)) bi 41 drivers/net/phy/mdio-boardinfo.c ret = cb(bus, bi); bi 21 drivers/net/phy/mdio-boardinfo.h struct mdio_board_info *bi)); bi 334 drivers/net/phy/mdio_bus.c struct mdio_board_info *bi) bi 339 drivers/net/phy/mdio_bus.c mdiodev = mdio_device_create(bus, bi->mdio_addr); bi 343 drivers/net/phy/mdio_bus.c strncpy(mdiodev->modalias, bi->modalias, bi 346 drivers/net/phy/mdio_bus.c mdiodev->dev.platform_data = (void *)bi->platform_data; bi 1774 drivers/net/vmxnet3/vmxnet3_drv.c struct vmxnet3_rx_buf_info *bi; bi 1817 drivers/net/vmxnet3/vmxnet3_drv.c bi = dma_alloc_coherent(&adapter->pdev->dev, sz, &rq->buf_info_pa, bi 1819 drivers/net/vmxnet3/vmxnet3_drv.c if (!bi) bi 1822 drivers/net/vmxnet3/vmxnet3_drv.c rq->buf_info[0] = bi; bi 1823 drivers/net/vmxnet3/vmxnet3_drv.c rq->buf_info[1] = bi + rq->rx_ring[0].size; bi 1275 drivers/net/wireless/admtek/adm8211.c unsigned short bi, unsigned short li) bi 1282 drivers/net/wireless/admtek/adm8211.c reg = (bi << 16) | li; bi 1922 drivers/net/wireless/ath/wil6210/cfg80211.c int bi, u8 chan, u8 wmi_edmg_channel, bi 1988 drivers/net/wireless/ath/wil6210/cfg80211.c vif->bi = bi; bi 1996 drivers/net/wireless/ath/wil6210/cfg80211.c rc = wmi_pcp_start(vif, bi, wmi_nettype, chan, wmi_edmg_channel, bi 2042 drivers/net/wireless/ath/wil6210/cfg80211.c i, vif->privacy, vif->bi, vif->channel, bi 2048 drivers/net/wireless/ath/wil6210/cfg80211.c vif->privacy, vif->bi, bi 864 drivers/net/wireless/ath/wil6210/wil6210.h int bi; bi 1321 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_p2p_cfg(struct wil6210_vif *vif, int channel, int bi); bi 1351 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, u8 chan, bi 889 drivers/net/wireless/ath/wil6210/wmi.c u16 bi = le16_to_cpu(rx_mgmt_frame->u.beacon.beacon_int); bi 895 drivers/net/wireless/ath/wil6210/wmi.c wil_dbg_wmi(wil, "Beacon interval : %d\n", bi); bi 2185 drivers/net/wireless/ath/wil6210/wmi.c int wmi_pcp_start(struct wil6210_vif *vif, int bi, u8 wmi_nettype, bi 2192 drivers/net/wireless/ath/wil6210/wmi.c .bcon_interval = cpu_to_le16(bi), bi 2341 drivers/net/wireless/ath/wil6210/wmi.c int wmi_p2p_cfg(struct wil6210_vif *vif, int channel, int bi) bi 2347 drivers/net/wireless/ath/wil6210/wmi.c .bcon_interval = cpu_to_le16(bi), bi 2798 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_bss_info_le *bi) bi 2813 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (le32_to_cpu(bi->length) > WL_BSS_INFO_MAX) { bi 2818 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (!bi->ctl_ch) { bi 2819 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch.chspec = le16_to_cpu(bi->chanspec); bi 2821 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bi->ctl_ch = ch.control_ch_num; bi 2823 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c channel = bi->ctl_ch; bi 2835 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_capability = le16_to_cpu(bi->capability); bi 2836 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_interval = le16_to_cpu(bi->beacon_period); bi 2837 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset); bi 2838 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_ielen = le32_to_cpu(bi->ie_length); bi 2839 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bss_data.signal = (s16)le16_to_cpu(bi->RSSI) * 100; bi 2841 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_dbg(CONN, "bssid: %pM\n", bi->BSSID); bi 2849 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (const u8 *)bi->BSSID, bi 2875 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_bss_info_le *bi = NULL; /* must be initialized */ bi 2888 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bi = next_bss_le(bss_list, bi); bi 2889 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_inform_single_bss(cfg, bi); bi 2902 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_bss_info_le *bi = NULL; bi 2932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bi = (struct brcmf_bss_info_le *)(buf + 4); bi 2934 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch.chspec = le16_to_cpu(bi->chanspec); bi 2946 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_capability = le16_to_cpu(bi->capability); bi 2947 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_interval = le16_to_cpu(bi->beacon_period); bi 2948 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_ie = (u8 *)bi + le16_to_cpu(bi->ie_offset); bi 2949 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_ielen = le32_to_cpu(bi->ie_length); bi 2950 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c notify_signal = (s16)le16_to_cpu(bi->RSSI) * 100; bi 2983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_bss_info_le *bi; bi 3001 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bi = (struct brcmf_bss_info_le *)(cfg->extra_buf + 4); bi 3002 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_inform_single_bss(cfg, bi); bi 3006 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ie = ((u8 *)bi) + le16_to_cpu(bi->ie_offset); bi 3007 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ie_len = le32_to_cpu(bi->ie_length); bi 5505 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c struct brcmf_bss_info_le *bi; bi 5532 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bi = (struct brcmf_bss_info_le *)(buf + 4); bi 5533 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ch.chspec = le16_to_cpu(bi->chanspec); bi 1203 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_bss_info_le *bi) bi 1216 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (bi == NULL) { bi 1223 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ie = ((u8 *)bi) + le16_to_cpu(bi->ie_offset); bi 1225 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = cfg80211_get_p2p_attr(ie, le32_to_cpu(bi->ie_length), bi 1229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = cfg80211_get_p2p_attr(ie, le32_to_cpu(bi->ie_length), bi 1234 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!bi->ctl_ch) { bi 1235 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ch.chspec = le16_to_cpu(bi->chanspec); bi 1237 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c bi->ctl_ch = ch.control_ch_num; bi 1239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c afx_hdl->peer_chan = bi->ctl_ch; bi 1932 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_bss_info_le *bi; bi 1944 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c bi = (struct brcmf_bss_info_le *)(buf + 4); bi 1945 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c *chanspec = le16_to_cpu(bi->chanspec); bi 172 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h struct brcmf_bss_info_le *bi); bi 629 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c struct ieee80211_supported_band *bi; bi 641 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c bi = hw->wiphy->bands[brcms_c_get_curband(wl->wlc)]; bi 642 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c for (i = 0; i < bi->n_bitrates; i++) { bi 644 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c rate = (bi->bitrates[i].bitrate << 1) / 10; bi 4755 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c struct brcms_bss_info *bi = wlc->default_bss; bi 4758 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c memset(bi, 0, sizeof(*bi)); bi 4759 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bi->beacon_period = BEACON_INTERVAL_DEFAULT; bi 4765 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->home_chanspec = bi->chanspec = chanspec; bi 4774 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c brcms_c_rateset_default(&bi->rateset, NULL, band->phytype, bi 4780 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bi->flags |= BRCMS_BSS_HT; bi 7872 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c u32 bi; bi 7875 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bi = wlc->bsscfg->current_bss->beacon_period << 10; bi 7881 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bi << CFPREP_CBI_SHIFT); bi 164 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h __le32 bi; bi 183 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h __le32 bi; bi 213 drivers/net/wireless/intel/iwlwifi/fw/api/mac.h __le32 bi; bi 695 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); bi 760 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c cmd.ibss.bi = cpu_to_le32(vif->bss_conf.beacon_int); bi 1112 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int); bi 398 drivers/net/wireless/intel/iwlwifi/mvm/power.c int dtimper, bi; bi 406 drivers/net/wireless/intel/iwlwifi/mvm/power.c bi = vif->bss_conf.beacon_int; bi 414 drivers/net/wireless/intel/iwlwifi/mvm/power.c keep_alive = DIV_ROUND_UP(ieee80211_tu_to_usec(3 * dtimper * bi), bi 402 drivers/nvdimm/core.c struct blk_integrity bi; bi 407 drivers/nvdimm/core.c memset(&bi, 0, sizeof(bi)); bi 409 drivers/nvdimm/core.c bi.tuple_size = meta_size; bi 410 drivers/nvdimm/core.c bi.tag_size = meta_size; bi 412 drivers/nvdimm/core.c blk_integrity_register(disk, &bi); bi 632 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_boot_image *bi = (struct esas2r_boot_image *)boot_img; bi 633 drivers/scsi/esas2r/esas2r_flash.c u16 hdroffset = le16_to_cpu(bi->header_offset); bi 636 drivers/scsi/esas2r/esas2r_flash.c if (bi->signature != le16_to_cpu(0xaa55) bi 644 drivers/scsi/esas2r/esas2r_flash.c bh = (struct esas2r_boot_header *)((char *)bi + hdroffset); bi 1109 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_boot_image *bi; bi 1126 drivers/scsi/esas2r/esas2r_flash.c bi = (struct esas2r_boot_image *)bytes; bi 1127 drivers/scsi/esas2r/esas2r_flash.c bh = (struct esas2r_boot_header *)((u8 *)bi + bi 1129 drivers/scsi/esas2r/esas2r_flash.c bi->header_offset)); bi 1130 drivers/scsi/esas2r/esas2r_flash.c if (bi->signature != cpu_to_le16(0xAA55)) bi 205 drivers/scsi/esas2r/esas2r_ioctl.c static u8 handle_buffered_ioctl(struct esas2r_buffered_ioctl *bi) bi 207 drivers/scsi/esas2r/esas2r_ioctl.c struct esas2r_adapter *a = bi->a; bi 217 drivers/scsi/esas2r/esas2r_ioctl.c if (esas2r_buffered_ioctl_size < bi->length) { bi 228 drivers/scsi/esas2r/esas2r_ioctl.c esas2r_buffered_ioctl_size = bi->length; bi 242 drivers/scsi/esas2r/esas2r_ioctl.c bi->length); bi 249 drivers/scsi/esas2r/esas2r_ioctl.c memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); bi 263 drivers/scsi/esas2r/esas2r_ioctl.c sgc.cur_offset = esas2r_buffered_ioctl + bi->offset; bi 267 drivers/scsi/esas2r/esas2r_ioctl.c if (!(*bi->callback)(a, rq, &sgc, bi->context)) { bi 279 drivers/scsi/esas2r/esas2r_ioctl.c if (result == IOCTL_SUCCESS && bi->done_callback) bi 280 drivers/scsi/esas2r/esas2r_ioctl.c (*bi->done_callback)(a, rq, bi->done_context); bi 286 drivers/scsi/esas2r/esas2r_ioctl.c memcpy(bi->ioctl, esas2r_buffered_ioctl, bi->length); bi 314 drivers/scsi/esas2r/esas2r_ioctl.c struct esas2r_buffered_ioctl bi; bi 316 drivers/scsi/esas2r/esas2r_ioctl.c memset(&bi, 0, sizeof(bi)); bi 318 drivers/scsi/esas2r/esas2r_ioctl.c bi.a = a; bi 319 drivers/scsi/esas2r/esas2r_ioctl.c bi.ioctl = si; bi 320 drivers/scsi/esas2r/esas2r_ioctl.c bi.length = sizeof(struct atto_ioctl_smp) bi 323 drivers/scsi/esas2r/esas2r_ioctl.c bi.offset = 0; bi 324 drivers/scsi/esas2r/esas2r_ioctl.c bi.callback = smp_ioctl_callback; bi 325 drivers/scsi/esas2r/esas2r_ioctl.c return handle_buffered_ioctl(&bi); bi 648 drivers/scsi/esas2r/esas2r_ioctl.c struct esas2r_buffered_ioctl bi; bi 650 drivers/scsi/esas2r/esas2r_ioctl.c memset(&bi, 0, sizeof(bi)); bi 652 drivers/scsi/esas2r/esas2r_ioctl.c bi.a = a; bi 653 drivers/scsi/esas2r/esas2r_ioctl.c bi.ioctl = &ci->data; bi 654 drivers/scsi/esas2r/esas2r_ioctl.c bi.length = sizeof(union atto_ioctl_csmi); bi 655 drivers/scsi/esas2r/esas2r_ioctl.c bi.offset = 0; bi 656 drivers/scsi/esas2r/esas2r_ioctl.c bi.callback = csmi_ioctl_callback; bi 657 drivers/scsi/esas2r/esas2r_ioctl.c bi.context = ci; bi 658 drivers/scsi/esas2r/esas2r_ioctl.c bi.done_callback = csmi_ioctl_done_callback; bi 659 drivers/scsi/esas2r/esas2r_ioctl.c bi.done_context = ci; bi 661 drivers/scsi/esas2r/esas2r_ioctl.c return handle_buffered_ioctl(&bi); bi 1232 drivers/scsi/esas2r/esas2r_ioctl.c struct esas2r_buffered_ioctl bi; bi 1234 drivers/scsi/esas2r/esas2r_ioctl.c memset(&bi, 0, sizeof(bi)); bi 1236 drivers/scsi/esas2r/esas2r_ioctl.c bi.a = a; bi 1237 drivers/scsi/esas2r/esas2r_ioctl.c bi.ioctl = ioctl_hba; bi 1238 drivers/scsi/esas2r/esas2r_ioctl.c bi.length = sizeof(struct atto_ioctl) + ioctl_hba->data_length; bi 1239 drivers/scsi/esas2r/esas2r_ioctl.c bi.callback = hba_ioctl_callback; bi 1240 drivers/scsi/esas2r/esas2r_ioctl.c bi.context = NULL; bi 1241 drivers/scsi/esas2r/esas2r_ioctl.c bi.done_callback = hba_ioctl_done_callback; bi 1242 drivers/scsi/esas2r/esas2r_ioctl.c bi.done_context = NULL; bi 1243 drivers/scsi/esas2r/esas2r_ioctl.c bi.offset = 0; bi 1245 drivers/scsi/esas2r/esas2r_ioctl.c return handle_buffered_ioctl(&bi); bi 32 drivers/scsi/sd_dif.c struct blk_integrity bi; bi 45 drivers/scsi/sd_dif.c memset(&bi, 0, sizeof(bi)); bi 50 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type3_ip; bi 52 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type1_ip; bi 54 drivers/scsi/sd_dif.c bi.flags |= BLK_INTEGRITY_IP_CHECKSUM; bi 57 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type3_crc; bi 59 drivers/scsi/sd_dif.c bi.profile = &t10_pi_type1_crc; bi 61 drivers/scsi/sd_dif.c bi.tuple_size = sizeof(struct t10_pi_tuple); bi 63 drivers/scsi/sd_dif.c "Enabling DIX %s protection\n", bi.profile->name); bi 66 drivers/scsi/sd_dif.c bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE; bi 72 drivers/scsi/sd_dif.c bi.tag_size = sizeof(u16) + sizeof(u32); bi 74 drivers/scsi/sd_dif.c bi.tag_size = sizeof(u16); bi 77 drivers/scsi/sd_dif.c bi.tag_size); bi 81 drivers/scsi/sd_dif.c blk_integrity_register(disk, &bi); bi 512 drivers/scsi/virtio_scsi.c struct blk_integrity *bi; bi 519 drivers/scsi/virtio_scsi.c bi = blk_get_integrity(rq->rq_disk); bi 523 drivers/scsi/virtio_scsi.c bio_integrity_bytes(bi, bi 527 drivers/scsi/virtio_scsi.c bio_integrity_bytes(bi, bi 705 drivers/spi/spi.c struct spi_board_info *bi) bi 709 drivers/spi/spi.c if (ctlr->bus_num != bi->bus_num) bi 712 drivers/spi/spi.c dev = spi_new_device(ctlr, bi); bi 715 drivers/spi/spi.c bi->modalias); bi 742 drivers/spi/spi.c struct boardinfo *bi; bi 748 drivers/spi/spi.c bi = kcalloc(n, sizeof(*bi), GFP_KERNEL); bi 749 drivers/spi/spi.c if (!bi) bi 752 drivers/spi/spi.c for (i = 0; i < n; i++, bi++, info++) { bi 755 drivers/spi/spi.c memcpy(&bi->board_info, info, sizeof(*info)); bi 757 drivers/spi/spi.c bi->board_info.properties = bi 759 drivers/spi/spi.c if (IS_ERR(bi->board_info.properties)) bi 760 drivers/spi/spi.c return PTR_ERR(bi->board_info.properties); bi 764 drivers/spi/spi.c list_add_tail(&bi->list, &board_list); bi 767 drivers/spi/spi.c &bi->board_info); bi 2384 drivers/spi/spi.c struct boardinfo *bi; bi 2504 drivers/spi/spi.c list_for_each_entry(bi, &board_list, list) bi 2505 drivers/spi/spi.c spi_match_controller_to_boardinfo(ctlr, &bi->board_info); bi 928 drivers/ssb/pci.c struct ssb_boardinfo *bi) bi 930 drivers/ssb/pci.c bi->vendor = bus->host_pci->subsystem_vendor; bi 931 drivers/ssb/pci.c bi->type = bus->host_pci->subsystem_device; bi 618 drivers/ssb/pcmcia.c struct ssb_boardinfo *bi = &iv->boardinfo; bi 627 drivers/ssb/pcmcia.c bi->vendor = tuple->TupleData[1] | bi 476 drivers/ssb/sdio.c struct ssb_boardinfo *bi = &iv->boardinfo; bi 514 drivers/ssb/sdio.c bi->vendor = tuple->data[1] | bi 1108 drivers/staging/comedi/comedi_fops.c struct comedi_bufinfo bi; bi 1116 drivers/staging/comedi/comedi_fops.c if (copy_from_user(&bi, arg, sizeof(bi))) bi 1119 drivers/staging/comedi/comedi_fops.c if (bi.subdevice >= dev->n_subdevices) bi 1122 drivers/staging/comedi/comedi_fops.c s = &dev->subdevices[bi.subdevice]; bi 1132 drivers/staging/comedi/comedi_fops.c if (bi.bytes_read) { bi 1133 drivers/staging/comedi/comedi_fops.c comedi_buf_read_alloc(s, bi.bytes_read); bi 1134 drivers/staging/comedi/comedi_fops.c bi.bytes_read = comedi_buf_read_free(s, bi.bytes_read); bi 1143 drivers/staging/comedi/comedi_fops.c (bi.bytes_read == 0 || bi 1149 drivers/staging/comedi/comedi_fops.c bi.bytes_written = 0; bi 1153 drivers/staging/comedi/comedi_fops.c bi.bytes_written = 0; bi 1157 drivers/staging/comedi/comedi_fops.c } else if (bi.bytes_written) { bi 1158 drivers/staging/comedi/comedi_fops.c comedi_buf_write_alloc(s, bi.bytes_written); bi 1159 drivers/staging/comedi/comedi_fops.c bi.bytes_written = bi 1160 drivers/staging/comedi/comedi_fops.c comedi_buf_write_free(s, bi.bytes_written); bi 1162 drivers/staging/comedi/comedi_fops.c bi.bytes_read = 0; bi 1165 drivers/staging/comedi/comedi_fops.c bi.buf_write_count = async->buf_write_count; bi 1166 drivers/staging/comedi/comedi_fops.c bi.buf_write_ptr = async->buf_write_ptr; bi 1167 drivers/staging/comedi/comedi_fops.c bi.buf_read_count = async->buf_read_count; bi 1168 drivers/staging/comedi/comedi_fops.c bi.buf_read_ptr = async->buf_read_ptr; bi 1176 drivers/staging/comedi/comedi_fops.c if (copy_to_user(arg, &bi, sizeof(bi))) bi 13 drivers/staging/media/ipu3/ipu3-css-fw.c static void imgu_css_fw_show_binary(struct device *dev, struct imgu_fw_info *bi, bi 19 drivers/staging/media/ipu3/ipu3-css-fw.c bi->type, bi->blob.size, name); bi 20 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->type != IMGU_FW_ISP_FIRMWARE) bi 24 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode, bi 25 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.bds.supported_bds_factors, bi 26 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.enable.vf_veceven, bi 27 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.vf_dec.is_variable, bi 28 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.num_output_pins); bi 31 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.min_width, bi 32 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.min_height, bi 33 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.max_width, bi 34 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.input.max_height, bi 35 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.enable.input_yuv ? "yuv420 " : "", bi 36 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.enable.input_feeder || bi 37 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.enable.input_raw ? "raw8 raw10 " : "", bi 38 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.enable.input_raw ? "raw12" : ""); bi 41 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.internal.max_width, bi 42 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.internal.max_height); bi 45 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.output.min_width, bi 46 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.output.min_height, bi 47 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.output.max_width, bi 48 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.output.max_height); bi 49 drivers/staging/media/ipu3/ipu3-css-fw.c for (i = 0; i < bi->info.isp.num_output_formats; i++) bi 50 drivers/staging/media/ipu3/ipu3-css-fw.c dev_dbg(dev, " %i", bi->info.isp.output_formats[i]); bi 52 drivers/staging/media/ipu3/ipu3-css-fw.c for (i = 0; i < bi->info.isp.num_vf_formats; i++) bi 53 drivers/staging/media/ipu3/ipu3-css-fw.c dev_dbg(dev, " %i", bi->info.isp.vf_formats[i]); bi 57 drivers/staging/media/ipu3/ipu3-css-fw.c unsigned int imgu_css_fw_obgrid_size(const struct imgu_fw_info *bi) bi 59 drivers/staging/media/ipu3/ipu3-css-fw.c unsigned int width = DIV_ROUND_UP(bi->info.isp.sp.internal.max_width, bi 61 drivers/staging/media/ipu3/ipu3-css-fw.c unsigned int height = DIV_ROUND_UP(bi->info.isp.sp.internal.max_height, bi 68 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.iterator.num_stripes; bi 78 drivers/staging/media/ipu3/ipu3-css-fw.c struct imgu_fw_info *bi = bi 82 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.mem_initializers.params[cls][mem].size) bi 148 drivers/staging/media/ipu3/ipu3-css-fw.c struct imgu_fw_info *bi = &css->fwp->binary_header[i]; bi 149 drivers/staging/media/ipu3/ipu3-css-fw.c const char *name = (void *)css->fwp + bi->blob.prog_name_offset; bi 152 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->blob.prog_name_offset >= css->fw->size) bi 154 drivers/staging/media/ipu3/ipu3-css-fw.c len = strnlen(name, css->fw->size - bi->blob.prog_name_offset); bi 155 drivers/staging/media/ipu3/ipu3-css-fw.c if (len + 1 > css->fw->size - bi->blob.prog_name_offset || bi 159 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->blob.size != bi->blob.text_size + bi->blob.icache_size bi 160 drivers/staging/media/ipu3/ipu3-css-fw.c + bi->blob.data_size + bi->blob.padding_size) bi 162 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->blob.offset + bi->blob.size > css->fw->size) bi 165 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->type == IMGU_FW_BOOTLOADER_FIRMWARE) { bi 167 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.bl.sw_state >= css->iomem_length || bi 168 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.bl.num_dma_cmds >= css->iomem_length || bi 169 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.bl.dma_cmd_list >= css->iomem_length) bi 172 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->type == IMGU_FW_SP_FIRMWARE || bi 173 drivers/staging/media/ipu3/ipu3-css-fw.c bi->type == IMGU_FW_SP1_FIRMWARE) { bi 174 drivers/staging/media/ipu3/ipu3-css-fw.c css->fw_sp[bi->type == IMGU_FW_SP_FIRMWARE ? 0 : 1] = i; bi 175 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.sp.per_frame_data >= css->iomem_length || bi 176 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.init_dmem_data >= css->iomem_length || bi 177 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.host_sp_queue >= css->iomem_length || bi 178 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.isp_started >= css->iomem_length || bi 179 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.sw_state >= css->iomem_length || bi 180 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.sleep_mode >= css->iomem_length || bi 181 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.invalidate_tlb >= css->iomem_length || bi 182 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.host_sp_com >= css->iomem_length || bi 183 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.output + 12 >= css->iomem_length || bi 184 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.sp.host_sp_queues_initialized >= bi 188 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->type != IMGU_FW_ISP_FIRMWARE) bi 191 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.sp.pipeline.mode >= IPU3_CSS_PIPE_ID_NUM) bi 194 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.sp.iterator.num_stripes > bi 198 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.num_vf_formats > IMGU_ABI_FRAME_FORMAT_NUM || bi 199 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.num_output_formats > IMGU_ABI_FRAME_FORMAT_NUM) bi 202 drivers/staging/media/ipu3/ipu3-css-fw.c for (j = 0; j < bi->info.isp.num_output_formats; j++) bi 203 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.output_formats[j] >= bi 206 drivers/staging/media/ipu3/ipu3-css-fw.c for (j = 0; j < bi->info.isp.num_vf_formats; j++) bi 207 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.vf_formats[j] >= bi 211 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->info.isp.sp.block.block_width <= 0 || bi 212 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.block.block_width > BLOCK_MAX || bi 213 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.block.output_block_height <= 0 || bi 214 drivers/staging/media/ipu3/ipu3-css-fw.c bi->info.isp.sp.block.output_block_height > BLOCK_MAX) bi 217 drivers/staging/media/ipu3/ipu3-css-fw.c if (bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_PARAM] bi 220 drivers/staging/media/ipu3/ipu3-css-fw.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_CONFIG] bi 223 drivers/staging/media/ipu3/ipu3-css-fw.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_STATE] bi 228 drivers/staging/media/ipu3/ipu3-css-fw.c imgu_css_fw_show_binary(dev, bi, name); bi 243 drivers/staging/media/ipu3/ipu3-css-fw.c struct imgu_fw_info *bi = &css->fwp->binary_header[i]; bi 244 drivers/staging/media/ipu3/ipu3-css-fw.c void *blob = (void *)css->fwp + bi->blob.offset; bi 245 drivers/staging/media/ipu3/ipu3-css-fw.c size_t size = bi->blob.size; bi 181 drivers/staging/media/ipu3/ipu3-css-fw.h unsigned int imgu_css_fw_obgrid_size(const struct imgu_fw_info *bi); bi 1192 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_fw_info *bi = bi 1195 drivers/staging/media/ipu3/ipu3-css-params.c bi->info.isp.sp.block.block_width * bi 1642 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_fw_info *bi = bi 1656 drivers/staging/media/ipu3/ipu3-css-params.c .acc_enable = bi->info.isp.sp.enable.af, bi 1670 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_fw_info *bi = bi 1683 drivers/staging/media/ipu3/ipu3-css-params.c .acc_enable = bi->info.isp.sp.enable.awb_fr_acc, bi 1696 drivers/staging/media/ipu3/ipu3-css-params.c struct imgu_fw_info *bi = bi 1709 drivers/staging/media/ipu3/ipu3-css-params.c .acc_enable = bi->info.isp.sp.enable.awb_acc, bi 1736 drivers/staging/media/ipu3/ipu3-css-params.c const struct imgu_fw_info *bi = bi 1739 drivers/staging/media/ipu3/ipu3-css-params.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; bi 1955 drivers/staging/media/ipu3/ipu3-css-params.c const struct imgu_fw_info *bi = bi 1957 drivers/staging/media/ipu3/ipu3-css-params.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; bi 2731 drivers/staging/media/ipu3/ipu3-css-params.c const struct imgu_fw_info *bi = bi 2734 drivers/staging/media/ipu3/ipu3-css-params.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_PARAM]; bi 2744 drivers/staging/media/ipu3/ipu3-css-params.c memset(vmem0, 0, bi->info.isp.sp.mem_initializers.params[c][m].size); bi 2811 drivers/staging/media/ipu3/ipu3-css-params.c const struct imgu_fw_info *bi = bi 2814 drivers/staging/media/ipu3/ipu3-css-params.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_PARAM]; bi 2824 drivers/staging/media/ipu3/ipu3-css-params.c memset(dmem0, 0, bi->info.isp.sp.mem_initializers.params[c][m].size); bi 431 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = bi 435 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_SP_ICACHE_ADDR(bi->type)); bi 436 drivers/staging/media/ipu3/ipu3-css.c writel(readl(base + IMGU_REG_SP_CTRL(bi->type)) | bi 438 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_SP_CTRL(bi->type)); bi 485 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; bi 488 drivers/staging/media/ipu3/ipu3-css.c + bi->blob.data_source, bi 489 drivers/staging/media/ipu3/ipu3-css.c .dmem_data_addr = bi->blob.data_target, bi 490 drivers/staging/media/ipu3/ipu3-css.c .dmem_bss_addr = bi->blob.bss_target, bi 491 drivers/staging/media/ipu3/ipu3-css.c .data_size = bi->blob.data_size, bi 492 drivers/staging/media/ipu3/ipu3-css.c .bss_size = bi->blob.bss_size, bi 497 drivers/staging/media/ipu3/ipu3-css.c IMGU_REG_SP_DMEM_BASE(sp) + bi->info.sp.init_dmem_data); bi 499 drivers/staging/media/ipu3/ipu3-css.c writel(bi->info.sp.sp_entry, base + IMGU_REG_SP_START_ADDR(sp)); bi 505 drivers/staging/media/ipu3/ipu3-css.c + bi->info.sp.sw_state, bi 530 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi, *bl = &css->fwp->binary_header[css->fw_bl]; bi 575 drivers/staging/media/ipu3/ipu3-css.c bi = &css->fwp->binary_header[css->fw_sp[0]]; bi 578 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.per_frame_data); bi 581 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state); bi 582 drivers/staging/media/ipu3/ipu3-css.c writel(1, base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.invalidate_tlb); bi 587 drivers/staging/media/ipu3/ipu3-css.c writel(0, base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.isp_started); bi 589 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_queues_initialized); bi 590 drivers/staging/media/ipu3/ipu3-css.c writel(0, base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sleep_mode); bi 591 drivers/staging/media/ipu3/ipu3-css.c writel(0, base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.invalidate_tlb); bi 593 drivers/staging/media/ipu3/ipu3-css.c + bi->info.sp.host_sp_com + IMGU_ABI_SP_COMM_COMMAND); bi 599 drivers/staging/media/ipu3/ipu3-css.c + bi->info.sp.host_sp_com bi 602 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_queues_initialized); bi 606 drivers/staging/media/ipu3/ipu3-css.c bi = &css->fwp->binary_header[css->fw_sp[1]]; bi 609 drivers/staging/media/ipu3/ipu3-css.c base + IMGU_REG_SP_DMEM_BASE(1) + bi->info.sp.sw_state); bi 615 drivers/staging/media/ipu3/ipu3-css.c + bi->info.sp.host_sp_com + IMGU_ABI_SP_COMM_COMMAND); bi 623 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[0]]; bi 628 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_com + IMGU_ABI_SP_COMM_COMMAND); bi 632 drivers/staging/media/ipu3/ipu3-css.c if (readl(base + IMGU_REG_SP_DMEM_BASE(0) + bi->info.sp.sw_state) != bi 701 drivers/staging/media/ipu3/ipu3-css.c const struct imgu_fw_info *bi = bi 703 drivers/staging/media/ipu3/ipu3-css.c const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes; bi 706 drivers/staging/media/ipu3/ipu3-css.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_CONFIG]; bi 708 drivers/staging/media/ipu3/ipu3-css.c bi->blob.memory_offsets.offsets[IMGU_ABI_PARAM_CLASS_STATE]; bi 903 drivers/staging/media/ipu3/ipu3-css.c isp_stage->blob_info = bi->blob; bi 904 drivers/staging/media/ipu3/ipu3-css.c isp_stage->binary_info = bi->info.isp.sp; bi 906 drivers/staging/media/ipu3/ipu3-css.c (char *)css->fwp + bi->blob.prog_name_offset, bi 908 drivers/staging/media/ipu3/ipu3-css.c isp_stage->mem_initializers = bi->info.isp.sp.mem_initializers; bi 1026 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.pipeline.isp_pipe_version; bi 1066 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.enable.params ? (1 << pipe) : 0; bi 1087 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.mem_initializers.params bi 1106 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; bi 1108 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_queue; bi 1120 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; bi 1122 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_queue; bi 1158 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; bi 1160 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.host_sp_queue; bi 1262 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css_pipe->bindex]; bi 1275 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.mem_initializers.params[j][i].size)) bi 1305 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.block.block_width * bi 1309 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.block.output_block_height); bi 1619 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[i]; bi 1621 drivers/staging/media/ipu3/ipu3-css.c u32 max_width = bi->info.isp.sp.output.max_width; bi 1622 drivers/staging/media/ipu3/ipu3-css.c u32 max_height = bi->info.isp.sp.output.max_height; bi 1624 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.iterator.num_stripes <= 1) { bi 1633 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[i]; bi 1636 drivers/staging/media/ipu3/ipu3-css.c name = (void *)css->fwp + bi->blob.prog_name_offset; bi 1639 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.input.source != bi 1644 drivers/staging/media/ipu3/ipu3-css.c if (!bi->info.isp.sp.enable.input_feeder && bi 1645 drivers/staging/media/ipu3/ipu3-css.c !bi->info.isp.sp.enable.input_raw) bi 1649 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.pipeline.mode != binary_mode) bi 1653 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.enable.luma_only) bi 1656 drivers/staging/media/ipu3/ipu3-css.c if (in->width < bi->info.isp.sp.input.min_width || bi 1657 drivers/staging/media/ipu3/ipu3-css.c in->width > bi->info.isp.sp.input.max_width || bi 1658 drivers/staging/media/ipu3/ipu3-css.c in->height < bi->info.isp.sp.input.min_height || bi 1659 drivers/staging/media/ipu3/ipu3-css.c in->height > bi->info.isp.sp.input.max_height) bi 1663 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.num_output_pins <= 0) bi 1667 drivers/staging/media/ipu3/ipu3-css.c for (j = 0; j < bi->info.isp.num_output_formats; j++) bi 1668 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.output_formats[j] == q_fmt) bi 1670 drivers/staging/media/ipu3/ipu3-css.c if (j >= bi->info.isp.num_output_formats) bi 1673 drivers/staging/media/ipu3/ipu3-css.c if (out->width < bi->info.isp.sp.output.min_width || bi 1674 drivers/staging/media/ipu3/ipu3-css.c out->width > bi->info.isp.sp.output.max_width || bi 1675 drivers/staging/media/ipu3/ipu3-css.c out->height < bi->info.isp.sp.output.min_height || bi 1676 drivers/staging/media/ipu3/ipu3-css.c out->height > bi->info.isp.sp.output.max_height) bi 1679 drivers/staging/media/ipu3/ipu3-css.c if (out->width > bi->info.isp.sp.internal.max_width || bi 1680 drivers/staging/media/ipu3/ipu3-css.c out->height > bi->info.isp.sp.internal.max_height) bi 1685 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.num_output_pins <= 1) bi 1689 drivers/staging/media/ipu3/ipu3-css.c for (j = 0; j < bi->info.isp.num_output_formats; j++) bi 1690 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.output_formats[j] == q_fmt) bi 1692 drivers/staging/media/ipu3/ipu3-css.c if (j >= bi->info.isp.num_output_formats) bi 1695 drivers/staging/media/ipu3/ipu3-css.c if (vf->width < bi->info.isp.sp.output.min_width || bi 1696 drivers/staging/media/ipu3/ipu3-css.c vf->width > bi->info.isp.sp.output.max_width || bi 1697 drivers/staging/media/ipu3/ipu3-css.c vf->height < bi->info.isp.sp.output.min_height || bi 1698 drivers/staging/media/ipu3/ipu3-css.c vf->height > bi->info.isp.sp.output.max_height) bi 1704 drivers/staging/media/ipu3/ipu3-css.c bi->info.isp.sp.id); bi 2147 drivers/staging/media/ipu3/ipu3-css.c const struct imgu_fw_info *bi; bi 2169 drivers/staging/media/ipu3/ipu3-css.c bi = &css->fwp->binary_header[css_pipe->bindex]; bi 2170 drivers/staging/media/ipu3/ipu3-css.c obgrid_size = imgu_css_fw_obgrid_size(bi); bi 2171 drivers/staging/media/ipu3/ipu3-css.c stripes = bi->info.isp.sp.iterator.num_stripes ? : 1; bi 2237 drivers/staging/media/ipu3/ipu3-css.c if (bi->info.isp.sp.enable.dvs_6axis) { bi 2356 drivers/staging/media/ipu3/ipu3-css.c struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[0]]; bi 2371 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.output); bi 2373 drivers/staging/media/ipu3/ipu3-css.c bi->info.sp.output + 4 + 4 * i); bi 1568 drivers/staging/speakup/main.c int i, bi, hi; bi 1571 drivers/staging/speakup/main.c bi = (vc->vc_attr & 0x70) >> 4; bi 1572 drivers/staging/speakup/main.c hi = speakup_console[vc_num]->ht.highsize[bi]; bi 1575 drivers/staging/speakup/main.c if (speakup_console[vc_num]->ht.highsize[bi] == 0) { bi 1576 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.rpos[bi] = vc->vc_pos; bi 1577 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.rx[bi] = vc->vc_x; bi 1578 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.ry[bi] = vc->vc_y; bi 1582 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.highbuf[bi][hi] = ic[i]; bi 1585 drivers/staging/speakup/main.c if (speakup_console[vc_num]->ht.highbuf[bi][hi - 1] != bi 1587 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.highbuf[bi][hi] = bi 1594 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.highsize[bi] = hi; bi 74 drivers/target/target_core_iblock.c struct blk_integrity *bi; bi 129 drivers/target/target_core_iblock.c bi = bdev_get_integrity(bd); bi 130 drivers/target/target_core_iblock.c if (bi) { bi 133 drivers/target/target_core_iblock.c if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-IP") || bi 134 drivers/target/target_core_iblock.c !strcmp(bi->profile->name, "T10-DIF-TYPE1-IP")) { bi 136 drivers/target/target_core_iblock.c " supported\n", bi->profile->name); bi 141 drivers/target/target_core_iblock.c if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-CRC")) { bi 143 drivers/target/target_core_iblock.c } else if (!strcmp(bi->profile->name, "T10-DIF-TYPE1-CRC")) { bi 629 drivers/target/target_core_iblock.c struct blk_integrity *bi; bi 635 drivers/target/target_core_iblock.c bi = bdev_get_integrity(ib_dev->ibd_bd); bi 636 drivers/target/target_core_iblock.c if (!bi) { bi 648 drivers/target/target_core_iblock.c bip->bip_iter.bi_size = bio_integrity_bytes(bi, bio_sectors(bio)); bi 651 drivers/target/target_core_iblock.c (bi->interval_exp - SECTOR_SHIFT)); bi 303 drivers/thermal/intel/intel_pch_thermal.c const struct board_info *bi = &board_info[board_id]; bi 312 drivers/thermal/intel/intel_pch_thermal.c ptd->ops = bi->ops; bi 340 drivers/thermal/intel/intel_pch_thermal.c ptd->tzd = thermal_zone_device_register(bi->name, nr_trips, 0, ptd, bi 344 drivers/thermal/intel/intel_pch_thermal.c bi->name); bi 903 drivers/usb/atm/ueagle-atm.c struct block_info_e1 bi; bi 940 drivers/usb/atm/ueagle-atm.c bi.wHdr = cpu_to_le16(UEA_BIHDR); bi 941 drivers/usb/atm/ueagle-atm.c bi.wOvl = cpu_to_le16(ovl); bi 942 drivers/usb/atm/ueagle-atm.c bi.wOvlOffset = cpu_to_le16(ovl | 0x8000); bi 951 drivers/usb/atm/ueagle-atm.c bi.wSize = cpu_to_le16(blocksize); bi 952 drivers/usb/atm/ueagle-atm.c bi.wAddress = cpu_to_le16(blockaddr); bi 953 drivers/usb/atm/ueagle-atm.c bi.wLast = cpu_to_le16((i == blockcount - 1) ? 1 : 0); bi 956 drivers/usb/atm/ueagle-atm.c if (uea_idma_write(sc, &bi, E1_BLOCK_INFO_SIZE)) bi 977 drivers/usb/atm/ueagle-atm.c struct block_info_e4 bi; bi 982 drivers/usb/atm/ueagle-atm.c bi.wHdr = cpu_to_be16(UEA_BIHDR); bi 983 drivers/usb/atm/ueagle-atm.c bi.bBootPage = boot; bi 984 drivers/usb/atm/ueagle-atm.c bi.bPageNumber = pageno; bi 985 drivers/usb/atm/ueagle-atm.c bi.wReserved = cpu_to_be16(UEA_RESERVED); bi 996 drivers/usb/atm/ueagle-atm.c bi.dwSize = cpu_to_be32(blocksize); bi 997 drivers/usb/atm/ueagle-atm.c bi.dwAddress = cpu_to_be32(le32_to_cpu(blockidx->PageAddress)); bi 1006 drivers/usb/atm/ueagle-atm.c if (uea_idma_write(sc, &bi, E4_BLOCK_INFO_SIZE)) bi 1028 drivers/usb/atm/ueagle-atm.c struct block_info_e4 bi; bi 1064 drivers/usb/atm/ueagle-atm.c bi.wHdr = cpu_to_be16(UEA_BIHDR); bi 1065 drivers/usb/atm/ueagle-atm.c bi.bBootPage = 0; bi 1066 drivers/usb/atm/ueagle-atm.c bi.bPageNumber = 0xff; bi 1067 drivers/usb/atm/ueagle-atm.c bi.wReserved = cpu_to_be16(UEA_RESERVED); bi 1068 drivers/usb/atm/ueagle-atm.c bi.dwSize = cpu_to_be32(E4_PAGE_BYTES(p->page_header[0].PageSize)); bi 1069 drivers/usb/atm/ueagle-atm.c bi.dwAddress = cpu_to_be32(le32_to_cpu(p->page_header[0].PageAddress)); bi 1072 drivers/usb/atm/ueagle-atm.c if (uea_idma_write(sc, &bi, E4_BLOCK_INFO_SIZE)) bi 665 drivers/video/fbdev/cirrusfb.c const struct cirrusfb_board_info_rec *bi; bi 697 drivers/video/fbdev/cirrusfb.c bi = &cirrusfb_board_info[cinfo->btype]; bi 955 drivers/video/fbdev/cirrusfb.c bi->sr07_1bpp_mux : bi->sr07_1bpp); bi 1029 drivers/video/fbdev/cirrusfb.c bi->sr07_8bpp_mux : bi->sr07_8bpp); bi 1449 drivers/video/fbdev/cirrusfb.c const struct cirrusfb_board_info_rec *bi; bi 1453 drivers/video/fbdev/cirrusfb.c bi = &cirrusfb_board_info[cinfo->btype]; bi 1553 drivers/video/fbdev/cirrusfb.c if (bi->init_sr07) bi 1554 drivers/video/fbdev/cirrusfb.c vga_wseq(cinfo->regbase, CL_SEQR7, bi->sr07); bi 277 fs/befs/linuxvfs.c struct befs_inode_info *bi; bi 279 fs/befs/linuxvfs.c bi = kmem_cache_alloc(befs_inode_cachep, GFP_KERNEL); bi 280 fs/befs/linuxvfs.c if (!bi) bi 282 fs/befs/linuxvfs.c return &bi->vfs_inode; bi 292 fs/befs/linuxvfs.c struct befs_inode_info *bi = (struct befs_inode_info *) foo; bi 294 fs/befs/linuxvfs.c inode_init_once(&bi->vfs_inode); bi 71 fs/bfs/file.c struct bfs_inode_info *bi = BFS_I(inode); bi 73 fs/bfs/file.c phys = bi->i_sblock + block; bi 75 fs/bfs/file.c if (phys <= bi->i_eblock) { bi 87 fs/bfs/file.c if (bi->i_sblock && (phys <= bi->i_eblock)) { bi 106 fs/bfs/file.c if (bi->i_eblock == info->si_lf_eblk) { bi 110 fs/bfs/file.c info->si_freeb -= phys - bi->i_eblock; bi 111 fs/bfs/file.c info->si_lf_eblk = bi->i_eblock = phys; bi 124 fs/bfs/file.c if (bi->i_sblock) { bi 125 fs/bfs/file.c err = bfs_move_blocks(inode->i_sb, bi->i_sblock, bi 126 fs/bfs/file.c bi->i_eblock, phys); bi 137 fs/bfs/file.c bi->i_sblock = phys; bi 139 fs/bfs/file.c info->si_lf_eblk = bi->i_eblock = phys; bi 145 fs/bfs/file.c info->si_freeb -= bi->i_eblock - bi->i_sblock + 1 - inode->i_blocks; bi 170 fs/bfs/inode.c struct bfs_inode_info *bi = BFS_I(inode); bi 191 fs/bfs/inode.c if (bi->i_dsk_ino) { bi 192 fs/bfs/inode.c if (bi->i_sblock) bi 193 fs/bfs/inode.c info->si_freeb += bi->i_eblock + 1 - bi->i_sblock; bi 204 fs/bfs/inode.c if (info->si_lf_eblk == bi->i_eblock) bi 205 fs/bfs/inode.c info->si_lf_eblk = bi->i_sblock - 1; bi 242 fs/bfs/inode.c struct bfs_inode_info *bi; bi 243 fs/bfs/inode.c bi = kmem_cache_alloc(bfs_inode_cachep, GFP_KERNEL); bi 244 fs/bfs/inode.c if (!bi) bi 246 fs/bfs/inode.c return &bi->vfs_inode; bi 256 fs/bfs/inode.c struct bfs_inode_info *bi = foo; bi 258 fs/bfs/inode.c inode_init_once(&bi->vfs_inode); bi 2127 fs/btrfs/block-group.c unsigned long bi; bi 2138 fs/btrfs/block-group.c bi = btrfs_item_ptr_offset(leaf, path->slots[0]); bi 2139 fs/btrfs/block-group.c write_extent_buffer(leaf, &cache->item, bi, sizeof(cache->item)); bi 2031 fs/btrfs/ctree.h const struct btrfs_balance_item *bi, bi 2034 fs/btrfs/ctree.h read_eb_member(eb, bi, struct btrfs_balance_item, data, ba); bi 2038 fs/btrfs/ctree.h struct btrfs_balance_item *bi, bi 2041 fs/btrfs/ctree.h write_eb_member(eb, bi, struct btrfs_balance_item, data, ba); bi 2045 fs/btrfs/ctree.h const struct btrfs_balance_item *bi, bi 2048 fs/btrfs/ctree.h read_eb_member(eb, bi, struct btrfs_balance_item, meta, ba); bi 2052 fs/btrfs/ctree.h struct btrfs_balance_item *bi, bi 2055 fs/btrfs/ctree.h write_eb_member(eb, bi, struct btrfs_balance_item, meta, ba); bi 2059 fs/btrfs/ctree.h const struct btrfs_balance_item *bi, bi 2062 fs/btrfs/ctree.h read_eb_member(eb, bi, struct btrfs_balance_item, sys, ba); bi 2066 fs/btrfs/ctree.h struct btrfs_balance_item *bi, bi 2069 fs/btrfs/ctree.h write_eb_member(eb, bi, struct btrfs_balance_item, sys, ba); bi 869 fs/btrfs/disk-io.c struct btrfs_inode *bi) bi 871 fs/btrfs/disk-io.c if (atomic_read(&bi->sync_writers)) bi 1543 fs/btrfs/extent-tree.c struct btrfs_tree_block_info *bi; bi 1545 fs/btrfs/extent-tree.c bi = (struct btrfs_tree_block_info *)(ei + 1); bi 1546 fs/btrfs/extent-tree.c btrfs_set_tree_block_key(leaf, bi, &extent_op->key); bi 3096 fs/btrfs/extent-tree.c struct btrfs_tree_block_info *bi; bi 3097 fs/btrfs/extent-tree.c BUG_ON(item_size < sizeof(*ei) + sizeof(*bi)); bi 3098 fs/btrfs/extent-tree.c bi = (struct btrfs_tree_block_info *)(ei + 1); bi 3099 fs/btrfs/extent-tree.c WARN_ON(owner_objectid != btrfs_tree_block_level(leaf, bi)); bi 175 fs/btrfs/print-tree.c struct btrfs_block_group_item *bi; bi 265 fs/btrfs/print-tree.c bi = btrfs_item_ptr(l, i, bi 269 fs/btrfs/print-tree.c btrfs_disk_block_group_used(l, bi), bi 270 fs/btrfs/print-tree.c btrfs_disk_block_group_chunk_objectid(l, bi), bi 271 fs/btrfs/print-tree.c btrfs_disk_block_group_flags(l, bi)); bi 631 fs/btrfs/relocation.c struct btrfs_tree_block_info *bi; bi 647 fs/btrfs/relocation.c item_size <= sizeof(*ei) + sizeof(*bi)) { bi 648 fs/btrfs/relocation.c WARN_ON(item_size < sizeof(*ei) + sizeof(*bi)); bi 658 fs/btrfs/relocation.c bi = (struct btrfs_tree_block_info *)(ei + 1); bi 659 fs/btrfs/relocation.c *ptr = (unsigned long)(bi + 1); bi 3454 fs/btrfs/relocation.c struct btrfs_tree_block_info *bi; bi 3465 fs/btrfs/relocation.c item_size >= sizeof(*ei) + sizeof(*bi)) { bi 3469 fs/btrfs/relocation.c bi = (struct btrfs_tree_block_info *)(ei + 1); bi 3470 fs/btrfs/relocation.c level = btrfs_tree_block_level(eb, bi); bi 76 fs/gfs2/lops.c struct gfs2_bitmap *bi = rgd->rd_bits + index; bi 78 fs/gfs2/lops.c if (bi->bi_clone == NULL) bi 81 fs/gfs2/lops.c gfs2_rgrp_send_discards(sdp, rgd->rd_data0, bd->bd_bh, bi, 1, NULL); bi 82 fs/gfs2/lops.c memcpy(bi->bi_clone + bi->bi_offset, bi 83 fs/gfs2/lops.c bd->bd_bh->b_data + bi->bi_offset, bi->bi_bytes); bi 84 fs/gfs2/lops.c clear_bit(GBF_FULL, &bi->bi_flags); bi 89 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = rbm_bi(rbm); bi 90 fs/gfs2/rgrp.c unsigned int buflen = bi->bi_bytes; bi 93 fs/gfs2/rgrp.c byte1 = bi->bi_bh->b_data + bi->bi_offset + (rbm->offset / GFS2_NBBY); bi 94 fs/gfs2/rgrp.c end = bi->bi_bh->b_data + bi->bi_offset + buflen; bi 106 fs/gfs2/rgrp.c (unsigned long long)rbm->rgd->rd_addr, bi->bi_start, bi 107 fs/gfs2/rgrp.c (unsigned long long)bi->bi_bh->b_blocknr); bi 109 fs/gfs2/rgrp.c bi->bi_offset, bi->bi_bytes, bi 117 fs/gfs2/rgrp.c if (do_clone && bi->bi_clone) { bi 118 fs/gfs2/rgrp.c byte2 = bi->bi_clone + bi->bi_offset + (rbm->offset / GFS2_NBBY); bi 137 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = rbm_bi(rbm); bi 142 fs/gfs2/rgrp.c if (use_clone && bi->bi_clone) bi 143 fs/gfs2/rgrp.c buffer = bi->bi_clone; bi 145 fs/gfs2/rgrp.c buffer = bi->bi_bh->b_data; bi 146 fs/gfs2/rgrp.c buffer += bi->bi_offset; bi 367 fs/gfs2/rgrp.c struct gfs2_bitmap *bi; bi 376 fs/gfs2/rgrp.c bi = rbm_bi(&rbm); bi 377 fs/gfs2/rgrp.c start = bi->bi_bh->b_data; bi 378 fs/gfs2/rgrp.c if (bi->bi_clone) bi 379 fs/gfs2/rgrp.c start = bi->bi_clone; bi 380 fs/gfs2/rgrp.c start += bi->bi_offset; bi 381 fs/gfs2/rgrp.c end = start + bi->bi_bytes; bi 452 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = NULL; bi 461 fs/gfs2/rgrp.c bi = rgd->rd_bits + buf; bi 464 fs/gfs2/rgrp.c bi->bi_bh->b_data + bi 465 fs/gfs2/rgrp.c bi->bi_offset, bi 466 fs/gfs2/rgrp.c bi->bi_bytes, x); bi 597 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = rgd->rd_bits + x; bi 598 fs/gfs2/rgrp.c kfree(bi->bi_clone); bi 599 fs/gfs2/rgrp.c bi->bi_clone = NULL; bi 769 fs/gfs2/rgrp.c struct gfs2_bitmap *bi; bi 784 fs/gfs2/rgrp.c bi = rgd->rd_bits + x; bi 786 fs/gfs2/rgrp.c bi->bi_flags = 0; bi 790 fs/gfs2/rgrp.c bi->bi_offset = sizeof(struct gfs2_rgrp); bi 791 fs/gfs2/rgrp.c bi->bi_start = 0; bi 792 fs/gfs2/rgrp.c bi->bi_bytes = bytes; bi 793 fs/gfs2/rgrp.c bi->bi_blocks = bytes * GFS2_NBBY; bi 797 fs/gfs2/rgrp.c bi->bi_offset = sizeof(struct gfs2_rgrp); bi 798 fs/gfs2/rgrp.c bi->bi_start = 0; bi 799 fs/gfs2/rgrp.c bi->bi_bytes = bytes; bi 800 fs/gfs2/rgrp.c bi->bi_blocks = bytes * GFS2_NBBY; bi 804 fs/gfs2/rgrp.c bi->bi_offset = sizeof(struct gfs2_meta_header); bi 805 fs/gfs2/rgrp.c bi->bi_start = rgd->rd_bitbytes - bytes_left; bi 806 fs/gfs2/rgrp.c bi->bi_bytes = bytes; bi 807 fs/gfs2/rgrp.c bi->bi_blocks = bytes * GFS2_NBBY; bi 812 fs/gfs2/rgrp.c bi->bi_offset = sizeof(struct gfs2_meta_header); bi 813 fs/gfs2/rgrp.c bi->bi_start = rgd->rd_bitbytes - bytes_left; bi 814 fs/gfs2/rgrp.c bi->bi_bytes = bytes; bi 815 fs/gfs2/rgrp.c bi->bi_blocks = bytes * GFS2_NBBY; bi 825 fs/gfs2/rgrp.c bi = rgd->rd_bits + (length - 1); bi 826 fs/gfs2/rgrp.c if ((bi->bi_start + bi->bi_bytes) * GFS2_NBBY != rgd->rd_data) { bi 830 fs/gfs2/rgrp.c bi->bi_start, bi->bi_bytes, bi->bi_offset); bi 1149 fs/gfs2/rgrp.c struct gfs2_bitmap *bi; bi 1154 fs/gfs2/rgrp.c for (i = 0, bi = rgd->rd_bits; i < length; i++, bi++) { bi 1156 fs/gfs2/rgrp.c buffer = bi->bi_bh->b_data + bi->bi_offset; bi 1157 fs/gfs2/rgrp.c WARN_ON(!buffer_uptodate(bi->bi_bh)); bi 1158 fs/gfs2/rgrp.c while (goal < bi->bi_blocks) { bi 1159 fs/gfs2/rgrp.c goal = gfs2_bitfit(buffer, bi->bi_bytes, goal, bi 1187 fs/gfs2/rgrp.c struct gfs2_bitmap *bi; bi 1195 fs/gfs2/rgrp.c bi = rgd->rd_bits + x; bi 1196 fs/gfs2/rgrp.c error = gfs2_meta_read(gl, rgd->rd_addr + x, 0, 0, &bi->bi_bh); bi 1202 fs/gfs2/rgrp.c bi = rgd->rd_bits + y; bi 1203 fs/gfs2/rgrp.c error = gfs2_meta_wait(sdp, bi->bi_bh); bi 1206 fs/gfs2/rgrp.c if (gfs2_metatype_check(sdp, bi->bi_bh, y ? GFS2_METATYPE_RB : bi 1240 fs/gfs2/rgrp.c bi = rgd->rd_bits + x; bi 1241 fs/gfs2/rgrp.c brelse(bi->bi_bh); bi 1242 fs/gfs2/rgrp.c bi->bi_bh = NULL; bi 1243 fs/gfs2/rgrp.c gfs2_assert_warn(sdp, !bi->bi_clone); bi 1293 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = rgd->rd_bits + x; bi 1294 fs/gfs2/rgrp.c if (bi->bi_bh) { bi 1295 fs/gfs2/rgrp.c brelse(bi->bi_bh); bi 1296 fs/gfs2/rgrp.c bi->bi_bh = NULL; bi 1320 fs/gfs2/rgrp.c const struct gfs2_bitmap *bi, unsigned minlen, u64 *ptrimmed) bi 1331 fs/gfs2/rgrp.c for (x = 0; x < bi->bi_bytes; x++) { bi 1332 fs/gfs2/rgrp.c const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; bi 1333 fs/gfs2/rgrp.c clone += bi->bi_offset; bi 1336 fs/gfs2/rgrp.c const u8 *orig = bh->b_data + bi->bi_offset + x; bi 1344 fs/gfs2/rgrp.c blk = offset + ((bi->bi_start + x) * GFS2_NBBY); bi 1447 fs/gfs2/rgrp.c struct gfs2_bitmap *bi = rgd->rd_bits + x; bi 1449 fs/gfs2/rgrp.c rgd->rd_data0, NULL, bi, minlen, bi 1738 fs/gfs2/rgrp.c struct gfs2_bitmap *bi; bi 1749 fs/gfs2/rgrp.c bi = rbm_bi(rbm); bi 1751 fs/gfs2/rgrp.c test_bit(GBF_FULL, &bi->bi_flags) && bi 1755 fs/gfs2/rgrp.c bh = bi->bi_bh; bi 1756 fs/gfs2/rgrp.c buffer = bh->b_data + bi->bi_offset; bi 1758 fs/gfs2/rgrp.c if (state != GFS2_BLKST_UNLINKED && bi->bi_clone) bi 1759 fs/gfs2/rgrp.c buffer = bi->bi_clone + bi->bi_offset; bi 1760 fs/gfs2/rgrp.c offset = gfs2_bitfit(buffer, bi->bi_bytes, rbm->offset, state); bi 1763 fs/gfs2/rgrp.c set_bit(GBF_FULL, &bi->bi_flags); bi 2224 fs/gfs2/rgrp.c struct gfs2_bitmap *bi, *bi_prev = NULL; bi 2230 fs/gfs2/rgrp.c bi = rbm_bi(&rbm); bi 2231 fs/gfs2/rgrp.c if (bi != bi_prev) { bi 2232 fs/gfs2/rgrp.c if (!bi->bi_clone) { bi 2233 fs/gfs2/rgrp.c bi->bi_clone = kmalloc(bi->bi_bh->b_size, bi 2235 fs/gfs2/rgrp.c memcpy(bi->bi_clone + bi->bi_offset, bi 2236 fs/gfs2/rgrp.c bi->bi_bh->b_data + bi->bi_offset, bi 2237 fs/gfs2/rgrp.c bi->bi_bytes); bi 2239 fs/gfs2/rgrp.c gfs2_trans_add_meta(rbm.rgd->rd_gl, bi->bi_bh); bi 2240 fs/gfs2/rgrp.c bi_prev = bi; bi 76 fs/gfs2/rgrp.h const struct gfs2_bitmap *bi, unsigned minlen, u64 *ptrimmed); bi 148 fs/reiserfs/bitmap.c struct reiserfs_bitmap_info *bi = &SB_AP_BITMAP(s)[bmap_n]; bi 158 fs/reiserfs/bitmap.c if (!bi) { bi 170 fs/reiserfs/bitmap.c if (bi->free_count < min) { bi 257 fs/reiserfs/bitmap.c bi->free_count -= (end - *beg); bi 20 fs/reiserfs/do_balan.c struct buffer_info *bi) bi 22 fs/reiserfs/do_balan.c bi->tb = tb; bi 23 fs/reiserfs/do_balan.c bi->bi_bh = tb->L[0]; bi 24 fs/reiserfs/do_balan.c bi->bi_parent = tb->FL[0]; bi 25 fs/reiserfs/do_balan.c bi->bi_position = get_left_neighbor_position(tb, 0); bi 29 fs/reiserfs/do_balan.c struct buffer_info *bi) bi 31 fs/reiserfs/do_balan.c bi->tb = tb; bi 32 fs/reiserfs/do_balan.c bi->bi_bh = tb->R[0]; bi 33 fs/reiserfs/do_balan.c bi->bi_parent = tb->FR[0]; bi 34 fs/reiserfs/do_balan.c bi->bi_position = get_right_neighbor_position(tb, 0); bi 38 fs/reiserfs/do_balan.c struct buffer_info *bi) bi 40 fs/reiserfs/do_balan.c bi->tb = tb; bi 41 fs/reiserfs/do_balan.c bi->bi_bh = PATH_PLAST_BUFFER(tb->tb_path); bi 42 fs/reiserfs/do_balan.c bi->bi_parent = PATH_H_PPARENT(tb->tb_path, 0); bi 43 fs/reiserfs/do_balan.c bi->bi_position = PATH_H_POSITION(tb->tb_path, 1); bi 47 fs/reiserfs/do_balan.c struct buffer_info *bi, bi 50 fs/reiserfs/do_balan.c bi->tb = tb; bi 51 fs/reiserfs/do_balan.c bi->bi_bh = bh; bi 52 fs/reiserfs/do_balan.c bi->bi_parent = NULL; bi 53 fs/reiserfs/do_balan.c bi->bi_position = 0; bi 81 fs/reiserfs/do_balan.c struct buffer_info bi; bi 90 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 91 fs/reiserfs/do_balan.c leaf_delete_items(&bi, 0, item_pos, 1, -1); bi 115 fs/reiserfs/do_balan.c struct buffer_info bi; bi 116 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 127 fs/reiserfs/do_balan.c leaf_cut_from_buffer(&bi, item_pos, pos_in_item, bi 137 fs/reiserfs/do_balan.c leaf_cut_from_buffer(&bi, item_pos, pos_in_item, bi 242 fs/reiserfs/do_balan.c struct buffer_info bi; bi 252 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 291 fs/reiserfs/do_balan.c struct buffer_info bi; bi 312 fs/reiserfs/do_balan.c buffer_info_init_left(tb, &bi); bi 313 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body, bi 342 fs/reiserfs/do_balan.c buffer_info_init_left(tb, &bi); bi 343 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, n + tb->item_pos - ret, ih, body, bi 356 fs/reiserfs/do_balan.c struct buffer_info bi; bi 379 fs/reiserfs/do_balan.c buffer_info_init_left(tb, &bi); bi 380 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, n + tb->item_pos - ret, bi 395 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, n + tb->item_pos - ret, bi 419 fs/reiserfs/do_balan.c struct buffer_info bi; bi 464 fs/reiserfs/do_balan.c buffer_info_init_left(tb, &bi); bi 465 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, n + tb->item_pos - ret, bi 538 fs/reiserfs/do_balan.c struct buffer_info bi; bi 563 fs/reiserfs/do_balan.c buffer_info_init_left(tb, &bi); bi 564 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, n + tb->item_pos - ret, tb->pos_in_item, bi 570 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, n + tb->item_pos - ret, bi 628 fs/reiserfs/do_balan.c struct buffer_info bi; bi 663 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 674 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, 0, ih, r_body, r_zeroes_number); bi 695 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 696 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, tb->item_pos - n + tb->rnum[0] - 1, bi 712 fs/reiserfs/do_balan.c struct buffer_info bi; bi 737 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 738 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, 0, paste_entry_position, bi 742 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, 0, paste_entry_position, 1, bi 766 fs/reiserfs/do_balan.c struct buffer_info bi; bi 815 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 825 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0] - n_rem, bi 843 fs/reiserfs/do_balan.c struct buffer_info bi; bi 845 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 850 fs/reiserfs/do_balan.c buffer_info_init_right(tb, &bi); bi 851 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, tb->item_pos - n + tb->rnum[0], bi 859 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, tb->item_pos - n + tb->rnum[0], bi 928 fs/reiserfs/do_balan.c struct buffer_info bi; bi 967 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->S_new[i]); bi 980 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, 0, ih, r_body, r_zeroes_number); bi 1000 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->S_new[i]); bi 1001 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, tb->item_pos - n + tb->snum[i] - 1, bi 1019 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1043 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->S_new[i]); bi 1044 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, 0, tb->pos_in_item - entry_count + bi 1049 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, 0, tb->pos_in_item - entry_count + bi 1076 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1111 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->S_new[i]); bi 1121 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0] - n_rem, bi 1149 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1170 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->S_new[i]); bi 1171 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, tb->item_pos - n + tb->snum[i], bi 1178 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, tb->item_pos - n + tb->snum[i], bi 1265 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1266 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 1267 fs/reiserfs/do_balan.c leaf_insert_into_buf(&bi, tb->item_pos, ih, body, tb->zeroes_num); bi 1283 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1290 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 1291 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, tb->item_pos, tb->pos_in_item, bi 1295 fs/reiserfs/do_balan.c leaf_paste_entries(&bi, tb->item_pos, tb->pos_in_item, 1, bi 1316 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1331 fs/reiserfs/do_balan.c buffer_info_init_tbS0(tb, &bi); bi 1332 fs/reiserfs/do_balan.c leaf_paste_in_buffer(&bi, tb->item_pos, bi 1468 fs/reiserfs/do_balan.c void make_empty_node(struct buffer_info *bi) bi 1472 fs/reiserfs/do_balan.c RFALSE(bi->bi_bh == NULL, "PAP-12295: pointer to the buffer is NULL"); bi 1474 fs/reiserfs/do_balan.c blkh = B_BLK_HEAD(bi->bi_bh); bi 1476 fs/reiserfs/do_balan.c set_blkh_free_space(blkh, MAX_CHILD_SIZE(bi->bi_bh)); bi 1478 fs/reiserfs/do_balan.c if (bi->bi_parent) bi 1479 fs/reiserfs/do_balan.c B_N_CHILD(bi->bi_parent, bi->bi_position)->dc_size = 0; /* Endian safe if 0 */ bi 1486 fs/reiserfs/do_balan.c struct buffer_info bi; bi 1495 fs/reiserfs/do_balan.c buffer_info_init_bh(tb, &bi, tb->FEB[i]); bi 1496 fs/reiserfs/do_balan.c make_empty_node(&bi); bi 638 fs/reiserfs/ibalance.c struct buffer_info bi; bi 643 fs/reiserfs/ibalance.c bi.tb = tb; bi 644 fs/reiserfs/ibalance.c bi.bi_bh = tbSh; bi 645 fs/reiserfs/ibalance.c bi.bi_parent = PATH_H_PPARENT(tb->tb_path, h); bi 646 fs/reiserfs/ibalance.c bi.bi_position = PATH_H_POSITION(tb->tb_path, h + 1); bi 648 fs/reiserfs/ibalance.c internal_delete_childs(&bi, child_pos, -insert_num); bi 664 fs/reiserfs/ibalance.c RFALSE(bi.bi_parent, "root has parent (%p)", bi 665 fs/reiserfs/ibalance.c bi.bi_parent); bi 812 fs/reiserfs/ibalance.c struct buffer_info bi; bi 871 fs/reiserfs/ibalance.c bi.tb = tb; bi 872 fs/reiserfs/ibalance.c bi.bi_bh = tb->L[h]; bi 873 fs/reiserfs/ibalance.c bi.bi_parent = tb->FL[h]; bi 874 fs/reiserfs/ibalance.c bi.bi_position = get_left_neighbor_position(tb, h); bi 875 fs/reiserfs/ibalance.c internal_insert_childs(&bi, bi 892 fs/reiserfs/ibalance.c bi.tb = tb; bi 893 fs/reiserfs/ibalance.c bi.bi_bh = tb->L[h]; bi 894 fs/reiserfs/ibalance.c bi.bi_parent = tb->FL[h]; bi 895 fs/reiserfs/ibalance.c bi.bi_position = get_left_neighbor_position(tb, h); bi 896 fs/reiserfs/ibalance.c internal_insert_childs(&bi, bi 940 fs/reiserfs/ibalance.c bi.tb = tb; bi 941 fs/reiserfs/ibalance.c bi.bi_bh = tb->R[h]; bi 942 fs/reiserfs/ibalance.c bi.bi_parent = tb->FR[h]; bi 943 fs/reiserfs/ibalance.c bi.bi_position = get_right_neighbor_position(tb, h); bi 944 fs/reiserfs/ibalance.c internal_insert_childs(&bi, bi 958 fs/reiserfs/ibalance.c bi.tb = tb; bi 959 fs/reiserfs/ibalance.c bi.bi_bh = tb->R[h]; bi 960 fs/reiserfs/ibalance.c bi.bi_parent = tb->FR[h]; bi 961 fs/reiserfs/ibalance.c bi.bi_position = get_right_neighbor_position(tb, h); bi 962 fs/reiserfs/ibalance.c internal_insert_childs(&bi, bi 1146 fs/reiserfs/ibalance.c bi.tb = tb; bi 1147 fs/reiserfs/ibalance.c bi.bi_bh = tbSh; bi 1148 fs/reiserfs/ibalance.c bi.bi_parent = PATH_H_PPARENT(tb->tb_path, h); bi 1149 fs/reiserfs/ibalance.c bi.bi_position = PATH_H_POSITION(tb->tb_path, h + 1); bi 1150 fs/reiserfs/ibalance.c internal_insert_childs(&bi, /*tbSh, */ bi 814 fs/reiserfs/lbalance.c static void leaf_delete_items_entirely(struct buffer_info *bi, bi 901 fs/reiserfs/lbalance.c void leaf_insert_into_buf(struct buffer_info *bi, int before, bi 906 fs/reiserfs/lbalance.c struct buffer_head *bh = bi->bi_bh; bi 962 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(bi->tb, bh, 1); bi 964 fs/reiserfs/lbalance.c if (bi->bi_parent) { bi 966 fs/reiserfs/lbalance.c t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); bi 970 fs/reiserfs/lbalance.c do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); bi 978 fs/reiserfs/lbalance.c void leaf_paste_in_buffer(struct buffer_info *bi, int affected_item_num, bi 982 fs/reiserfs/lbalance.c struct buffer_head *bh = bi->bi_bh; bi 1001 fs/reiserfs/lbalance.c if (bi && bi->tb) bi 1002 fs/reiserfs/lbalance.c sb = bi->tb->tb_sb; bi 1056 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(bi->tb, bh, 0); bi 1058 fs/reiserfs/lbalance.c if (bi->bi_parent) { bi 1060 fs/reiserfs/lbalance.c B_N_CHILD(bi->bi_parent, bi->bi_position); bi 1062 fs/reiserfs/lbalance.c do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); bi 1145 fs/reiserfs/lbalance.c void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num, bi 1149 fs/reiserfs/lbalance.c struct buffer_head *bh = bi->bi_bh; bi 1229 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(bi->tb, bh, 0); bi 1231 fs/reiserfs/lbalance.c if (bi->bi_parent) { bi 1233 fs/reiserfs/lbalance.c t_dc = B_N_CHILD(bi->bi_parent, bi->bi_position); bi 1235 fs/reiserfs/lbalance.c do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); bi 1240 fs/reiserfs/lbalance.c static void leaf_delete_items_entirely(struct buffer_info *bi, bi 1243 fs/reiserfs/lbalance.c struct buffer_head *bh = bi->bi_bh; bi 1265 fs/reiserfs/lbalance.c make_empty_node(bi); bi 1267 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(bi->tb, bh, 0); bi 1298 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(bi->tb, bh, 0); bi 1300 fs/reiserfs/lbalance.c if (bi->bi_parent) { bi 1302 fs/reiserfs/lbalance.c B_N_CHILD(bi->bi_parent, bi->bi_position); bi 1306 fs/reiserfs/lbalance.c do_balance_mark_internal_dirty(bi->tb, bi->bi_parent, 0); bi 1314 fs/reiserfs/lbalance.c void leaf_paste_entries(struct buffer_info *bi, bi 1326 fs/reiserfs/lbalance.c struct buffer_head *bh = bi->bi_bh; bi 1411 fs/reiserfs/lbalance.c reiserfs_error(sb_from_bi(bi), "vs-10240", bi 1417 fs/reiserfs/lbalance.c reiserfs_error(sb_from_bi(bi), "vs-10250", bi 2603 fs/reiserfs/reiserfs.h static inline struct super_block *sb_from_bi(struct buffer_info *bi) bi 2605 fs/reiserfs/reiserfs.h return bi ? sb_from_tb(bi->tb) : NULL; bi 3204 fs/reiserfs/reiserfs.h void print_bi(struct buffer_info *bi, char *mes); bi 3226 fs/reiserfs/reiserfs.h void leaf_insert_into_buf(struct buffer_info *bi, int before, bi 3230 fs/reiserfs/reiserfs.h void leaf_paste_in_buffer(struct buffer_info *bi, int pasted_item_num, bi 3233 fs/reiserfs/reiserfs.h void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num, bi 3235 fs/reiserfs/reiserfs.h void leaf_paste_entries(struct buffer_info *bi, int item_num, int before, bi 97 fs/ubifs/budget.c liab = c->bi.idx_growth + c->bi.data_growth + c->bi.dd_growth; bi 171 fs/ubifs/budget.c idx_size = c->bi.old_idx_sz + c->bi.idx_growth + c->bi.uncommitted_idx; bi 334 fs/ubifs/budget.c min_idx_lebs, c->bi.min_idx_lebs, rsvd_idx_lebs); bi 339 fs/ubifs/budget.c outstanding = c->bi.data_growth + c->bi.dd_growth; bi 350 fs/ubifs/budget.c c->bi.min_idx_lebs = min_idx_lebs; bi 383 fs/ubifs/budget.c data_growth = req->new_ino ? c->bi.inode_budget : 0; bi 385 fs/ubifs/budget.c data_growth += c->bi.page_budget; bi 387 fs/ubifs/budget.c data_growth += c->bi.dent_budget; bi 403 fs/ubifs/budget.c dd_growth = req->dirtied_page ? c->bi.page_budget : 0; bi 406 fs/ubifs/budget.c dd_growth += c->bi.inode_budget << (req->dirtied_ino - 1); bi 408 fs/ubifs/budget.c dd_growth += c->bi.dent_budget; bi 449 fs/ubifs/budget.c ubifs_assert(c, c->bi.idx_growth >= 0); bi 450 fs/ubifs/budget.c ubifs_assert(c, c->bi.data_growth >= 0); bi 451 fs/ubifs/budget.c ubifs_assert(c, c->bi.dd_growth >= 0); bi 453 fs/ubifs/budget.c if (unlikely(c->bi.nospace) && (c->bi.nospace_rp || !can_use_rp(c))) { bi 459 fs/ubifs/budget.c c->bi.idx_growth += idx_growth; bi 460 fs/ubifs/budget.c c->bi.data_growth += data_growth; bi 461 fs/ubifs/budget.c c->bi.dd_growth += dd_growth; bi 473 fs/ubifs/budget.c c->bi.idx_growth -= idx_growth; bi 474 fs/ubifs/budget.c c->bi.data_growth -= data_growth; bi 475 fs/ubifs/budget.c c->bi.dd_growth -= dd_growth; bi 495 fs/ubifs/budget.c c->bi.nospace = 1; bi 497 fs/ubifs/budget.c c->bi.nospace_rp = 1; bi 542 fs/ubifs/budget.c c->bi.nospace = c->bi.nospace_rp = 0; bi 546 fs/ubifs/budget.c c->bi.idx_growth -= req->idx_growth; bi 547 fs/ubifs/budget.c c->bi.uncommitted_idx += req->idx_growth; bi 548 fs/ubifs/budget.c c->bi.data_growth -= req->data_growth; bi 549 fs/ubifs/budget.c c->bi.dd_growth -= req->dd_growth; bi 550 fs/ubifs/budget.c c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); bi 552 fs/ubifs/budget.c ubifs_assert(c, c->bi.idx_growth >= 0); bi 553 fs/ubifs/budget.c ubifs_assert(c, c->bi.data_growth >= 0); bi 554 fs/ubifs/budget.c ubifs_assert(c, c->bi.dd_growth >= 0); bi 555 fs/ubifs/budget.c ubifs_assert(c, c->bi.min_idx_lebs < c->main_lebs); bi 556 fs/ubifs/budget.c ubifs_assert(c, !(c->bi.idx_growth & 7)); bi 557 fs/ubifs/budget.c ubifs_assert(c, !(c->bi.data_growth & 7)); bi 558 fs/ubifs/budget.c ubifs_assert(c, !(c->bi.dd_growth & 7)); bi 575 fs/ubifs/budget.c c->bi.idx_growth -= c->max_idx_node_sz << UBIFS_BLOCKS_PER_PAGE_SHIFT; bi 577 fs/ubifs/budget.c c->bi.data_growth -= c->bi.page_budget; bi 579 fs/ubifs/budget.c c->bi.dd_growth += c->bi.page_budget; bi 581 fs/ubifs/budget.c c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); bi 601 fs/ubifs/budget.c req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8); bi 671 fs/ubifs/budget.c ubifs_assert(c, c->bi.min_idx_lebs == ubifs_calc_min_idx_lebs(c)); bi 672 fs/ubifs/budget.c outstanding = c->bi.data_growth + c->bi.dd_growth; bi 673 fs/ubifs/budget.c available = ubifs_calc_available(c, c->bi.min_idx_lebs); bi 686 fs/ubifs/budget.c if (c->bi.min_idx_lebs > c->lst.idx_lebs) bi 687 fs/ubifs/budget.c rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; bi 168 fs/ubifs/commit.c c->mst_node->index_size = cpu_to_le64(c->bi.old_idx_sz); bi 575 fs/ubifs/debug.c void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi) bi 586 fs/ubifs/debug.c current->pid, bi->data_growth + bi->dd_growth, bi 587 fs/ubifs/debug.c bi->data_growth + bi->dd_growth + bi->idx_growth); bi 589 fs/ubifs/debug.c bi->data_growth, bi->dd_growth, bi->idx_growth); bi 591 fs/ubifs/debug.c bi->min_idx_lebs, bi->old_idx_sz, bi->uncommitted_idx); bi 593 fs/ubifs/debug.c bi->page_budget, bi->inode_budget, bi->dent_budget); bi 594 fs/ubifs/debug.c pr_err("\tnospace %u, nospace_rp %u\n", bi->nospace, bi->nospace_rp); bi 598 fs/ubifs/debug.c if (bi != &c->bi) bi 632 fs/ubifs/debug.c available = ubifs_calc_available(c, c->bi.min_idx_lebs); bi 633 fs/ubifs/debug.c outstanding = c->bi.data_growth + c->bi.dd_growth; bi 975 fs/ubifs/debug.c memcpy(&d->saved_bi, &c->bi, sizeof(struct ubifs_budg_info)); bi 1050 fs/ubifs/debug.c ubifs_dump_budg(c, &c->bi); bi 2757 fs/ubifs/debug.c ubifs_dump_budg(c, &c->bi); bi 248 fs/ubifs/debug.h void ubifs_dump_budg(struct ubifs_info *c, const struct ubifs_budg_info *bi); bi 821 fs/ubifs/dir.c c->bi.nospace = c->bi.nospace_rp = 0; bi 924 fs/ubifs/dir.c c->bi.nospace = c->bi.nospace_rp = 0; bi 212 fs/ubifs/file.c struct ubifs_budget_req req = { .dd_growth = c->bi.page_budget}; bi 1198 fs/ubifs/file.c c->bi.nospace = c->bi.nospace_rp = 0; bi 243 fs/ubifs/find.c if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { bi 244 fs/ubifs/find.c rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; bi 267 fs/ubifs/find.c exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); bi 492 fs/ubifs/find.c if (c->bi.min_idx_lebs > c->lst.idx_lebs) bi 493 fs/ubifs/find.c rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; bi 378 fs/ubifs/journal.c ubifs_dump_budg(c, &c->bi); bi 1107 fs/ubifs/lprops.c ubifs_dump_budg(c, &c->bi); bi 227 fs/ubifs/master.c if (c->bi.old_idx_sz & 7 || c->bi.old_idx_sz >= main_sz) { bi 297 fs/ubifs/master.c c->lst.total_used + c->bi.old_idx_sz > main_sz) { bi 365 fs/ubifs/master.c c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); bi 386 fs/ubifs/master.c c->calc_idx_sz = c->bi.old_idx_sz; bi 1124 fs/ubifs/recovery.c ubifs_dump_budg(c, &c->bi); bi 1246 fs/ubifs/replay.c c->bi.uncommitted_idx = atomic_long_read(&c->dirty_zn_cnt); bi 1247 fs/ubifs/replay.c c->bi.uncommitted_idx *= c->max_idx_node_sz; bi 371 fs/ubifs/super.c c->bi.nospace = c->bi.nospace_rp = 0; bi 706 fs/ubifs/super.c c->bi.page_budget = UBIFS_MAX_DATA_NODE_SZ * UBIFS_BLOCKS_PER_PAGE; bi 707 fs/ubifs/super.c c->bi.inode_budget = UBIFS_INO_NODE_SZ; bi 708 fs/ubifs/super.c c->bi.dent_budget = UBIFS_MAX_DENT_NODE_SZ; bi 752 fs/ubifs/super.c c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); bi 1196 fs/ubifs/super.c ubifs_dump_budg(c, &c->bi); bi 1400 fs/ubifs/super.c err = dbg_check_idx_size(c, c->bi.old_idx_sz); bi 1409 fs/ubifs/super.c c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); bi 1540 fs/ubifs/super.c c->bi.old_idx_sz, c->bi.old_idx_sz >> 10, bi 1541 fs/ubifs/super.c c->bi.old_idx_sz >> 20); bi 1889 fs/ubifs/super.c ubifs_assert(c, c->bi.idx_growth == 0); bi 1890 fs/ubifs/super.c ubifs_assert(c, c->bi.dd_growth == 0); bi 1891 fs/ubifs/super.c ubifs_assert(c, c->bi.data_growth == 0); bi 384 fs/ubifs/tnc_commit.c ubifs_dump_budg(c, &c->bi); bi 799 fs/ubifs/tnc_commit.c ubifs_assert(c, c->bi.min_idx_lebs == ubifs_calc_min_idx_lebs(c)); bi 800 fs/ubifs/tnc_commit.c c->bi.old_idx_sz = c->calc_idx_sz; bi 801 fs/ubifs/tnc_commit.c c->bi.uncommitted_idx = 0; bi 802 fs/ubifs/tnc_commit.c c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); bi 1365 fs/ubifs/ubifs.h struct ubifs_budg_info bi; bi 6072 fs/xfs/libxfs/xfs_bmap.c struct xfs_bmap_intent *bi; bi 6083 fs/xfs/libxfs/xfs_bmap.c bi = kmem_alloc(sizeof(struct xfs_bmap_intent), KM_NOFS); bi 6084 fs/xfs/libxfs/xfs_bmap.c INIT_LIST_HEAD(&bi->bi_list); bi 6085 fs/xfs/libxfs/xfs_bmap.c bi->bi_type = type; bi 6086 fs/xfs/libxfs/xfs_bmap.c bi->bi_owner = ip; bi 6087 fs/xfs/libxfs/xfs_bmap.c bi->bi_whichfork = whichfork; bi 6088 fs/xfs/libxfs/xfs_bmap.c bi->bi_bmap = *bmap; bi 6090 fs/xfs/libxfs/xfs_bmap.c xfs_defer_add(tp, XFS_DEFER_OPS_TYPE_BMAP, &bi->bi_list); bi 1126 fs/xfs/libxfs/xfs_format.h #define XFS_BITTOBLOCK(mp,bi) ((bi) >> (mp)->m_blkbit_log) bi 1128 fs/xfs/libxfs/xfs_format.h #define XFS_BITTOWORD(mp,bi) \ bi 1129 fs/xfs/libxfs/xfs_format.h ((int)(((bi) >> XFS_NBWORDLOG) & XFS_BLOCKWMASK(mp))) bi 1551 include/linux/blkdev.h struct blk_integrity *bi = &disk->queue->integrity; bi 1553 include/linux/blkdev.h if (!bi->profile) bi 1556 include/linux/blkdev.h return bi; bi 1592 include/linux/blkdev.h static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, bi 1595 include/linux/blkdev.h return sectors >> (bi->interval_exp - 9); bi 1598 include/linux/blkdev.h static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, bi 1601 include/linux/blkdev.h return bio_integrity_intervals(bi, sectors) * bi->tuple_size; bi 1677 include/linux/blkdev.h static inline unsigned int bio_integrity_intervals(struct blk_integrity *bi, bi 1683 include/linux/blkdev.h static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, bi 333 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 336 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start), bi 354 include/trace/events/btrfs.h TP_fast_assign_btrfs(bi->root->fs_info, bi 355 include/trace/events/btrfs.h __entry->root_obj = bi->root->root_key.objectid; bi 356 include/trace/events/btrfs.h __entry->ino = btrfs_ino(bi); bi 357 include/trace/events/btrfs.h __entry->isize = bi->vfs_inode.i_size; bi 358 include/trace/events/btrfs.h __entry->disk_isize = bi->disk_i_size; bi 388 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 391 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start), bi 405 include/trace/events/btrfs.h bi->root->fs_info, bi 406 include/trace/events/btrfs.h __entry->root_obj = bi->root->root_key.objectid; bi 407 include/trace/events/btrfs.h __entry->ino = btrfs_ino(bi); bi 408 include/trace/events/btrfs.h __entry->isize = bi->vfs_inode.i_size; bi 409 include/trace/events/btrfs.h __entry->disk_isize = bi->disk_i_size; bi 429 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 432 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start) bi 438 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 441 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, start) bi 447 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 450 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start) bi 456 include/trace/events/btrfs.h TP_PROTO(struct btrfs_inode *bi, struct extent_buffer *l, bi 459 include/trace/events/btrfs.h TP_ARGS(bi, l, fi, slot, start) bi 385 net/sunrpc/xprtsock.c struct bvec_iter bi = { bi 390 net/sunrpc/xprtsock.c bvec_iter_advance(bvec, &bi, seek & PAGE_MASK); bi 391 net/sunrpc/xprtsock.c for_each_bvec(bv, bvec, bi, bi) bi 693 sound/aoa/codecs/onyx.c struct bus_info *bi, bi 334 sound/aoa/soundbus/i2sbus/pcm.c struct bus_info bi; bi 418 sound/aoa/soundbus/i2sbus/pcm.c bi.bus_factor = 0; bi 420 sound/aoa/soundbus/i2sbus/pcm.c bi.bus_factor = cii->codec->bus_factor; bi 423 sound/aoa/soundbus/i2sbus/pcm.c if (!bi.bus_factor) { bi 433 sound/aoa/soundbus/i2sbus/pcm.c bi.bus_factor = 64; bi 442 sound/aoa/soundbus/i2sbus/pcm.c bi.sysclock_factor = cii->codec->sysclock_factor; bi 446 sound/aoa/soundbus/i2sbus/pcm.c if (clock_and_divisors(bi.sysclock_factor, bi 447 sound/aoa/soundbus/i2sbus/pcm.c bi.bus_factor, bi 453 sound/aoa/soundbus/i2sbus/pcm.c switch (bi.bus_factor) { bi 467 sound/aoa/soundbus/i2sbus/pcm.c err = cii->codec->prepare(cii, &bi, pi->substream); bi 120 sound/aoa/soundbus/soundbus.h struct bus_info *bi, bi 589 sound/pci/hda/patch_hdmi.c int pi, bi; bi 599 sound/pci/hda/patch_hdmi.c hdmi_get_dip_index(codec, pin_nid, &pi, &bi); bi 602 sound/pci/hda/patch_hdmi.c bi, pi, i); bi 603 sound/pci/hda/patch_hdmi.c if (bi == 0) /* byte index wrapped around */ bi 130 sound/soc/samsung/s3c24xx_uda134x.c int i, bi; bi 133 sound/soc/samsung/s3c24xx_uda134x.c bi = 0; bi 140 sound/soc/samsung/s3c24xx_uda134x.c bi = i; bi 143 sound/soc/samsung/s3c24xx_uda134x.c if (bi / 33 == 1) bi 147 sound/soc/samsung/s3c24xx_uda134x.c if (bi % 33 == 0) { bi 152 sound/soc/samsung/s3c24xx_uda134x.c div = bi % 33; bi 155 sound/soc/samsung/s3c24xx_uda134x.c dev_dbg(rtd->dev, "%s desired rate %lu, %d\n", __func__, rate, bi); bi 133 tools/perf/builtin-annotate.c struct branch_info *bi; bi 139 tools/perf/builtin-annotate.c bi = sample__resolve_bstack(sample, al); bi 140 tools/perf/builtin-annotate.c if (!bi) bi 148 tools/perf/builtin-annotate.c process_basic_block(prev, &bi[i].from, &bi[i].flags); bi 149 tools/perf/builtin-annotate.c prev = &bi[i].to; bi 152 tools/perf/builtin-annotate.c free(bi); bi 161 tools/perf/builtin-annotate.c struct branch_info *bi; bi 166 tools/perf/builtin-annotate.c bi = he->branch_info; bi 167 tools/perf/builtin-annotate.c err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); bi 172 tools/perf/builtin-annotate.c err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); bi 603 tools/perf/builtin-diff.c static void init_block_info(struct block_info *bi, struct symbol *sym, bi 606 tools/perf/builtin-diff.c bi->sym = sym; bi 607 tools/perf/builtin-diff.c bi->start = ch->start; bi 608 tools/perf/builtin-diff.c bi->end = offset; bi 609 tools/perf/builtin-diff.c bi->cycles = ch->cycles; bi 610 tools/perf/builtin-diff.c bi->cycles_aggr = ch->cycles_aggr; bi 611 tools/perf/builtin-diff.c bi->num = ch->num; bi 612 tools/perf/builtin-diff.c bi->num_aggr = ch->num_aggr; bi 634 tools/perf/builtin-diff.c struct block_info *bi; bi 637 tools/perf/builtin-diff.c bi = block_info__new(); bi 638 tools/perf/builtin-diff.c if (!bi) bi 641 tools/perf/builtin-diff.c init_block_info(bi, he->ms.sym, &ch[i], i); bi 643 tools/perf/builtin-diff.c &dummy_al, bi); bi 645 tools/perf/builtin-diff.c block_info__put(bi); bi 1335 tools/perf/builtin-diff.c struct block_info *bi; bi 1350 tools/perf/builtin-diff.c bi = block_he->block_info; bi 1352 tools/perf/builtin-diff.c start_line = map__srcline(he->ms.map, bi->sym->start + bi->start, bi 1355 tools/perf/builtin-diff.c end_line = map__srcline(he->ms.map, bi->sym->start + bi->end, bi 1363 tools/perf/builtin-diff.c bi->start, bi->end, block_he->diff.cycles); bi 145 tools/perf/builtin-report.c struct branch_info *bi; bi 151 tools/perf/builtin-report.c bi = he->branch_info; bi 152 tools/perf/builtin-report.c err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); bi 156 tools/perf/builtin-report.c err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); bi 184 tools/perf/builtin-report.c struct branch_info *bi = he->branch_info; bi 189 tools/perf/builtin-report.c branch_type_count(&rep->brtype_stat, &bi->flags, bi 190 tools/perf/builtin-report.c bi->from.addr, bi->to.addr); bi 195 tools/perf/builtin-report.c err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); bi 199 tools/perf/builtin-report.c err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); bi 2834 tools/perf/ui/browsers/hists.c struct branch_info *bi = NULL; bi 3106 tools/perf/ui/browsers/hists.c bi = browser->he_selection->branch_info; bi 3108 tools/perf/ui/browsers/hists.c if (bi == NULL) bi 3114 tools/perf/ui/browsers/hists.c bi->from.map, bi 3115 tools/perf/ui/browsers/hists.c bi->from.sym); bi 3116 tools/perf/ui/browsers/hists.c if (bi->to.sym != bi->from.sym) bi 3120 tools/perf/ui/browsers/hists.c bi->to.map, bi 3121 tools/perf/ui/browsers/hists.c bi->to.sym); bi 676 tools/perf/util/hist.c struct branch_info *bi, bi 709 tools/perf/util/hist.c .branch_info = bi, bi 729 tools/perf/util/hist.c struct branch_info *bi, bi 734 tools/perf/util/hist.c return __hists__add_entry(hists, al, sym_parent, bi, mi, NULL, bi 742 tools/perf/util/hist.c struct branch_info *bi, bi 747 tools/perf/util/hist.c return __hists__add_entry(hists, al, sym_parent, bi, mi, NULL, bi 856 tools/perf/util/hist.c struct branch_info *bi; bi 859 tools/perf/util/hist.c bi = sample__resolve_bstack(sample, al); bi 860 tools/perf/util/hist.c if (!bi) bi 866 tools/perf/util/hist.c iter->priv = bi; bi 880 tools/perf/util/hist.c struct branch_info *bi = iter->priv; bi 883 tools/perf/util/hist.c if (bi == NULL) bi 889 tools/perf/util/hist.c al->map = bi[i].to.map; bi 890 tools/perf/util/hist.c al->sym = bi[i].to.sym; bi 891 tools/perf/util/hist.c al->addr = bi[i].to.addr; bi 898 tools/perf/util/hist.c struct branch_info *bi; bi 906 tools/perf/util/hist.c bi = iter->priv; bi 908 tools/perf/util/hist.c if (iter->hide_unresolved && !(bi[i].from.sym && bi[i].to.sym)) bi 916 tools/perf/util/hist.c sample->weight = bi->flags.cycles ? bi->flags.cycles : 1; bi 918 tools/perf/util/hist.c he = hists__add_entry(hists, al, iter->parent, &bi[i], NULL, bi 2574 tools/perf/util/hist.c struct branch_info *bi; bi 2580 tools/perf/util/hist.c bi = sample__resolve_bstack(sample, al); bi 2581 tools/perf/util/hist.c if (bi) { bi 2595 tools/perf/util/hist.c addr_map_symbol__account_cycles(&bi[i].from, bi 2597 tools/perf/util/hist.c bi[i].flags.cycles); bi 2598 tools/perf/util/hist.c prev = &bi[i].to; bi 2600 tools/perf/util/hist.c free(bi); bi 140 tools/perf/util/hist.h struct branch_info *bi, bi 149 tools/perf/util/hist.h struct branch_info *bi, bi 156 tools/perf/util/hist.h struct block_info *bi); bi 2084 tools/perf/util/machine.c struct branch_info *bi = calloc(bs->nr, sizeof(struct branch_info)); bi 2086 tools/perf/util/machine.c if (!bi) bi 2090 tools/perf/util/machine.c ip__resolve_ams(al->thread, &bi[i].to, bs->entries[i].to); bi 2091 tools/perf/util/machine.c ip__resolve_ams(al->thread, &bi[i].from, bs->entries[i].from); bi 2092 tools/perf/util/machine.c bi[i].flags = bs->entries[i].flags; bi 2094 tools/perf/util/machine.c return bi; bi 2375 tools/perf/util/symbol.c struct block_info *block_info__get(struct block_info *bi) bi 2377 tools/perf/util/symbol.c if (bi) bi 2378 tools/perf/util/symbol.c refcount_inc(&bi->refcnt); bi 2379 tools/perf/util/symbol.c return bi; bi 2382 tools/perf/util/symbol.c void block_info__put(struct block_info *bi) bi 2384 tools/perf/util/symbol.c if (bi && refcount_dec_and_test(&bi->refcnt)) bi 2385 tools/perf/util/symbol.c free(bi); bi 2390 tools/perf/util/symbol.c struct block_info *bi = zalloc(sizeof(*bi)); bi 2392 tools/perf/util/symbol.c if (bi) bi 2393 tools/perf/util/symbol.c refcount_set(&bi->refcnt, 1); bi 2394 tools/perf/util/symbol.c return bi; bi 293 tools/perf/util/symbol.h struct block_info *block_info__get(struct block_info *bi); bi 294 tools/perf/util/symbol.h void block_info__put(struct block_info *bi); bi 296 tools/perf/util/symbol.h static inline void __block_info__zput(struct block_info **bi) bi 298 tools/perf/util/symbol.h block_info__put(*bi); bi 299 tools/perf/util/symbol.h *bi = NULL; bi 302 tools/perf/util/symbol.h #define block_info__zput(bi) __block_info__zput(&bi)