/linux-6.3-rc2/block/ |
A D | badblocks.c | 75 hi = bb->count; in badblocks_check() 186 p = bb->page; in badblocks_set() 279 bb->count--; in badblocks_set() 295 bb->count++; in badblocks_set() 351 p = bb->page; in badblocks_clear() 433 if (bb->page == NULL || bb->changed) in ack_all_badblocks() 438 if (bb->changed == 0 && bb->unacked_exist) { in ack_all_badblocks() 581 if (!bb) in devm_init_badblocks() 593 if (!bb) in badblocks_exit() 595 if (bb->dev) in badblocks_exit() [all …]
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | cfg.c | 50 #define bb_prev(bb) list_prev_entry(bb, l) argument 51 #define bb_next(bb) list_next_entry(bb, l) argument 100 bb = bb_prev(bb); in func_append_bb() 118 bb = calloc(1, sizeof(*bb)); in func_insert_dummy_bb() 119 if (!bb) { in func_insert_dummy_bb() 128 return bb; in func_insert_dummy_bb() 174 if (!bb) in func_partition_bb_head() 208 bb->tail = bb_next(bb)->head - 1; in func_partition_bb_tail() 221 if (!bb) in func_add_special_bb() 226 if (!bb) in func_add_special_bb() [all …]
|
/linux-6.3-rc2/net/tipc/ |
A D | bcast.c | 101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold() 122 if (!bb->dests[i]) in tipc_bcbase_select_primary() 619 if (!bb->bcast_support || !bb->rcast_support) in tipc_bc_link_set_broadcast_mode() 636 if (!bb->bcast_support || !bb->rcast_support) in tipc_bc_link_set_broadcast_ratio() 695 bb = kzalloc(sizeof(*bb), GFP_KERNEL); in tipc_bcast_init() 696 if (!bb) in tipc_bcast_init() 698 tn->bcbase = bb; in tipc_bcast_init() 706 &bb->inputq, in tipc_bcast_init() 711 bb->link = l; in tipc_bcast_init() 717 kfree(bb); in tipc_bcast_init() [all …]
|
/linux-6.3-rc2/crypto/ |
A D | rmd160.c | 55 bb = state[1]; in rmd160_transform() 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform() 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform() 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform() 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform() 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform() 73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform() 74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform() 75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform() 76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | badblocks.h | 44 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, 46 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, 48 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors); 49 void ack_all_badblocks(struct badblocks *bb); 50 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack); 51 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, 53 int badblocks_init(struct badblocks *bb, int enable); 54 void badblocks_exit(struct badblocks *bb); 56 int devm_init_badblocks(struct device *dev, struct badblocks *bb); 59 if (bb->dev != dev) { in devm_exit_badblocks() [all …]
|
/linux-6.3-rc2/arch/alpha/boot/tools/ |
A D | objstrip.c | 109 unsigned long bb[64], sum = 0; in main() local 124 memset(bb, 0, sizeof(bb)); in main() 125 strcpy((char *) bb, "Linux SRM bootblock"); in main() 126 bb[60] = size / BLOCK_SIZE; /* count */ in main() 127 bb[61] = 1; /* starting sector # */ in main() 128 bb[62] = 0; /* flags---must be 0 */ in main() 130 sum += bb[i]; in main() 132 bb[63] = sum; in main() 133 if (write(ofd, bb, sizeof(bb)) != sizeof(bb)) { in main()
|
/linux-6.3-rc2/arch/mips/lib/ |
A D | multi3.c | 35 TWunion res, aa, bb; in __multi3() local 38 bb.ti = b; in __multi3() 45 res.s.low = dmulu(aa.s.low, bb.s.low); in __multi3() 46 res.s.high = dmuhu(aa.s.low, bb.s.low); in __multi3() 47 res.s.high += dmulu(aa.s.high, bb.s.low); in __multi3() 48 res.s.high += dmulu(aa.s.low, bb.s.high); in __multi3()
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | badrange.c | 165 static void set_badblock(struct badblocks *bb, sector_t s, int num) in set_badblock() argument 167 dev_dbg(bb->dev, "Found a bad range (0x%llx, 0x%llx)\n", in set_badblock() 170 if (badblocks_set(bb, s, num, 1)) in set_badblock() 171 dev_info_once(bb->dev, "%s: failed for sector %llx\n", in set_badblock() 205 set_badblock(bb, s, done); in __add_badblock_range() 210 set_badblock(bb, start_sector, num_sectors); in __add_badblock_range() 214 struct badblocks *bb, const struct range *range) in badblocks_populate() argument 239 __add_badblock_range(bb, start - range->start, len); in badblocks_populate() 253 __add_badblock_range(bb, 0, len); in badblocks_populate() 270 struct badblocks *bb, const struct range *range) in nvdimm_badblocks_populate() argument [all …]
|
A D | pmem.c | 40 return pmem->bb.dev; in to_dev() 92 badblocks_clear(&pmem->bb, sector, blks); in pmem_clear_bb() 249 struct badblocks *bb = &pmem->bb; in __pmem_direct_access() local 258 if (bb->count && in __pmem_direct_access() 283 if (bb->count) in __pmem_direct_access() 331 struct device *dev = pmem->bb.dev; in pmem_recovery_write() 554 if (devm_init_badblocks(dev, &pmem->bb)) in pmem_attach_disk() 557 disk->bb = &pmem->bb; in pmem_attach_disk() 678 struct badblocks *bb; in pmem_revalidate_poison() local 688 bb = &nsio->bb; in pmem_revalidate_poison() [all …]
|
A D | claim.c | 270 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) in nsio_rw_bytes() 277 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) { in nsio_rw_bytes() 289 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes() 321 if (devm_init_badblocks(dev, &nsio->bb)) in devm_nsio_enable() 323 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable() 336 devm_exit_badblocks(dev, &nsio->bb); in devm_nsio_disable()
|
/linux-6.3-rc2/scripts/gcc-plugins/ |
A D | latent_entropy_plugin.c | 349 gsi = gsi_after_labels(bb); in perturb_local_entropy() 437 gimple_stmt_iterator gsi = gsi_after_labels(bb); in init_local_entropy() 503 basic_block bb; in latent_entropy_execute() local 511 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute() 512 if (!single_pred_p(bb)) { in latent_entropy_execute() 515 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute() 522 init_local_entropy(bb, local_entropy); in latent_entropy_execute() 524 bb = bb->next_bb; in latent_entropy_execute() 530 while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) { in latent_entropy_execute() 531 perturb_local_entropy(bb, local_entropy); in latent_entropy_execute() [all …]
|
A D | stackleak_plugin.c | 59 basic_block bb; in add_stack_tracking_gcall() local 70 bb = gimple_bb(gimple_call); in add_stack_tracking_gcall() 74 gimple_call, bb->count, in add_stack_tracking_gcall() 75 compute_call_stmt_bb_frequency(current_function_decl, bb)); in add_stack_tracking_gcall() 173 basic_block bb, entry_bb; in stackleak_instrument_execute() local 190 FOR_EACH_BB_FN(bb, cfun) { in stackleak_instrument_execute() 210 if (bb == entry_bb) in stackleak_instrument_execute() 245 bb = entry_bb; in stackleak_instrument_execute() 246 if (!single_pred_p(bb)) { in stackleak_instrument_execute() 251 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in stackleak_instrument_execute() [all …]
|
A D | structleak_plugin.c | 118 basic_block bb; in initialize() local 125 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in initialize() 128 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in initialize() 170 basic_block bb; in structleak_execute() local 176 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in structleak_execute() 177 if (!single_pred_p(bb)) { in structleak_execute()
|
A D | sancov_plugin.c | 35 basic_block bb; in sancov_execute() local 42 FOR_EACH_BB_FN(bb, cfun) { in sancov_execute() 45 gimple_stmt_iterator gsi = gsi_after_labels(bb); in sancov_execute()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-gpio.c | 393 struct spi_bitbang *bb; in spi_gpio_probe() local 430 bb = &spi_gpio->bitbang; in spi_gpio_probe() 431 bb->master = master; in spi_gpio_probe() 438 bb->chipselect = spi_gpio_chipselect; in spi_gpio_probe() 439 bb->set_line_direction = spi_gpio_set_direction; in spi_gpio_probe() 442 bb->txrx_word[SPI_MODE_0] = spi_gpio_spec_txrx_word_mode0; in spi_gpio_probe() 447 bb->txrx_word[SPI_MODE_0] = spi_gpio_txrx_word_mode0; in spi_gpio_probe() 448 bb->txrx_word[SPI_MODE_1] = spi_gpio_txrx_word_mode1; in spi_gpio_probe() 449 bb->txrx_word[SPI_MODE_2] = spi_gpio_txrx_word_mode2; in spi_gpio_probe() 450 bb->txrx_word[SPI_MODE_3] = spi_gpio_txrx_word_mode3; in spi_gpio_probe() [all …]
|
/linux-6.3-rc2/fs/xfs/libxfs/ |
A D | xfs_bmap_btree.h | 64 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ argument 65 XFS_BMBT_PTR_ADDR(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, 0)) 71 #define XFS_BMAP_BROOT_SPACE(mp, bb) \ argument 72 (XFS_BMAP_BROOT_SPACE_CALC(mp, be16_to_cpu((bb)->bb_numrecs))) 76 #define XFS_BMAP_BMDR_SPACE(bb) \ argument 77 (XFS_BMDR_SPACE_CALC(be16_to_cpu((bb)->bb_numrecs)))
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_set_pipapo.c | 444 if (likely(f->bb == 8)) in nft_pipapo_lookup() 546 if (f->bb == 8) in pipapo_get() 548 else if (f->bb == 4) in pipapo_get() 837 int groups, bb; in pipapo_lt_bits_adjust() local 872 if (f->bb == 4 && bb == 8) { in pipapo_lt_bits_adjust() 876 } else if (f->bb == 8 && bb == 4) { in pipapo_lt_bits_adjust() 885 f->bb = bb; in pipapo_lt_bits_adjust() 918 bit_offset += f->bb; in pipapo_insert() 930 mask = GENMASK(f->bb - 1, 0); in pipapo_insert() 1834 bit_offset += f->bb; [all …]
|
A D | nft_set_pipapo.h | 25 #define NFT_PIPAPO_GROUPS_PER_BYTE(f) (BITS_PER_BYTE / (f)->bb) 50 #define NFT_PIPAPO_BUCKETS(bb) (1 << (bb)) argument 125 int bb; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
A D | dcn20_fpu.c | 1747 memset(bb->clock_limits, 0, sizeof(bb->clock_limits)); in dcn20_update_bounding_box() 1795 bb->clock_limits[num_calculated_states].state = bb->num_states; in dcn20_update_bounding_box() 1845 if (bb->clock_limits[i-1].dcfclk_mhz != bb->clock_limits[i].dcfclk_mhz) in dcn20_cap_soc_clocks() 1847 if (bb->clock_limits[i-1].dispclk_mhz != bb->clock_limits[i].dispclk_mhz) in dcn20_cap_soc_clocks() 1849 if (bb->clock_limits[i-1].dppclk_mhz != bb->clock_limits[i].dppclk_mhz) in dcn20_cap_soc_clocks() 1851 if (bb->clock_limits[i-1].dram_speed_mts != bb->clock_limits[i].dram_speed_mts) in dcn20_cap_soc_clocks() 1853 if (bb->clock_limits[i-1].dscclk_mhz != bb->clock_limits[i].dscclk_mhz) in dcn20_cap_soc_clocks() 1855 if (bb->clock_limits[i-1].fabricclk_mhz != bb->clock_limits[i].fabricclk_mhz) in dcn20_cap_soc_clocks() 1857 if (bb->clock_limits[i-1].phyclk_mhz != bb->clock_limits[i].phyclk_mhz) in dcn20_cap_soc_clocks() 1859 if (bb->clock_limits[i-1].socclk_mhz != bb->clock_limits[i].socclk_mhz) in dcn20_cap_soc_clocks() [all …]
|
A D | dcn20_fpu.h | 55 void dcn20_cap_soc_clocks(struct _vcs_dpi_soc_bounding_box_st *bb, 58 struct _vcs_dpi_soc_bounding_box_st *bb, 63 struct _vcs_dpi_soc_bounding_box_st *bb);
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | selftest_ring_submission.c | 207 struct i915_vma *bb; in __live_ctx_switch_wa() local 211 bb = create_wally(engine); in __live_ctx_switch_wa() 212 if (IS_ERR(bb)) in __live_ctx_switch_wa() 213 return PTR_ERR(bb); in __live_ctx_switch_wa() 215 result = i915_gem_object_pin_map_unlocked(bb->obj, I915_MAP_WC); in __live_ctx_switch_wa() 217 intel_context_put(bb->private); in __live_ctx_switch_wa() 218 i915_vma_unpin_and_release(&bb, 0); in __live_ctx_switch_wa() 223 engine->wa_ctx.vma = bb; in __live_ctx_switch_wa()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | scheduler.c | 538 if (bb->bb_offset) in prepare_shadow_batch_buffer() 540 + bb->bb_offset; in prepare_shadow_batch_buffer() 551 if (!bb->ppgtt) { in prepare_shadow_batch_buffer() 556 bb->vma = i915_gem_object_ggtt_pin_ww(bb->obj, &ww, in prepare_shadow_batch_buffer() 558 if (IS_ERR(bb->vma)) { in prepare_shadow_batch_buffer() 569 bb->bb_start_cmd_va[1] = i915_ggtt_offset(bb->vma); in prepare_shadow_batch_buffer() 667 if (bb->obj) { in release_shadow_batch_buffer() 669 if (bb->va && !IS_ERR(bb->va)) in release_shadow_batch_buffer() 672 if (bb->vma && !IS_ERR(bb->vma)) in release_shadow_batch_buffer() 678 list_del(&bb->list); in release_shadow_batch_buffer() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/power/supply/ |
A D | twl4030-charger.yaml | 32 ti,bb-uvolt: 36 ti,bb-uamp: 63 ti,bb-uvolt = <3200000>; 64 ti,bb-uamp = <150>;
|
/linux-6.3-rc2/drivers/pci/ |
A D | p2pdma.c | 580 struct pci_dev *a = provider, *b = client, *bb; in calc_map_type_and_dist() local 604 bb = b; in calc_map_type_and_dist() 606 while (bb) { in calc_map_type_and_dist() 607 if (a == bb) in calc_map_type_and_dist() 610 bb = pci_upstream_bridge(bb); in calc_map_type_and_dist() 622 bb = b; in calc_map_type_and_dist() 624 while (bb) { in calc_map_type_and_dist() 625 if (a == bb) in calc_map_type_and_dist() 628 if (pci_bridge_has_acs_redir(bb)) { in calc_map_type_and_dist() 629 seq_buf_print_bus_devfn(&acs_list, bb); in calc_map_type_and_dist() [all …]
|
/linux-6.3-rc2/arch/parisc/kernel/ |
A D | relocate_kernel.S | 83 bb,<,n %r3, 31 - IND_DONE_BIT, boot 84 bb,>=,n %r3, 31 - IND_INDIRECTION_BIT, .Lnotind 90 bb,>=,n %r3, 31 - IND_DESTINATION_BIT, .Lnotdest 95 bb,>= %r3, 31 - IND_SOURCE_BIT, .Lloop
|