/linux-6.8/fs/bcachefs/ |
D | extents.c | 104 int bch2_bkey_pick_read_device(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_pick_read_device() 167 int bch2_btree_ptr_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_invalid() 183 struct bkey_s_c k) in bch2_btree_ptr_to_text() 188 int bch2_btree_ptr_v2_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_v2_invalid() 205 struct bkey_s_c k) in bch2_btree_ptr_v2_to_text() 221 struct bkey_s k) in bch2_btree_ptr_v2_compat() 382 int bch2_reservation_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_reservation_invalid() 397 struct bkey_s_c k) in bch2_reservation_to_text() 445 bool bch2_can_narrow_extent_crcs(struct bkey_s_c k, in bch2_can_narrow_extent_crcs() 471 bool bch2_bkey_narrow_crcs(struct bkey_i *k, struct bch_extent_crc_unpacked n) in bch2_bkey_narrow_crcs() [all …]
|
D | extents.h | 80 static inline void __extent_entry_insert(struct bkey_i *k, in __extent_entry_insert() 92 static inline void extent_entry_drop(struct bkey_s k, union bch_extent_entry *entry) in extent_entry_drop() 147 bch2_extent_crc_unpack(const struct bkey *k, const union bch_extent_crc *crc) in bch2_extent_crc_unpack() 222 static inline struct bkey_ptrs_c bch2_bkey_ptrs_c(struct bkey_s_c k) in bch2_bkey_ptrs_c() 270 static inline struct bkey_ptrs bch2_bkey_ptrs(struct bkey_s k) in bch2_bkey_ptrs() 468 static inline bool bkey_is_btree_ptr(const struct bkey *k) in bkey_is_btree_ptr() 479 static inline bool bkey_extent_is_direct_data(const struct bkey *k) in bkey_extent_is_direct_data() 492 static inline bool bkey_extent_is_inline_data(const struct bkey *k) in bkey_extent_is_inline_data() 498 static inline unsigned bkey_inline_data_offset(const struct bkey *k) in bkey_inline_data_offset() 510 static inline unsigned bkey_inline_data_bytes(const struct bkey *k) in bkey_inline_data_bytes() [all …]
|
D | bkey_methods.c | 29 static int deleted_key_invalid(struct bch_fs *c, struct bkey_s_c k, in deleted_key_invalid() 43 static int empty_val_key_invalid(struct bch_fs *c, struct bkey_s_c k, in empty_val_key_invalid() 60 static int key_type_cookie_invalid(struct bch_fs *c, struct bkey_s_c k, in key_type_cookie_invalid() 67 struct bkey_s_c k) in key_type_cookie_to_text() 84 static int key_type_inline_data_invalid(struct bch_fs *c, struct bkey_s_c k, in key_type_inline_data_invalid() 91 struct bkey_s_c k) in key_type_inline_data_to_text() 125 int bch2_bkey_val_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_val_invalid() 160 int __bch2_bkey_invalid(struct bch_fs *c, struct bkey_s_c k, in __bch2_bkey_invalid() 221 int bch2_bkey_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_invalid() 231 struct bkey_s_c k, struct printbuf *err) in bch2_bkey_in_btree_node() [all …]
|
D | bkey.h | 36 const struct bkey *k; member 44 struct bkey *k; member 53 static inline struct bkey_i *bkey_next(struct bkey_i *k) in bkey_next() 60 static inline size_t bkey_val_bytes(const struct bkey *k) in bkey_val_bytes() 65 static inline void set_bkey_val_u64s(struct bkey *k, unsigned val_u64s) in set_bkey_val_u64s() 73 static inline void set_bkey_val_bytes(struct bkey *k, unsigned bytes) in set_bkey_val_bytes() 277 static inline struct bkey_packed *bkey_to_packed(struct bkey_i *k) in bkey_to_packed() 282 static inline const struct bkey_packed *bkey_to_packed_c(const struct bkey_i *k) in bkey_to_packed_c() 287 static inline struct bkey_i *packed_to_bkey(struct bkey_packed *k) in packed_to_bkey() 292 static inline const struct bkey *packed_to_bkey_c(const struct bkey_packed *k) in packed_to_bkey_c() [all …]
|
D | inode.c | 75 struct bkey_i_inode_v3 *k = &packed->inode; in bch2_inode_pack_inlined() local 226 static int bch2_inode_unpack_v3(struct bkey_s_c k, in bch2_inode_unpack_v3() 277 static noinline int bch2_inode_unpack_slowpath(struct bkey_s_c k, in bch2_inode_unpack_slowpath() 319 int bch2_inode_unpack(struct bkey_s_c k, in bch2_inode_unpack() 332 struct bkey_s_c k; in bch2_inode_peek_nowarn() local 387 struct bkey_i *bch2_inode_to_v3(struct btree_trans *trans, struct bkey_i *k) in bch2_inode_to_v3() 408 static int __bch2_inode_invalid(struct bch_fs *c, struct bkey_s_c k, struct printbuf *err) in __bch2_inode_invalid() 447 int bch2_inode_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_invalid() 464 int bch2_inode_v2_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_v2_invalid() 481 int bch2_inode_v3_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_v3_invalid() [all …]
|
D | alloc_background.c | 83 struct bkey_s_c k) in bch2_alloc_unpack_v1() 97 struct bkey_s_c k) in bch2_alloc_unpack_v2() 130 struct bkey_s_c k) in bch2_alloc_unpack_v3() 165 static struct bkey_alloc_unpacked bch2_alloc_unpack(struct bkey_s_c k) in bch2_alloc_unpack() 195 int bch2_alloc_v1_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v1_invalid() 211 int bch2_alloc_v2_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v2_invalid() 225 int bch2_alloc_v3_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v3_invalid() 239 int bch2_alloc_v4_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v4_invalid() 297 void bch2_alloc_v4_swab(struct bkey_s k) in bch2_alloc_v4_swab() 320 void bch2_alloc_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c k) in bch2_alloc_to_text() [all …]
|
D | bset.c | 34 struct bset_tree *bch2_bkey_to_bset(struct btree *b, struct bkey_packed *k) in bch2_bkey_to_bset() 60 struct bkey_s_c k; in bch2_dump_bset() local 124 struct bkey_packed *k = __btree_node_offset_to_key(b, set->k); in bch2_dump_btree_node_iter() local 142 struct bkey_packed *k; in __bch2_verify_btree_nr_keys() local 157 const struct bkey_packed *k, *n; in bch2_btree_node_iter_next_check() local 194 struct bkey_packed *k, *p; in bch2_btree_node_iter_verify() local 315 struct bpos k; member 447 const struct bkey_packed *k) in bkey_to_cacheline() 455 const struct bkey_packed *k) in __bkey_to_cacheline_offset() 463 const struct bkey_packed *k) in bkey_to_cacheline_offset() [all …]
|
D | btree_update.c | 33 struct bkey_s_c k, in extent_front_merge() 67 struct bkey_s_c k) in extent_back_merge() 91 struct bkey_s_c k; in need_whiteout_for_snapshot() local 285 struct bkey_s_c k; in bch2_trans_update_extent() local 346 struct bkey k; in flush_new_cached_update() local 380 struct bkey_i *k, enum btree_update_flags flags, in bch2_trans_update_by_path() 502 struct bkey_i *k, enum btree_update_flags flags) in bch2_trans_update() 541 struct bkey_i *k) in bch2_btree_insert_clone_trans() 581 struct bkey_s_c k; in bch2_bkey_get_empty_slot() local 617 enum btree_id btree, struct bkey_i *k, in bch2_btree_insert_nonextent() [all …]
|
D | reflink.c | 18 static inline unsigned bkey_type_to_indirect(const struct bkey *k) in bkey_type_to_indirect() 32 int bch2_reflink_p_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_reflink_p_invalid() 48 struct bkey_s_c k) in bch2_reflink_p_to_text() 82 struct bkey_i *k; in trans_trigger_reflink_p_segment() local 205 struct bkey_s_c k, unsigned flags) in __trigger_reflink_p() 256 int bch2_reflink_v_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_reflink_v_invalid() 264 struct bkey_s_c k) in bch2_reflink_v_to_text() 309 int bch2_indirect_inline_data_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_indirect_inline_data_invalid() 317 struct bch_fs *c, struct bkey_s_c k) in bch2_indirect_inline_data_to_text() 343 struct bkey_s_c k; in bch2_make_extent_indirect() local [all …]
|
D | backpointers.c | 17 struct bkey_s_c k, in extent_matches_bp() 42 int bch2_backpointer_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_backpointer_invalid() 69 void bch2_backpointer_k_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c k) in bch2_backpointer_k_to_text() 80 void bch2_backpointer_swab(struct bkey_s k) in bch2_backpointer_swab() 148 struct bkey_s_c k; in bch2_bucket_backpointer_mod_nowritebuffer() local 202 struct bkey_s_c k; in bch2_get_next_backpointer() local 242 struct bkey_s_c k) in backpointer_not_found() 286 struct bkey_s_c k; in bch2_backpointer_get_key() local 356 struct bkey_s_c k) in bch2_check_btree_backpointer() 491 struct bkey_s_c k) in check_extent_to_backpointers() [all …]
|
D | tests.c | 36 struct bkey_i_cookie k; in test_delete() local 77 struct bkey_i_cookie k; in test_delete_written() local 347 struct bkey_s_c k; in test_peek_end() local 367 struct bkey_s_c k; in test_peek_end_extents() local 390 struct bkey_i_cookie k; in insert_test_extent() local 444 struct bkey_i_cookie k; in insert_test_overlapping_extent() local 478 struct bkey_s_c k; in test_snapshot_filter() local 542 struct bkey_i_cookie k; in rand_insert() local 564 struct bkey_i_cookie k[8]; in rand_insert_multi() local 597 struct bkey_s_c k; in rand_lookup() local [all …]
|
D | snapshot.c | 24 struct bkey_s_c k) in bch2_snapshot_tree_to_text() 33 int bch2_snapshot_tree_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_snapshot_tree_invalid() 185 struct bkey_s_c k) in bch2_snapshot_to_text() 206 int bch2_snapshot_invalid(struct bch_fs *c, struct bkey_s_c k, in bch2_snapshot_invalid() 375 static int bch2_snapshot_set_equiv(struct btree_trans *trans, struct bkey_s_c k) in bch2_snapshot_set_equiv() 469 struct bkey_s_c k; in bch2_snapshot_tree_master_subvol() local 510 struct bkey_s_c k) in check_snapshot_tree() 659 struct bkey_s_c k, in snapshot_tree_ptr_repair() 713 struct bkey_s_c k) in check_snapshot() 1023 struct bkey_s_c k; in create_snapids() local [all …]
|
D | rebalance.c | 38 struct bkey_s_c k; in __bch2_set_rebalance_needs_scan() local 86 struct bkey_s_c k; in bch2_clear_rebalance_needs_scan() local 119 struct bkey_s_c k) in bch2_bkey_clear_needs_rebalance() 137 struct bkey_s_c k; in next_rebalance_extent() local 201 struct bkey_s_c k; in do_rebalance_extent() local 248 struct bkey_s_c k, in rebalance_pred() 323 struct bkey_s_c k; in do_rebalance() local
|
/linux-6.8/drivers/md/bcache/ |
D | extents.c | 47 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid() 68 static const char *bch_ptr_status(struct cache_set *c, const struct bkey *k) in bch_ptr_status() 97 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k) in bch_extent_to_text() 126 static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k) in bch_bkey_dump() 149 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k) in __bch_btree_ptr_invalid() 166 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid() 173 static bool btree_ptr_bad_expensive(struct btree *b, const struct bkey *k) in btree_ptr_bad_expensive() 205 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad() 313 static void bch_subtract_dirty(struct bkey *k, in bch_subtract_dirty() 337 struct bkey *k = bch_btree_iter_next(iter); in bch_extent_insert_fixup() local [all …]
|
D | bset.h | 244 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written() 261 #define __set_bytes(i, k) (sizeof(*(i)) + (k) * sizeof(uint64_t)) argument 264 #define __set_blocks(i, k, block_bytes) \ argument 323 struct bkey *k, *end; member 353 #define for_each_key_filter(b, k, iter, filter) \ argument 357 #define for_each_key(b, k, iter) \ argument 408 static inline void bkey_init(struct bkey *k) in bkey_init() 426 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front() 432 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back() 447 static inline void preceding_key(struct bkey *k, struct bkey **preceding_key_p) in preceding_key() [all …]
|
D | btree.c | 99 #define PTR_HASH(c, k) \ argument 128 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put() 543 static unsigned int btree_order(struct bkey *k) in btree_order() 548 static void mca_data_alloc(struct btree *b, struct bkey *k, gfp_t gfp) in mca_data_alloc() 584 struct bkey *k, gfp_t gfp) in mca_bucket_alloc() 850 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash() 855 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find() 887 struct bkey *k) in mca_cannibalize() 925 struct bkey *k, int level) in mca_alloc() 1008 struct bkey *k, int level, bool write, in bch_btree_node_get() [all …]
|
D | bset.c | 23 struct bkey *k, *next; in bch_dump_bset() local 58 struct bkey *k; in __bch_count_data() local 69 struct bkey *k, *p = NULL; in __bch_check_keys() local 113 struct bkey *k = iter->data->k, *next = bkey_next(k); in bch_btree_iter_next_check() local 161 struct bkey *k = l->keys; in bch_keylist_pop() local 197 bool __bch_cut_front(const struct bkey *where, struct bkey *k) in __bch_cut_front() 217 bool __bch_cut_back(const struct bkey *where, struct bkey *k) in __bch_cut_back() 532 static unsigned int bkey_to_cacheline(struct bset_tree *t, struct bkey *k) in bkey_to_cacheline() 539 struct bkey *k) in bkey_to_cacheline_offset() 584 static inline unsigned int bfloat_mantissa(const struct bkey *k, in bfloat_mantissa() [all …]
|
/linux-6.8/lib/ |
D | klist.c | 84 void klist_init(struct klist *k, void (*get)(struct klist_node *), in klist_init() 94 static void add_head(struct klist *k, struct klist_node *n) in add_head() 101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail() 108 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init() 122 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head() 134 void klist_add_tail(struct klist_node *n, struct klist *k) in klist_add_tail() 148 struct klist *k = knode_klist(pos); in klist_add_behind() local 164 struct klist *k = knode_klist(pos); in klist_add_before() local 211 struct klist *k = knode_klist(n); in klist_put() local 280 void klist_iter_init_node(struct klist *k, struct klist_iter *i, in klist_iter_init_node() [all …]
|
D | bitmap.c | 40 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local 58 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local 75 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local 95 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local 140 int k; in __bitmap_shift_left() local 232 unsigned int k; in __bitmap_and() local 248 unsigned int k; in __bitmap_or() local 259 unsigned int k; in __bitmap_xor() local 270 unsigned int k; in __bitmap_andnot() local 287 unsigned int k; in __bitmap_replace() local [all …]
|
/linux-6.8/crypto/ |
D | aes_generic.c | 1147 #define f_rn(bo, bi, n, k) do { \ argument 1154 #define f_nround(bo, bi, k) do {\ argument 1162 #define f_rl(bo, bi, n, k) do { \ argument 1169 #define f_lround(bo, bi, k) do {\ argument 1217 #define i_rn(bo, bi, n, k) do { \ argument 1224 #define i_nround(bo, bi, k) do {\ argument 1232 #define i_rl(bo, bi, n, k) do { \ argument 1239 #define i_lround(bo, bi, k) do {\ argument
|
/linux-6.8/tools/testing/selftests/bpf/prog_tests/ |
D | hashmap.c | 14 static size_t hash_fn(long k, void *ctx) in hash_fn() 56 long oldk, k = i; in test_hashmap_generic() local 93 long k = entry->key; in test_hashmap_generic() local 106 long oldk, k = i; in test_hashmap_generic() local 141 long k = entry->key; in test_hashmap_generic() local 164 long oldk, k; in test_hashmap_generic() local 198 long oldk, k; in test_hashmap_generic() local 334 static size_t collision_hash_fn(long k, void *ctx) in collision_hash_fn() 416 long k = 0; in test_hashmap_empty() local
|
/linux-6.8/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calc_auto.c | 42 int k; in scaler_settings_calculation() local 125 int k; in mode_support_and_system_configuration() local 1020 int k; in display_pipe_configuration() local 1178 int k; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation() local
|
/linux-6.8/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 2693 for (dml_uint_t k = 0; k < num_active_planes; ++k) { in PixelClockAdjustmentForProgressiveToInterlaceUnit() local 2850 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2887 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2892 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2958 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2965 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2989 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3010 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3018 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3065 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local [all …]
|
/linux-6.8/arch/sparc/kernel/ |
D | termios.c | 33 int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() 56 struct ktermios *k) in kernel_termios_to_user_termios() 77 int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1() 98 struct ktermios *k) in kernel_termios_to_user_termios_1()
|
/linux-6.8/tools/lib/ |
D | bitmap.c | 10 unsigned int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() local 24 int k; in __bitmap_or() local 63 unsigned int k; in __bitmap_and() local 78 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local 93 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
|