Home
last modified time | relevance | path

Searched refs:tkp (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rtrefcount_btree.c594 struct xfs_refcount_key *tkp; in xfs_rtrefcountbt_from_disk() local
613 tkp = xfs_rtrefcount_key_addr(rblock, 1); in xfs_rtrefcountbt_from_disk()
617 memcpy(tkp, fkp, 2 * sizeof(*fkp) * numrecs); in xfs_rtrefcountbt_from_disk()
680 struct xfs_refcount_key *tkp; in xfs_rtrefcountbt_to_disk() local
699 tkp = xfs_rtrefcount_droot_key_addr(dblock, 1); in xfs_rtrefcountbt_to_disk()
703 memcpy(tkp, fkp, 2 * sizeof(*fkp) * numrecs); in xfs_rtrefcountbt_to_disk()
H A Dxfs_bmap_btree.c60 xfs_bmbt_key_t *tkp; in xfs_bmdr_to_bmbt() local
69 tkp = xfs_bmbt_key_addr(mp, rblock, 1); in xfs_bmdr_to_bmbt()
73 memcpy(tkp, fkp, sizeof(*fkp) * dmxr); in xfs_bmdr_to_bmbt()
154 xfs_bmbt_key_t *tkp; in xfs_bmbt_to_bmdr() local
172 tkp = xfs_bmdr_key_addr(dblock, 1); in xfs_bmbt_to_bmdr()
176 memcpy(tkp, fkp, sizeof(*fkp) * dmxr); in xfs_bmbt_to_bmdr()
H A Dxfs_rtrmap_btree.c855 struct xfs_rmap_key *tkp; in xfs_rtrmapbt_from_disk() local
872 tkp = xfs_rtrmap_key_addr(rblock, 1); in xfs_rtrmapbt_from_disk()
875 memcpy(tkp, fkp, 2 * sizeof(*fkp) * numrecs); in xfs_rtrmapbt_from_disk()
934 struct xfs_rmap_key *tkp; in xfs_rtrmapbt_to_disk() local
954 tkp = xfs_rtrmap_droot_key_addr(dblock, 1); in xfs_rtrmapbt_to_disk()
957 memcpy(tkp, fkp, 2 * sizeof(*fkp) * numrecs); in xfs_rtrmapbt_to_disk()
/linux-6.15/security/smack/
H A Dsmack_lsm.c1940 rc = smk_access(skp, tkp, MAY_DELIVER, NULL); in smack_file_send_sigiotask()
1941 rc = smk_bu_note("sigiotask", skp, tkp, MAY_DELIVER, rc); in smack_file_send_sigiotask()
2345 struct smack_known *tkp = smk_of_task_struct_obj(p); in smack_task_kill() local
2358 rc = smk_curacc(tkp, MAY_DELIVER, &ad); in smack_task_kill()
2368 rc = smk_access(skp, tkp, MAY_DELIVER, &ad); in smack_task_kill()
4551 if (tkp == NULL) in smack_key_permission()
4562 rc = smk_access(tkp, skp, request, &ad); in smack_key_permission()
4563 rc = smk_bu_note("key access", tkp, skp, request, rc); in smack_key_permission()
4609 struct smack_known *tkp = smk_of_current(); in smack_watch_key() local
4616 if (tkp == NULL) in smack_watch_key()
[all …]
/linux-6.15/crypto/
H A Daf_alg.c264 const struct trusted_key_payload *tkp; in key_data_ptr_trusted() local
266 tkp = dereference_key_locked(key); in key_data_ptr_trusted()
267 if (IS_ERR_OR_NULL(tkp)) in key_data_ptr_trusted()
270 *datalen = tkp->key_len; in key_data_ptr_trusted()
272 return tkp->key; in key_data_ptr_trusted()
/linux-6.15/drivers/md/
H A Ddm-crypt.c2526 const struct trusted_key_payload *tkp; in set_key_trusted() local
2528 tkp = key->payload.data[0]; in set_key_trusted()
2529 if (!tkp) in set_key_trusted()
2532 if (cc->key_size != tkp->key_len) in set_key_trusted()
2535 memcpy(cc->key, tkp->key, cc->key_size); in set_key_trusted()