Home
last modified time | relevance | path

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

12345678910>>...36

/Linux-v5.4/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
407 static inline void bkey_init(struct bkey *k) in bkey_init()
425 static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) in bch_cut_front()
431 static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) in bch_cut_back()
446 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
184 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put()
594 static unsigned int btree_order(struct bkey *k) in btree_order()
599 static void mca_data_alloc(struct btree *b, struct bkey *k, gfp_t gfp) in mca_data_alloc()
614 struct bkey *k, gfp_t gfp) in mca_bucket_alloc()
866 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash()
871 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find()
901 struct bkey *k) in mca_cannibalize()
937 struct bkey *k, int level) in mca_alloc()
1017 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
160 struct bkey *k = l->keys; in bch_keylist_pop() local
195 bool __bch_cut_front(const struct bkey *where, struct bkey *k) in __bch_cut_front()
215 bool __bch_cut_back(const struct bkey *where, struct bkey *k) in __bch_cut_back()
533 static unsigned int bkey_to_cacheline(struct bset_tree *t, struct bkey *k) in bkey_to_cacheline()
540 struct bkey *k) in bkey_to_cacheline_offset()
585 static inline unsigned int bfloat_mantissa(const struct bkey *k, in bfloat_mantissa()
[all …]
/Linux-v5.4/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.4/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
174 unsigned int k; in __bitmap_and() local
190 unsigned int k; in __bitmap_or() local
201 unsigned int k; in __bitmap_xor() local
212 unsigned int k; in __bitmap_andnot() local
228 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_intersects() local
[all …]
Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
45 unsigned i, j, k; in memset32_selftest() local
81 unsigned i, j, k; in memset64_selftest() local
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_hashmap.c22 size_t hash_fn(const void *k, void *ctx) in hash_fn()
66 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
102 long k = (long)entry->key; in test_hashmap_generic() local
114 const void *oldk, *k = (const void *)(long)i; in test_hashmap_generic() local
145 long k = (long)entry->key; in test_hashmap_generic() local
167 const void *oldk, *k; in test_hashmap_generic() local
202 const void *oldk, *k; in test_hashmap_generic() local
252 size_t collision_hash_fn(const void *k, void *ctx) in collision_hash_fn()
337 void *k = (void *)0; in test_hashmap_empty() local
/Linux-v5.4/crypto/
Daes_generic.c1153 #define f_rn(bo, bi, n, k) do { \ argument
1160 #define f_nround(bo, bi, k) do {\ argument
1168 #define f_rl(bo, bi, n, k) do { \ argument
1175 #define f_lround(bo, bi, k) do {\ argument
1223 #define i_rn(bo, bi, n, k) do { \ argument
1230 #define i_nround(bo, bi, k) do {\ argument
1238 #define i_rl(bo, bi, n, k) do { \ argument
1245 #define i_lround(bo, bi, k) do {\ argument
/Linux-v5.4/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.4/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.4/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.4/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.4/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.4/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.4/fs/ubifs/
Dkey.h103 static inline void ino_key_init_flash(const struct ubifs_info *c, void *k, in ino_key_init_flash()
182 static inline void dent_key_init_flash(const struct ubifs_info *c, void *k, in dent_key_init_flash()
234 static inline void xent_key_init_flash(const struct ubifs_info *c, void *k, in xent_key_init_flash()
334 static inline int key_type_flash(const struct ubifs_info *c, const void *k) in key_type_flash()
346 static inline ino_t key_inum(const struct ubifs_info *c, const void *k) in key_inum()
358 static inline ino_t key_inum_flash(const struct ubifs_info *c, const void *k) in key_inum_flash()
381 static inline uint32_t key_hash_flash(const struct ubifs_info *c, const void *k) in key_hash_flash()
405 const void *k) in key_block_flash()
/Linux-v5.4/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.4/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
/Linux-v5.4/include/linux/
Dkey.h482 #define key_validate(k) 0 argument
483 #define key_serial(k) 0 argument
484 #define key_get(k) ({ NULL; }) argument
485 #define key_revoke(k) do { } while(0) argument
486 #define key_invalidate(k) do { } while(0) argument
487 #define key_put(k) do { } while(0) argument
488 #define key_ref_put(k) do { } while(0) argument
489 #define make_key_ref(k, p) NULL argument
490 #define key_ref_to_ptr(k) NULL argument
491 #define is_key_possessed(k) 0 argument
/Linux-v5.4/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.4/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.4/arch/powerpc/crypto/
Dsha1-spe-asm.S106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument
130 #define R_16_19(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
156 #define R_20_39(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
180 #define R_40_59(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
208 #define R_60_79(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c171 unsigned int k; in get_total_immediate_flip_bw() local
184 unsigned int k; in get_total_prefetch_bw() local
355 unsigned int j, k; in fetch_pipe_params() local
774 unsigned int k; in PixelClockAdjustmentForProgressiveToInterlaceUnit() local
802 unsigned int k; in ModeSupportAndSystemConfiguration() local

12345678910>>...36