/drivers/iommu/ |
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 …]
|
/drivers/crypto/cavium/cpt/ |
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 …]
|
/drivers/md/bcache/ |
D | btree.c | 102 #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() 299 static void bch_btree_node_read(struct btree *b) in bch_btree_node_read() 337 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write() 354 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_unlock() local 361 struct btree *b = container_of(cl, struct btree, io); in __btree_node_write_done() local [all …]
|
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 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 …]
|
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() 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 …]
|
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 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 …]
|
D | extents.c | 128 struct btree *b = container_of(keys, struct btree, keys); in bch_bkey_dump() local 168 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_invalid() local 173 static bool btree_ptr_bad_expensive(struct btree *b, const struct bkey *k) in btree_ptr_bad_expensive() 207 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_bad() local 232 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_insert_fixup() local 323 static bool bch_extent_insert_fixup(struct btree_keys *b, in bch_extent_insert_fixup() 502 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_invalid() local 507 static bool bch_extent_bad_expensive(struct btree *b, const struct bkey *k, in bch_extent_bad_expensive() 539 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_bad() local 585 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_merge() local
|
D | btree.h | 169 static inline struct btree_write *btree_current_write(struct btree *b) in btree_current_write() 174 static inline struct btree_write *btree_prev_write(struct btree *b) in btree_prev_write() 179 static inline struct bset *btree_bset_first(struct btree *b) in btree_bset_first() 184 static inline struct bset *btree_bset_last(struct btree *b) in btree_bset_last() 189 static inline unsigned int bset_block_offset(struct btree *b, struct bset *i) in bset_block_offset() 203 #define for_each_cached_btree(b, c, iter) \ argument 228 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() 236 static inline void rw_unlock(bool w, struct btree *b) in rw_unlock()
|
D | io.c | 19 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_free() local 26 struct bbio *b = mempool_alloc(&c->bio_meta, GFP_NOIO); in bch_bbio_alloc() local 36 struct bbio *b = container_of(bio, struct bbio, bio); in __bch_submit_bbio() local 48 struct bbio *b = container_of(bio, struct bbio, bio); in bch_submit_bbio() local 139 struct bbio *b = container_of(bio, struct bbio, bio); in bch_bbio_count_io_errors() local
|
/drivers/misc/ |
D | vmw_balloon.c | 421 static inline void vmballoon_stats_op_inc(struct vmballoon *b, unsigned int op, in vmballoon_stats_op_inc() 428 static inline void vmballoon_stats_gen_inc(struct vmballoon *b, in vmballoon_stats_gen_inc() 435 static inline void vmballoon_stats_gen_add(struct vmballoon *b, in vmballoon_stats_gen_add() 443 static inline void vmballoon_stats_page_inc(struct vmballoon *b, in vmballoon_stats_page_inc() 451 static inline void vmballoon_stats_page_add(struct vmballoon *b, in vmballoon_stats_page_add() 461 __vmballoon_cmd(struct vmballoon *b, unsigned long cmd, unsigned long arg1, in __vmballoon_cmd() 507 vmballoon_cmd(struct vmballoon *b, unsigned long cmd, unsigned long arg1, in vmballoon_cmd() 519 static int vmballoon_send_start(struct vmballoon *b, unsigned long req_caps) in vmballoon_send_start() 563 static int vmballoon_send_guest_id(struct vmballoon *b) in vmballoon_send_guest_id() 636 static int vmballoon_send_get_target(struct vmballoon *b) in vmballoon_send_get_target() [all …]
|
/drivers/md/ |
D | dm-bufio.c | 239 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack() 251 struct dm_buffer *b; in __find() local 265 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert() 287 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove() 294 static void adjust_total_allocated(struct dm_buffer *b, bool unlink) in adjust_total_allocated() 444 struct dm_buffer *b = kmem_cache_alloc(c->slab_buffer, gfp_mask); in alloc_buffer() local 466 static void free_buffer(struct dm_buffer *b) in free_buffer() 477 static void __link_buffer(struct dm_buffer *b, sector_t block, int dirty) in __link_buffer() 494 static void __unlink_buffer(struct dm_buffer *b) in __unlink_buffer() 510 static void __relink_lru(struct dm_buffer *b, int dirty) in __relink_lru() [all …]
|
D | dm-cache-background-tracker.c | 34 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 …]
|
D | dm-cache-block-types.h | 24 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()
|
/drivers/block/drbd/ |
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 …]
|
/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 23 struct dm_block *b, in index_prepare_for_write() 35 struct dm_block *b, in index_check() 73 struct dm_block *b, in dm_bitmap_prepare_for_write() 85 struct dm_block *b, in dm_bitmap_check() 120 static void *dm_bitmap_data(struct dm_block *b) in dm_bitmap_data() 127 static unsigned dm_bitmap_word_used(void *addr, unsigned b) in dm_bitmap_word_used() 138 static unsigned sm_lookup_bitmap(void *addr, unsigned b) in sm_lookup_bitmap() 150 static void sm_set_bitmap(void *addr, unsigned b, unsigned val) in sm_set_bitmap() 255 struct dm_block *b; in sm_ll_extend() local 277 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap() [all …]
|
D | dm-space-map-metadata.c | 119 enum block_op_type type, dm_block_t b) in brb_push() 181 static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b) in add_bop() 300 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count() 341 dm_block_t b, int *result) in sm_metadata_count_is_more_than_one() 392 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count() 411 static int sm_metadata_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_inc_block() 428 static int sm_metadata_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_dec_block() 445 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_() 471 static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block() 600 static int sm_bootstrap_get_count(struct dm_space_map *sm, dm_block_t b, in sm_bootstrap_get_count() [all …]
|
D | dm-transaction-manager.c | 31 static unsigned prefetch_hash(dm_block_t b) in prefetch_hash() 49 static void prefetch_add(struct prefetch_set *p, dm_block_t b) in prefetch_add() 103 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow() 124 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow() 328 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_read_lock() 345 void dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b) in dm_tm_unlock() 351 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_inc() 362 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_dec() 373 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_ref()
|
D | dm-block-manager.c | 300 static void report_recursive_bug(dm_block_t b, int r) in report_recursive_bug() 328 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer() 333 dm_block_t dm_block_location(struct dm_block *b) in dm_block_location() 339 void *dm_block_data(struct dm_block *b) in dm_block_data() 455 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock() 489 dm_block_t b, struct dm_block_validator *v, in dm_bm_write_lock() 525 dm_block_t b, struct dm_block_validator *v, in dm_bm_read_try_lock() 558 dm_block_t b, struct dm_block_validator *v, in dm_bm_write_lock_zero() 588 void dm_bm_unlock(struct dm_block *b) in dm_bm_unlock() 612 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b) in dm_bm_prefetch()
|
D | dm-space-map.h | 97 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count() 104 dm_block_t b, int *result) in dm_sm_count_is_more_than_one() 109 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count() 120 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block() 125 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block() 130 static inline int dm_sm_new_block(struct dm_space_map *sm, dm_block_t *b) in dm_sm_new_block()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_breadcrumbs.c | 54 static void __intel_breadcrumbs_disarm_irq(struct intel_breadcrumbs *b) in __intel_breadcrumbs_disarm_irq() 69 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_disarm_breadcrumbs() local 133 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_breadcrumbs_irq() local 217 static void __intel_breadcrumbs_arm_irq(struct intel_breadcrumbs *b) in __intel_breadcrumbs_arm_irq() 248 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_init_breadcrumbs() local 258 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_reset_breadcrumbs() local 281 struct intel_breadcrumbs *b = &rq->engine->breadcrumbs; in i915_request_enable_breadcrumb() local 325 struct intel_breadcrumbs *b = &rq->engine->breadcrumbs; in i915_request_cancel_breadcrumb() local 352 struct intel_breadcrumbs *b = &engine->breadcrumbs; in intel_engine_print_breadcrumbs() local
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | object.h | 42 #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
|
/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml_inline_defs.h | 33 static inline double dml_min(double a, double b) in dml_min() 38 static inline double dml_min3(double a, double b, double c) in dml_min3() 43 static inline double dml_min4(double a, double b, double c, double d) in dml_min4() 48 static inline double dml_max(double a, double b) in dml_max() 53 static inline double dml_max3(double a, double b, double c) in dml_max3() 58 static inline double dml_max4(double a, double b, double c, double d) in dml_max4() 63 static inline double dml_max5(double a, double b, double c, double d, double e) in dml_max5()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | aux.h | 32 #define AUX_MSG(b,l,f,a...) do { \ argument 36 #define AUX_ERR(b,f,a...) AUX_MSG((b), error, f, ##a) argument 37 #define AUX_DBG(b,f,a...) AUX_MSG((b), debug, f, ##a) argument 38 #define AUX_TRACE(b,f,a...) AUX_MSG((b), trace, f, ##a) argument
|
/drivers/video/fbdev/matrox/ |
D | i2c-matroxfb.c | 73 struct i2c_bit_adapter* b = data; in matroxfb_gpio_setsda() local 78 struct i2c_bit_adapter* b = data; in matroxfb_gpio_setscl() local 83 struct i2c_bit_adapter* b = data; in matroxfb_gpio_getsda() local 88 struct i2c_bit_adapter* b = data; in matroxfb_gpio_getscl() local 102 static int i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo, in i2c_bus_reg() 125 static void i2c_bit_bus_del(struct i2c_bit_adapter* b) { in i2c_bit_bus_del()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.c | 38 struct s5p_mfc_priv_buf *b) in s5p_mfc_alloc_priv_buf() 80 struct s5p_mfc_priv_buf *b) in s5p_mfc_alloc_generic_buf() 99 struct s5p_mfc_priv_buf *b) in s5p_mfc_release_priv_buf() 117 struct s5p_mfc_priv_buf *b) in s5p_mfc_release_generic_buf()
|