Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 25 of 107) sorted by relevance

12345

/linux-6.3-rc2/lib/
A Dts_bm.c78 != bm->pattern[bm->patlen-1-i]) in bm_find()
119 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()
121 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i; in compute_prefix_tbl()
123 bm->bad_shift[tolower(bm->pattern[i])] in compute_prefix_tbl()
131 bm->good_shift[i] = bm->patlen; in compute_prefix_tbl()
135 bm->good_shift[g] = bm->patlen-j-g; in compute_prefix_tbl()
145 struct ts_bm *bm; in bm_init() local
156 bm->patlen = len; in bm_init()
157 bm->pattern = (u8 *) bm->good_shift + prefix_tbl_len; in bm_init()
171 return bm->pattern; in bm_get_pattern()
[all …]
A Dlshrdi3.c12 word_type bm; in __lshrdi3() local
18 bm = 32 - b; in __lshrdi3()
20 if (bm <= 0) { in __lshrdi3()
22 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
24 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
A Dashldi3.c12 word_type bm; in __ashldi3() local
18 bm = 32 - b; in __ashldi3()
20 if (bm <= 0) { in __ashldi3()
22 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
24 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
A Dashrdi3.c12 word_type bm; in __ashrdi3() local
18 bm = 32 - b; in __ashrdi3()
20 if (bm <= 0) { in __ashrdi3()
24 w.s.low = uu.s.high >> -bm; in __ashrdi3()
26 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
/linux-6.3-rc2/drivers/comedi/
A Dcomedi_buf.c49 kfree(bm); in comedi_buf_map_kref_release()
81 bm = kzalloc(sizeof(*bm), GFP_KERNEL); in comedi_buf_map_alloc()
82 if (!bm) in comedi_buf_map_alloc()
132 return bm; in comedi_buf_map_alloc()
157 if (!bm) in __comedi_buf_alloc()
191 if (bm) in comedi_buf_map_get()
197 if (bm) in comedi_buf_map_put()
240 if (bm && bm->n_pages) in comedi_buf_map_from_subdev_get()
243 bm = NULL; in comedi_buf_map_from_subdev_get()
246 return bm; in comedi_buf_map_from_subdev_get()
[all …]
/linux-6.3-rc2/arch/powerpc/math-emu/
A Dudivmodti4.c15 _FP_I_TYPE b, bm; in _fp_udivmodti4() local
53 if (bm != 0) in _fp_udivmodti4()
58 d0 = d0 << bm; in _fp_udivmodti4()
59 n1 = (n1 << bm) | (n0 >> (_FP_W_TYPE_SIZE - bm)); in _fp_udivmodti4()
60 n0 = n0 << bm; in _fp_udivmodti4()
77 if (bm == 0) in _fp_udivmodti4()
97 d0 = d0 << bm; in _fp_udivmodti4()
100 n0 = n0 << bm; in _fp_udivmodti4()
112 r0 = n0 >> bm; in _fp_udivmodti4()
134 if (bm == 0) in _fp_udivmodti4()
[all …]
/linux-6.3-rc2/drivers/md/persistent-data/
A Ddm-block-manager.c391 bm = kmalloc(sizeof(*bm), GFP_KERNEL); in dm_block_manager_create()
392 if (!bm) { in dm_block_manager_create()
404 kfree(bm); in dm_block_manager_create()
408 bm->read_only = false; in dm_block_manager_create()
410 return bm; in dm_block_manager_create()
420 kfree(bm); in dm_block_manager_destroy()
626 return bm ? bm->read_only : true; in dm_bm_is_read_only()
632 if (bm) in dm_bm_set_read_only()
633 bm->read_only = true; in dm_bm_set_read_only()
639 if (bm) in dm_bm_set_read_write()
[all …]
A Ddm-block-manager.h38 void dm_block_manager_destroy(struct dm_block_manager *bm);
40 unsigned int dm_bm_block_size(struct dm_block_manager *bm);
41 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
74 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
78 int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
86 int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
109 int dm_bm_flush(struct dm_block_manager *bm);
114 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b);
127 bool dm_bm_is_read_only(struct dm_block_manager *bm);
128 void dm_bm_set_read_only(struct dm_block_manager *bm);
[all …]
A Ddm-transaction-manager.c70 dm_bm_prefetch(bm, p->blocks[i]); in prefetch_issue()
94 struct dm_block_manager *bm; member
174 tm->bm = bm; in dm_tm_create()
220 return dm_bm_flush(tm->bm); in dm_tm_pre_commit()
232 return dm_bm_flush(tm->bm); in dm_tm_commit()
281 r = dm_bm_read_lock(tm->bm, orig, v, &orig_block); in __shadow_block()
299 dm_bm_block_size(tm->bm)); in __shadow_block()
343 return dm_bm_read_lock(tm->bm, b, v, blk); in dm_tm_read_lock()
447 return tm->bm; in dm_tm_get_bm()
452 prefetch_issue(&tm->prefetches, tm->bm); in dm_tm_issue_prefetches()
[all …]
/linux-6.3-rc2/fs/affs/
A Dbitmap.c17 struct affs_bm_info *bm; in affs_count_free_blocks() local
28 bm = AFFS_SB(sb)->s_bitmap; in affs_count_free_blocks()
31 free += bm->bm_free; in affs_count_free_blocks()
42 struct affs_bm_info *bm; in affs_free_block() local
84 bm->bm_free++; in affs_free_block()
119 struct affs_bm_info *bm; in affs_alloc_block() local
150 if (bm->bm_free) in affs_alloc_block()
160 bm++; in affs_alloc_block()
165 bm = sbi->s_bitmap; in affs_alloc_block()
166 } while (!bm->bm_free); in affs_alloc_block()
[all …]
/linux-6.3-rc2/kernel/power/
A Dsnapshot.c587 bm->cur.zone = list_entry(bm->zones.next, struct mem_zone_bm_rtree, in memory_bm_position_reset()
589 bm->cur.node = list_entry(bm->cur.zone->leaves.next, in memory_bm_position_reset()
751 zone = bm->cur.zone; in memory_bm_find_bit()
780 node = bm->cur.node; in memory_bm_find_bit()
884 if (!list_is_last(&bm->cur.node->list, &bm->cur.zone->leaves)) { in rtree_next_node()
885 bm->cur.node = list_entry(bm->cur.node->list.next, in rtree_next_node()
894 if (!list_is_last(&bm->cur.zone->list, &bm->zones)) { in rtree_next_node()
895 bm->cur.zone = list_entry(bm->cur.zone->list.next, in rtree_next_node()
897 bm->cur.node = list_entry(bm->cur.zone->leaves.next, in rtree_next_node()
925 pages = bm->cur.zone->end_pfn - bm->cur.zone->start_pfn; in memory_bm_next_pfn()
[all …]
/linux-6.3-rc2/tools/perf/tests/
A Dbitmap.c14 unsigned long *bm = NULL; in get_bitmap() local
17 bm = bitmap_zalloc(nbits); in get_bitmap()
19 if (map && bm) { in get_bitmap()
21 __set_bit(perf_cpu_map__cpu(map, i).cpu, bm); in get_bitmap()
26 return bm; in get_bitmap()
31 unsigned long *bm = get_bitmap(str, NBITS); in test_bitmap() local
35 bitmap_scnprintf(bm, NBITS, buf, sizeof(buf)); in test_bitmap()
39 free(bm); in test_bitmap()
A Dmem2node.c27 unsigned long *bm = NULL; in get_bitmap() local
29 bm = bitmap_zalloc(nbits); in get_bitmap()
31 if (map && bm) { in get_bitmap()
36 __set_bit(cpu.cpu, bm); in get_bitmap()
42 free(bm); in get_bitmap()
44 return bm && map ? bm : NULL; in get_bitmap()
/linux-6.3-rc2/arch/mips/dec/prom/
A Dmemory.c63 memmap *bm; in rex_setup_memory_region() local
66 bm = (memmap *)CKSEG0ADDR(0x28000); in rex_setup_memory_region()
68 bitmap_size = rex_getbitmap(bm); in rex_setup_memory_region()
72 if (bm->bitmap[i] == 0xff) in rex_setup_memory_region()
73 mem_size += (8 * bm->pagesize); in rex_setup_memory_region()
75 mem_start += (8 * bm->pagesize); in rex_setup_memory_region()
78 mem_start += mem_size + (8 * bm->pagesize); in rex_setup_memory_region()
/linux-6.3-rc2/arch/sh/lib/
A Dashldi3.c9 word_type bm; in __ashldi3() local
15 bm = 32 - b; in __ashldi3()
17 if (bm <= 0) { in __ashldi3()
19 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
21 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
A Dlshrdi3.c9 word_type bm; in __lshrdi3() local
15 bm = 32 - b; in __lshrdi3()
17 if (bm <= 0) { in __lshrdi3()
19 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
21 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
A Dashrdi3.c9 word_type bm; in __ashrdi3() local
15 bm = 32 - b; in __ashrdi3()
17 if (bm <= 0) { in __ashrdi3()
21 w.s.low = uu.s.high >> -bm; in __ashrdi3()
23 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
/linux-6.3-rc2/arch/microblaze/lib/
A Dashldi3.c9 word_type bm; in __ashldi3() local
15 bm = 32 - b; in __ashldi3()
17 if (bm <= 0) { in __ashldi3()
19 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
21 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
A Dlshrdi3.c9 word_type bm; in __lshrdi3() local
15 bm = 32 - b; in __lshrdi3()
17 if (bm <= 0) { in __lshrdi3()
19 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
21 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
A Dashrdi3.c9 word_type bm; in __ashrdi3() local
15 bm = 32 - b; in __ashrdi3()
17 if (bm <= 0) { in __ashrdi3()
21 w.s.low = uu.s.high >> -bm; in __ashrdi3()
23 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
/linux-6.3-rc2/arch/arm/boot/dts/
A Darmada-xp-openblocks-ax3-4.dts114 buffer-manager = <&bm>;
115 bm,pool-long = <0>;
121 buffer-manager = <&bm>;
122 bm,pool-long = <1>;
128 buffer-manager = <&bm>;
129 bm,pool-long = <2>;
135 buffer-manager = <&bm>;
136 bm,pool-long = <3>;
166 bm@c0000 {
171 bm-bppi {
A Darmada-385-db-ap.dts98 buffer-manager = <&bm>;
99 bm,pool-long = <1>;
100 bm,pool-short = <3>;
108 buffer-manager = <&bm>;
109 bm,pool-long = <2>;
110 bm,pool-short = <3>;
129 buffer-manager = <&bm>;
130 bm,pool-long = <0>;
131 bm,pool-short = <3>;
134 bm@c8000 {
[all …]
/linux-6.3-rc2/arch/m68k/lib/
A Dashldi3.c38 word_type bm; in __ashldi3() local
46 bm = (sizeof (SItype) * BITS_PER_UNIT) - b; in __ashldi3()
47 if (bm <= 0) in __ashldi3()
50 w.s.high = (USItype)uu.s.low << -bm; in __ashldi3()
54 USItype carries = (USItype)uu.s.low >> bm; in __ashldi3()
A Dlshrdi3.c38 word_type bm; in __lshrdi3() local
46 bm = (sizeof (SItype) * BITS_PER_UNIT) - b; in __lshrdi3()
47 if (bm <= 0) in __lshrdi3()
50 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3()
54 USItype carries = (USItype)uu.s.high << bm; in __lshrdi3()
A Dashrdi3.c38 word_type bm; in __ashrdi3() local
46 bm = (sizeof (SItype) * BITS_PER_UNIT) - b; in __ashrdi3()
47 if (bm <= 0) in __ashrdi3()
51 w.s.low = uu.s.high >> -bm; in __ashrdi3()
55 USItype carries = (USItype)uu.s.high << bm; in __ashrdi3()

Completed in 47 milliseconds

12345