Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 1969) sorted by relevance

12345678910>>...79

/Linux-v4.19/drivers/iommu/
Dmsm_iommu_hw-8xxx.h33 #define SET_GLOBAL_REG_N(b, n, r, v) SET_GLOBAL_REG(b, ((r) + (n << 2)), (v)) argument
34 #define GET_GLOBAL_REG_N(b, n, r) GET_GLOBAL_REG(b, ((r) + (n << 2))) argument
37 #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT) argument
38 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument
41 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument
43 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument
97 #define SET_M2VCBR_N(b, N, v) SET_GLOBAL_REG_N(M2VCBR_N, N, (b), (v)) argument
98 #define SET_CBACR_N(b, N, v) SET_GLOBAL_REG_N(CBACR_N, N, (b), (v)) argument
99 #define SET_TLBRSW(b, v) SET_GLOBAL_REG(TLBRSW, (b), (v)) argument
100 #define SET_TLBTR0(b, v) SET_GLOBAL_REG(TLBTR0, (b), (v)) argument
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_breadcrumbs.c36 static unsigned int __intel_breadcrumbs_wakeup(struct intel_breadcrumbs *b) in __intel_breadcrumbs_wakeup()
67 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_wakeup() local
100 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_breadcrumbs_hangcheck() local
137 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_breadcrumbs_fake_irq() local
199 struct intel_breadcrumbs *b = &engine->breadcrumbs; in __intel_engine_disarm_breadcrumbs() local
214 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_pin_breadcrumbs_irq() local
225 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_unpin_breadcrumbs_irq() local
236 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_disarm_breadcrumbs() local
269 static bool use_fake_irq(const struct intel_breadcrumbs *b) in use_fake_irq()
287 static void enable_fake_irq(struct intel_breadcrumbs *b) in enable_fake_irq()
[all …]
/Linux-v4.19/net/ceph/crush/
Dcrush.c28 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight()
48 void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b) in crush_destroy_bucket_uniform()
54 void crush_destroy_bucket_list(struct crush_bucket_list *b) in crush_destroy_bucket_list()
62 void crush_destroy_bucket_tree(struct crush_bucket_tree *b) in crush_destroy_bucket_tree()
69 void crush_destroy_bucket_straw(struct crush_bucket_straw *b) in crush_destroy_bucket_straw()
77 void crush_destroy_bucket_straw2(struct crush_bucket_straw2 *b) in crush_destroy_bucket_straw2()
84 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket()
113 __s32 b; in crush_destroy() local
124 __u32 b; in crush_destroy() local
Dhash.c13 #define crush_hashmix(a, b, c) do { \ argument
30 __u32 b = a; in crush_hash32_rjenkins1() local
38 static __u32 crush_hash32_rjenkins1_2(__u32 a, __u32 b) in crush_hash32_rjenkins1_2()
49 static __u32 crush_hash32_rjenkins1_3(__u32 a, __u32 b, __u32 c) in crush_hash32_rjenkins1_3()
62 static __u32 crush_hash32_rjenkins1_4(__u32 a, __u32 b, __u32 c, __u32 d) in crush_hash32_rjenkins1_4()
76 static __u32 crush_hash32_rjenkins1_5(__u32 a, __u32 b, __u32 c, __u32 d, in crush_hash32_rjenkins1_5()
104 __u32 crush_hash32_2(int type, __u32 a, __u32 b) in crush_hash32_2()
114 __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c) in crush_hash32_3()
124 __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d) in crush_hash32_4()
134 __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d, __u32 e) in crush_hash32_5()
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcpt_common.h52 #define CPTX_PF_MBOX_INTX(a, b) \ argument
54 #define CPTX_PF_MBOX_INT_W1SX(a, b) \ argument
56 #define CPTX_PF_MBOX_ENA_W1CX(a, b) \ argument
58 #define CPTX_PF_MBOX_ENA_W1SX(a, b) \ argument
64 #define CPTX_PF_GX_EN(a, b) \ argument
86 #define CPTX_PF_EXE_DBG_CNTX(a, b) \ argument
89 #define CPTX_PF_EXE_EPCI_INBX_CNT(a, b) \ argument
91 #define CPTX_PF_EXE_EPCI_OUTBX_CNT(a, b) \ argument
93 #define CPTX_PF_ENGX_UCODE_BASE(a, b) \ argument
95 #define CPTX_PF_QX_CTL(a, b) \ argument
[all …]
/Linux-v4.19/tools/include/linux/
Doverflow.h49 #define check_add_overflow(a, b, d) ({ \ argument
58 #define check_sub_overflow(a, b, d) ({ \ argument
67 #define check_mul_overflow(a, b, d) ({ \ argument
80 #define __unsigned_add_overflow(a, b, d) ({ \ argument
89 #define __unsigned_sub_overflow(a, b, d) ({ \ argument
101 #define __unsigned_mul_overflow(a, b, d) ({ \ argument
129 #define __signed_add_overflow(a, b, d) ({ \ argument
145 #define __signed_sub_overflow(a, b, d) ({ \ argument
172 #define __signed_mul_overflow(a, b, d) ({ \ argument
187 #define check_add_overflow(a, b, d) \ argument
[all …]
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
46 #define __jhash_final(a, b, c) \ argument
72 u32 a, b, c; in jhash() local
119 u32 a, b, c; in jhash2() local
149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords()
160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words()
165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words()
/Linux-v4.19/include/linux/
Doverflow.h49 #define check_add_overflow(a, b, d) ({ \ argument
58 #define check_sub_overflow(a, b, d) ({ \ argument
67 #define check_mul_overflow(a, b, d) ({ \ argument
80 #define __unsigned_add_overflow(a, b, d) ({ \ argument
89 #define __unsigned_sub_overflow(a, b, d) ({ \ argument
101 #define __unsigned_mul_overflow(a, b, d) ({ \ argument
129 #define __signed_add_overflow(a, b, d) ({ \ argument
145 #define __signed_sub_overflow(a, b, d) ({ \ argument
172 #define __signed_mul_overflow(a, b, d) ({ \ argument
187 #define check_add_overflow(a, b, d) \ argument
[all …]
Dhid-debug.h53 #define hid_dump_input(a,b,c) do { } while (0) argument
54 #define hid_dump_report(a,b,c,d) do { } while (0) argument
55 #define hid_dump_device(a,b) do { } while (0) argument
56 #define hid_dump_field(a,b,c) do { } while (0) argument
57 #define hid_resolv_usage(a,b) do { } while (0) argument
58 #define hid_debug_register(a, b) do { } while (0) argument
62 #define hid_debug_event(a,b) do { } while (0) argument
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
46 #define __jhash_final(a, b, c) \ argument
72 u32 a, b, c; in jhash() local
118 u32 a, b, c; in jhash2() local
148 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords()
159 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words()
164 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words()
Djiffies.h105 #define time_after(a,b) \ argument
109 #define time_before(a,b) time_after(b,a) argument
111 #define time_after_eq(a,b) \ argument
115 #define time_before_eq(a,b) time_after_eq(b,a) argument
120 #define time_in_range(a,b,c) \ argument
127 #define time_in_range_open(a,b,c) \ argument
134 #define time_after64(a,b) \ argument
138 #define time_before64(a,b) time_after64(b,a) argument
140 #define time_after_eq64(a,b) \ argument
144 #define time_before_eq64(a,b) time_after_eq64(b,a) argument
[all …]
/Linux-v4.19/arch/sparc/crypto/
Dopcodes.h18 #define CRC32C(a,b,c) \ argument
30 #define AES_EROUND01(a,b,c,d) \ argument
32 #define AES_EROUND23(a,b,c,d) \ argument
34 #define AES_DROUND01(a,b,c,d) \ argument
36 #define AES_DROUND23(a,b,c,d) \ argument
38 #define AES_EROUND01_L(a,b,c,d) \ argument
40 #define AES_EROUND23_L(a,b,c,d) \ argument
42 #define AES_DROUND01_L(a,b,c,d) \ argument
44 #define AES_DROUND23_L(a,b,c,d) \ argument
46 #define AES_KEXPAND1(a,b,c,d) \ argument
[all …]
/Linux-v4.19/drivers/md/bcache/
Dbtree.c102 #define insert_lock(s, b) ((b)->level <= (s)->lock) argument
122 #define btree(fn, key, b, op, ...) \ argument
163 static inline struct bset *write_block(struct btree *b) in write_block()
168 static void bch_btree_init_next(struct btree *b) in bch_btree_init_next()
195 static uint64_t btree_csum_set(struct btree *b, struct bset *i) in btree_csum_set()
204 void bch_btree_node_read_done(struct btree *b) in bch_btree_node_read_done()
294 static void bch_btree_node_read(struct btree *b) in bch_btree_node_read()
332 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write()
349 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_unlock() local
356 struct btree *b = container_of(cl, struct btree, io); in __btree_node_write_done() local
[all …]
Dalloc.c76 uint8_t bch_inc_gen(struct cache *ca, struct bucket *b) in bch_inc_gen()
89 struct bucket *b; in bch_rescale_priorities() local
126 static inline bool can_inc_bucket_gen(struct bucket *b) in can_inc_bucket_gen()
131 bool bch_can_invalidate_bucket(struct cache *ca, struct bucket *b) in bch_can_invalidate_bucket()
141 void __bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in __bch_invalidate_one_bucket()
154 static void bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in bch_invalidate_one_bucket()
170 #define bucket_prio(b) \ argument
182 struct bucket *b; in invalidate_buckets_lru() local
219 struct bucket *b; in invalidate_buckets_fifo() local
242 struct bucket *b; in invalidate_buckets_random() local
[all …]
Dbset.c21 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned int set) in bch_dump_bset()
43 void bch_dump_bucket(struct btree_keys *b) in bch_dump_bucket()
54 int __bch_count_data(struct btree_keys *b) in __bch_count_data()
66 void __bch_check_keys(struct btree_keys *b, const char *fmt, ...) in __bch_check_keys()
266 static inline size_t btree_keys_bytes(struct btree_keys *b) in btree_keys_bytes()
271 static inline size_t btree_keys_cachelines(struct btree_keys *b) in btree_keys_cachelines()
277 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes()
283 static inline size_t bset_prev_bytes(struct btree_keys *b) in bset_prev_bytes()
290 void bch_btree_keys_free(struct btree_keys *b) in bch_btree_keys_free()
314 int bch_btree_keys_alloc(struct btree_keys *b, in bch_btree_keys_alloc()
[all …]
Dbset.h234 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last()
239 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written()
244 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written()
249 static inline unsigned int bset_byte_offset(struct btree_keys *b, in bset_byte_offset()
255 static inline unsigned int bset_sector_offset(struct btree_keys *b, in bset_sector_offset()
269 static inline size_t bch_btree_keys_u64s_remaining(struct btree_keys *b) in bch_btree_keys_u64s_remaining()
284 static inline struct bset *bset_next_set(struct btree_keys *b, in bset_next_set()
320 struct btree_keys *b; member
346 static inline struct bkey *bch_bset_search(struct btree_keys *b, in bch_bset_search()
353 #define for_each_key_filter(b, k, iter, filter) \ argument
[all …]
/Linux-v4.19/drivers/md/
Ddm-cache-background-tracker.c34 struct background_tracker *b = kmalloc(sizeof(*b), GFP_KERNEL); in btracker_create() local
61 void btracker_destroy(struct background_tracker *b) in btracker_destroy()
79 static bool __insert_pending(struct background_tracker *b, in __insert_pending()
108 static struct bt_work *__find_pending(struct background_tracker *b, in __find_pending()
133 static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) in update_stats()
150 unsigned btracker_nr_writebacks_queued(struct background_tracker *b) in btracker_nr_writebacks_queued()
156 unsigned btracker_nr_demotions_queued(struct background_tracker *b) in btracker_nr_demotions_queued()
162 static bool max_work_reached(struct background_tracker *b) in max_work_reached()
169 static struct bt_work *alloc_work(struct background_tracker *b) in alloc_work()
177 int btracker_queue(struct background_tracker *b, in btracker_queue()
[all …]
Ddm-bufio.c233 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack()
249 struct dm_buffer *b; in __find() local
263 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert()
285 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove()
425 struct dm_buffer *b = kmem_cache_alloc(c->slab_buffer, gfp_mask); in alloc_buffer() local
449 static void free_buffer(struct dm_buffer *b) in free_buffer()
462 static void __link_buffer(struct dm_buffer *b, sector_t block, int dirty) in __link_buffer()
477 static void __unlink_buffer(struct dm_buffer *b) in __unlink_buffer()
491 static void __relink_lru(struct dm_buffer *b, int dirty) in __relink_lru()
528 struct dm_buffer *b = context; in dmio_complete() local
[all …]
Ddm-cache-block-types.h24 static inline dm_oblock_t to_oblock(dm_block_t b) in to_oblock()
29 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock()
34 static inline dm_cblock_t to_cblock(uint32_t b) in to_cblock()
39 static inline uint32_t from_cblock(dm_cblock_t b) in from_cblock()
44 static inline dm_dblock_t to_dblock(dm_block_t b) in to_dblock()
49 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock()
/Linux-v4.19/arch/ia64/lib/
Didiv64.S29 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b argument
30 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b argument
33 # define INT_TO_FP(a,b) fcvt.xf a=b argument
34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b argument
37 #define PASTE1(a,b) a##b argument
38 #define PASTE(a,b) PASTE1(a,b) argument
Didiv32.S30 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b argument
31 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b argument
35 # define INT_TO_FP(a,b) fcvt.xf a=b argument
36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b argument
39 #define PASTE1(a,b) a##b argument
40 #define PASTE(a,b) PASTE1(a,b) argument
/Linux-v4.19/drivers/block/drbd/
Ddrbd_bitmap.c127 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info() local
138 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock() local
165 struct drbd_bitmap *b = device->bitmap; in drbd_bm_unlock() local
225 struct drbd_bitmap *b = device->bitmap; in bm_page_lock_io() local
232 struct drbd_bitmap *b = device->bitmap; in bm_page_unlock_io() local
268 struct drbd_bitmap *b = device->bitmap; in drbd_bm_mark_for_writeout() local
308 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr) in bm_word_to_page_idx()
316 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx()
324 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in __bm_map_pidx()
330 static unsigned long *bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in bm_map_pidx()
[all …]
/Linux-v4.19/arch/powerpc/lib/
Dtest_emulate_step.c28 #define TEST_LWZX(t, a, b) (PPC_INST_LWZX | ___PPC_RT(t) | \ argument
32 #define TEST_LDARX(t, a, b, eh) (PPC_INST_LDARX | ___PPC_RT(t) | \ argument
35 #define TEST_STDCX(s, a, b) (PPC_INST_STDCX | ___PPC_RS(s) | \ argument
37 #define TEST_LFSX(t, a, b) (PPC_INST_LFSX | ___PPC_RT(t) | \ argument
39 #define TEST_STFSX(s, a, b) (PPC_INST_STFSX | ___PPC_RS(s) | \ argument
41 #define TEST_LFDX(t, a, b) (PPC_INST_LFDX | ___PPC_RT(t) | \ argument
43 #define TEST_STFDX(s, a, b) (PPC_INST_STFDX | ___PPC_RS(s) | \ argument
45 #define TEST_LVX(t, a, b) (PPC_INST_LVX | ___PPC_RT(t) | \ argument
47 #define TEST_STVX(s, a, b) (PPC_INST_STVX | ___PPC_RS(s) | \ argument
49 #define TEST_LXVD2X(s, a, b) (PPC_INST_LXVD2X | VSX_XX1((s), R##a, R##b)) argument
[all …]
/Linux-v4.19/drivers/misc/
Dvmw_balloon.c279 static bool vmballoon_send_start(struct vmballoon *b, unsigned long req_caps) in vmballoon_send_start()
319 static bool vmballoon_check_status(struct vmballoon *b, unsigned long status) in vmballoon_check_status()
340 static bool vmballoon_send_guest_id(struct vmballoon *b) in vmballoon_send_guest_id()
368 static bool vmballoon_send_get_target(struct vmballoon *b, u32 *new_target) in vmballoon_send_get_target()
408 static int vmballoon_send_lock_page(struct vmballoon *b, unsigned long pfn, in vmballoon_send_lock_page()
429 static int vmballoon_send_batched_lock(struct vmballoon *b, in vmballoon_send_batched_lock()
456 static bool vmballoon_send_unlock_page(struct vmballoon *b, unsigned long pfn, in vmballoon_send_unlock_page()
477 static bool vmballoon_send_batched_unlock(struct vmballoon *b, in vmballoon_send_batched_unlock()
522 static void vmballoon_pop(struct vmballoon *b) in vmballoon_pop()
552 static int vmballoon_lock_page(struct vmballoon *b, unsigned int num_pages, in vmballoon_lock_page()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h42 #define nvif_rd(a,f,b,c) ({ \ argument
51 #define nvif_wr(a,f,b,c,d) ({ \ argument
58 #define nvif_rd08(a,b) ({ ((u8)nvif_rd((a), ioread8, 1, (b))); }) argument
59 #define nvif_rd16(a,b) ({ ((u16)nvif_rd((a), ioread16_native, 2, (b))); }) argument
60 #define nvif_rd32(a,b) ({ ((u32)nvif_rd((a), ioread32_native, 4, (b))); }) argument
61 #define nvif_wr08(a,b,c) nvif_wr((a), iowrite8, 1, (b), (u8)(c)) argument
62 #define nvif_wr16(a,b,c) nvif_wr((a), iowrite16_native, 2, (b), (u16)(c)) argument
63 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) argument
64 #define nvif_mask(a,b,c,d) ({ \ argument
71 #define nvif_mthd(a,b,c,d) nvif_object_mthd((a), (b), (c), (d)) argument

12345678910>>...79