Home
last modified time | relevance | path

Searched full:ck (Results 1 – 25 of 129) sorted by relevance

123456

/linux-6.14.4/fs/bcachefs/
Dbtree_key_cache.c27 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 …]
Dtests.c118 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 …]
Dbtree_trans_commit.c383 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-6.14.4/crypto/
Daria_generic.c33 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 …]
Dsm4.c18 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-6.14.4/net/wireless/
Dwext-sme.c21 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()
Dibss.c218 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-6.14.4/drivers/spi/
Dspi-omap-uwire.c90 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
/linux-6.14.4/kernel/sched/
Dcore_sched.c13 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-6.14.4/net/rds/
Dmessage.c60 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-6.14.4/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c367 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-6.14.4/fs/lockd/
Dsvc4proc.c504 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */ macro
527 .pc_xdrressize = Ck+St+2+No+Rg,
537 .pc_xdrressize = Ck+St,
547 .pc_xdrressize = Ck+St,
557 .pc_xdrressize = Ck+St,
567 .pc_xdrressize = Ck+St,
717 .pc_xdrressize = Ck+St+1,
727 .pc_xdrressize = Ck+St+1,
737 .pc_xdrressize = Ck+St,
Dsvcproc.c537 #define Ck (1+XDR_QUADLEN(NLM_MAXCOOKIELEN)) /* cookie */ macro
560 .pc_xdrressize = Ck+St+2+No+Rg,
570 .pc_xdrressize = Ck+St,
580 .pc_xdrressize = Ck+St,
590 .pc_xdrressize = Ck+St,
600 .pc_xdrressize = Ck+St,
750 .pc_xdrressize = Ck+St+1,
760 .pc_xdrressize = Ck+St+1,
770 .pc_xdrressize = Ck+St,
/linux-6.14.4/drivers/gpu/drm/mediatek/
Dmtk_plane.h4 * Author: CK Hu <ck[email protected]>
/linux-6.14.4/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,cec.yaml10 - CK Hu <ck[email protected]>
Dmediatek,hdmi-ddc.yaml10 - CK Hu <ck[email protected]>
Dmediatek,dpi.yaml10 - CK Hu <ck[email protected]>
Dmediatek,hdmi.yaml10 - CK Hu <ck[email protected]>
/linux-6.14.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-stm32.c75 *| MII | - | eth-ck | n/a | n/a |
78 *| GMII | - | eth-ck | n/a | n/a |
81 *| RGMII | - | eth-ck | n/a | eth-ck |
85 *| RMII | - | eth-ck | eth-ck | n/a |
233 dev_err(dwmac->dev, "Mode %s does not match eth-ck frequency %d Hz", in stm32mp1_validate_ethck_rate()
462 dwmac->clk_eth_ck = devm_clk_get(dev, "eth-ck"); in stm32mp1_parse_data()
/linux-6.14.4/include/soc/at91/
Dsama7-ddr.h23 #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-6.14.4/tools/testing/selftests/net/
Dmsg_zerocopy.c349 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-6.14.4/arch/arm64/boot/dts/qcom/
Dqcs404-evb-4000.dts83 tx-ck-pins {
89 rx-ck-pins {
/linux-6.14.4/drivers/video/fbdev/
Dfsl-diu-fb.c1271 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-6.14.4/Documentation/devicetree/bindings/mmc/
Darm,pl18x.yaml160 st,ck-gpios:
163 The GPIO matching the CK pin.
172 st,ck-gpios: [ "st,use-ckin" ]
/linux-6.14.4/Documentation/devicetree/bindings/net/
Dstm32-dwmac.yaml76 - eth-ck
167 "eth-ck";

123456