/linux/drivers/iommu/ |
H A D | msm_iommu_hw-8xxx.h | 20 #define SET_GLOBAL_REG_N(b, n, r, v) SET_GLOBAL_REG(b, ((r) + (n << 2)), (v)) argument 21 #define GET_GLOBAL_REG_N(b, n, r) GET_GLOBAL_REG(b, ((r) + (n << 2))) argument 24 #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT) argument 25 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument 28 #define SET_GLOBAL_FIELD(b, r, F, v) \ argument 30 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument 84 #define SET_M2VCBR_N(b, N, v) SET_GLOBAL_REG_N(M2VCBR_N, N, (b), (v)) argument 85 #define SET_CBACR_N(b, N, v) SET_GLOBAL_REG_N(CBACR_N, N, (b), (v)) argument 86 #define SET_TLBRSW(b, v) SET_GLOBAL_REG(TLBRSW, (b), (v)) argument 87 #define SET_TLBTR0(b, v) SET_GLOBAL_REG(TLBTR0, (b), (v)) argument [all …]
|
/linux/fs/bcachefs/ |
H A D | bset.c | 34 struct bset_tree *bch2_bkey_to_bset(struct btree *b, struct bkey_packed *k) in bch2_bkey_to_bset() 55 void bch2_dump_bset(struct bch_fs *c, struct btree *b, in bch2_dump_bset() 104 void bch2_dump_btree_node(struct bch_fs *c, struct btree *b) in bch2_dump_btree_node() 112 void bch2_dump_btree_node_iter(struct btree *b, in bch2_dump_btree_node_iter() 135 struct btree_nr_keys bch2_btree_node_count_keys(struct btree *b) in bch2_btree_node_count_keys() 149 void __bch2_verify_btree_nr_keys(struct btree *b) in __bch2_verify_btree_nr_keys() 157 struct btree *b) in bch2_btree_node_iter_next_check() 194 struct btree *b) in bch2_btree_node_iter_verify() 240 void bch2_verify_insert_pos(struct btree *b, struct bkey_packed *where, in bch2_verify_insert_pos() 291 struct btree *b) {} in bch2_btree_node_iter_next_check() [all …]
|
H A D | bset.h | 193 static inline size_t btree_keys_cachelines(const struct btree *b) in btree_keys_cachelines() 198 static inline size_t btree_aux_data_bytes(const struct btree *b) in btree_aux_data_bytes() 203 static inline size_t btree_aux_data_u64s(const struct btree *b) in btree_aux_data_u64s() 229 static inline void bch2_bset_set_no_aux_tree(struct btree *b, in bch2_bset_set_no_aux_tree() 241 static inline void btree_node_set_format(struct btree *b, in btree_node_set_format() 257 static inline struct bset *bset_next_set(struct btree *b, in bset_next_set() 280 static inline int bkey_cmp_p_or_unp(const struct btree *b, in bkey_cmp_p_or_unp() 297 bch2_bkey_to_bset_inlined(struct btree *b, struct bkey_packed *k) in bch2_bkey_to_bset_inlined() 316 bch2_bkey_prev_all(struct btree *b, struct bset_tree *t, struct bkey_packed *k) in bch2_bkey_prev_all() 322 bch2_bkey_prev(struct btree *b, struct bset_tree *t, struct bkey_packed *k) in bch2_bkey_prev() [all …]
|
H A D | btree_cache.c | 60 static void btree_node_to_freedlist(struct btree_cache *bc, struct btree *b) in btree_node_to_freedlist() 70 static void __bch2_btree_node_to_freelist(struct btree_cache *bc, struct btree *b) in __bch2_btree_node_to_freelist() 79 void bch2_btree_node_to_freelist(struct bch_fs *c, struct btree *b) in bch2_btree_node_to_freelist() 91 static void __btree_node_data_free(struct btree_cache *bc, struct btree *b) in __btree_node_data_free() 122 static void btree_node_data_free(struct btree_cache *bc, struct btree *b) in btree_node_data_free() 133 const struct btree *b = obj; in bch2_btree_cache_cmp_fn() local 147 static int btree_node_data_alloc(struct bch_fs *c, struct btree *b, gfp_t gfp) in btree_node_data_alloc() 176 struct btree *b; in __btree_node_mem_alloc() local 192 struct btree *b; in __bch2_btree_node_mem_alloc() local 209 static inline bool __btree_node_pinned(struct btree_cache *bc, struct btree *b) in __btree_node_pinned() [all …]
|
H A D | btree_update_interior.h | 73 struct btree *b; member 86 struct btree *b[BTREE_UPDATE_NODES_MAX]; member 143 struct btree *b; in bch2_foreground_maybe_merge_sibling() local 185 struct btree *b) in btree_update_reserve_required() 200 static inline void btree_node_reset_sib_u64s(struct btree *b) in btree_node_reset_sib_u64s() 206 static inline void *btree_data_end(struct btree *b) in btree_data_end() 211 static inline struct bkey_packed *unwritten_whiteouts_start(struct btree *b) in unwritten_whiteouts_start() 216 static inline struct bkey_packed *unwritten_whiteouts_end(struct btree *b) in unwritten_whiteouts_end() 221 static inline void *write_block(struct btree *b) in write_block() 226 static inline bool __btree_addr_written(struct btree *b, void *p) in __btree_addr_written() [all …]
|
H A D | btree_io.c | 38 void bch2_btree_node_io_unlock(struct btree *b) in bch2_btree_node_io_unlock() 47 void bch2_btree_node_io_lock(struct btree *b) in bch2_btree_node_io_lock() 53 void __bch2_btree_node_wait_on_read(struct btree *b) in __bch2_btree_node_wait_on_read() 59 void __bch2_btree_node_wait_on_write(struct btree *b) in __bch2_btree_node_wait_on_write() 65 void bch2_btree_node_wait_on_read(struct btree *b) in bch2_btree_node_wait_on_read() 71 void bch2_btree_node_wait_on_write(struct btree *b) in bch2_btree_node_wait_on_write() 77 static void verify_no_dups(struct btree *b, in verify_no_dups() 136 unsigned n = nr, a = nr / 2, b, c, d; in sort_bkey_ptrs() local 170 static void bch2_sort_whiteouts(struct bch_fs *c, struct btree *b) in bch2_sort_whiteouts() 207 static bool should_compact_bset(struct btree *b, struct bset_tree *t, in should_compact_bset() [all …]
|
H A D | btree_update_interior.c | 45 int bch2_btree_node_check_topology(struct btree_trans *trans, struct btree *b) in bch2_btree_node_check_topology() 161 static void __bch2_btree_calc_format(struct bkey_format_state *s, struct btree *b) in __bch2_btree_calc_format() 174 static struct bkey_format bch2_btree_calc_format(struct btree *b) in bch2_btree_calc_format() 214 static bool bch2_btree_node_format_fits(struct bch_fs *c, struct btree *b, in bch2_btree_node_format_fits() 225 static void __btree_node_free(struct btree_trans *trans, struct btree *b) in __btree_node_free() 244 struct btree *b) in bch2_btree_node_free_inmem() 269 struct btree *b) in bch2_btree_node_free_never_used() 311 struct btree *b; in __bch2_btree_node_alloc() local 386 struct btree *b; in bch2_btree_node_alloc() local 434 static void btree_set_min(struct btree *b, struct bpos pos) in btree_set_min() [all …]
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cpt_common.h | 49 #define CPTX_PF_MBOX_INTX(a, b) \ argument 51 #define CPTX_PF_MBOX_INT_W1SX(a, b) \ argument 53 #define CPTX_PF_MBOX_ENA_W1CX(a, b) \ argument 55 #define CPTX_PF_MBOX_ENA_W1SX(a, b) \ argument 61 #define CPTX_PF_GX_EN(a, b) \ argument 83 #define CPTX_PF_EXE_DBG_CNTX(a, b) \ argument 86 #define CPTX_PF_EXE_EPCI_INBX_CNT(a, b) \ argument 88 #define CPTX_PF_EXE_EPCI_OUTBX_CNT(a, b) \ argument 90 #define CPTX_PF_ENGX_UCODE_BASE(a, b) \ argument 92 #define CPTX_PF_QX_CTL(a, b) \ argument [all …]
|
/linux/net/ceph/crush/ |
H A D | crush.c | 27 int crush_get_bucket_item_weight(const struct crush_bucket *b, int p) in crush_get_bucket_item_weight() 47 void crush_destroy_bucket_uniform(struct crush_bucket_uniform *b) in crush_destroy_bucket_uniform() 53 void crush_destroy_bucket_list(struct crush_bucket_list *b) in crush_destroy_bucket_list() 61 void crush_destroy_bucket_tree(struct crush_bucket_tree *b) in crush_destroy_bucket_tree() 68 void crush_destroy_bucket_straw(struct crush_bucket_straw *b) in crush_destroy_bucket_straw() 76 void crush_destroy_bucket_straw2(struct crush_bucket_straw2 *b) in crush_destroy_bucket_straw2() 83 void crush_destroy_bucket(struct crush_bucket *b) in crush_destroy_bucket() 112 __s32 b; in crush_destroy() local 123 __u32 b; in crush_destroy() local
|
H A D | hash.c | 13 #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/drivers/misc/ |
H A D | vmw_balloon.c | 406 static inline void vmballoon_stats_op_inc(struct vmballoon *b, unsigned int op, in vmballoon_stats_op_inc() 413 static inline void vmballoon_stats_gen_inc(struct vmballoon *b, in vmballoon_stats_gen_inc() 420 static inline void vmballoon_stats_gen_add(struct vmballoon *b, in vmballoon_stats_gen_add() 428 static inline void vmballoon_stats_page_inc(struct vmballoon *b, in vmballoon_stats_page_inc() 436 static inline void vmballoon_stats_page_add(struct vmballoon *b, in vmballoon_stats_page_add() 446 __vmballoon_cmd(struct vmballoon *b, unsigned long cmd, unsigned long arg1, in __vmballoon_cmd() 492 vmballoon_cmd(struct vmballoon *b, unsigned long cmd, unsigned long arg1, in vmballoon_cmd() 504 static int vmballoon_send_start(struct vmballoon *b, unsigned long req_caps) in vmballoon_send_start() 548 static int vmballoon_send_guest_id(struct vmballoon *b) in vmballoon_send_guest_id() 621 static int vmballoon_send_get_target(struct vmballoon *b) in vmballoon_send_get_target() [all …]
|
/linux/arch/sparc/crypto/ |
H A D | opcodes.h | 18 #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/drivers/gpu/drm/i915/display/ |
H A D | intel_display_reg_defs.h | 18 #define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b) argument 19 #define _PLANE(plane, a, b) _PICK_EVEN(plane, a, b) argument 20 #define _TRANS(tran, a, b) _PICK_EVEN(tran, a, b) argument 21 #define _PORT(port, a, b) _PICK_EVEN(port, a, b) argument 22 #define _PLL(pll, a, b) _PICK_EVEN(pll, a, b) argument 23 #define _PHY(phy, a, b) _PICK_EVEN(phy, a, b) argument 25 #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) argument 26 #define _MMIO_PLANE(plane, a, b) _MMIO(_PLANE(plane, a, b)) argument 27 #define _MMIO_TRANS(tran, a, b) _MMIO(_TRANS(tran, a, b)) argument 28 #define _MMIO_PORT(port, a, b) _MMIO(_PORT(port, a, b)) argument [all …]
|
/linux/drivers/md/bcache/ |
H A D | btree.c | 104 #define insert_lock(s, b) ((b)->level <= (s)->lock) argument 107 static inline struct bset *write_block(struct btree *b) in write_block() 112 static void bch_btree_init_next(struct btree *b) in bch_btree_init_next() 139 static uint64_t btree_csum_set(struct btree *b, struct bset *i) in btree_csum_set() 148 void bch_btree_node_read_done(struct btree *b) in bch_btree_node_read_done() 243 static void bch_btree_node_read(struct btree *b) in bch_btree_node_read() 281 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write() 329 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_endio() local 338 static void do_btree_node_write(struct btree *b) in do_btree_node_write() 403 void __bch_btree_node_write(struct btree *b, struct closure *parent) in __bch_btree_node_write() [all …]
|
H A D | bset.c | 21 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() 68 void __bch_check_keys(struct btree_keys *b, const char *fmt, ...) in __bch_check_keys() 272 static inline size_t btree_keys_bytes(struct btree_keys *b) in btree_keys_bytes() 277 static inline size_t btree_keys_cachelines(struct btree_keys *b) in btree_keys_cachelines() 283 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes() 289 static inline size_t bset_prev_bytes(struct btree_keys *b) in bset_prev_bytes() 296 void bch_btree_keys_free(struct btree_keys *b) in bch_btree_keys_free() 319 int bch_btree_keys_alloc(struct btree_keys *b, in bch_btree_keys_alloc() [all …]
|
H A D | alloc.c | 76 uint8_t bch_inc_gen(struct cache *ca, struct bucket *b) in bch_inc_gen() 89 struct bucket *b; in bch_rescale_priorities() local 125 static inline bool can_inc_bucket_gen(struct bucket *b) in can_inc_bucket_gen() 130 bool bch_can_invalidate_bucket(struct cache *ca, struct bucket *b) in bch_can_invalidate_bucket() 137 void __bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in __bch_invalidate_one_bucket() 151 static void bch_invalidate_one_bucket(struct cache *ca, struct bucket *b) in bch_invalidate_one_bucket() 167 static inline unsigned int new_bucket_prio(struct cache *ca, struct bucket *b) in new_bucket_prio() 194 struct bucket *b; in invalidate_buckets_lru() local 239 struct bucket *b; in invalidate_buckets_fifo() local 262 struct bucket *b; in invalidate_buckets_random() local [all …]
|
H A D | bset.h | 235 static inline struct bset_tree *bset_tree_last(struct btree_keys *b) in bset_tree_last() 240 static inline bool bset_written(struct btree_keys *b, struct bset_tree *t) in bset_written() 245 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written() 250 static inline unsigned int bset_byte_offset(struct btree_keys *b, in bset_byte_offset() 256 static inline unsigned int bset_sector_offset(struct btree_keys *b, in bset_sector_offset() 270 static inline size_t bch_btree_keys_u64s_remaining(struct btree_keys *b) in bch_btree_keys_u64s_remaining() 285 static inline struct bset *bset_next_set(struct btree_keys *b, in bset_next_set() 324 struct btree_keys *b; member 348 static inline struct bkey *bch_bset_search(struct btree_keys *b, in bch_bset_search() 355 #define for_each_key_filter(b, k, iter, filter) \ argument [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 115 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info() local 126 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock() local 153 struct drbd_bitmap *b = device->bitmap; in drbd_bm_unlock() local 213 struct drbd_bitmap *b = device->bitmap; in bm_page_lock_io() local 220 struct drbd_bitmap *b = device->bitmap; in bm_page_unlock_io() local 256 struct drbd_bitmap *b = device->bitmap; in drbd_bm_mark_for_writeout() local 296 static unsigned int bm_word_to_page_idx(struct drbd_bitmap *b, unsigned long long_nr) in bm_word_to_page_idx() 304 static unsigned int bm_bit_to_page_idx(struct drbd_bitmap *b, u64 bitnr) in bm_bit_to_page_idx() 312 static unsigned long *__bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in __bm_map_pidx() 318 static unsigned long *bm_map_pidx(struct drbd_bitmap *b, unsigned int idx) in bm_map_pidx() [all …]
|
/linux/drivers/md/ |
H A D | dm-cache-block-types.h | 25 static inline dm_oblock_t to_oblock(dm_block_t b) in to_oblock() 30 static inline dm_block_t from_oblock(dm_oblock_t b) in from_oblock() 35 static inline dm_cblock_t to_cblock(uint32_t b) in to_cblock() 40 static inline uint32_t from_cblock(dm_cblock_t b) in from_cblock() 45 static inline dm_dblock_t to_dblock(dm_block_t b) in to_dblock() 50 static inline dm_block_t from_dblock(dm_dblock_t b) in from_dblock()
|
/linux/lib/ |
H A D | list-test.c | 49 struct list_head a, b; in list_test_list_add() local 63 struct list_head a, b; in list_test_list_add_tail() local 77 struct list_head a, b; in list_test_list_del() local 93 struct list_head a_old, a_new, b; in list_test_list_replace() local 111 struct list_head a_old, a_new, b; in list_test_list_replace_init() local 132 struct list_head a, b; in list_test_list_swap() local 154 struct list_head a, b; in list_test_list_del_init() local 174 struct list_head a, b; in list_test_list_del_init_careful() local 191 struct list_head a, b; in list_test_list_move() local 210 struct list_head a, b; in list_test_list_move_tail() local [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | sdt.h | 49 # define _SDT_ASM_2(a, b) a,b; argument 50 # define _SDT_ASM_3(a, b, c) a,b,c; argument 51 # define _SDT_ASM_5(a, b, c, d, e) a,b,c,d,e; argument 56 # define _SDT_DEPAREN_2(a,b) a b argument 57 # define _SDT_DEPAREN_3(a,b,c) a b c argument 58 # define _SDT_DEPAREN_4(a,b,c,d) a b c d argument 59 # define _SDT_DEPAREN_5(a,b,c,d,e) a b c d e argument 60 # define _SDT_DEPAREN_6(a,b,c,d,e,f) a b c d e f argument 61 # define _SDT_DEPAREN_7(a,b,c,d,e,f,g) a b c d e f g argument 62 # define _SDT_DEPAREN_8(a,b,c,d,e,f,g,h) a b c d e f g h argument [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cpt_hw_types.h | 27 #define OTX_CPT_BAR_E_CPTX_VFX_BAR0_OFFSET(a, b) \ argument 63 #define OTX_CPT_PF_MBOX_INTX(b) (0x400ll | (u64)(b) << 3) argument 64 #define OTX_CPT_PF_MBOX_INT_W1SX(b) (0x420ll | (u64)(b) << 3) argument 65 #define OTX_CPT_PF_MBOX_ENA_W1CX(b) (0x440ll | (u64)(b) << 3) argument 66 #define OTX_CPT_PF_MBOX_ENA_W1SX(b) (0x460ll | (u64)(b) << 3) argument 71 #define OTX_CPT_PF_GX_EN(b) (0x600ll | (u64)(b) << 3) argument 91 #define OTX_CPT_PF_EXE_DBG_CNTX(b) (0x4001100ll | (u64)(b) << 3) argument 93 #define OTX_CPT_PF_EXE_EPCI_INBX_CNT(b) (0x4001200ll | (u64)(b) << 3) argument 94 #define OTX_CPT_PF_EXE_EPCI_OUTBX_CNT(b) (0x4001240ll | (u64)(b) << 3) argument 95 #define OTX_CPT_PF_ENGX_UCODE_BASE(b) (0x4002000ll | (u64)(b) << 3) argument [all …]
|
/linux/include/linux/ |
H A D | hid-debug.h | 40 #define hid_dump_input(a,b,c) do { } while (0) argument 41 #define hid_dump_report(a,b,c,d) do { } while (0) argument 42 #define hid_dump_device(a,b) do { } while (0) argument 43 #define hid_dump_field(a,b,c) do { } while (0) argument 44 #define hid_resolv_usage(a,b) do { } while (0) argument 45 #define hid_debug_register(a, b) do { } while (0) argument 49 #define hid_debug_event(a,b) do { } while (0) argument
|
/linux/net/tipc/ |
H A D | bearer.c | 184 struct tipc_bearer *b; in tipc_bearer_find() local 203 struct tipc_bearer *b; in tipc_bearer_get_name() local 218 struct tipc_bearer *b; in tipc_bearer_add_dest() local 229 struct tipc_bearer *b; in tipc_bearer_remove_dest() local 255 struct tipc_bearer *b; in tipc_enable_bearer() local 381 static int tipc_reset_bearer(struct net *net, struct tipc_bearer *b) in tipc_reset_bearer() 389 bool tipc_bearer_hold(struct tipc_bearer *b) in tipc_bearer_hold() 394 void tipc_bearer_put(struct tipc_bearer *b) in tipc_bearer_put() 407 static void bearer_disable(struct net *net, struct tipc_bearer *b) in bearer_disable() 424 int tipc_enable_l2_media(struct net *net, struct tipc_bearer *b, in tipc_enable_l2_media() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_packing.c | 11 short b; member 16 short b; member 21 int b; member 26 int b; member 32 long b; member 41 char b; member 48 int b; member 122 char b; member 127 struct nested_packed_struct b; member 132 struct nested_packed_struct b; member
|