Home
last modified time | relevance | path

Searched refs:bb (Results 1 – 25 of 127) sorted by relevance

123456

/linux/block/
A Dbadblocks.c76 hi = bb->count; in badblocks_check()
187 p = bb->page; in badblocks_set()
280 bb->count--; in badblocks_set()
296 bb->count++; in badblocks_set()
353 p = bb->page; in badblocks_clear()
435 if (bb->page == NULL || bb->changed) in ack_all_badblocks()
440 if (bb->changed == 0 && bb->unacked_exist) { in ack_all_badblocks()
583 if (!bb) in devm_init_badblocks()
595 if (!bb) in badblocks_exit()
597 if (bb->dev) in badblocks_exit()
[all …]
/linux/tools/bpf/bpftool/
A Dcfg.c50 #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/net/tipc/
A Dbcast.c101 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/crypto/
A Drmd160.c55 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/include/linux/
A Dbadblocks.h44 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/arch/alpha/boot/tools/
A Dobjstrip.c109 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/drivers/nvdimm/
A Dbadrange.c165 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 Dpmem.c40 return pmem->bb.dev; in to_dev()
91 badblocks_clear(&pmem->bb, sector, cleared); in pmem_clear_poison()
149 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_read()
166 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_write()
275 if (unlikely(pmem->bb.count)) in __pmem_direct_access()
493 if (devm_init_badblocks(dev, &pmem->bb)) in pmem_attach_disk()
496 disk->bb = &pmem->bb; in pmem_attach_disk()
610 struct badblocks *bb; in pmem_revalidate_poison() local
620 bb = &nsio->bb; in pmem_revalidate_poison()
626 bb = &pmem->bb; in pmem_revalidate_poison()
[all …]
A Dclaim.c270 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/drivers/spi/
A Dspi-gpio.c359 struct spi_bitbang *bb; in spi_gpio_probe() local
396 bb = &spi_gpio->bitbang; in spi_gpio_probe()
397 bb->master = master; in spi_gpio_probe()
404 bb->chipselect = spi_gpio_chipselect; in spi_gpio_probe()
405 bb->set_line_direction = spi_gpio_set_direction; in spi_gpio_probe()
408 bb->txrx_word[SPI_MODE_0] = spi_gpio_spec_txrx_word_mode0; in spi_gpio_probe()
413 bb->txrx_word[SPI_MODE_0] = spi_gpio_txrx_word_mode0; in spi_gpio_probe()
414 bb->txrx_word[SPI_MODE_1] = spi_gpio_txrx_word_mode1; in spi_gpio_probe()
415 bb->txrx_word[SPI_MODE_2] = spi_gpio_txrx_word_mode2; in spi_gpio_probe()
416 bb->txrx_word[SPI_MODE_3] = spi_gpio_txrx_word_mode3; in spi_gpio_probe()
[all …]
/linux/scripts/gcc-plugins/
A Dlatent_entropy_plugin.c343 gsi = gsi_after_labels(bb); in perturb_local_entropy()
431 gimple_stmt_iterator gsi = gsi_after_labels(bb); in init_local_entropy()
497 basic_block bb; in latent_entropy_execute() local
505 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute()
506 if (!single_pred_p(bb)) { in latent_entropy_execute()
509 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute()
516 init_local_entropy(bb, local_entropy); in latent_entropy_execute()
518 bb = bb->next_bb; in latent_entropy_execute()
524 while (bb != EXIT_BLOCK_PTR_FOR_FN(cfun)) { in latent_entropy_execute()
525 perturb_local_entropy(bb, local_entropy); in latent_entropy_execute()
[all …]
A Dstackleak_plugin.c59 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 Dstructleak_plugin.c118 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()
/linux/arch/mips/lib/
A Dmulti3.c35 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/net/netfilter/
A Dnft_set_pipapo.c444 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()
1825 bit_offset += f->bb;
[all …]
A Dnft_set_pipapo.h25 #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/fs/xfs/libxfs/
A Dxfs_bmap_btree.h64 #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/drivers/gpu/drm/i915/gt/
A Dselftest_ring_submission.c207 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/drivers/gpu/drm/i915/gvt/
A Dscheduler.c536 if (bb->bb_offset) in prepare_shadow_batch_buffer()
538 + bb->bb_offset; in prepare_shadow_batch_buffer()
549 if (!bb->ppgtt) { in prepare_shadow_batch_buffer()
554 bb->vma = i915_gem_object_ggtt_pin_ww(bb->obj, &ww, in prepare_shadow_batch_buffer()
556 if (IS_ERR(bb->vma)) { in prepare_shadow_batch_buffer()
567 bb->bb_start_cmd_va[1] = i915_ggtt_offset(bb->vma); in prepare_shadow_batch_buffer()
666 if (bb->obj) { in release_shadow_batch_buffer()
668 if (bb->va && !IS_ERR(bb->va)) in release_shadow_batch_buffer()
671 if (bb->vma && !IS_ERR(bb->vma)) in release_shadow_batch_buffer()
677 list_del(&bb->list); in release_shadow_batch_buffer()
[all …]
/linux/drivers/pci/
A Dp2pdma.c454 struct pci_dev *a = provider, *b = client, *bb; in calc_map_type_and_dist() local
478 bb = b; in calc_map_type_and_dist()
480 while (bb) { in calc_map_type_and_dist()
481 if (a == bb) in calc_map_type_and_dist()
484 bb = pci_upstream_bridge(bb); in calc_map_type_and_dist()
496 bb = b; in calc_map_type_and_dist()
498 while (bb) { in calc_map_type_and_dist()
499 if (a == bb) in calc_map_type_and_dist()
502 if (pci_bridge_has_acs_redir(bb)) { in calc_map_type_and_dist()
503 seq_buf_print_bus_devfn(&acs_list, bb); in calc_map_type_and_dist()
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
A Dtwl4030-charger.yaml32 ti,bb-uvolt:
36 ti,bb-uamp:
63 ti,bb-uvolt = <3200000>;
64 ti,bb-uamp = <150>;
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.h100 struct _vcs_dpi_soc_bounding_box_st *bb,
102 void dcn20_update_bounding_box(struct dc *dc, struct _vcs_dpi_soc_bounding_box_st *bb,
175 struct _vcs_dpi_soc_bounding_box_st *bb);
177 struct _vcs_dpi_soc_bounding_box_st *bb,
/linux/arch/parisc/kernel/
A Drelocate_kernel.S83 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
/linux/drivers/md/
A Ddm-dust.c19 sector_t bb; member
43 if (bblk->bb > blk) in dust_rb_search()
45 else if (bblk->bb < blk) in dust_rb_search()
58 sector_t value = new->bb; in dust_rb_insert()
64 if (bblk->bb > value) in dust_rb_insert()
66 else if (bblk->bb < value) in dust_rb_insert()
119 bblock->bb = block; in dust_add_block()
301 DMEMIT("%llu\n", bblk->bb); in dust_list_badblocks()
/linux/lib/
A Dinflate.c224 STATIC ulg bb; /* bit buffer */ variable
608 b = bb; /* initialize bit buffer */ in inflate_codes()
692 bb = b; /* restore global bit buffer */ in inflate_codes()
715 b = bb; /* initialize bit buffer */ in inflate_stored()
751 bb = b; /* restore global bit buffer */ in inflate_stored()
861 b = bb; in inflate_dynamic()
971 bb = b; in inflate_dynamic()
1046 b = bb; in inflate_block()
1063 bb = b; in inflate_block()
1095 bb = 0; in inflate()

Completed in 82 milliseconds

123456