/linux-6.14.4/fs/bcachefs/ |
D | extents.c | 116 int bch2_bkey_pick_read_device(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_pick_read_device() 180 int bch2_btree_ptr_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_validate() 195 struct bkey_s_c k) in bch2_btree_ptr_to_text() 200 int bch2_btree_ptr_v2_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_v2_validate() 227 struct bkey_s_c k) in bch2_btree_ptr_v2_to_text() 243 struct bkey_s k) in bch2_btree_ptr_v2_compat() 407 int bch2_reservation_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_reservation_validate() 421 struct bkey_s_c k) in bch2_reservation_to_text() 469 bool bch2_can_narrow_extent_crcs(struct bkey_s_c k, in bch2_can_narrow_extent_crcs() 495 bool bch2_bkey_narrow_crcs(struct bkey_i *k, struct bch_extent_crc_unpacked n) in bch2_bkey_narrow_crcs() [all …]
|
D | bkey_methods.c | 30 static int deleted_key_validate(struct bch_fs *c, struct bkey_s_c k, in deleted_key_validate() 44 static int empty_val_key_validate(struct bch_fs *c, struct bkey_s_c k, in empty_val_key_validate() 61 static int key_type_cookie_validate(struct bch_fs *c, struct bkey_s_c k, in key_type_cookie_validate() 68 struct bkey_s_c k) in key_type_cookie_to_text() 85 static int key_type_inline_data_validate(struct bch_fs *c, struct bkey_s_c k, in key_type_inline_data_validate() 92 struct bkey_s_c k) in key_type_inline_data_to_text() 126 int bch2_bkey_val_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_val_validate() 163 int __bch2_bkey_validate(struct bch_fs *c, struct bkey_s_c k, in __bch2_bkey_validate() 231 int bch2_bkey_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_validate() 239 struct bkey_s_c k, in bch2_bkey_in_btree_node() [all …]
|
D | extents.h | 84 static inline void __extent_entry_insert(struct bkey_i *k, in __extent_entry_insert() 96 static inline void extent_entry_drop(struct bkey_s k, union bch_extent_entry *entry) in extent_entry_drop() 151 bch2_extent_crc_unpack(const struct bkey *k, const union bch_extent_crc *crc) in bch2_extent_crc_unpack() 228 static inline struct bkey_ptrs_c bch2_bkey_ptrs_c(struct bkey_s_c k) in bch2_bkey_ptrs_c() 276 static inline struct bkey_ptrs bch2_bkey_ptrs(struct bkey_s k) in bch2_bkey_ptrs() 476 static inline bool bkey_is_btree_ptr(const struct bkey *k) in bkey_is_btree_ptr() 487 static inline bool bkey_extent_is_direct_data(const struct bkey *k) in bkey_extent_is_direct_data() 500 static inline bool bkey_extent_is_inline_data(const struct bkey *k) in bkey_extent_is_inline_data() 506 static inline unsigned bkey_inline_data_offset(const struct bkey *k) in bkey_inline_data_offset() 518 static inline unsigned bkey_inline_data_bytes(const struct bkey *k) in bkey_inline_data_bytes() [all …]
|
D | inode.c | 80 struct bkey_i_inode_v3 *k = &packed->inode; in bch2_inode_pack_inlined() local 231 static int bch2_inode_unpack_v3(struct bkey_s_c k, in bch2_inode_unpack_v3() 282 static noinline int bch2_inode_unpack_slowpath(struct bkey_s_c k, in bch2_inode_unpack_slowpath() 326 int bch2_inode_unpack(struct bkey_s_c k, in bch2_inode_unpack() 347 struct bkey_s_c k = bch2_bkey_get_iter(trans, iter, BTREE_ID_inodes, in __bch2_inode_peek() local 410 struct bkey_i *bch2_inode_to_v3(struct btree_trans *trans, struct bkey_i *k) in bch2_inode_to_v3() 431 static int __bch2_inode_validate(struct bch_fs *c, struct bkey_s_c k, in __bch2_inode_validate() 471 int bch2_inode_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_validate() 487 int bch2_inode_v2_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_v2_validate() 503 int bch2_inode_v3_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_inode_v3_validate() [all …]
|
D | bkey_types.h | 15 static inline struct bkey_i *bkey_next(struct bkey_i *k) in bkey_next() 22 static inline size_t bkey_val_bytes(const struct bkey *k) in bkey_val_bytes() 27 static inline void set_bkey_val_u64s(struct bkey *k, unsigned val_u64s) in set_bkey_val_u64s() 35 static inline void set_bkey_val_bytes(struct bkey *k, unsigned bytes) in set_bkey_val_bytes() 49 const struct bkey *k; member 57 struct bkey *k; member 70 static inline struct bkey_s bkey_to_s(struct bkey *k) in bkey_to_s() 75 static inline struct bkey_s_c bkey_to_s_c(const struct bkey *k) in bkey_to_s_c() 80 static inline struct bkey_s bkey_i_to_s(struct bkey_i *k) in bkey_i_to_s() 85 static inline struct bkey_s_c bkey_i_to_s_c(const struct bkey_i *k) in bkey_i_to_s_c()
|
D | rebalance.c | 29 static const struct bch_extent_rebalance *bch2_bkey_rebalance_opts(struct bkey_s_c k) in bch2_bkey_rebalance_opts() 43 struct bkey_s_c k, in bch2_bkey_ptrs_need_compress() 90 struct bkey_s_c k) in bch2_bkey_ptrs_need_rebalance() 98 u64 bch2_bkey_sectors_need_rebalance(struct bch_fs *c, struct bkey_s_c k) in bch2_bkey_sectors_need_rebalance() 133 struct bkey_s_c k) in bch2_bkey_rebalance_needs_update() 154 struct bkey_s k = bkey_i_to_s(_k); in bch2_bkey_set_needs_rebalance() local 176 struct bkey_s_c k) in bch2_get_update_rebalance_opts() 223 struct bkey_s_c k; in bch2_set_rebalance_needs_scan_trans() local 272 struct bkey_s_c k; in bch2_clear_rebalance_needs_scan() local 305 struct bkey_s_c k) in bch2_bkey_clear_needs_rebalance() [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 122 struct bkey_packed *k = __btree_node_offset_to_key(b, set->k); in bch2_dump_btree_node_iter() local 137 struct bkey_packed *k; in bch2_btree_node_count_keys() local 160 const struct bkey_packed *k, *n; in bch2_btree_node_iter_next_check() local 197 struct bkey_packed *k, *p; in bch2_btree_node_iter_verify() local 314 struct bpos k; member 435 const struct bkey_packed *k) in bkey_to_cacheline() 443 const struct bkey_packed *k) in __bkey_to_cacheline_offset() 451 const struct bkey_packed *k) in bkey_to_cacheline_offset() [all …]
|
D | bkey.h | 227 static inline struct bkey_packed *bkey_to_packed(struct bkey_i *k) in bkey_to_packed() 232 static inline const struct bkey_packed *bkey_to_packed_c(const struct bkey_i *k) in bkey_to_packed_c() 237 static inline struct bkey_i *packed_to_bkey(struct bkey_packed *k) in packed_to_bkey() 242 static inline const struct bkey *packed_to_bkey_c(const struct bkey_packed *k) in packed_to_bkey_c() 296 static inline u64 bkey_start_offset(const struct bkey *k) in bkey_start_offset() 301 static inline struct bpos bkey_start_pos(const struct bkey *k) in bkey_start_pos() 313 const struct bkey_packed *k) in bkeyp_key_u64s() 319 const struct bkey_packed *k) in bkeyp_u64s_valid() 325 const struct bkey_packed *k) in bkeyp_key_bytes() 331 const struct bkey_packed *k) in bkeyp_val_u64s() [all …]
|
D | btree_update.c | 33 struct bkey_s_c k, in extent_front_merge() 70 struct bkey_s_c k) in extent_back_merge() 97 struct bkey_s_c k; in need_whiteout_for_snapshot() local 291 struct bkey_s_c k; in bch2_trans_update_extent() local 352 struct bkey k; in flush_new_cached_update() local 386 struct bkey_i *k, enum btree_iter_update_trigger_flags flags, in bch2_trans_update_by_path() 512 struct bkey_i *k, enum btree_iter_update_trigger_flags flags) in bch2_trans_update() 551 struct bkey_i *k) in bch2_btree_insert_clone_trans() 592 struct bkey_s_c k = bch2_btree_iter_peek_prev(iter); in bch2_bkey_get_empty_slot() local 624 enum btree_id btree, struct bkey_i *k, in bch2_btree_insert_nonextent() [all …]
|
D | reflink.c | 18 static inline bool bkey_extent_is_reflink_data(const struct bkey *k) in bkey_extent_is_reflink_data() 29 static inline unsigned bkey_type_to_indirect(const struct bkey *k) in bkey_type_to_indirect() 43 int bch2_reflink_p_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_reflink_p_validate() 58 struct bkey_s_c k) in bch2_reflink_p_to_text() 91 int bch2_reflink_v_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_reflink_v_validate() 107 struct bkey_s_c k) in bch2_reflink_v_to_text() 130 int bch2_indirect_inline_data_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_indirect_inline_data_validate() 137 struct bch_fs *c, struct bkey_s_c k) in bch2_indirect_inline_data_to_text() 256 struct bkey_s_c k = bch2_bkey_get_iter(trans, iter, BTREE_ID_reflink, in bch2_lookup_indirect_extent() local 296 struct bkey_s_c k = bch2_lookup_indirect_extent(trans, &iter, &offset_into_extent, p, false, in trans_trigger_reflink_p_segment() local [all …]
|
D | alloc_background.c | 88 struct bkey_s_c k) in bch2_alloc_unpack_v1() 102 struct bkey_s_c k) in bch2_alloc_unpack_v2() 135 struct bkey_s_c k) in bch2_alloc_unpack_v3() 170 static struct bkey_alloc_unpacked bch2_alloc_unpack(struct bkey_s_c k) in bch2_alloc_unpack() 200 int bch2_alloc_v1_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v1_validate() 215 int bch2_alloc_v2_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v2_validate() 228 int bch2_alloc_v3_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v3_validate() 241 int bch2_alloc_v4_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_alloc_v4_validate() 322 void bch2_alloc_v4_swab(struct bkey_s k) in bch2_alloc_v4_swab() 338 void bch2_alloc_to_text(struct printbuf *out, struct bch_fs *c, struct bkey_s_c k) in bch2_alloc_to_text() [all …]
|
D | data_update.c | 23 static void bkey_put_dev_refs(struct bch_fs *c, struct bkey_s_c k) in bkey_put_dev_refs() 31 static bool bkey_get_dev_refs(struct bch_fs *c, struct bkey_s_c k) in bkey_get_dev_refs() 48 static void bkey_nocow_unlock(struct bch_fs *c, struct bkey_s_c k) in bkey_nocow_unlock() 60 static bool bkey_nocow_lock(struct bch_fs *c, struct moving_context *ctxt, struct bkey_s_c k) in bkey_nocow_lock() 193 struct bkey_s_c k; in __bch2_data_update_index_update() local 445 struct bkey_s_c k = bkey_i_to_s_c(update->k.k); in bch2_data_update_exit() local 464 struct bkey_s_c k; in bch2_update_unwritten_extent() local 579 struct bkey_s_c k, in bch2_extent_drop_ptrs() 628 struct bkey_s_c k) in bch2_data_update_init() 767 void bch2_data_update_opts_normalize(struct bkey_s_c k, struct data_update_opts *opts) in bch2_data_update_opts_normalize()
|
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 …]
|
/linux-6.14.4/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.14.4/drivers/md/bcache/ |
D | extents.c | 48 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid() 69 static const char *bch_ptr_status(struct cache_set *c, const struct bkey *k) in bch_ptr_status() 98 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k) in bch_extent_to_text() 127 static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k) in bch_bkey_dump() 150 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k) in __bch_btree_ptr_invalid() 167 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid() 174 static bool btree_ptr_bad_expensive(struct btree *b, const struct bkey *k) in btree_ptr_bad_expensive() 206 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad() 320 static void bch_subtract_dirty(struct bkey *k, in bch_subtract_dirty() 344 struct bkey *k = bch_btree_iter_next(iter); in bch_extent_insert_fixup() local [all …]
|
D | bset.h | 245 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written() 262 #define __set_bytes(i, k) (sizeof(*(i)) + (k) * sizeof(uint64_t)) argument 265 #define __set_blocks(i, k, block_bytes) \ argument 317 struct bkey *k, *end; member 355 #define for_each_key_filter(b, k, iter, filter) \ argument 359 #define for_each_key(b, k, iter) \ argument 410 static inline void bkey_init(struct bkey *k) in bkey_init() 428 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front() 434 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back() 449 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 …]
|
/linux-6.14.4/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.14.4/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.14.4/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.14.4/drivers/gpu/drm/amd/display/dc/dml2/ |
D | display_mode_core.c | 2697 for (dml_uint_t k = 0; k < num_active_planes; ++k) { in PixelClockAdjustmentForProgressiveToInterlaceUnit() local 2852 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2889 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2894 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2960 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2967 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 2991 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3012 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3020 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local 3067 for (dml_uint_t k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local [all …]
|
/linux-6.14.4/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.14.4/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
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
D | dml2_core_shared.c | 764 unsigned int k, m, n; in dml2_core_shared_mode_support() local 2949 for (unsigned int k = 0; k < display_cfg->num_planes; k++) { in get_stream_output_bpp() local 3001 for (unsigned int k = 0; k < num_planes; k++) { in dml_get_num_active_pipes() local 3015 for (unsigned int k = 0; k < DML2_MAX_PLANES; ++k) { in dml_calc_pipe_plane_mapping() local 3091 for (unsigned int k = 0; k < display_cfg->num_planes; ++k) { in PixelClockAdjustmentForProgressiveToInterlaceUnit() local 3526 for (unsigned int k = 0; k < NumberOfActiveSurfaces; ++k) { in CalculateSwathWidth() local 3733 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateDETBufferSize() local 3791 for (unsigned int k = 0; k < p->display_cfg->num_streams; ++k) { in CalculateDETBufferSize() local 3796 for (unsigned int k = 0; k < p->display_cfg->num_streams; ++k) { in CalculateDETBufferSize() local 3802 for (unsigned int k = 0; k < p->NumberOfActiveSurfaces; ++k) { in CalculateDETBufferSize() local [all …]
|