Home
last modified time | relevance | path

Searched refs:pdb (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/crypto/caam/
Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
[all …]
Dcaampkc.c68 struct rsa_pub_pdb *pdb = &edesc->pdb.pub; in rsa_pub_unmap() local
70 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
71 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
80 struct rsa_priv_f1_pdb *pdb = &edesc->pdb.priv_f1; in rsa_priv_f1_unmap() local
82 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
92 struct rsa_priv_f2_pdb *pdb = &edesc->pdb.priv_f2; in rsa_priv_f2_unmap() local
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
97 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
[all …]
Dcaampkc.h145 } pdb; member
150 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
151 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
152 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
153 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
/linux-6.12.1/security/apparmor/
Dpolicy_unpack.c712 struct aa_policydb *pdb; in unpack_pdb() local
717 pdb = aa_alloc_pdb(GFP_KERNEL); in unpack_pdb()
718 if (!pdb) in unpack_pdb()
721 size = unpack_perms_table(e, &pdb->perms); in unpack_pdb()
724 pdb->perms = NULL; in unpack_pdb()
728 pdb->size = size; in unpack_pdb()
730 if (pdb->perms) { in unpack_pdb()
739 pdb->dfa = unpack_dfa(e, flags); in unpack_pdb()
740 if (IS_ERR(pdb->dfa)) { in unpack_pdb()
741 error = PTR_ERR(pdb->dfa); in unpack_pdb()
[all …]
Dpolicy.c102 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() argument
104 if (pdb) { in aa_free_pdb()
105 aa_put_dfa(pdb->dfa); in aa_free_pdb()
106 if (pdb->perms) in aa_free_pdb()
107 kvfree(pdb->perms); in aa_free_pdb()
108 aa_free_str_table(&pdb->trans); in aa_free_pdb()
109 kfree(pdb); in aa_free_pdb()
119 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() local
121 aa_free_pdb(pdb); in aa_pdb_free_kref()
127 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp); in aa_alloc_pdb() local
[all …]
/linux-6.12.1/security/apparmor/include/
Dpolicy.h107 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() argument
109 if (pdb) in aa_get_pdb()
110 kref_get(&(pdb->count)); in aa_get_pdb()
112 return pdb; in aa_get_pdb()
121 static inline void aa_put_pdb(struct aa_policydb *pdb) in aa_put_pdb() argument
123 if (pdb) in aa_put_pdb()
124 kref_put(&pdb->count, aa_pdb_free_kref); in aa_put_pdb()
/linux-6.12.1/drivers/staging/sm750fb/
Dsm750.c726 const struct fb_videomode *pdb[] = { in lynxfb_set_fbinfo() local
795 pdb[i], cdb[i], NULL, 8); in lynxfb_set_fbinfo()
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_os.c6018 struct port_database_24xx *pdb; in qla25xx_rdp_rsp_reduce_size() local
6027 pdb = kzalloc(sizeof(*pdb), GFP_KERNEL); in qla25xx_rdp_rsp_reduce_size()
6028 if (!pdb) { in qla25xx_rdp_rsp_reduce_size()
6032 le16_to_cpu(purex->nport_handle), pdb)) { in qla25xx_rdp_rsp_reduce_size()
6035 } else if (pdb->current_login_state != PDS_PLOGI_COMPLETE && in qla25xx_rdp_rsp_reduce_size()
6036 pdb->current_login_state != PDS_PRLI_COMPLETE) { in qla25xx_rdp_rsp_reduce_size()
6041 kfree(pdb); in qla25xx_rdp_rsp_reduce_size()
6044 kfree(pdb); in qla25xx_rdp_rsp_reduce_size()
Dqla_mbx.c2136 struct port_database_24xx *pdb) in qla24xx_get_port_database() argument
2146 memset(pdb, 0, sizeof(*pdb)); in qla24xx_get_port_database()
2148 pdb_dma = dma_map_single(&vha->hw->pdev->dev, pdb, in qla24xx_get_port_database()
2149 sizeof(*pdb), DMA_FROM_DEVICE); in qla24xx_get_port_database()
2165 mcp->buf_size = sizeof(*pdb); in qla24xx_get_port_database()
2180 sizeof(*pdb), DMA_FROM_DEVICE); in qla24xx_get_port_database()
/linux-6.12.1/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-harma.dts624 "","power-config-pdb-power-good",
Daspeed-bmc-ibm-fuji.dts346 "presence-pdb",
Daspeed-bmc-ibm-everest.dts344 "presence-pdb",
/linux-6.12.1/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h1274 uint64_t pdb:4; member
1278 uint64_t pdb:4;
/linux-6.12.1/Documentation/admin-guide/
Ddevices.txt881 16 = /dev/pdb Second parallel port IDE disk