/linux/fs/bcachefs/ |
H A D | btree_key_cache.c | 27 const struct bkey_cached *ck = obj; in bch2_btree_key_cache_cmp_fn() local 30 return ck->key.btree_id != key->btree_id || in bch2_btree_key_cache_cmp_fn() 31 !bpos_eq(ck->key.pos, key->pos); in bch2_btree_key_cache_cmp_fn() 43 struct bkey_cached *ck, in btree_path_cached_set() argument 46 path->l[0].lock_seq = six_lock_seq(&ck->c.lock); in btree_path_cached_set() 47 path->l[0].b = (void *) ck; in btree_path_cached_set() 64 static bool bkey_cached_lock_for_evict(struct bkey_cached *ck) in bkey_cached_lock_for_evict() argument 66 if (!six_trylock_intent(&ck->c.lock)) in bkey_cached_lock_for_evict() 69 if (test_bit(BKEY_CACHED_DIRTY, &ck->flags)) { in bkey_cached_lock_for_evict() 70 six_unlock_intent(&ck in bkey_cached_lock_for_evict() 83 bkey_cached_evict(struct btree_key_cache * c,struct bkey_cached * ck) bkey_cached_evict() argument 98 struct bkey_cached *ck = container_of(rcu, struct bkey_cached, rcu); __bkey_cached_free() local 105 bkey_cached_free_noassert(struct btree_key_cache * bc,struct bkey_cached * ck) bkey_cached_free_noassert() argument 121 bkey_cached_free(struct btree_trans * trans,struct btree_key_cache * bc,struct bkey_cached * ck) bkey_cached_free() argument 136 struct bkey_cached *ck = kmem_cache_zalloc(bch2_key_cache, gfp); __bkey_cached_alloc() local 156 struct bkey_cached *ck = container_of_or_null( bkey_cached_alloc() local 194 struct bkey_cached *ck; bkey_cached_reuse() local 231 struct bkey_cached *ck = bkey_cached_alloc(trans, ck_path, key_u64s); btree_key_cache_create() local 362 struct bkey_cached *ck; btree_path_traverse_cached_fast() local 427 struct bkey_cached *ck = NULL; btree_key_cache_flush_pos() local 539 struct bkey_cached *ck = bch2_btree_key_cache_journal_flush() local 578 struct bkey_cached *ck = (void *) (trans->paths + insert_entry->path)->l[0].b; bch2_btree_insert_key_cached() local 624 struct bkey_cached *ck = (void *) path->l[0].b; bch2_btree_key_cache_drop() local 667 struct bkey_cached *ck; bch2_btree_key_cache_scan() local 763 struct bkey_cached *ck; bch2_fs_btree_key_cache_exit() local [all...] |
H A D | tests.c | 118 struct bkey_i_cookie ck; in test_iterate() local 120 bkey_cookie_init(&ck.k_i); in test_iterate() 121 ck.k.p.offset = i; in test_iterate() 122 ck.k.p.snapshot = U32_MAX; in test_iterate() 124 ret = bch2_btree_insert(c, BTREE_ID_xattrs, &ck.k_i, NULL, 0, 0); in test_iterate() 172 struct bkey_i_cookie ck; in test_iterate_extents() local 174 bkey_cookie_init(&ck.k_i); in test_iterate_extents() 175 ck.k.p.offset = i + 8; in test_iterate_extents() 176 ck.k.p.snapshot = U32_MAX; in test_iterate_extents() 177 ck in test_iterate_extents() 229 struct bkey_i_cookie ck; test_iterate_slots() local 288 struct bkey_i_cookie ck; test_iterate_slots_extents() local [all...] |
H A D | btree_trans_commit.c | 388 struct bkey_cached *ck = (void *) path->l[0].b; in btree_key_can_insert_cached_slowpath() local 410 memcpy(new_k, ck->k, ck->u64s * sizeof(u64)); in btree_key_can_insert_cached_slowpath() 413 if (i->old_v == &ck->k->v) in btree_key_can_insert_cached_slowpath() 416 kfree(ck->k); in btree_key_can_insert_cached_slowpath() 417 ck->u64s = new_u64s; in btree_key_can_insert_cached_slowpath() 418 ck->k = new_k; in btree_key_can_insert_cached_slowpath() 426 struct bkey_cached *ck = (void *) path->l[0].b; in btree_key_can_insert_cached() local 434 !test_bit(BKEY_CACHED_DIRTY, &ck->flags) && in btree_key_can_insert_cached() 444 if (u64s <= ck in btree_key_can_insert_cached() [all...] |
H A D | bkey_methods.c | 70 struct bkey_s_c_cookie ck = bkey_s_c_to_cookie(k); in key_type_cookie_to_text() local 72 prt_printf(out, "%llu", le64_to_cpu(ck.v->cookie)); in key_type_cookie_to_text()
|
H A D | btree_update.c | 462 struct bkey_cached *ck; in bch2_trans_update_get_key_cache() local 480 ck = (void *) trans->paths[iter->key_cache_path].l[0].b; in bch2_trans_update_get_key_cache() 482 if (test_bit(BKEY_CACHED_DIRTY, &ck->flags)) { in bch2_trans_update_get_key_cache()
|
H A D | alloc_foreground.c | 292 struct bkey_s_c k, ck; in bch2_bucket_alloc_early() local 339 ck = bch2_bkey_get_iter(trans, &citer, BTREE_ID_alloc, k.k->p, BTREE_ITER_cached); in bch2_bucket_alloc_early() 340 ret = bkey_err(ck); in bch2_bucket_alloc_early() 344 a = bch2_alloc_to_v4(ck, &a_convert); in bch2_bucket_alloc_early()
|
/linux/crypto/ |
H A D | aria_generic.c | 33 const u32 *ck; in aria_set_encrypt_key() local 36 ck = &key_rc[(key_len - 16) / 2]; in aria_set_encrypt_key() 43 reg0 = w0[0] ^ ck[0]; in aria_set_encrypt_key() 44 reg1 = w0[1] ^ ck[1]; in aria_set_encrypt_key() 45 reg2 = w0[2] ^ ck[2]; in aria_set_encrypt_key() 46 reg3 = w0[3] ^ ck[3]; in aria_set_encrypt_key() 77 reg0 ^= ck[4]; in aria_set_encrypt_key() 78 reg1 ^= ck[5]; in aria_set_encrypt_key() 79 reg2 ^= ck[6]; in aria_set_encrypt_key() 80 reg3 ^= ck[ in aria_set_encrypt_key() [all...] |
H A D | sm4.c | 18 static const u32 ____cacheline_aligned ck[32] = { variable 65 extern const u32 crypto_sm4_ck[32] __alias(ck); 135 rk[0] ^= sm4_key_sub(rk[1] ^ rk[2] ^ rk[3] ^ ck[i + 0]); in sm4_expandkey() 136 rk[1] ^= sm4_key_sub(rk[2] ^ rk[3] ^ rk[0] ^ ck[i + 1]); in sm4_expandkey() 137 rk[2] ^= sm4_key_sub(rk[3] ^ rk[0] ^ rk[1] ^ ck[i + 2]); in sm4_expandkey() 138 rk[3] ^= sm4_key_sub(rk[0] ^ rk[1] ^ rk[2] ^ ck[i + 3]); in sm4_expandkey()
|
/linux/net/wireless/ |
H A D | wext-sme.c | 21 struct cfg80211_cached_keys *ck = NULL; in cfg80211_mgd_wext_connect() local 47 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_mgd_wext_connect() 48 if (!ck) in cfg80211_mgd_wext_connect() 51 ck->params[i].key = ck->data[i]; in cfg80211_mgd_wext_connect() 58 &wdev->wext.connect, ck, prev_bssid); in cfg80211_mgd_wext_connect() 60 kfree_sensitive(ck); in cfg80211_mgd_wext_connect()
|
/linux/drivers/spi/ |
H A D | spi-omap-uwire.c | 90 struct clk *ck; member 342 rate = clk_get_rate(uwire->ck); in uwire_setup_transfer() 414 clk_get_rate(uwire->ck) / 1000, in uwire_setup_transfer() 450 clk_disable_unprepare(uwire->ck); in uwire_off() 475 uwire->ck = devm_clk_get(&pdev->dev, "fck"); in uwire_probe() 476 if (IS_ERR(uwire->ck)) { in uwire_probe() 477 status = PTR_ERR(uwire->ck); in uwire_probe() 482 clk_prepare_enable(uwire->ck); in uwire_probe() 527 // suspend ... unuse ck 528 // resume ... use ck [all...] |
/linux/kernel/sched/ |
H A D | core_sched.c | 15 struct sched_core_cookie *ck = kmalloc(sizeof(*ck), GFP_KERNEL); in sched_core_alloc_cookie() local 16 if (!ck) in sched_core_alloc_cookie() 19 refcount_set(&ck->refcnt, 1); in sched_core_alloc_cookie() 22 return (unsigned long)ck; in sched_core_alloc_cookie()
|
/linux/net/rds/ |
H A D | message.c | 60 struct rds_zcopy_cookies *ck = &info->zcookies; in rds_zcookie_add() local 61 int ncookies = ck->num; in rds_zcookie_add() 65 ck->cookies[ncookies] = cookie; in rds_zcookie_add() 66 ck->num = ++ncookies; in rds_zcookie_add() 98 struct rds_zcopy_cookies *ck; in rds_rm_zerocopy_callback() local 118 ck = &info->zcookies; in rds_rm_zerocopy_callback() 119 memset(ck, 0, sizeof(*ck)); in rds_rm_zerocopy_callback()
|
/linux/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-ioctl.c | 366 struct omapfb_color_key *ck) in _omapfb_set_color_key() argument 374 if (ck->key_type == OMAPFB_COLOR_KEY_DISABLED) { in _omapfb_set_color_key() 376 omapfb_color_keys[mgr->id] = *ck; in _omapfb_set_color_key() 387 switch (ck->key_type) { in _omapfb_set_color_key() 398 info.default_color = ck->background; in _omapfb_set_color_key() 399 info.trans_key = ck->trans_key; in _omapfb_set_color_key() 403 omapfb_color_keys[mgr->id] = *ck; in _omapfb_set_color_key() 415 struct omapfb_color_key *ck) in omapfb_set_color_key() argument 437 r = _omapfb_set_color_key(mgr, ck); in omapfb_set_color_key() 445 struct omapfb_color_key *ck) in omapfb_get_color_key() argument [all...] |
/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcs404-evb-4000.dts | 83 tx-ck-pins { 89 rx-ck-pins {
|
/linux/arch/arm/mach-omap1/ |
H A D | clock.h | 25 #define CLK(dev, con, ck, cp) \ argument 31 .clk_hw = ck, \
|
/linux/drivers/video/fbdev/omap/ |
H A D | omapfb.h | 178 int (*set_color_key) (struct omapfb_color_key *ck); 179 int (*get_color_key) (struct omapfb_color_key *ck);
|
H A D | omapfb_main.c | 906 struct omapfb_color_key *ck) in omapfb_set_color_key() argument 914 r = fbdev->ctrl->set_color_key(ck); in omapfb_set_color_key() 921 struct omapfb_color_key *ck) in omapfb_get_color_key() argument 929 r = fbdev->ctrl->get_color_key(ck); in omapfb_get_color_key()
|
/linux/drivers/clk/ti/ |
H A D | clock.h | 87 #define CLK(dev, con, ck) \ argument 93 .clk = ck, \
|
/linux/arch/s390/include/asm/ |
H A D | nmi.h | 52 u64 ck : 1; /* 11 channel-subsystem damage */ member
|
/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp233.dtsi | 57 "eth-ck";
|
H A D | stm32mp253.dtsi | 57 "eth-ck";
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am43xx-clocks.dtsi | 804 clkout1_osc_div_ck: clock-clkout1-osc-div-ck { 814 clkout1_src2_mux_ck: clock-clkout1-src2-mux-ck { 824 clkout1_src2_pre_div_ck: clock-clkout1-src2-pre-div-ck { 834 clkout1_src2_post_div_ck: clock-clkout1-src2-post-div-ck { 845 clkout1_mux_ck: clock-clkout1-mux-ck { 855 clkout1_ck: clock-clkout1-ck {
|
/linux/arch/arm64/boot/dts/airoha/ |
H A D | en7581.dtsi | 213 clock-names = "sys-ck"; 256 clock-names = "sys-ck";
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8188-evb.dts | 276 pins-io-ck {
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 124 prestera_util_nc_key2nh_key(struct prestera_kern_neigh_cache_key *ck, in prestera_util_nc_key2nh_key() argument 128 nk->addr = ck->addr; in prestera_util_nc_key2nh_key() 129 nk->rif = (void *)ck->dev; in prestera_util_nc_key2nh_key()
|