/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->c.lock); in bkey_cached_lock_for_evict() [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.k.size = 8; in test_iterate_extents() [all …]
|
H A D | btree_trans_commit.c | 383 struct bkey_cached *ck = (void *) path->l[0].b; in btree_key_can_insert_cached_slowpath() local 404 memcpy(new_k, ck->k, ck->u64s * sizeof(u64)); in btree_key_can_insert_cached_slowpath() 407 if (i->old_v == &ck->k->v) in btree_key_can_insert_cached_slowpath() 410 kfree(ck->k); in btree_key_can_insert_cached_slowpath() 411 ck->u64s = new_u64s; in btree_key_can_insert_cached_slowpath() 412 ck->k = new_k; in btree_key_can_insert_cached_slowpath() 420 struct bkey_cached *ck = (void *) path->l[0].b; in btree_key_can_insert_cached() local 428 !test_bit(BKEY_CACHED_DIRTY, &ck->flags) && in btree_key_can_insert_cached() 438 if (u64s <= ck->u64s) in btree_key_can_insert_cached() 442 new_k = krealloc(ck->k, new_u64s * sizeof(u64), GFP_NOWAIT|__GFP_NOWARN); in btree_key_can_insert_cached() [all …]
|
/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[7]; 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()
|
H A D | ibss.c | 218 struct cfg80211_cached_keys *ck = NULL; in cfg80211_ibss_wext_join() local 273 ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL); in cfg80211_ibss_wext_join() 274 if (!ck) in cfg80211_ibss_wext_join() 277 ck->params[i].key = ck->data[i]; in cfg80211_ibss_wext_join() 280 &wdev->wext.ibss, ck); in cfg80211_ibss_wext_join() 282 kfree(ck); in cfg80211_ibss_wext_join()
|
/linux/kernel/sched/ |
H A D | core_sched.c | 13 struct sched_core_cookie *ck = kmalloc(sizeof(*ck), GFP_KERNEL); in sched_core_alloc_cookie() local 14 if (!ck) in sched_core_alloc_cookie() 17 refcount_set(&ck->refcnt, 1); in sched_core_alloc_cookie() 20 return (unsigned long)ck; in sched_core_alloc_cookie()
|
/linux/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-ioctl.c | 367 struct omapfb_color_key *ck) in _omapfb_set_color_key() argument 375 if (ck->key_type == OMAPFB_COLOR_KEY_DISABLED) { in _omapfb_set_color_key() 377 omapfb_color_keys[mgr->id] = *ck; in _omapfb_set_color_key() 388 switch (ck->key_type) { in _omapfb_set_color_key() 399 info.default_color = ck->background; in _omapfb_set_color_key() 400 info.trans_key = ck->trans_key; in _omapfb_set_color_key() 404 omapfb_color_keys[mgr->id] = *ck; in _omapfb_set_color_key() 416 struct omapfb_color_key *ck) in omapfb_set_color_key() argument 438 r = _omapfb_set_color_key(mgr, ck); in omapfb_set_color_key() 446 struct omapfb_color_key *ck) in omapfb_get_color_key() argument [all …]
|
/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/gpu/drm/mediatek/ |
H A D | mtk_plane.h | 4 * Author: CK Hu <ck.hu@mediatek.com>
|
/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,cec.yaml | 10 - CK Hu <ck.hu@mediatek.com>
|
H A D | mediatek,hdmi-ddc.yaml | 10 - CK Hu <ck.hu@mediatek.com>
|
H A D | mediatek,hdmi.yaml | 10 - CK Hu <ck.hu@mediatek.com>
|
H A D | mediatek,dpi.yaml | 10 - CK Hu <ck.hu@mediatek.com>
|
/linux/tools/testing/selftests/net/ |
H A D | msg_zerocopy.c | 349 static uint32_t do_process_zerocopy_cookies(struct rds_zcopy_cookies *ck) in do_process_zerocopy_cookies() argument 353 if (ck->num > RDS_MAX_ZCOOKIES) in do_process_zerocopy_cookies() 355 ck->num, RDS_MAX_ZCOOKIES); in do_process_zerocopy_cookies() 356 for (i = 0; i < ck->num; i++) in do_process_zerocopy_cookies() 358 fprintf(stderr, "%d\n", ck->cookies[i]); in do_process_zerocopy_cookies() 359 return ck->num; in do_process_zerocopy_cookies() 365 struct rds_zcopy_cookies *ck; in do_recvmsg_completion() local 384 ck = (struct rds_zcopy_cookies *)CMSG_DATA(cmsg); in do_recvmsg_completion() 385 completions += do_process_zerocopy_cookies(ck); in do_recvmsg_completion()
|
/linux/include/soc/at91/ |
H A D | sama7-ddr.h | 23 #define DDR3PHY_PGCR_CKDV1 (1 << 13) /* CK# Disable Value */ 24 #define DDR3PHY_PGCR_CKDV0 (1 << 12) /* CK Disable Value */ 34 #define DDR3PHY_ACIOCR_CKPDD_CK0 (1 << 8) /* CK[0] Power Down Driver */
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcs404-evb-4000.dts | 83 tx-ck-pins { 89 rx-ck-pins {
|
/linux/drivers/video/fbdev/ |
H A D | fsl-diu-fb.c | 1271 struct mfb_chroma_key ck; in fsl_diu_ioctl() local 1335 if (copy_from_user(&ck, buf, sizeof(ck))) in fsl_diu_ioctl() 1338 if (ck.enable && in fsl_diu_ioctl() 1339 (ck.red_max < ck.red_min || in fsl_diu_ioctl() 1340 ck.green_max < ck.green_min || in fsl_diu_ioctl() 1341 ck.blue_max < ck.blue_min)) in fsl_diu_ioctl() 1344 if (!ck.enable) { in fsl_diu_ioctl() 1352 ad->ckmax_r = ck.red_max; in fsl_diu_ioctl() 1353 ad->ckmax_g = ck.green_max; in fsl_diu_ioctl() 1354 ad->ckmax_b = ck.blue_max; in fsl_diu_ioctl() [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | arm,pl18x.yaml | 160 st,ck-gpios: 163 The GPIO matching the CK pin. 172 st,ck-gpios: [ "st,use-ckin" ]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | stm32-dwmac.yaml | 76 - eth-ck 167 "eth-ck";
|
/linux/arch/arm64/crypto/ |
H A D | sm4-ce.h | 8 const u32 *fk, const u32 *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);
|
/linux/arch/arm/mach-omap1/ |
H A D | clock.h | 25 #define CLK(dev, con, ck, cp) \ argument 31 .clk_hw = 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 {
|