/Linux-v5.10/tools/bpf/bpftool/ |
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 91 struct bb_node *new_bb, *bb; in func_append_bb() local 93 list_for_each_entry(bb, &func->bbs, l) { in func_append_bb() 94 if (bb->head == insn) in func_append_bb() 95 return bb; in func_append_bb() 96 else if (bb->head > insn) in func_append_bb() 100 bb = bb_prev(bb); in func_append_bb() 103 p_err("OOM when allocating BB node"); in func_append_bb() 109 list_add(&new_bb->l, &bb->l); in func_append_bb() [all …]
|
/Linux-v5.10/block/ |
D | badblocks.c | 21 * @bb: the badblocks structure that holds all badblock information 53 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, in badblocks_check() argument 58 u64 *p = bb->page; in badblocks_check() 63 if (bb->shift > 0) { in badblocks_check() 65 s >>= bb->shift; in badblocks_check() 66 target += (1<<bb->shift) - 1; in badblocks_check() 67 target >>= bb->shift; in badblocks_check() 73 seq = read_seqbegin(&bb->lock); in badblocks_check() 76 hi = bb->count; in badblocks_check() 121 if (read_seqretry(&bb->lock, seq)) in badblocks_check() [all …]
|
/Linux-v5.10/fs/cifs/ |
D | smbfsctl.h | 72 #define FSCTL_IS_PATHNAME_VALID 0x0009002C /* BB add struct */ 73 #define FSCTL_GET_COMPRESSION 0x0009003C /* BB add struct */ 74 #define FSCTL_SET_COMPRESSION 0x0009C040 /* BB add struct */ 75 #define FSCTL_QUERY_FAT_BPB 0x00090058 /* BB add struct */ 77 #define FSCTL_FILESYSTEM_GET_STATS 0x00090060 /* BB add struct */ 78 #define FSCTL_GET_NTFS_VOLUME_DATA 0x00090064 /* BB add struct */ 79 #define FSCTL_GET_RETRIEVAL_POINTERS 0x00090073 /* BB add struct */ 80 #define FSCTL_IS_VOLUME_DIRTY 0x00090078 /* BB add struct */ 81 #define FSCTL_ALLOW_EXTENDED_DASD_IO 0x00090083 /* BB add struct */ 83 #define FSCTL_FIND_FILES_BY_SID 0x0009008F /* BB add struct */ [all …]
|
/Linux-v5.10/crypto/ |
D | rmd320.c | 51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd320_transform() local 55 bb = state[1]; in rmd320_transform() 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform() 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform() 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform() 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform() 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform() 73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform() 74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform() 75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform() [all …]
|
D | rmd160.c | 51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; in rmd160_transform() local 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() [all …]
|
D | rmd256.c | 47 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd256_transform() local 51 bb = state[1]; in rmd256_transform() 62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform() 63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform() 64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform() 65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform() 66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform() 67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform() 68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform() 69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform() [all …]
|
D | rmd128.c | 47 u32 aa, bb, cc, dd, aaa, bbb, ccc, ddd; in rmd128_transform() local 51 bb = state[1]; in rmd128_transform() 62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform() 63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform() 64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform() 65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform() 66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform() 67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform() 68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform() 69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform() [all …]
|
/Linux-v5.10/net/tipc/ |
D | bcast.c | 98 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_calc_bc_threshold() local 101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold() 109 struct tipc_bc_base *bb = tipc_bc_base(net); in tipc_bcbase_select_primary() local 110 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary() 111 int max_win = tipc_link_max_win(bb->link); in tipc_bcbase_select_primary() 112 int min_win = tipc_link_min_win(bb->link); in tipc_bcbase_select_primary() 115 bb->primary_bearer = INVALID_BEARER_ID; in tipc_bcbase_select_primary() 116 bb->bcast_support = true; in tipc_bcbase_select_primary() 122 if (!bb->dests[i]) in tipc_bcbase_select_primary() 126 if (mtu < tipc_link_mtu(bb->link)) { in tipc_bcbase_select_primary() [all …]
|
/Linux-v5.10/include/linux/ |
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); 57 static inline void devm_exit_badblocks(struct device *dev, struct badblocks *bb) in devm_exit_badblocks() argument [all …]
|
/Linux-v5.10/drivers/nvdimm/ |
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() 177 * @bb: badblocks instance to populate 185 static void __add_badblock_range(struct badblocks *bb, u64 ns_offset, u64 len) in __add_badblock_range() argument 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() [all …]
|
D | pmem.c | 37 * at init in bb.dev. in to_dev() 39 return pmem->bb.dev; in to_dev() 90 badblocks_clear(&pmem->bb, sector, cleared); in pmem_clear_poison() 148 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_read() 165 if (unlikely(is_bad_pmem(&pmem->bb, sector, len))) in pmem_do_write() 262 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, in __pmem_direct_access() 275 if (unlikely(pmem->bb.count)) in __pmem_direct_access() 484 if (devm_init_badblocks(dev, &pmem->bb)) in pmem_attach_disk() 486 nvdimm_badblocks_populate(nd_region, &pmem->bb, &bb_range); in pmem_attach_disk() 487 disk->bb = &pmem->bb; in pmem_attach_disk() [all …]
|
/Linux-v5.10/arch/mips/lib/ |
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-v5.10/arch/alpha/boot/tools/ |
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-v5.10/scripts/gcc-plugins/ |
D | latent_entropy_plugin.c | 346 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 …]
|
D | structleak_plugin.c | 122 basic_block bb; in initialize() local 128 /* this is the original entry bb before the forced split */ in initialize() 129 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in initialize() 132 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in initialize() 176 basic_block bb; in structleak_execute() local 181 /* split the first bb where we can put the forced initializers */ in structleak_execute() 183 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); in structleak_execute() 184 if (!single_pred_p(bb)) { in structleak_execute()
|
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() 175 basic_block bb, entry_bb; in stackleak_instrument_execute() local 192 FOR_EACH_BB_FN(bb, cfun) { in stackleak_instrument_execute() 193 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { in stackleak_instrument_execute() 212 if (bb == entry_bb) in stackleak_instrument_execute() 247 bb = entry_bb; in stackleak_instrument_execute() 248 if (!single_pred_p(bb)) { in stackleak_instrument_execute() [all …]
|
/Linux-v5.10/drivers/spi/ |
D | spi-gpio.c | 364 struct spi_bitbang *bb; in spi_gpio_probe() local 407 bb = &spi_gpio->bitbang; in spi_gpio_probe() 408 bb->master = master; in spi_gpio_probe() 415 bb->chipselect = spi_gpio_chipselect; in spi_gpio_probe() 416 bb->set_line_direction = spi_gpio_set_direction; in spi_gpio_probe() 419 bb->txrx_word[SPI_MODE_0] = spi_gpio_spec_txrx_word_mode0; in spi_gpio_probe() 420 bb->txrx_word[SPI_MODE_1] = spi_gpio_spec_txrx_word_mode1; in spi_gpio_probe() 421 bb->txrx_word[SPI_MODE_2] = spi_gpio_spec_txrx_word_mode2; in spi_gpio_probe() 422 bb->txrx_word[SPI_MODE_3] = spi_gpio_spec_txrx_word_mode3; in spi_gpio_probe() 424 bb->txrx_word[SPI_MODE_0] = spi_gpio_txrx_word_mode0; in spi_gpio_probe() [all …]
|
/Linux-v5.10/fs/xfs/libxfs/ |
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-v5.10/drivers/hid/ |
D | hid-wiimote.h | 225 /* DRM_K: BB*2 */ 228 /* DRM_KA: BB*2 AA*3 */ 231 /* DRM_KE: BB*2 EE*8 */ 234 /* DRM_KAI: BB*2 AA*3 II*12 */ 237 /* DRM_KEE: BB*2 EE*19 */ 240 /* DRM_KAE: BB*2 AA*3 EE*16 */ 243 /* DRM_KIE: BB*2 II*10 EE*9 */ 246 /* DRM_KAIE: BB*2 AA*3 II*10 EE*6 */ 252 /* DRM_SKAI1: BB*2 AA*1 II*18 */ 255 /* DRM_SKAI2: BB*2 AA*1 II*18 */
|
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/ |
D | twl-charger.txt | 20 - 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-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 3415 struct _vcs_dpi_soc_bounding_box_st *bb, argument 3421 for (i = 0; i < bb->num_states; i++) { 3422 if ((bb->clock_limits[i].dcfclk_mhz > (max_clocks.dcfClockInKhz / 1000)) 3424 bb->clock_limits[i].dcfclk_mhz = (max_clocks.dcfClockInKhz / 1000); 3426 if ((bb->clock_limits[i].dram_speed_mts > (max_clocks.uClockInKhz / 1000) * 16) 3428 bb->clock_limits[i].dram_speed_mts = (max_clocks.uClockInKhz / 1000) * 16; 3430 if ((bb->clock_limits[i].fabricclk_mhz > (max_clocks.fabricClockInKhz / 1000)) 3432 bb->clock_limits[i].fabricclk_mhz = (max_clocks.fabricClockInKhz / 1000); 3434 if ((bb->clock_limits[i].dispclk_mhz > (max_clocks.displayClockInKhz / 1000)) 3436 bb->clock_limits[i].dispclk_mhz = (max_clocks.displayClockInKhz / 1000); [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
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(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-v5.10/drivers/gpu/drm/i915/gvt/ |
D | scheduler.c | 506 struct intel_vgpu_shadow_bb *bb; in prepare_shadow_batch_buffer() local 509 list_for_each_entry(bb, &workload->shadow_bb, list) { in prepare_shadow_batch_buffer() 517 if (bb->bb_offset) in prepare_shadow_batch_buffer() 518 bb->bb_start_cmd_va = workload->shadow_ring_buffer_va in prepare_shadow_batch_buffer() 519 + bb->bb_offset; in prepare_shadow_batch_buffer() 522 * For non-priv bb, scan&shadow is only for in prepare_shadow_batch_buffer() 523 * debugging purpose, so the content of shadow bb in prepare_shadow_batch_buffer() 524 * is the same as original bb. Therefore, in prepare_shadow_batch_buffer() 525 * here, rather than switch to shadow bb's gma in prepare_shadow_batch_buffer() 527 * gma address, and send original bb to hardware in prepare_shadow_batch_buffer() [all …]
|
/Linux-v5.10/drivers/net/wireless/ti/wl1251/ |
D | boot.c | 87 /* set the BB calibration time to be 300 usec (PLL_CAL_TIME) */ in wl1251_boot_init_seq() 106 /* PG 1.2: enable the BB PLL fix. Enable the PLL_LIMP_CLK_EN_CMD */ in wl1251_boot_init_seq() 110 /* PG 1.2: Set the BB PLL stable time to be 1000usec in wl1251_boot_init_seq() 127 /* set BB PLL configurations in RF AFE */ in wl1251_boot_init_seq() 137 * change RF PLL and BB PLL divider for VCO clock and adjust VCO in wl1251_boot_init_seq() 142 /* set BB PLL configurations */ in wl1251_boot_init_seq() 146 /* set fractional divider according to Appendix C-BB PLL in wl1251_boot_init_seq() 172 * set BB PLL Loop filter capacitor3- BB_C3[2:0] and set BB PLL in wl1251_boot_init_seq() 182 * set BB PLL Loop filter capacitor2- BB_C2[7:5], set gain of BB in wl1251_boot_init_seq()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1714 const struct gpu_info_soc_bounding_box_v1_0 *bb = dc->soc_bounding_box; in init_soc_bounding_box() local 1720 if (!bb && !is_soc_bounding_box_valid(dc)) { in init_soc_bounding_box() 1725 if (bb && !is_soc_bounding_box_valid(dc)) { in init_soc_bounding_box() 1729 fixed16_to_double_to_cpu(bb->sr_exit_time_us); in init_soc_bounding_box() 1731 fixed16_to_double_to_cpu(bb->sr_enter_plus_exit_time_us); in init_soc_bounding_box() 1733 fixed16_to_double_to_cpu(bb->urgent_latency_us); in init_soc_bounding_box() 1735 fixed16_to_double_to_cpu(bb->urgent_latency_pixel_data_only_us); in init_soc_bounding_box() 1737 fixed16_to_double_to_cpu(bb->urgent_latency_pixel_mixed_with_vm_data_us); in init_soc_bounding_box() 1739 fixed16_to_double_to_cpu(bb->urgent_latency_vm_data_only_us); in init_soc_bounding_box() 1741 le32_to_cpu(bb->urgent_out_of_order_return_per_channel_pixel_only_bytes); in init_soc_bounding_box() [all …]
|