Home
last modified time | relevance | path

Searched defs:k (Results 1 – 25 of 1923) sorted by relevance

12345678910>>...77

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c13 static size_t hash_fn(const void *k, void *ctx) in hash_fn()
56 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
95 long k = (long)entry->key; in test_hashmap_generic() local
108 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
143 long k = (long)entry->key; in test_hashmap_generic() local
166 const void *oldk, *k; in test_hashmap_generic() local
202 const void *oldk, *k; in test_hashmap_generic() local
255 static size_t collision_hash_fn(const void *k, void *ctx) in collision_hash_fn()
338 void *k = (void *)0; in test_hashmap_empty() local
/kernel/linux/linux-6.6/drivers/md/bcache/
Dextents.c47 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 …]
Dbset.h244 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
360 #define for_each_key_filter(b, k, stack_iter, filter) \ argument
365 #define for_each_key(b, k, stack_iter) \ argument
416 static inline void bkey_init(struct bkey *k) in bkey_init()
434 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front()
440 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back()
455 static inline void preceding_key(struct bkey *k, struct bkey **preceding_key_p) in preceding_key()
[all …]
Dbtree.c99 #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()
845 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
850 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
882 struct bkey *k) in mca_cannibalize()
920 struct bkey *k, int level) in mca_alloc()
1003 struct bkey *k, int level, bool write, in bch_btree_node_get()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dextents.c47 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 …]
Dbset.h244 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 …]
Dbtree.c99 #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()
563 struct bkey *k, gfp_t gfp) in mca_bucket_alloc()
824 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
829 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
861 struct bkey *k) in mca_cannibalize()
899 struct bkey *k, int level) in mca_alloc()
982 struct bkey *k, int level, bool write, in bch_btree_node_get()
[all …]
Dbset.c23 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 …]
/kernel/linux/linux-5.10/include/asm-generic/
Dtermios.h71 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
78 struct ktermios *k) in kernel_termios_to_user_termios()
83 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1()
90 struct ktermios *k) in kernel_termios_to_user_termios_1()
95 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
102 struct ktermios *k) in kernel_termios_to_user_termios()
Dtermios-base.h66 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
70 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
73 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
74 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/kernel/linux/linux-6.6/lib/
Dklist.c84 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 …]
/kernel/linux/linux-5.10/lib/
Dklist.c84 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 …]
/kernel/linux/linux-5.10/crypto/
Daes_generic.c1147 #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
/kernel/linux/linux-6.6/crypto/
Daes_generic.c1147 #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
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c14 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
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c42 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
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calc_auto.c42 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
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dtermios.h75 #define user_termios_to_kernel_termios(k, u) \ argument
78 #define kernel_termios_to_user_termios(u, k) \ argument
81 #define user_termios_to_kernel_termios_1(k, u) \ argument
84 #define kernel_termios_to_user_termios_1(u, k) \ argument
/kernel/linux/linux-6.6/arch/sparc/kernel/
Dtermios.c33 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()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dtermios.h67 #define user_termios_to_kernel_termios(k, u) \ argument
88 #define kernel_termios_to_user_termios(u, k) \ argument
109 #define user_termios_to_kernel_termios_1(k, u) \ argument
128 #define kernel_termios_to_user_termios_1(u, k) \ argument
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dtermios.h53 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
54 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
55 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
56 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dtermios.h47 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
48 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
49 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
50 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/kernel/linux/linux-6.6/tools/lib/
Dbitmap.c10 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
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dtermios.h81 static inline int user_termios_to_kernel_termios(struct ktermios __user *k, in user_termios_to_kernel_termios()
88 struct ktermios *k) in kernel_termios_to_user_termios()
93 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1()
100 struct ktermios *k) in kernel_termios_to_user_termios_1()
/kernel/linux/linux-5.10/tools/lib/
Dbitmap.c10 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

12345678910>>...77