Home
last modified time | relevance | path

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

12345678910>>...40

/linux-6.6.21/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()
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 …]
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 …]
Dalloc.c480 void bch_bucket_free(struct cache_set *c, struct bkey *k) in bch_bucket_free()
489 struct bkey *k, bool wait) in __bch_bucket_alloc_set()
521 struct bkey *k, bool wait) in bch_bucket_alloc_set()
607 struct bkey *k, in bch_alloc_sectors()
729 struct task_struct *k = kthread_run(bch_allocator_thread, in bch_cache_allocator_start() local
/linux-6.6.21/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 …]
Dbootconfig.c634 struct xbc_node *find_match_node(struct xbc_node *node, char *k) in find_match_node()
644 static int __init __xbc_add_key(char *k) in __xbc_add_key()
675 static int __init __xbc_parse_keys(char *k) in __xbc_parse_keys()
692 static int __init xbc_parse_kv(char **k, char *v, int op) in xbc_parse_kv()
745 static int __init xbc_parse_key(char **k, char *n) in xbc_parse_key()
762 static int __init xbc_open_brace(char **k, char *n) in xbc_open_brace()
774 static int __init xbc_close_brace(char **k, char *n) in xbc_close_brace()
Dbitmap.c51 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() local
69 unsigned int k, lim = bits / BITS_PER_LONG; in __bitmap_or_equal() local
86 unsigned int k, lim = BITS_TO_LONGS(bits); in __bitmap_complement() local
106 unsigned k, lim = BITS_TO_LONGS(nbits); in __bitmap_shift_right() local
151 int k; in __bitmap_shift_left() local
243 unsigned int k; in __bitmap_and() local
259 unsigned int k; in __bitmap_or() local
270 unsigned int k; in __bitmap_xor() local
281 unsigned int k; in __bitmap_andnot() local
298 unsigned int k; in __bitmap_replace() local
[all …]
/linux-6.6.21/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-6.6.21/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
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/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
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_vba.c221 unsigned int k; in get_total_immediate_flip_bw() local
234 unsigned int k; in get_total_prefetch_bw() local
248 unsigned int k; in get_total_surface_size_in_mall_bytes() local
521 unsigned int j, k; in fetch_pipe_params() local
949 int k = 0; in cache_debug_params() local
1050 unsigned int k; in PixelClockAdjustmentForProgressiveToInterlaceUnit() local
1079 unsigned int k; in ModeSupportAndSystemConfiguration() local
/linux-6.6.21/drivers/scsi/
Datp870u.c126 unsigned long adrcnt, k; in atp870u_intr_handle() local
983 unsigned short int i, k; in fun_scam() local
1017 unsigned char i, j, k; in tscam() local
1239 int j, k; in atp870u_free_tables() local
1255 int c,k; in atp870u_init_tables() local
1309 unsigned char k, host_id; in atp870_init() local
1361 unsigned char k, m, host_id; in atp880_init() local
1447 unsigned char k, m, c; in atp885_init() local
1645 unsigned char j, k, c; in atp870u_abort() local
1772 unsigned char i, j, k, rmb, n; in atp_is() local
/linux-6.6.21/tools/testing/selftests/net/
Ddevlink_port_split.py107 def split(k, port, should_fail=False): argument
183 def create_split_group(port, k): argument
192 def split_unsplittable_port(port, k): argument
204 def split_splittable_port(port, k, lanes, dev): argument
/linux-6.6.21/arch/powerpc/kernel/
Dcacheinfo.c134 static struct cache_index_dir *kobj_to_cache_index_dir(struct kobject *k) in kobj_to_cache_index_dir()
571 static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf) in cache_index_show()
580 static struct cache *index_kobj_to_cache(struct kobject *k) in index_kobj_to_cache()
589 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
606 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
622 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
638 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
654 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
666 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
681 show_shared_cpumap(struct kobject *k, struct kobj_attribute *attr, char *buf, bool list) in show_shared_cpumap()
[all …]
/linux-6.6.21/include/linux/
Dkey.h503 #define key_validate(k) 0 argument
504 #define key_serial(k) 0 argument
505 #define key_get(k) ({ NULL; }) argument
506 #define key_revoke(k) do { } while(0) argument
507 #define key_invalidate(k) do { } while(0) argument
508 #define key_put(k) do { } while(0) argument
509 #define key_ref_put(k) do { } while(0) argument
510 #define make_key_ref(k, p) NULL argument
511 #define key_ref_to_ptr(k) NULL argument
512 #define is_key_possessed(k) 0 argument
/linux-6.6.21/arch/ia64/kernel/
Dsignal.c35 # define PUT_SIGSET(k,u) __copy_to_user((u)->sig, (k)->sig, sizeof(sigset_t)) argument
36 # define GET_SIGSET(k,u) __copy_from_user((k)->sig, (u)->sig, sizeof(sigset_t)) argument
38 # define PUT_SIGSET(k,u) __put_user((k)->sig[0], &(u)->sig[0]) argument
39 # define GET_SIGSET(k,u) __get_user((k)->sig[0], &(u)->sig[0]) argument
/linux-6.6.21/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-6.6.21/include/asm-generic/
Duaccess.h40 #define __get_user_fn(sz, u, k) __get_user_fn(sz, u, k) argument
65 #define __put_user_fn(sz, u, k) __put_user_fn(sz, u, k) argument
140 #define __put_user_fn(sz, u, k) __put_user_fn(sz, u, k) argument
201 #define __get_user_fn(sz, u, k) __get_user_fn(sz, u, k) argument
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_32.c62 unsigned int j, k; in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local
1143 for (uint k = 0; k < mode_lib->vba.NumberOfActiveSurfaces; ++k) in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() local
1728 unsigned int k, m; in dml32_ModeSupportAndSystemConfigurationFull() local
/linux-6.6.21/drivers/tty/
Dtty_ioctl.c408 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
414 struct ktermios *k) in kernel_termios_to_user_termios()
418 __weak int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1()
424 struct ktermios *k) in kernel_termios_to_user_termios_1()
431 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios()
437 struct ktermios *k) in kernel_termios_to_user_termios()
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
Dhermes.c108 int k = CMD_BUSY_TIMEOUT; in hermes_issue_cmd() local
139 int k; in hermes_doicmd_wait() local
202 int k; in hermes_init() local
256 int k; in hermes_docmd_wait() local
319 int k; in hermes_allocate() local
370 int k; in hermes_bap_seek() local

12345678910>>...40