/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/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/fs/bcachefs/ |
H A D | btree_cache.c | 57 static void btree_node_to_freedlist(struct btree_cache *bc, struct btree *b) in btree_node_to_freedlist() 67 static void __bch2_btree_node_to_freelist(struct btree_cache *bc, struct btree *b) in __bch2_btree_node_to_freelist() 76 void bch2_btree_node_to_freelist(struct bch_fs *c, struct btree *b) in bch2_btree_node_to_freelist() 88 static void __btree_node_data_free(struct btree_cache *bc, struct btree *b) in __btree_node_data_free() 119 static void btree_node_data_free(struct btree_cache *bc, struct btree *b) in btree_node_data_free() 130 const struct btree *b = obj; in bch2_btree_cache_cmp_fn() local 144 static int btree_node_data_alloc(struct bch_fs *c, struct btree *b, gfp_t gfp) in btree_node_data_alloc() 173 struct btree *b; in __btree_node_mem_alloc() local 189 struct btree *b; in __bch2_btree_node_mem_alloc() local 206 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 | 80 struct btree *b; member 93 struct btree *b[BTREE_UPDATE_NODES_MAX]; member 150 struct btree *b; in bch2_foreground_maybe_merge_sibling() local 202 struct btree *b) in btree_update_reserve_required() 217 static inline void btree_node_reset_sib_u64s(struct btree *b) in btree_node_reset_sib_u64s() 223 static inline void *btree_data_end(struct btree *b) in btree_data_end() 228 static inline struct bkey_packed *unwritten_whiteouts_start(struct btree *b) in unwritten_whiteouts_start() 233 static inline struct bkey_packed *unwritten_whiteouts_end(struct btree *b) in unwritten_whiteouts_end() 238 static inline void *write_block(struct btree *b) in write_block() 243 static inline bool __btree_addr_written(struct btree *b, void *p) in __btree_addr_written() [all …]
|
H A D | btree_update_interior.c | 48 int bch2_btree_node_check_topology(struct btree_trans *trans, struct btree *b) in bch2_btree_node_check_topology() 152 static void __bch2_btree_calc_format(struct bkey_format_state *s, struct btree *b) in __bch2_btree_calc_format() 165 static struct bkey_format bch2_btree_calc_format(struct btree *b) in bch2_btree_calc_format() 205 static bool bch2_btree_node_format_fits(struct bch_fs *c, struct btree *b, in bch2_btree_node_format_fits() 216 static void __btree_node_free(struct btree_trans *trans, struct btree *b) in __btree_node_free() 235 struct btree *b) in bch2_btree_node_free_inmem() 255 struct btree *b) in bch2_btree_node_free_never_used() 292 struct btree *b; in __bch2_btree_node_alloc() local 370 struct btree *b; in bch2_btree_node_alloc() local 418 static void btree_set_min(struct btree *b, struct bpos pos) in btree_set_min() [all …]
|
H A D | btree_io.c | 40 void bch2_btree_node_io_unlock(struct btree *b) in bch2_btree_node_io_unlock() 50 void bch2_btree_node_io_lock(struct btree *b) in bch2_btree_node_io_lock() 56 void __bch2_btree_node_wait_on_read(struct btree *b) in __bch2_btree_node_wait_on_read() 62 void __bch2_btree_node_wait_on_write(struct btree *b) in __bch2_btree_node_wait_on_write() 68 void bch2_btree_node_wait_on_read(struct btree *b) in bch2_btree_node_wait_on_read() 74 void bch2_btree_node_wait_on_write(struct btree *b) in bch2_btree_node_wait_on_write() 80 static void verify_no_dups(struct btree *b, in verify_no_dups() 139 unsigned n = nr, a = nr / 2, b, c, d; in sort_bkey_ptrs() local 173 static void bch2_sort_whiteouts(struct bch_fs *c, struct btree *b) in bch2_sort_whiteouts() 210 static bool should_compact_bset(struct btree *b, struct bset_tree *t, in should_compact_bset() [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 | 103 #define insert_lock(s, b) ((b)->level <= (s)->lock) argument 106 static inline struct bset *write_block(struct btree *b) in write_block() 111 static void bch_btree_init_next(struct btree *b) in bch_btree_init_next() 138 static uint64_t btree_csum_set(struct btree *b, struct bset *i) in btree_csum_set() 147 void bch_btree_node_read_done(struct btree *b) in bch_btree_node_read_done() 242 static void bch_btree_node_read(struct btree *b) in bch_btree_node_read() 280 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write() 328 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_endio() local 337 static void do_btree_node_write(struct btree *b) in do_btree_node_write() 402 void __bch_btree_node_write(struct btree *b, struct closure *parent) in __bch_btree_node_write() [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 #define bucket_prio(b) \ argument 179 struct bucket *b; in invalidate_buckets_lru() local 216 struct bucket *b; in invalidate_buckets_fifo() local 239 struct bucket *b; in invalidate_buckets_random() local [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() 66 void __bch_check_keys(struct btree_keys *b, const char *fmt, ...) in __bch_check_keys() 268 static inline size_t btree_keys_bytes(struct btree_keys *b) in btree_keys_bytes() 273 static inline size_t btree_keys_cachelines(struct btree_keys *b) in btree_keys_cachelines() 279 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes() 285 static inline size_t bset_prev_bytes(struct btree_keys *b) in bset_prev_bytes() 292 void bch_btree_keys_free(struct btree_keys *b) in bch_btree_keys_free() 315 int bch_btree_keys_alloc(struct btree_keys *b, in bch_btree_keys_alloc() [all …]
|
H A D | bset.h | 234 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 353 static inline struct bkey *bch_bset_search(struct btree_keys *b, in bch_bset_search() 360 #define for_each_key_filter(b, k, stack_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()
|
H A D | dm-bufio.c | 500 static void lh_next(struct lock_history *lh, sector_t b) in lh_next() 585 struct dm_buffer *b; in __cache_get() local 599 static void __cache_inc_buffer(struct dm_buffer *b) in __cache_inc_buffer() 607 struct dm_buffer *b; in cache_get() local 626 static bool cache_put(struct dm_buffer_cache *bc, struct dm_buffer *b) in cache_put() 660 struct dm_buffer *b = le_to_buffer(le); in __evict_pred() local 676 struct dm_buffer *b; in __cache_evict() local 692 struct dm_buffer *b; in cache_evict() local 707 static void cache_mark(struct dm_buffer_cache *bc, struct dm_buffer *b, int list_mode) in cache_mark() 728 struct dm_buffer *b; in __cache_mark_many() 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
|
H A D | jiffies.h | 127 #define time_after(a,b) \ argument 138 #define time_before(a,b) time_after(b,a) argument 147 #define time_after_eq(a,b) \ argument 158 #define time_before_eq(a,b) time_after_eq(b,a) argument 168 #define time_in_range(a,b,c) \ argument 180 #define time_in_range_open(a,b,c) \ argument 198 #define time_after64(a,b) \ argument 212 #define time_before64(a,b) time_after64(b,a) argument 224 #define time_after_eq64(a,b) \ argument 238 #define time_before_eq64(a,b) time_after_eq64(b,a) argument [all …]
|
/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
|
/linux/include/trace/events/ |
H A D | 9p.h | 90 #define EM(a, b) TRACE_DEFINE_ENUM(a); argument 91 #define EMe(a, b) TRACE_DEFINE_ENUM(a); argument 101 #define EM(a, b) a, argument 102 #define EMe(a, b) a argument 116 #define EM(a, b) { a, b }, argument 117 #define EMe(a, b) { a, b } argument
|
/linux/tools/include/linux/ |
H A D | jhash.h | 35 #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()
|