| /linux/drivers/md/bcache/ |
| H A D | extents.c | 47 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 …]
|
| H A D | bset.h | 244 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 …]
|
| H A D | btree.c | 98 #define PTR_HASH(c, k) \ argument 127 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put() 542 static unsigned int btree_order(struct bkey *k) in btree_order() 547 static void mca_data_alloc(struct btree *b, struct bkey *k, gfp_t gfp) in mca_data_alloc() 581 struct bkey *k, gfp_t gfp) in mca_bucket_alloc() 847 static struct hlist_head *mca_hash(struct cache_set *c, struct bkey *k) in mca_hash() 852 static struct btree *mca_find(struct cache_set *c, struct bkey *k) in mca_find() 884 struct bkey *k) in mca_cannibalize() 922 struct bkey *k, int level) in mca_alloc() 1005 struct bkey *k, int level, bool write, in bch_btree_node_get() [all …]
|
| H A D | bset.c | 23 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 …]
|
| H A D | alloc.c | 477 void bch_bucket_free(struct cache_set *c, struct bkey *k) in bch_bucket_free() 486 struct bkey *k, bool wait) in __bch_bucket_alloc_set() 514 struct bkey *k, bool wait) in bch_bucket_alloc_set() 600 struct bkey *k, in bch_alloc_sectors() 722 struct task_struct *k = kthread_run(bch_allocator_thread, in bch_cache_allocator_start() local
|
| /linux/lib/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | bootconfig.c | 635 struct xbc_node *find_match_node(struct xbc_node *node, char *k) in find_match_node() 645 static int __init __xbc_add_key(char *k) in __xbc_add_key() 676 static int __init __xbc_parse_keys(char *k) in __xbc_parse_keys() 693 static int __init xbc_parse_kv(char **k, char *v, int op) in xbc_parse_kv() 746 static int __init xbc_parse_key(char **k, char *n) in xbc_parse_key() 763 static int __init xbc_open_brace(char **k, char *n) in xbc_open_brace() 775 static int __init xbc_close_brace(char **k, char *n) in xbc_close_brace()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| H A 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/arch/sparc/kernel/ |
| H A 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/fs/ubifs/ |
| H A D | key.h | 103 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/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_mode_vba.c | 221 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/include/linux/ |
| H A D | key.h | 501 #define key_validate(k) 0 argument 502 #define key_serial(k) 0 argument 503 #define key_get(k) ({ NULL; }) argument 504 #define key_revoke(k) do { } while(0) argument 505 #define key_invalidate(k) do { } while(0) argument 506 #define key_put(k) do { } while(0) argument 507 #define key_ref_put(k) do { } while(0) argument 508 #define make_key_ref(k, p) NULL argument 509 #define key_ref_to_ptr(k) NULL argument 510 #define is_key_possessed(k) 0 argument [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | cacheinfo.c | 134 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/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_port_split.py | 107 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/include/linux/input/ |
| H A D | matrix_keypad.h | 17 #define KEY_ROW(k) (((k) >> 24) & 0xff) argument 18 #define KEY_COL(k) (((k) >> 16) & 0xff) argument 19 #define KEY_VAL(k) ((k) & 0xffff) argument
|
| /linux/drivers/spi/ |
| H A D | spi-sh-msiof.c | 302 unsigned int k; in sh_msiof_spi_write_fifo_8() local 313 unsigned int k; in sh_msiof_spi_write_fifo_16() local 324 unsigned int k; in sh_msiof_spi_write_fifo_16u() local 335 unsigned int k; in sh_msiof_spi_write_fifo_32() local 346 unsigned int k; in sh_msiof_spi_write_fifo_32u() local 357 unsigned int k; in sh_msiof_spi_write_fifo_s32() local 368 unsigned int k; in sh_msiof_spi_write_fifo_s32u() local 379 unsigned int k; in sh_msiof_spi_read_fifo_8() local 390 unsigned int k; in sh_msiof_spi_read_fifo_16() local 401 unsigned int k; in sh_msiof_spi_read_fifo_16u() local [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1-spe-asm.S | 106 #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/include/asm-generic/ |
| H A D | uaccess.h | 40 #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/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | display_mode_vba_32.c | 62 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/drivers/tty/ |
| H A D | tty_ioctl.c | 395 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() 401 struct ktermios *k) in kernel_termios_to_user_termios() 405 __weak int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1() 411 struct ktermios *k) in kernel_termios_to_user_termios_1() 418 __weak int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() 424 struct ktermios *k) in kernel_termios_to_user_termios()
|
| /linux/crypto/ |
| H A D | twofish_common.c | 535 #define CALC_K(a, j, k, l, m, n) \ argument 548 #define CALC_K192(a, j, k, l, m, n) \ argument 561 #define CALC_K256(a, j, k, l, m, n) \ argument 572 int i, j, k; in __twofish_setkey() local
|
| /linux/lib/crypto/ |
| H A D | chacha20poly1305.c | 21 static void chacha_load_key(u32 *k, const u8 *in) in chacha_load_key() 36 u32 k[CHACHA_KEY_WORDS]; in xchacha_init() local 95 u32 k[CHACHA_KEY_WORDS]; in chacha20poly1305_encrypt() local 176 u32 k[CHACHA_KEY_WORDS]; in chacha20poly1305_decrypt() local 227 u32 k[CHACHA_KEY_WORDS]; in chacha20poly1305_crypt_sg_inplace() member
|
| /linux/drivers/ata/pata_parport/ |
| H A D | friq.c | 71 int h, l, k, ph; in friq_read_block_int() local 133 int k; in friq_write_block() local 182 int j, k, r; in friq_test_proto() local
|