Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v5.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
/Linux-v5.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 …]
Dbtree.c99 #define PTR_HASH(c, k) \ argument
126 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put()
541 static unsigned int btree_order(struct bkey *k) in btree_order()
546 static void mca_data_alloc(struct btree *b, struct bkey *k, gfp_t gfp) in mca_data_alloc()
561 struct bkey *k, gfp_t gfp) in mca_bucket_alloc()
822 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
827 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
859 struct bkey *k) in mca_cannibalize()
897 struct bkey *k, int level) in mca_alloc()
977 struct bkey *k, int level, bool write, in bch_btree_node_get()
[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 …]
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 …]
/Linux-v5.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 …]
Dbitmap.c49 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local
67 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local
84 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local
104 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
149 int k; in __bitmap_shift_left() local
241 unsigned int k; in __bitmap_and() local
257 unsigned int k; in __bitmap_or() local
268 unsigned int k; in __bitmap_xor() local
279 unsigned int k; in __bitmap_andnot() local
296 unsigned int k; in __bitmap_replace() local
[all …]
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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
/Linux-v5.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()
/Linux-v5.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
/Linux-v5.10/tools/testing/selftests/net/
Ddevlink_port_split.py103 def split(k, port, should_fail=False): argument
179 def create_split_group(port, k): argument
188 def split_unsplittable_port(port, k): argument
200 def split_splittable_port(port, k, lanes, dev): argument
/Linux-v5.10/fs/ubifs/
Dkey.h103 static inline void ino_key_init_flash(const struct ubifs_info *c, void *k, in ino_key_init_flash()
181 static inline void dent_key_init_flash(const struct ubifs_info *c, void *k, in dent_key_init_flash()
233 static inline void xent_key_init_flash(const struct ubifs_info *c, void *k, in xent_key_init_flash()
333 static inline int key_type_flash(const struct ubifs_info *c, const void *k) in key_type_flash()
345 static inline ino_t key_inum(const struct ubifs_info *c, const void *k) in key_inum()
357 static inline ino_t key_inum_flash(const struct ubifs_info *c, const void *k) in key_inum_flash()
380 static inline uint32_t key_hash_flash(const struct ubifs_info *c, const void *k) in key_hash_flash()
404 const void *k) in key_block_flash()
/Linux-v5.10/drivers/scsi/
Datp870u.c125 unsigned long adrcnt, k; in atp870u_intr_handle() local
935 unsigned short int i, k; in fun_scam() local
969 unsigned char i, j, k; in tscam() local
1191 int j, k; in atp870u_free_tables() local
1205 int c,k; in atp870u_init_tables() local
1256 unsigned char k, host_id; in atp870_init() local
1307 unsigned char k, m, host_id; in atp880_init() local
1392 unsigned char k, m, c; in atp885_init() local
1587 unsigned char j, k, c; in atp870u_abort() local
1714 unsigned char i, j, k, rmb, n; in atp_is() local
/Linux-v5.10/arch/powerpc/kernel/
Dcacheinfo.c134 static struct cache_index_dir *kobj_to_cache_index_dir(struct kobject *k) in kobj_to_cache_index_dir()
535 static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf) in cache_index_show()
544 static struct cache *index_kobj_to_cache(struct kobject *k) in index_kobj_to_cache()
553 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
570 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
586 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
602 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
618 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
630 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
668 show_shared_cpumap(struct kobject *k, struct kobj_attribute *attr, char *buf, bool list) in show_shared_cpumap()
[all …]
/Linux-v5.10/arch/ia64/kernel/
Dsignal.c36 # define PUT_SIGSET(k,u) __copy_to_user((u)->sig, (k)->sig, sizeof(sigset_t)) argument
37 # define GET_SIGSET(k,u) __copy_from_user((k)->sig, (u)->sig, sizeof(sigset_t)) argument
39 # define PUT_SIGSET(k,u) __put_user((k)->sig[0], &(u)->sig[0]) argument
40 # define GET_SIGSET(k,u) __get_user((k)->sig[0], &(u)->sig[0]) argument
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c176 unsigned int k; in get_total_immediate_flip_bw() local
189 unsigned int k; in get_total_prefetch_bw() local
370 unsigned int j, k; in fetch_pipe_params() local
803 unsigned int k; in PixelClockAdjustmentForProgressiveToInterlaceUnit() local
831 unsigned int k; in ModeSupportAndSystemConfiguration() local
/Linux-v5.10/arch/s390/include/asm/
Dtermios.h21 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2)) argument
22 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2)) argument
/Linux-v5.10/include/linux/
Dkey.h491 #define key_validate(k) 0 argument
492 #define key_serial(k) 0 argument
493 #define key_get(k) ({ NULL; }) argument
494 #define key_revoke(k) do { } while(0) argument
495 #define key_invalidate(k) do { } while(0) argument
496 #define key_put(k) do { } while(0) argument
497 #define key_ref_put(k) do { } while(0) argument
498 #define make_key_ref(k, p) NULL argument
499 #define key_ref_to_ptr(k) NULL argument
500 #define is_key_possessed(k) 0 argument

12345678910>>...37