Home
last modified time | relevance | path

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

12345

/Linux-v4.19/block/
Dbadblocks.c61 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() argument
66 u64 *p = bb->page; in badblocks_check()
71 if (bb->shift > 0) { in badblocks_check()
73 s >>= bb->shift; in badblocks_check()
74 target += (1<<bb->shift) - 1; in badblocks_check()
75 target >>= bb->shift; in badblocks_check()
81 seq = read_seqbegin(&bb->lock); in badblocks_check()
84 hi = bb->count; in badblocks_check()
129 if (read_seqretry(&bb->lock, seq)) in badblocks_check()
136 static void badblocks_update_acked(struct badblocks *bb) in badblocks_update_acked() argument
[all …]
/Linux-v4.19/tools/bpf/bpftool/
Dcfg.c84 #define bb_prev(bb) list_prev_entry(bb, l) argument
85 #define bb_next(bb) list_next_entry(bb, l) argument
125 struct bb_node *new_bb, *bb; in func_append_bb() local
127 list_for_each_entry(bb, &func->bbs, l) { in func_append_bb()
128 if (bb->head == insn) in func_append_bb()
129 return bb; in func_append_bb()
130 else if (bb->head > insn) in func_append_bb()
134 bb = bb_prev(bb); in func_append_bb()
143 list_add(&new_bb->l, &bb->l); in func_append_bb()
150 struct bb_node *bb; in func_insert_dummy_bb() local
[all …]
/Linux-v4.19/crypto/
Drmd256.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd256_transform() local
56 bb = state[1]; in rmd256_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
[all …]
Drmd320.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd320_transform() local
60 bb = state[1]; in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
[all …]
Drmd128.c52 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd128_transform() local
56 bb = state[1]; in rmd128_transform()
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
[all …]
Drmd160.c56 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local
60 bb = state[1]; in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
[all …]
/Linux-v4.19/net/tipc/
Dbcast.c93 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_calc_bc_threshold() local
96 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
104 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_select_primary() local
105 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary()
108 bb->primary_bearer = INVALID_BEARER_ID; in tipc_bcbase_select_primary()
109 bb->bcast_support = true; in tipc_bcbase_select_primary()
115 if (!bb->dests[i]) in tipc_bcbase_select_primary()
119 if (mtu < tipc_link_mtu(bb->link)) in tipc_bcbase_select_primary()
120 tipc_link_set_mtu(bb->link, mtu); in tipc_bcbase_select_primary()
121 bb->bcast_support &= tipc_bearer_bcast_support(net, i); in tipc_bcbase_select_primary()
[all …]
/Linux-v4.19/include/linux/
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);
57 static inline void devm_exit_badblocks(struct device *dev, struct badblocks *bb) in devm_exit_badblocks() argument
[all …]
/Linux-v4.19/arch/alpha/boot/tools/
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-v4.19/arch/mips/lib/
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-v4.19/drivers/nvdimm/
Dbadrange.c173 static void set_badblock(struct badblocks *bb, sector_t s, int num) in set_badblock() argument
175 dev_dbg(bb->dev, "Found a bad range (0x%llx, 0x%llx)\n", in set_badblock()
178 if (badblocks_set(bb, s, num, 1)) in set_badblock()
179 dev_info_once(bb->dev, "%s: failed for sector %llx\n", in set_badblock()
193 static void __add_badblock_range(struct badblocks *bb, u64 ns_offset, u64 len) in __add_badblock_range() argument
213 set_badblock(bb, s, done); in __add_badblock_range()
218 set_badblock(bb, start_sector, num_sectors); in __add_badblock_range()
222 struct badblocks *bb, const struct resource *res) in badblocks_populate() argument
247 __add_badblock_range(bb, start - res->start, len); in badblocks_populate()
261 __add_badblock_range(bb, 0, len); in badblocks_populate()
[all …]
Dpmem.c47 return pmem->bb.dev; in to_dev()
98 badblocks_clear(&pmem->bb, sector, cleared); in pmem_clear_poison()
157 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_bvec()
252 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access()
265 if (unlikely(pmem->bb.count)) in __pmem_direct_access()
461 if (devm_init_badblocks(dev, &pmem->bb)) in pmem_attach_disk()
463 nvdimm_badblocks_populate(nd_region, &pmem->bb, &bb_res); in pmem_attach_disk()
464 disk->bb = &pmem->bb; in pmem_attach_disk()
548 struct badblocks *bb; in nd_pmem_notify() local
560 bb = &nsio->bb; in nd_pmem_notify()
[all …]
Dclaim.c277 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) in nsio_rw_bytes()
284 if (unlikely(is_bad_pmem(&nsio->bb, sector, sz_align))) { in nsio_rw_bytes()
296 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
322 if (devm_init_badblocks(dev, &nsio->bb)) in devm_nsio_enable()
324 nvdimm_badblocks_populate(to_nd_region(ndns->dev.parent), &nsio->bb, in devm_nsio_enable()
339 devm_exit_badblocks(dev, &nsio->bb); in devm_nsio_disable()
Dregion.c59 if (devm_init_badblocks(dev, &nd_region->bb)) in nd_region_probe()
68 nvdimm_badblocks_populate(nd_region, &nd_region->bb, &ndr_res); in nd_region_probe()
139 &nd_region->bb, &res); in nd_region_notify()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dscheduler.c419 struct intel_vgpu_shadow_bb *bb; in prepare_shadow_batch_buffer() local
422 list_for_each_entry(bb, &workload->shadow_bb, list) { in prepare_shadow_batch_buffer()
430 if (bb->bb_offset) in prepare_shadow_batch_buffer()
431 bb->bb_start_cmd_va = workload->shadow_ring_buffer_va in prepare_shadow_batch_buffer()
432 + bb->bb_offset; in prepare_shadow_batch_buffer()
434 if (bb->ppgtt) { in prepare_shadow_batch_buffer()
443 if (bb->clflush & CLFLUSH_AFTER) { in prepare_shadow_batch_buffer()
444 drm_clflush_virt_range(bb->va, in prepare_shadow_batch_buffer()
445 bb->obj->base.size); in prepare_shadow_batch_buffer()
446 bb->clflush &= ~CLFLUSH_AFTER; in prepare_shadow_batch_buffer()
[all …]
/Linux-v4.19/scripts/gcc-plugins/
Dlatent_entropy_plugin.c346 static void perturb_local_entropy(basic_block bb, tree local_entropy) in perturb_local_entropy() argument
355 gsi = gsi_after_labels(bb); in perturb_local_entropy()
389 static bool handle_tail_calls(basic_block bb, tree local_entropy) in handle_tail_calls() argument
393 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in handle_tail_calls()
437 static void init_local_entropy(basic_block bb, tree local_entropy) in init_local_entropy() argument
443 gimple_stmt_iterator gsi = gsi_after_labels(bb); in init_local_entropy()
509 basic_block bb; in latent_entropy_execute() local
517 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute()
518 if (!single_pred_p(bb)) { in latent_entropy_execute()
521 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in latent_entropy_execute()
[all …]
Dstructleak_plugin.c117 basic_block bb; in initialize() local
123 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in initialize()
126 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in initialize()
166 basic_block bb; in structleak_execute() local
173 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in structleak_execute()
174 if (!single_pred_p(bb)) { in structleak_execute()
Dsancov_plugin.c35 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-v4.19/fs/xfs/libxfs/
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-v4.19/Documentation/devicetree/bindings/power/supply/
Dtwl-charger.txt20 - ti,bb-uvolt: microvolts for charging the backup battery.
21 - ti,bb-uamp: microamps for charging the backup battery.
28 ti,bb-uvolt = <3200000>;
29 ti,bb-uamp = <150>;
/Linux-v4.19/Documentation/devicetree/bindings/regulator/
Dltc3589.txt8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, bb-out,
13 nodes for sw1, sw2, sw3, bb-out, ldo1, and ldo2 additionally need to specify
22 0.3625 * (1 + R1/R2) V and 0.75 * (1 + R1/R2) V. Regulators bb-out and ldo1
63 bb_out_reg: bb-out {
/Linux-v4.19/lib/
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()
/Linux-v4.19/tools/testing/nvdimm/
Dpmem-dax.c23 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access()
54 if (unlikely(pmem->bb.count)) in __pmem_direct_access()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-platform-sst-atom11 "v01.aa.bb.cc"
16 bb: Minor version
/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dacx.c644 struct acx_beacon_broadcast *bb; in wl1251_acx_bcn_dtim_options() local
649 bb = kzalloc(sizeof(*bb), GFP_KERNEL); in wl1251_acx_bcn_dtim_options()
650 if (!bb) in wl1251_acx_bcn_dtim_options()
653 bb->beacon_rx_timeout = BCN_RX_TIMEOUT_DEF_VALUE; in wl1251_acx_bcn_dtim_options()
654 bb->broadcast_timeout = BROADCAST_RX_TIMEOUT_DEF_VALUE; in wl1251_acx_bcn_dtim_options()
655 bb->rx_broadcast_in_ps = RX_BROADCAST_IN_PS_DEF_VALUE; in wl1251_acx_bcn_dtim_options()
656 bb->ps_poll_threshold = CONSECUTIVE_PS_POLL_FAILURE_DEF; in wl1251_acx_bcn_dtim_options()
658 ret = wl1251_cmd_configure(wl, ACX_BCN_DTIM_OPTIONS, bb, sizeof(*bb)); in wl1251_acx_bcn_dtim_options()
665 kfree(bb); in wl1251_acx_bcn_dtim_options()

12345