/linux-master/include/linux/ |
H A D | badblocks.h | 51 int badblocks_check(struct badblocks *bb, sector_t s, int sectors, 53 int badblocks_set(struct badblocks *bb, sector_t s, int sectors, 55 int badblocks_clear(struct badblocks *bb, sector_t s, int sectors); 56 void ack_all_badblocks(struct badblocks *bb); 57 ssize_t badblocks_show(struct badblocks *bb, char *page, int unack); 58 ssize_t badblocks_store(struct badblocks *bb, const char *page, size_t len, 60 int badblocks_init(struct badblocks *bb, int enable); 61 void badblocks_exit(struct badblocks *bb); 63 int devm_init_badblocks(struct device *dev, struct badblocks *bb); 64 static inline void devm_exit_badblocks(struct device *dev, struct badblocks *bb) argument 74 badblocks_full(struct badblocks *bb) argument 79 badblocks_empty(struct badblocks *bb) argument 84 set_changed(struct badblocks *bb) argument 90 clear_changed(struct badblocks *bb) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_bb.c | 35 struct xe_bb *bb = kmalloc(sizeof(*bb), GFP_KERNEL); local 38 if (!bb) 47 bb->bo = xe_sa_bo_new(!usm ? tile->mem.kernel_bb_pool : gt->usm.bb_pool, 49 if (IS_ERR(bb->bo)) { 50 err = PTR_ERR(bb->bo); 54 bb->cs = xe_sa_bo_cpu_addr(bb->bo); 55 bb->len = 0; 57 return bb; 64 __xe_bb_create_job(struct xe_exec_queue *q, struct xe_bb *bb, u64 *addr) argument 77 xe_bb_create_migration_job(struct xe_exec_queue *q, struct xe_bb *bb, u64 batch_base_ofs, u32 second_idx) argument 94 xe_bb_create_job(struct xe_exec_queue *q, struct xe_bb *bb) argument 103 xe_bb_free(struct xe_bb *bb, struct dma_fence *fence) argument [all...] |
H A D | xe_bb.h | 19 struct xe_bb *bb); 21 struct xe_bb *bb, u64 batch_ofs, 23 void xe_bb_free(struct xe_bb *bb, struct dma_fence *fence);
|
H A D | xe_gsc_submit.c | 161 struct xe_bb *bb; local 172 bb = xe_bb_new(gt, 8, false); 173 if (IS_ERR(bb)) 174 return PTR_ERR(bb); 176 bb->cs[bb->len++] = GSC_HECI_CMD_PKT; 177 bb->cs[bb->len++] = lower_32_bits(addr_in); 178 bb->cs[bb [all...] |
H A D | xe_migrate.c | 120 /* First slot is reserved for mapping of PT bo and bb, start from 1 */ 484 struct xe_bb *bb, u32 at_pt, 508 bb->cs[bb->len++] = MI_STORE_DATA_IMM | MI_SDI_NUM_QW(chunk); 509 bb->cs[bb->len++] = ofs; 510 bb->cs[bb->len++] = 0; 538 bb->cs[bb 483 emit_pte(struct xe_migrate *m, struct xe_bb *bb, u32 at_pt, bool is_vram, bool is_comp_pte, struct xe_res_cursor *cur, u32 size, struct ttm_resource *res) argument 548 emit_copy_ccs(struct xe_gt *gt, struct xe_bb *bb, u64 dst_ofs, bool dst_is_indirect, u64 src_ofs, bool src_is_indirect, u32 size) argument 589 emit_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u64 dst_ofs, unsigned int size, unsigned int pitch) argument 630 xe_migrate_ccs_copy(struct xe_migrate *m, struct xe_bb *bb, u64 src_ofs, bool src_is_indirect, u64 dst_ofs, bool dst_is_indirect, u32 dst_size, u64 ccs_ofs, bool copy_ccs) argument 740 struct xe_bb *bb; local 864 emit_clear_link_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch) argument 887 emit_clear_main_copy(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch, bool is_vram) argument 950 emit_clear(struct xe_gt *gt, struct xe_bb *bb, u64 src_ofs, u32 size, u32 pitch, bool is_vram) argument 1000 struct xe_bb *bb; local 1108 write_pgtable(struct xe_tile *tile, struct xe_bb *bb, u64 ppgtt_ofs, const struct xe_vm_pgtable_update *update, struct xe_migrate_pt_update *pt_update) argument 1286 struct xe_bb *bb; local [all...] |
H A D | xe_gt.c | 110 struct xe_bb *bb; local 114 bb = xe_bb_new(gt, 4, false); 115 if (IS_ERR(bb)) 116 return PTR_ERR(bb); 118 job = xe_bb_create_job(q, bb); 120 xe_bb_free(bb, NULL); 130 xe_bb_free(bb, NULL); 154 struct xe_bb *bb; local 161 bb = xe_bb_new(gt, xe_lrc_size(gt_to_xe(gt), q->hwe->class), false); 164 bb [all...] |
H A D | xe_gsc.c | 64 struct xe_bb *bb; local 69 bb = xe_bb_new(gt, 4, false); 70 if (IS_ERR(bb)) 71 return PTR_ERR(bb); 73 bb->cs[bb->len++] = GSC_FW_LOAD; 74 bb->cs[bb->len++] = lower_32_bits(offset); 75 bb->cs[bb [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | cfg.c | 50 #define bb_prev(bb) list_prev_entry(bb, l) 51 #define bb_next(bb) list_next_entry(bb, l) 91 struct bb_node *new_bb, *bb; local 93 list_for_each_entry(bb, &func->bbs, l) { 94 if (bb->head == insn) 95 return bb; 96 else if (bb->head > insn) 100 bb 116 struct bb_node *bb; local 168 struct bb_node *bb; local 202 struct bb_node *bb, *last; local 218 struct bb_node *bb; local 246 struct bb_node *bb; local 281 struct bb_node *bb; local 359 struct bb_node *bb, *bb2; local 384 draw_bb_node(struct func_node *func, struct bb_node *bb, struct dump_data *dd, bool opcodes, bool linum) argument 413 draw_bb_succ_edges(struct func_node *func, struct bb_node *bb) argument 436 struct bb_node *bb; local 446 struct bb_node *bb; local [all...] |
/linux-master/block/ |
H A D | badblocks.c | 457 static int prev_by_hint(struct badblocks *bb, sector_t s, int hint) argument 460 u64 *p = bb->page; 463 while ((hint < hint_end) && ((hint + 1) <= bb->count) && 465 if ((hint + 1) == bb->count || BB_OFFSET(p[hint + 1]) > s) { 481 static int prev_badblocks(struct badblocks *bb, struct badblocks_context *bad, argument 489 if (!bb->count) 493 ret = prev_by_hint(bb, s, hint); 499 hi = bb->count; 500 p = bb->page; 534 static bool can_merge_behind(struct badblocks *bb, argument 554 behind_merge(struct badblocks *bb, struct badblocks_context *bad, int behind) argument 579 can_merge_front(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 597 front_merge(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 633 can_combine_front(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 654 front_combine(struct badblocks *bb, int prev) argument 671 overlap_front(struct badblocks *bb, int front, struct badblocks_context *bad) argument 686 overlap_behind(struct badblocks *bb, struct badblocks_context *bad, int behind) argument 718 can_front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int *extra) argument 761 front_overwrite(struct badblocks *bb, int prev, struct badblocks_context *bad, int extra) argument 823 insert_at(struct badblocks *bb, int at, struct badblocks_context *bad) argument 838 badblocks_update_acked(struct badblocks *bb) argument 859 _badblocks_set(struct badblocks *bb, sector_t s, int sectors, int acknowledged) argument 1073 front_clear(struct badblocks *bb, int prev, struct badblocks_context *bad, int *deleted) argument 1116 front_splitting_clear(struct badblocks *bb, int prev, struct badblocks_context *bad) argument 1134 _badblocks_clear(struct badblocks *bb, sector_t s, int sectors) argument 1274 _badblocks_check(struct badblocks *bb, sector_t s, int sectors, sector_t *first_bad, int *bad_sectors) argument 1407 badblocks_check(struct badblocks *bb, sector_t s, int sectors, sector_t *first_bad, int *bad_sectors) argument 1429 badblocks_set(struct badblocks *bb, sector_t s, int sectors, int acknowledged) argument 1450 badblocks_clear(struct badblocks *bb, sector_t s, int sectors) argument 1463 ack_all_badblocks(struct badblocks *bb) argument 1497 badblocks_show(struct badblocks *bb, char *page, int unack) argument 1547 badblocks_store(struct badblocks *bb, const char *page, size_t len, int unack) argument 1574 __badblocks_init(struct device *dev, struct badblocks *bb, int enable) argument 1605 badblocks_init(struct badblocks *bb, int enable) argument 1611 devm_init_badblocks(struct device *dev, struct badblocks *bb) argument 1623 badblocks_exit(struct badblocks *bb) argument [all...] |
/linux-master/net/tipc/ |
H A D | bcast.c | 98 struct tipc_bc_base *bb = tipc_bc_base(net); local 101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); 109 struct tipc_bc_base *bb = tipc_bc_base(net); local 110 int all_dests = tipc_link_bc_peers(bb->link); 111 int max_win = tipc_link_max_win(bb->link); 112 int min_win = tipc_link_min_win(bb->link); 115 bb->primary_bearer = INVALID_BEARER_ID; 116 bb->bcast_support = true; 122 if (!bb 149 struct tipc_bc_base *bb = tipc_bc_base(net); local 159 struct tipc_bc_base *bb = tipc_bc_base(net); local 180 struct tipc_bc_base *bb = tipc_bc_base(net); local 215 struct tipc_bc_base *bb = tipc_bc_base(net); local 601 struct tipc_bc_base *bb = tipc_bc_base(net); local 634 struct tipc_bc_base *bb = tipc_bc_base(net); local 692 struct tipc_bc_base *bb = NULL; local 763 struct tipc_bc_base *bb = tipc_bc_base(net); local 779 struct tipc_bc_base *bb = tipc_bc_base(net); local [all...] |
/linux-master/arch/mips/lib/ |
H A D | multi3.c | 35 TWunion res, aa, bb; local 38 bb.ti = b; 45 res.s.low = dmulu(aa.s.low, bb.s.low); 46 res.s.high = dmuhu(aa.s.low, bb.s.low); 47 res.s.high += dmulu(aa.s.high, bb.s.low); 48 res.s.high += dmulu(aa.s.low, bb.s.high);
|
/linux-master/crypto/ |
H A D | rmd160.c | 51 u32 aa, bb, cc, dd, ee, aaa, bbb, ccc, ddd, eee; local 55 bb = state[1]; 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); 73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); 74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); 75 ROUND(dd, ee, aa, bb, c [all...] |
/linux-master/arch/arm/boot/dts/actions/ |
H A D | Makefile | 4 owl-s500-guitar-bb-rev-b.dtb \
|
/linux-master/scripts/dtc/include-prefixes/arm/actions/ |
H A D | Makefile | 4 owl-s500-guitar-bb-rev-b.dtb \
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bmap_btree.h | 65 #define XFS_BMAP_BROOT_PTR_ADDR(mp, bb, i, sz) \ 66 XFS_BMBT_PTR_ADDR(mp, bb, i, xfs_bmbt_maxrecs(mp, sz, 0)) 72 #define XFS_BMAP_BROOT_SPACE(mp, bb) \ 73 (XFS_BMAP_BROOT_SPACE_CALC(mp, be16_to_cpu((bb)->bb_numrecs))) 77 #define XFS_BMAP_BMDR_SPACE(bb) \ 78 (XFS_BMDR_SPACE_CALC(be16_to_cpu((bb)->bb_numrecs)))
|
/linux-master/arch/alpha/boot/tools/ |
H A D | objstrip.c | 109 unsigned long bb[64], sum = 0; local 124 memset(bb, 0, sizeof(bb)); 125 strcpy((char *) bb, "Linux SRM bootblock"); 126 bb[60] = size / BLOCK_SIZE; /* count */ 127 bb[61] = 1; /* starting sector # */ 128 bb[62] = 0; /* flags---must be 0 */ 130 sum += bb[i]; 132 bb[63] = sum; 133 if (write(ofd, bb, sizeo [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H 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-master/drivers/nvdimm/ |
H A D | badrange.c | 165 static void set_badblock(struct badblocks *bb, sector_t s, int num) argument 167 dev_dbg(bb->dev, "Found a bad range (0x%llx, 0x%llx)\n", 170 if (badblocks_set(bb, s, num, 1)) 171 dev_info_once(bb->dev, "%s: failed for sector %llx\n", 177 * @bb: badblocks instance to populate 185 static void __add_badblock_range(struct badblocks *bb, u64 ns_offset, u64 len) argument 205 set_badblock(bb, s, done); 210 set_badblock(bb, start_sector, num_sectors); 214 struct badblocks *bb, const struct range *range) 239 __add_badblock_range(bb, star 213 badblocks_populate(struct badrange *badrange, struct badblocks *bb, const struct range *range) argument 269 nvdimm_badblocks_populate(struct nd_region *nd_region, struct badblocks *bb, const struct range *range) argument [all...] |
/linux-master/scripts/gcc-plugins/ |
H A D | latent_entropy_plugin.c | 340 static void perturb_local_entropy(basic_block bb, tree local_entropy) argument 349 gsi = gsi_after_labels(bb); 383 static bool handle_tail_calls(basic_block bb, tree local_entropy) argument 387 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { 431 static void init_local_entropy(basic_block bb, tree local_entropy) argument 437 gimple_stmt_iterator gsi = gsi_after_labels(bb); 503 basic_block bb; local 511 bb = single_succ(ENTRY_BLOCK_PTR_FOR_FN(cfun)); 512 if (!single_pred_p(bb)) { 515 bb [all...] |
H A D | stackleak_plugin.c | 59 basic_block bb; local 70 bb = gimple_bb(gimple_call); 74 gimple_call, bb->count, 75 compute_call_stmt_bb_frequency(current_function_decl, bb)); 173 basic_block bb, entry_bb; local 190 FOR_EACH_BB_FN(bb, cfun) { 191 for (gsi = gsi_start_bb(bb); !gsi_end_p(gsi); gsi_next(&gsi)) { 210 if (bb == entry_bb) 245 bb = entry_bb; 246 if (!single_pred_p(bb)) { [all...] |
H A D | sancov_plugin.c | 35 basic_block bb; local 42 FOR_EACH_BB_FN(bb, cfun) { 45 gimple_stmt_iterator gsi = gsi_after_labels(bb);
|
/linux-master/tools/testing/nvdimm/ |
H A D | pmem-dax.c | 17 if (unlikely(is_bad_pmem(&pmem->bb, PFN_PHYS(pgoff) / 512, 48 if (unlikely(pmem->bb.count))
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring_submission.c | 207 struct i915_vma *bb; local 211 bb = create_wally(engine); 212 if (IS_ERR(bb)) 213 return PTR_ERR(bb); 215 result = i915_gem_object_pin_map_unlocked(bb->obj, I915_MAP_WC); 217 intel_context_put(bb->private); 218 i915_vma_unpin_and_release(&bb, 0); 223 engine->wa_ctx.vma = bb;
|
/linux-master/drivers/spi/ |
H A D | spi-gpio.c | 392 struct spi_bitbang *bb; local 429 bb = &spi_gpio->bitbang; 430 bb->ctlr = host; 437 bb->chipselect = spi_gpio_chipselect; 438 bb->set_line_direction = spi_gpio_set_direction; 441 bb->txrx_word[SPI_MODE_0] = spi_gpio_spec_txrx_word_mode0; 442 bb->txrx_word[SPI_MODE_1] = spi_gpio_spec_txrx_word_mode1; 443 bb->txrx_word[SPI_MODE_2] = spi_gpio_spec_txrx_word_mode2; 444 bb->txrx_word[SPI_MODE_3] = spi_gpio_spec_txrx_word_mode3; 446 bb [all...] |
/linux-master/arch/parisc/kernel/ |
H 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
|